2 Course ObjectivesDuring 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 ApplicationsApplications you run on a laptop or desktop computerExamples:Microsoft OfficeGraphics programsIntegrated development environments (IDEs)Games
6 Desktop Application Types Graphical User Interface (GUI)Typically has one or more windowsUser interacts through menus, buttons, and text fieldsConsole applicationUser interacts by typing commands
7 Desktop vs. Mobile Applications Window sizeLarge and adjustableLimited by screen sizeUser inputKeyboard, mouse, audio, other recording devicesKeypad, touch screen, d-pad, voiceOutputScreen, printer, larger internal storageSmaller SD card storage, printing through BluetoothResourcesLarge range of processing and memory configurationsLimited to mobile processing and memory resources
8 Desktop vs. Mobile Application Context Typically stationaryDedicated concentrationDesktopOn the moveDistracted concentrationMobile
17 Options for Obtaining Input for User’s Move MenuLess error proneMore consistentShort menus are user friendlyLong menus are difficult to followUser enters a stringHigh probability for errorUser enters an abbreviationMust convert to string for output purposes
23 Demographics Program Example Input DataEthnicity informationNumber of people in the chosen populationOutput dataData and distribution table
24 Demographic Example Tasks Display a menuObtain the user’s selectionExecute the selectionMenu-related tasksDisplay a list of dataEnter data into a listCompute the diversity distributionOperations performed after menu option is selected
34 Prepare for the FinalAn SMS message is limited to ___________ characters. A. 60 B. 140 C. 256 D. 512
35 Prepare for the FinalA(n) _______________ changes the code you type into code a computer can understand. A. analytic engine B. emulator C. scanner D. compiler
36 Prepare for the FinalWhich 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
37 Prepare for the FinalThe binary equivalent of 13 is ___________. A B C D. 1101
38 Prepare for the FinalIn 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
39 Prepare for the FinalThe world’s largest mobile operator is in ___________. A. United Kingdom B. China C. Spain D. USA
40 Prepare for the FinalTimothy Berners-Lee developed ____________ in A. HTML B. the Internet C. C++ D. the touch screen
41 Prepare for the FinalWhich of the following is not an example of a compiled programming language? A. Pascal B. FORTRAN C. C D. HTML
42 Prepare for the FinalWhat 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
43 Prepare for the FinalWhat 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.
44 Prepare for the FinalWhat is the speed of a 4G mobile network? A. Less than 1 Mbps B. 1–3 Mbps C. 3–5 Mbps D. Unlimited
45 Prepare for the FinalWhat 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.
46 Prepare for the FinalTop-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
47 Prepare for the FinalAccording 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
48 Prepare for the FinalWhat is the following? cout << “Hello World\n”; A. A Visual Basic statement B. A Java function C. A Pascal function D. A C++ statement
49 Prepare for the FinalWhich 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
50 Prepare for the FinalA full-screen immersive context is appropriate for ______________. A. providing information at a glance B. games C. productivity applications D. locale-related applications
51 Prepare for the FinalThe MCTS: Windows Mobile 6.5 certification is offered by __________. A. Microsoft B. Apple C. Oracle D. IBM
52 Prepare for the FinalTesting 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
53 Prepare for the FinalMobile ________ determines how much time, effort, and money it will cost to develop a solution. A. strategy B. context C. design D. platform
54 Prepare for the FinalA 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
55 Prepare for the FinalA ___________ is used to maintain a consistent look and feel. A. context B. design pattern C. palette D. layout
56 Prepare for the FinalThe repeat-while statement is an example of a ______________. A. design pattern B. decision statement C. sequence palette D. loop statement
57 Prepare for the FinalThe following is an example of a(n) ___________. IF rainfall > 2 inches THEN A. looping statement B. sequential statement C. conditional statement D. design pattern
58 Prepare for the FinalA _____________ shape in a flowchart always has two arrows leaving it. A. diamond B. parallelogram C. rectangle D. circle