Presentation is loading. Please wait.

Presentation is loading. Please wait.

SD1230 Unit 6 Desktop Applications. Course Objectives During this unit, we will cover the following course objectives: – Identify the characteristics.

Similar presentations


Presentation on theme: "SD1230 Unit 6 Desktop Applications. Course Objectives During this unit, we will cover the following course objectives: – Identify the characteristics."— Presentation transcript:

1 SD1230 Unit 6 Desktop Applications

2 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.

3 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.

4 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.

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

6 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

7 Desktop vs. Mobile Applications DesktopMobile Window sizeLarge and adjustableLimited by screen size User inputKeyboard, mouse, audio, other recording devices Keypad, touch screen, d- pad, voice OutputScreen, printer, larger internal storage Smaller SD card storage, printing through Bluetooth ResourcesLarge range of processing and memory configurations Limited to mobile processing and memory resources

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

9 Program Scale Small program Large program

10 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

11 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?

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

13 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.

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

15 Algorithm to Obtain Name

16 Algorithm for the Computer’s Move

17 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

18 Algorithm for the User’s Move

19 Input Validation

20 Algorithm for Determining the Winner

21 Main Algorithm

22 Random Numbers

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

24 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

25 Main Algorithm

26 Enter Data Algorithm

27 Display Data Algorithm

28 Display Demographics Algorithm

29

30 Switch Statement

31 Switch Statement vs. If-Else

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


Download ppt "SD1230 Unit 6 Desktop Applications. Course Objectives During this unit, we will cover the following course objectives: – Identify the characteristics."

Similar presentations


Ads by Google