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

  Create a swing based java gui application

COIT11134 - Object Oriented Programming(T12017) This assignment is designed to test the ability in defining superclass, subclasses and creating & using objects in addition to designing Graphical User Interface (GUI).

  Purchasing type of mobile device

Mobile devices use touch screens to interact with the individual. Select a mobile device and identify three (3) important usability features that are important to you when purchasing this type of mobile device. Provide a rationale for your respons..

  Command line arguments are passed to the main method

Command line arguments are passed to the main method through the array of String references (args in the main method below).

  Discuss factors that affect sorting in sediment

Discuss factors that affect sorting in sediment. How could one tell the latitude at which a sediment was originally deposited? Compare and contrast phosphate and manganese nodules.

  Enter two names for a comparison

Could you help me with a program that will compare two names. The program prompts the user to enter two names for a comparison.

  When is a javascript constructor called

When is a JavaScript constructor called? What is the difference between a constructor in Java and one in JavaScript?

  Code that deals with user inputs via mouse

data.txt is data file with text defining the background picture and the various data items.

  Develop a thorough testing example with different values

If the rate of y is less than z, then the queue may never get full. The program will simulate process synchronization. You will want to make sure that you output a message during each of these transactions

  Print out each word of the input sentence to a separate line

After this, create another program that could be used to take the words in words.txt and recreate the original sentence - this time printing the result to the screen. Please write well commented code.

  Create a java program that declare an integer array

COP2551 Intro to OOP Homework - Create a Java program that Declare an integer array capable of storing 15 values

  The api for this class ispublic void poweronnbsp sets the

the api for this class ispublic void poweronnbsp sets the machine ready to serve the selected ice creampublic void

  Display the program output of the collision results

According to my lecturer, I need the tutor to display the 'program output' of the collision results implemented by BirthdayAttack.java in a output.txt file. Can the tutor do this?

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