Lesson 4 Quiz - CIST2381-Mobile Application Development

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

To add a string literal block to an app, on which tab do you find the

A) Built-in

To add a string literal block to an app, on which tab do you find the Text block? A) Built-in B) My Blocks C) Advanced D) Components

A) Built-in

What is the correct order to start the emulator in the Blocks Editor window? A) Click 'New emulator', slide the green lock icon right to unlock, click 'Connect to Device', and select the emulator to start your app. B) Click 'Connect to Device', click 'New emulator', slide the green lock icon right to unlock, and select the emulator to start your app. C) Click 'New emulator', click 'Connect to Device', slide the green lock icon right to unlock, and select the emulator to start your app. D) Click 'Connect to Device', slide the green lock icon right to unlock, click 'New emulator', and select the emulator to start your app.

A) Click 'New emulator', slide the green lock icon right to unlock, click 'Connect to Device', and select the emulator to start your app..

What happens to the grayed-out, temporary text displayed in a text box when a user begins to enter information?

A) It disappears.

Which of the following is NOT an option for packaging an app?

A) Submit to Android Market

Which of the following is NOT an option for packaging an app? A) Submit to Android Market B) Show Barcode C) Download to this Computer D) Download to Connected Phone

A) Submit to Android Market

All software of the Android architecture is free. A) True B) False

A) True

App functionality is primarily developed within the Block Editor. A) True B) False

A) True

When retrieving values from components, App Inventor creates code that uses the getter method to access the value. A) True B) False

A) True

When retrieving values from components, App Inventor creates code that uses the getter method to access the value. A) True B) False

A) True

9.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?

B)

What is the default port number for the emulator? A) 80 B) 5554 C) 5555 D) 5556

B) 5554

Which of the following is NOT represented as a block? A) Methods B) Errors C) Properties D) Loops

B) Errors

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. A) True B) False

B) False

Android is open-source software, which means that any modifications a developer makes must also be released as open-source software. A) True B) False

B) False

App Inventor can only be used to develop lightweight apps because you don't have to write code to use it. A) True B) False

B) False

For security, Android applications are not able to access the existing messaging function of the phone. A) True B) False

B) False

To keep an Android application running, you must keep the app's screen visible. A) True B) False

B) False

Using blocks that fit together guarantee that your app will be error-free. A) True B) False

B) False

The block in the associated figure is an example of which type of Built-In blocks? [AND test] A) Math B) Logic C) Control D) None of the above.

B) Logic

When using the Texting component, where do you find the block to include the automatically included messageText argument? A) Built-in B) My Blocks C) Advanced D) Components

B) My Blocks

What is the name for components that are not displayed to the user? A) Hidden B) Non-visible C) Spooled D) Background

B) Non-visible

Testing the graphical user interface (GUI) during the early stages of development is best done using which of the following methods? A) Desk-checking B) Using the emulator C) On physical devices D) You can't test the GUI.

B) Using the emulator

Which section of the App Inventor workspace represents an Android phone's screen? A) Toolbar B) Viewer C) Components D) Palette

B) Viewer

What happens when you select the Show Barcode option from the Package for Phone menu? A) A label is created and printed. B) The app is converted to JavaScript. C) An image is created that shows a machine-readable URL pointing to the app. D) Construction instructions for a UPC code are created in XML format.

C) An image is created that shows a machine-readable URL pointing to the app.

The block in the associated figure is an example of which type of Built-In blocks? A) Math B) Logic C) Control D) None of the above

C) Control

The block in the associated figure is an example of which type of Built-In blocks? the "if" block

C) Control

The Blocks Editor is what type of application? A) JavaScript B) Java C) Java Web Start D) Eclipse Add-on

C) Java Web Start

What is the correct way to retrieve the value from a component named TextBox1? A) TextBox1.Value B) TextBox1.getValue() C) TextBox1.Text D) TextBox1.getText()

C) TextBox1.Text

15.What is the correct way to retrieve the value from a component named Textbox1?

C) Textbox1.text

What property is used to set the text that will display in an app's top information bar? A) Label B) Text C) Title D) TopText

C) Title

4.What happens when you select the Download to this Computer the Package for Phone menu?

D) An Android package, or .apk file, is downloaded to the user's computer.

What happens when you select the Download to this Computer option from the Package for Phone menu? A) The Java source files are downloaded to the user's computer. B) The generated binary files are downloaded to the user's computer. C) A Java archive file, or .jar file, is downloaded to the user's computer. D) An Android package, or .apk file, is downloaded to the user's computer.

D) An Android package, or .apk file, is downloaded to the user's computer.

Based on the associated figure, what might the code blocks shown imply about the intent of the application?

D) Calculate the number of gallons from the number of ounces

Based on the associated figure, what might the code blocks shown imply about the intent of the application? A) Count dozens of eggs B) Determine the number of hours from the number of minutes C) Calculate what power of two the number is D) Calculate the number of gallons from the number of ounces

D) Calculate the number of gallons from the number of ounces

Tapping the screen registers what event in the Android SDK and App Inventor? A) Tap B) Press C) Touch D) Click

D) Click

What property is used to set the text displayed temporarily in a text box before a user enters their own information? A) Label B) Tip C) HoverText D) Hint

D) Hint

What does JNLP (the type of file a Java Web Start application is stored in) stand for? A) Java New Language Processor B) Java NAT Layers Protocol C) Java Native Language Processor D) Java Native Launch Protocol

D) Java Native Launch Protocol

Which keyword is used by App Inventor to combine string literals? A) Concatenate B) Concat C) Combine D) Join

D) Join

Which section of the App Inventor workspace lists components available for use in your app in expandable groups? A) Toolbar B) Viewer C) Components D) Palette

D) Palette

Which section of the App Inventor workspace allows the developer to modify certain aspects of components? A) Toolbar B) Media C) Components D) Properties

D) Properties


Kaugnay na mga set ng pag-aaral

008 - Networking - C11.1. WAN Concepts / Questions

View Set

Typical German foods (Typische Deutsche Gerichte)

View Set

Intro to Business - Study Guide #3

View Set