Unit 6 Desktop Applications

Slides:



Advertisements
Similar presentations
What is a Computer Program? For a computer to be able to do anything (multiply, play a song, run a word processor), it must be given the instructions.
Advertisements

Operating Systems. Operating System (OS) The software that manages the sharing of the resources of a computer. Examples of Operating Systems ◦ Windows.
Objectives Overview Define an operating system
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
ENGR2216 FORTRAN PROGRAMMING FOR ENGINEERS. Chapter 1 The computer CPU MEMORY INPUT/OUTPUT DEVICES DATA REPRESENTATION BINARY SYSTEM OCTAL & HEXADECIMAL.
Discovering Computers: Chapter 1
16/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development What is a computer? A computer system contains: Central Processing.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
Systems Software Operating Systems.
Human Computer Interface. Human Computer Interface? HCI is not just about software design HCI applies to more than just desktop PCs!!! No such thing as.
CHAPTER 2 Input & Output Prepared by: Mrs.sara salih 1.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Computer for Health Sciences
ACCB 133 Information Technology and Accounting Applications Lecture 6: Application Software.
Lesson 4 Computer Software
Lesson 4: What Is Software?
CS102 Introduction to Computer Programming
Chapter Introduction to Computers and Programming 1.
A First Program Using C#
SOFTWARE.
CS 0004 –Lecture 8 Jan 24, 2011 Roxana Gheorghiu.
Systems Software & Operating systems
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
Topics Introduction Hardware and Software How Computers Store Data
There are different types of translator. An Interpreter Interpreters translate one instruction at a time from a high level language into machine code every.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
2-3 note. 2 Peripheral Devices “Peripheral devices” are hardware plugged into ports or connected to a computer wirelessly. These devices can be for input,
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming 1.
Chapter 1: Introduction to Computers and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Copyright © 2012 Pearson Education, Inc. Chapter 1 Introduction to Computing and Programming.
11.10 Human Computer Interface www. ICT-Teacher.com.
Explain the purpose of an operating system
CSC-115 Introduction to Computer Programming
Operating Systems. Without an operating system your computer would be useless! A computer contains an Operating System on its Hard Drive. This is loaded.
Chapter 8: Operating Systems and Utility Programs Catherine Gifford Dan Falgares.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
Liang, Introduction to C++ Programming, (c) Chapter 1 Introduction to Computers, Programs, and C++
E.g.: MS-DOS interface. DIR C: /W /A:D will list all the directories in the root directory of drive C in wide list format. Disadvantage is that commands.
SD1230 Unit 6 Desktop Applications. Course Objectives During this unit, we will cover the following course objectives: – Identify the characteristics.
Chapter 9 Operating Systems Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
CONTENT  Introduction Introduction  Operating System (OS) Operating System (OS) Operating System (OS)  Summary Summary  Application Software Application.
SD1230 Unit 3 Under the Hood. Objectives During this unit, we will cover the following course objectives: – Describe how a computer program is compiled.
THE WINDOWS OPERATING SYSTEM Computer Basics 1.2.
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
Programming Logic and Design Seventh Edition Chapter 1 An Overview of Computers and Programming.
Design f. describe a design specification including input design, diagrammatic depiction of the overall system, processing, data structure design and output.
BASIC PROGRAMMING C SCP1103 (02)
Topics Introduction Hardware and Software How Computers Store Data
CSCI-235 Micro-Computer Applications
Introduction to Visual Basic 2008 Programming
11.10 Human Computer Interface
BASIC PROGRAMMING C SCP1103 (02)
Unit 1 Evolution of Computing
TYPES AND COMPONENTS OF COMPUTER SYSTEM
Java programming lecture one
                      Digital Audio 1.
Topics Introduction Hardware and Software How Computers Store Data
Chapter 3 Hardware and software 1.
GRAPHICAL USER INTERFACE
Chapter 3 Hardware and software 1.
Programming Logic and Design Eighth Edition
Chapter 1: Introduction to Computers and Programming
Presentation transcript:

Unit 6 Desktop Applications SD1230

Course Objectives During this unit, we will cover the following course objectives: Identify the characteristics of desktop applications. Describe the differences and similarities of desktop, website, and mobile technology.

Learning Outcomes Completing this unit should help enable you to: Identify the characteristics of desktop applications. Create a simple desktop application. Given a website or application, identify characteristics that affect its usability on a desktop computer. Compare the application development learning path for applications typically supported on desktop computers with the learning path for those found on mobile devices.

Learning Outcomes (cont.) Use the programming IDE environment with Visual Basic 2010. Understand how to create and modify a console-based application. Understand the logic of decision programming with conditional and loop statements. Understand how to create and modify a windows application with objects such as text boxes, buttons, and message boxes.

Desktop Applications Applications you run on a laptop or desktop computer Examples: Microsoft Office Graphics programs Integrated development environments (IDEs) Games

Desktop Application Types Graphical User Interface (GUI) Typically has one or more windows User interacts through menus, buttons, and text fields Console application User interacts by typing commands

Desktop vs. Mobile Applications Window size Large and adjustable Limited by screen size User input Keyboard, mouse, audio, other recording devices Keypad, touch screen, d-pad, voice Output Screen, printer, larger internal storage Smaller SD card storage, printing through Bluetooth Resources Large range of processing and memory configurations Limited to mobile processing and memory resources

Desktop vs. Mobile Application Context Typically stationary Dedicated concentration Desktop On the move Distracted concentration Mobile

Program Scale Small program Large program

Scale of a Problem Based on the following factors: Difficulty of the solution Number of functions in the solution Amount and diversity of data in the solution

Analyzing a Small-Scale Problem What is the input data? What is the output information? What are the formulas/processes you have to use to solve this problem by hand? Are there special conditions?

Rock-Paper-Scissors Example Input Mode Names of the players Choice of paper, rock, or scissors Output Winner of the game

Rock-Paper-Scissors Example Tasks Determine the winner and display the result. Compute the computer’s move. Obtain the user’s move. Obtain the name of the user.

Rock-Paper-Scissors Example Ordered tasks Obtain the name of the user. Compute the computer’s move. Obtain the user’s move. Determine the winner and display the result.

Algorithm to Obtain Name From Hardnett

Algorithm for the Computer’s Move

Options for Obtaining Input for User’s Move Menu Less error prone More consistent Short menus are user friendly Long menus are difficult to follow User enters a string High probability for error User enters an abbreviation Must convert to string for output purposes

Algorithm for the User’s Move

Input Validation

Algorithm for Determining the Winner

Main Algorithm

Random Numbers

Demographics Program Example Input Data Ethnicity information Number of people in the chosen population Output data Data and distribution table

Demographic Example Tasks Display a menu Obtain the user’s selection Execute the selection Menu-related tasks Display a list of data Enter data into a list Compute the diversity distribution Operations performed after menu option is selected

Main Algorithm

Enter Data Algorithm

Display Data Algorithm

Display Demographics Algorithm

Display Demographics Algorithm

Switch Statement

Switch Statement vs. If-Else

Summary In this unit, we covered the following topics: Desktop applications GUI applications Desktop vs. mobile applications Console applications Algorithms Visual Basic

Prepare for the Final An SMS message is limited to ___________ characters. A. 60 B. 140 C. 256 D. 512

Prepare for the Final A(n) _______________ changes the code you type into code a computer can understand. A. analytic engine B. emulator C. scanner D. compiler

Prepare for the Final Which period of time is known as the “Brick Era” because mobile phones were larger than corded phones? A. 1973–1988 B. 1988–1998 C. 1998–2008 D. 2008–2013

Prepare for the Final The binary equivalent of 13 is ___________. A. 10111 B. 1010 C. 1110 D. 1101

Prepare for the Final In the ___________ step, the control unit (CU) determines what type of instruction has been fetched, such as add or equality. A. Fetch instruction B. Decode instruction C. Execute instruction D. Store result

Prepare for the Final The world’s largest mobile operator is in ___________. A. United Kingdom B. China C. Spain D. USA

Prepare for the Final Timothy Berners-Lee developed ____________ in 1989. A. HTML B. the Internet C. C++ D. the touch screen

Prepare for the Final Which of the following is not an example of a compiled programming language? A. Pascal B. FORTRAN C. C D. HTML

Prepare for the Final What is the last step of the software engineering spiral process? A. Plan the Next Iteration B. Determine Objectives C. Identify and Resolve Risks D. Develop and Test

Prepare for the Final What is a disadvantage of a native mobile application? A. You cannot charge for the application. B. It cannot take advantage of device-specific features. C. It cannot be easily ported to other mobile platforms. D. It loads pages slowly because of network latency.

Prepare for the Final What is the speed of a 4G mobile network? A. Less than 1 Mbps B. 1–3 Mbps C. 3–5 Mbps D. Unlimited

Prepare for the Final What is an advantage of an SMS application? A. It is useful for sending timely alerts to a user. B. It is simple to create using HTML5 and CSS. C. It offers a best-in-class user interface. D. It can take advantage of advanced device- specific features.

Prepare for the Final Top-down code is ___________ than code that has been broken into functions. A. easier to read and debug B. harder to read and debug C. faster to write, but harder to debug D. more time consuming to write, but easier to debug

Prepare for the Final According to Fling’s book Mobile Design and Development, _________ is what makes mobile such a powerful and exciting medium. A. style B. dimension C. context D. strategy

Prepare for the Final What is the following? cout << “Hello World\n”; A. A Visual Basic statement B. A Java function C. A Pascal function D. A C++ statement

Prepare for the Final Which of the following is not part of the programming the basics stage? A. Writing code that is associated with what happens when the application is first started by the end user B. Writing code that is associated with what happens when the application is exited by the end user C. Any prompts or instructions given by the application to the end user D. Any comments or feedback given by the application to the end user

Prepare for the Final A full-screen immersive context is appropriate for ______________. A. providing information at a glance B. games C. productivity applications D. locale-related applications

Prepare for the Final The MCTS: Windows Mobile 6.5 certification is offered by __________. A. Microsoft B. Apple C. Oracle D. IBM

Prepare for the Final Testing with proper _______ and then thoroughly checking the ________ is by far the best way to check for actual code errors. A. output, input B. input, output C. raw data, formatted data D. data, database

Prepare for the Final Mobile ________ determines how much time, effort, and money it will cost to develop a solution. A. strategy B. context C. design D. platform

Prepare for the Final A glyph appears ___________ on a device with greater pixel density than on one with lower pixel density. A. more blurry B. larger C. sharper D. smaller

Prepare for the Final A ___________ is used to maintain a consistent look and feel. A. context B. design pattern C. palette D. layout

Prepare for the Final The repeat-while statement is an example of a ______________. A. design pattern B. decision statement C. sequence palette D. loop statement

Prepare for the Final The following is an example of a(n) ___________. IF rainfall > 2 inches THEN A. looping statement B. sequential statement C. conditional statement D. design pattern

Prepare for the Final A _____________ shape in a flowchart always has two arrows leaving it. A. diamond B. parallelogram C. rectangle D. circle