Mobile Application Development QUESTION 1 For the MVC design pattern, what does
ID: 3908359 • Letter: M
Question
Mobile Application Development
QUESTION 1
For the MVC design pattern, what does MVC stand for?
Model-View-Controller
Main-Vice-Controller
Modulate-Validate-Code
Main-View-Code
2 points
QUESTION 2
An app like Where’s My Phone?, which waits for text messages and responds with the GPS location, is best suited to an Android Service.
True
False
2 points
QUESTION 3
Which section of the App Inventor workspace represents an Android phone’s screen?
Toolbar
Viewer
Components
Palette
2 points
QUESTION 4
What does JNLP (the type of file a Java Web Start application is stored in) stand for?
Java New Language Processor
Java NAT Layers Protocol
Java Native Language Processor
Java Native Launch Protocol
2 points
QUESTION 5
To keep an Android application running, you must keep the app’s screen visible.
True
False
2 points
QUESTION 6
Assume that the value of TextBox1 will be set to the value of the variable temp. Which of the following sets of code will NOT set Label1.Text to the cube of the Text value of TextBox1?
2 points
QUESTION 7
What is the correct order to start the emulator in the Blocks Editor window?
Click ‘New emulator’, slide the green lock icon right to unlock, click ‘Connect to Device’, and select the emulator to start your app.
Click ‘Connect to Device’, click ‘New emulator’, slide the green lock icon right to unlock, and select the emulator to start your app.
Click ‘New emulator’, click ‘Connect to Device’, slide the green lock icon right to unlock, and select the emulator to start your app.
Click ‘Connect to Device’, slide the green lock icon right to unlock, click ‘New emulator’, and select the emulator to start your app.
2 points
QUESTION 8
For security, Android applications are not able to access the existing messaging function of the phone.
True
False
2 points
QUESTION 9
What happens to the grayed-out, temporary text displayed in a text box when a user begins to enter information?
It disappears.
It is highlighted on click.
It stays until maually deleted.
It is replaced one character at a time while the user types.
2 points
QUESTION 10
What is the name for components that are not displayed to the user?
Hidden
Non-visible
Spooled
Background
2 points
QUESTION 11
What property is used to set the text displayed temporarily in a text box before a user enters their own information?
Label
Tip
HoverText
Hint
2 points
QUESTION 12
Which section of the App Inventor workspace lists components available for use in your app in expandable groups?
Toolbar
Viewer
Components
Palette
2 points
QUESTION 13
Android is open-source software, which means that any modifications a developer makes must also be released as open-source software.
True
False
2 points
QUESTION 14
What is the default port number for the emulator?
80
5554
5555
5556
2 points
QUESTION 15
Using blocks that fit together guarantee that your app will be error-free.
True
False
2 points
QUESTION 16
When using the Texting component, where do you find the block to include the automatically included messageText argument?
Built-in
My Blocks
Advanced
Components
2 points
QUESTION 17
When retrieving values from components, App Inventor creates code that uses the getter method to access the value.
True
False
2 points
QUESTION 18
Which section of the App Inventor workspace allows the developer to modify certain aspects of components?
Toolbar
Media
Components
Properties
2 points
QUESTION 19
What happens when you select the Show Barcode option from the Package for Phone menu?
A label is created and printed.
The app is converted to JavaScript.
An image is created that shows a machine-readable URL pointing to the app.
Construction instructions for a UPC code are created in XML format.
2 points
QUESTION 20
Tapping the screen registers what event in the Android SDK and App Inventor?
Tap
Press
Touch
Click
2 points
QUESTION 21
What happens when you select the Download to this Computer option from the Package for Phone menu?
The Java source files are downloaded to the user’s computer.
The generated binary files are downloaded to the user’s computer.
A Java archive file, or .jar file, is downloaded to the user’s computer.
An Android package, or .apk file, is downloaded to the user’s computer.
2 points
QUESTION 22
An app that is close to being completed is best tested using which of the following methods?
Desk-checking
Using the emulator
On physical devices
Beta testing
2 points
QUESTION 23
Match the following terms to the matching definition.
This component is the OS; it’s the communication layer between the hardware and the software.
Use this component to write applications that make use of the core libraries and any libraries you create. Includes a Content Provider, a Resource Manager, an Activity Manager, and more.
The uppermost component that includes built-in apps, such as the Web browser and e-mail.
Component which includes the Dalvik virtual machine and the core libraries.
Includes access to SQLite, FreeType, and the Scalable Graphics Library (SGL).
Android runtime components
Applications (or Apps)
Android architecture
Core Libraries
Linux Kernel
External Libraries
Application Framework
Unix Kernel
2 points
QUESTION 24
Which of the following is NOT an option for packaging an app?
Submit to Android Market
Show Barcode
Download to this Computer
Download to Connected Phone
2 points
QUESTION 25
What is the correct way to retrieve the value from a component named TextBox1?
TextBox1.Value
TextBox1.getValue()
TextBox1.Text
TextBox1.getText()
2 points
QUESTION 26
Which of the following is NOT represented as a block?
Methods
Errors
Properties
Loops
2 points
QUESTION 27
Math
Logic
Control
None of the above
2 points
QUESTION 28
All software of the Android architecture is free.
True
False
2 points
QUESTION 29
Which term describes installing an app on a device or emulator?
Install
Place
Deploy
Implant
2 points
QUESTION 30
What property is used to set the text that will display in an app’s top information bar?
Label
Text
Title
TopText
2 points
QUESTION 31
Count dozens of eggs
Determine the number of hours from the number of minutes
Calculate what power of two the number is
Calculate the number of gallons from the number of ounces
2 points
QUESTION 32
Which keyword is used by App Inventor to combine string literals?
Concatenate
Concat
Combine
Join
2 points
QUESTION 33
Math
Logic
Control
None of the above.
2 points
QUESTION 34
App Inventor can only be used to develop lightweight apps because you don’t have to write code to use it.
True
False
2 points
QUESTION 35
The easiest way to deal with temporary text in a text box that needs to be removed when a user enters certain information is to build a JavaScript solution.
True
False
2 points
QUESTION 36
Testing the graphical user interface (GUI) during the early stages of development is best done using which of the following methods?
Desk-checking
Using the emulator
On physical devices
You can’t test the GUI.
2 points
QUESTION 37
App functionality is primarily developed within the Block Editor.
True
False
2 points
QUESTION 38
To add a string literal block to an app, on which tab do you find the Text block?
Built-in
My Blocks
Advanced
Components
2 points
QUESTION 39
App Inventor apps are not allowed on the Android Market.
True
False
2 points
QUESTION 40
Match each component of the App Inventor workspace to its related tasks below.
Upload custom audio or video
Groups of available components to add
Work with projects, the emulator, and packaging
View, rename, or delete components
Arrange components
Model-View-Controller
Main-Vice-Controller
Modulate-Validate-Code
Main-View-Code
Explanation / Answer
We are instructed to provide upto 4 parts of a given question. Please do not downvote the answer for that reason.
1. A. Model-View-Controller
This is used to separate the all the concerns of the application separately
2. A. FALSE
It can be suitable for both android, iOS, windows phone os and any other operating cell phone operating system.
3. B. Viewer
Viewer is the component that is represented by the screen in the app inventor workspace. This can also be called the canvas for the artist.
4. D. Java Network Launch Protocol (this is the correct option but the question seems to have mentioned it wrong.)
JNLP is a file stype which stands for Java Network Launch Protocol.