What method marks the end of an activity

Assignment Help JAVA Programming
Reference no: EM132725964

Mobile Programming

Part - 1:

1. Launcher icons form the first impression of your app on prospective users in Google Play.
a. True
b. False

2. Whenever possible, you should use the default launcher icon so your app looks as uniform as possible with other apps.
a. True
b. False

3. Never offer a default selection, as it complicates user input.
a. True
b. False

4. RadioButton controls are circular in shape, while CheckBox controls are square.
a. True
b. False

5. An adapter provides a data model for the layout of the list.
a. True
b. False

6. A switch statement can also be implemented as a chain of if/else statements.
a. True
b. False

7. It is not necessary to use the break keyword to end a case statement; it is automatically terminated by the next case keyword.
a. True
b. False

8. If an Activity is hidden, the onStart() method makes the Activity visible.
a. True
b. False

9. It's not necessary to understand the life cycle of an app in order to code it.
a. True
b. False

10. You typically use the finish() method right after an activity is launched to clean up resources of the previously running activity.
a. True
b. False

11. Decision-making statements in Java allow you to test which of the following?
a. conditions b. data types
c. imperatives d. syntax

12. What is the icon used to start your app called?
a. boot icon b. launcher icon
c. master icon d. starter icon

13. The icon on the home screen that represents your application is referred to as which of the following?
a. home icon b. logo icon
c. launcher icon d. app icon

14. In what graphics format should launcher icons be saved?
a. .png b. .jpg
c. .tif d. .gif

15. Which of the following controls allows you to create a two-level list?
a. ExpandableListView control b. ListView control
c. MajorListView d. TwoListView control

16. Which variable allows you to store multiple values in one variable at the same time?
a. array variable b. index variable
c. list variable d. temporary variable

17. In what is the reference for an array enclosed?
a. {} b. []
c. () d. <>

18. What unit of time is used when scheduling a timer?
a. milliseconds b. minutes
c. picoseconds d. seconds

19. What method marks the end of an Activity?
a. atEnd b. onClose
c. onDestroy d. onEnd

20. What can be described as the series of actions from the beginning of an Activity to its end?
a. life cycle b. flow chart
c. run time d. execution period

21. You can test for a(n) ____________________ being true or false and change the flow of what happens in a program based on the user's input.

22. For a extra high-density screen, the pixel size of an icon should be ____________________ (state as number x number).

23. When you publish an app in the Android Market, you must provide an icon of size ____________________ (state as number x number) as the display icon in the Market.

24. A custom launcher icon image can be placed in the res/mipmap folder by adding a(n) _______________________ using a built-in wizard in Android Studio.

25. Each individual item in an array is called a(n) ____________________.

26. Each item in the array is identified using a(n) ____________________.

27. The code to access the fifth element of an array called names is ____________________.

28. Typically, the ____________________ method, which is inside the onDestroy method, is called directly before another Activity is launched.

29. The ____________________ of a variable refers to the variable's visibility within a class.

30. ____________________ variables cease to exist when their class or activity is unloaded.

Part - 2:

Mobile Programming

1. The aim of requesting input from the user is to ensure that every user experience is the same every time the app is used.
a. True
b. False

2. It is possible to add a predefined system theme or a customized theme of your own design.
a. True
b. False

3. An application with an appealing graphical design is preferred over applications that are textual in nature.
a. True
b. False

4. Good graphic design communicates simplicity.
a. True
b. False

5. Java variable names are case sensitive.
a. True
b. False

6. You can use int and long data types to store floating point values.
a. True
b. False

7. The default value for a boolean variable is True.
a. True
b. False

8. The String type is a class, not a primitive data type.
a. True
b. False

9. You should always declare variables in an Android application at the end of the Activity.
a. True
b. False

10. Plus (+) and minus (-) have the highest order of precedence in the order of operations.
a. True
b. False

11. Android code was released under the Apache license which means the platform is considered which of the following?
a. Proprietary b. Virtual license
c. Open source d. Private code

12. Which of the following is an open-source business partnership of 80 firms that develop standards for mobile devices?
a. Association of Wireless Computers b. Cordless Union
c. Open Handset Alliance d. Mobile Computing Consortium

13. Which term best describes "a program that duplicates the look and feel of a particular device"?
a. mobile application b. emulator
c. operating system d. smartphone

14. Which of the following is NOT a feature supported by the Android platform?
a. Power management b. Multiple monitors
c. Onscreen keyboard d. Facial recognition

15. Which programming language is used to write Android apps?
a. C++ b. Fortran
c. Java d. Python

16. What is the fee you must pay to Google for each free app you publish on Google Play?
a. $25 b. $1.00
c. No fee d. $1.99

17. The emulator mimics almost every feature of a real Android except for the ability to do what?
a. load programs b. place a phone call
c. play video games d. use the Internet

18. What does SDK stands for?
a. Special Description Kit b. Software Development Kit
c. Standard Domain Knowledge d. Support Development Knowledge

19. Where are apps written for Android sold and deployed?
a. App Store b. iTunes
c. Google Play d. Mobile Mall

20. What is the human-readable title for your application?
a. Application name b. Class title
c. External name d. Program namespace

21. By default, the vertical Linear layout organizes each new control directly ____________________ the previous control.

22. A(n) ____________________ layout organizes components in a vertical column or a horizontal row.

23. Layout resources are stored as ____________________ code in the res/layout resource directory.

24. You can use a combination of layouts, meaning you can ____________________ controls within one another.

25. The ____________________ property sets the size of text in a control.

26. All Palette controls can use a property called ____________________ to provide a buffer from the top of the screen, to assist exact layout design.

27. High-density images should be placed in the ____________________ folder under the res folder.

28. The Button control is provided in the ____________________ category in the Palette. ANSWER: Widgets

29. You use the ____________________ property to name a control.

30. You can construct Activities using ____________________ layout files and a Java class.

Reference no: EM132725964

Questions Cloud

What would be an approximate market price : If the common stock had a market price of $57 per share before the stock split, what would be an approximate market price per share after the split
Network administrator for your organization : You are the network administrator for your organization. You have a reference computer that runs Windows Server 2016
What amount of income should sukwinder report : Sukwinder's cost is $360,000. For the year ended December 31, 2012, what amount of income should Sukwinder report from this lease
Self-directed learning and research activities : The purpose of this research assignment is to prepare students for self-directed learning and research activities.
What method marks the end of an activity : What can be described as the series of actions from the beginning of an Activity to its end and What method marks the end of an Activity
Design disaster recovery plan for small business : Design a disaster recovery plan for a small business used in the previous assignment (risk and threat assessment)
Yielded additional valuable information : What approaches could have yielded additional valuable information?
Cfo of organization pulls you aside in hallway : The CFO of your organization pulls you aside in the hallway in a panic and wants to know why no one has called an extermination company yet.
Calculate the duration of the bond-trx inc : Annual interest rates for upcoming coupon payment dates are 8%, 11%, and 10% and the current yield curve downward slopping. Calculate the duration of the bond.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd