Sunteți pe pagina 1din 10

3/12/2020 Midterms: Attempt review

Dashboard / My courses / BL-CS-369-LEC-1933T / Midterm Exam / Midterms

Started on Thursday, 12 March 2020, 2:10 PM


State Finished
Completed on Thursday, 12 March 2020, 2:23 PM
Time taken 13 mins 19 secs
Marks 47.00/50.00
Grade 94.00 out of 100.00

Question 1 When the user clicks a button, the Button object receives and on-click event. To define the click event handler for
Correct a button, add the _______________.
Mark 1.00 out of
1.00 Select one:
a. android:onClick 

b. android:inClick

c. android:ofClick

d. android:onclicks

Your answer is correct.

Question 2 Editable text fields or hints do not have a distinct appearance and behavior from static ones.
Correct

Mark 1.00 out of Select one:


1.00
a. False 

b. True

Your answer is correct.

Question 3 Is a drawable resource defined in XML that changes its image based on the current state of the button.
Correct

Mark 1.00 out of Select one:


1.00
a. Relative Layout

b. state list drawable 

c. string resource

d. ViewGroup

Question 4 You create new tabs by requesting one from the ActionBar using its newTab() method.
Correct

Mark 1.00 out of Select one:


1.00
True 

False

https://blended.amaesonline.com/abl-trimestral/mod/quiz/review.php?attempt=1217565&cmid=48766 1/10
3/12/2020 Midterms: Attempt review

Question 5 To provide a familliar and consistent user experience, you should use the Menu and Dialogs to present user
Correct actions and other options in your activities.
Mark 1.00 out of
1.00 Select one:
True

False 

Question 6 A ContextualMenu offers actions that affect general items or constant frame in the UI
Correct

Mark 1.00 out of Select one:


1.00
a. False 

b. True

Your answer is correct.

Question 7 The attribute that determines whether it stretches the image to the specified dimensions.
Correct

Mark 1.00 out of Select one:


1.00
a. centerInside

b. ImageView

c. android:scaleType 

d. Scaling Images

Question 8 The android:inputType attribute lets you specify what kind of input you're expecting.
Correct

Mark 1.00 out of Select one:


1.00
True 

False

Question 9 The Source code or the src code is the directory which will contain all of you applications source files
Correct

Mark 1.00 out of Select one:


1.00
True 

False

Question 10 Every button is styled using the system’s ___________ button background
Correct

Mark 1.00 out of Select one:


1.00
a. Fixed

b. Default 

c. Common

d. Varying

Your answer is correct.

https://blended.amaesonline.com/abl-trimestral/mod/quiz/review.php?attempt=1217565&cmid=48766 2/10
3/12/2020 Midterms: Attempt review

Question 11 Tabs work in conjunction with the ActionBarMenu.


Correct

Mark 1.00 out of Select one:


1.00
a. True 

b. False

Your answer is correct.

Question 12 match_parent makes the element match the height and dimension of the parent element.
Correct

Mark 1.00 out of Select one:


1.00
True

False 

Question 13 The LinearLayout class arranges all of the contained UI elements either horizontally or vertically.
Correct

Mark 1.00 out of Select one:


1.00
True 

False

Question 14 RelativeLayout lets you specify where each element should be placed with respect to the other elements in the
Correct interface.
Mark 1.00 out of
1.00 Select one:
True 

False

Question 15 The OptionsMenu is the tertiary collection of menu items for an activity.
Correct

Mark 1.00 out of Select one:


1.00
a. True

b. False 

Your answer is correct.

Question 16 Application Name is used as the title of your application launcher icon when it is installed on your device
Correct

Mark 1.00 out of Select one:


1.00
True 

False

Question 17 An Activity Life Cycle consists of the following six states: Created, Started, Ended, Paused, Stopped, Destroyed
Correct

Mark 1.00 out of Select one:


1.00
True

False 

https://blended.amaesonline.com/abl-trimestral/mod/quiz/review.php?attempt=1217565&cmid=48766 3/10
3/12/2020 Midterms: Attempt review

Question 18 onItemSelected() is one of most common values for android.


Correct

Mark 1.00 out of Select one:


1.00
True

False 

Question 19 The _________ tells the system when to use the contained resources.
Correct

Mark 1.00 out of Select one:


1.00
a. Exponent

b. Dividend

c. Quantifier

d. Qualifier 

Your answer is correct.

Question 20 The value of android:text is a reference to a ___________.


Correct

Mark 1.00 out of Select one:


1.00
a. button

b. ViewGroup

c. Relative Layout

d. string resource 

Question 21 The TextView is a subclass of View that represents a substandard text field component. True or False?
Correct

Mark 1.00 out of Select one:


1.00
a. True

b. False 

Your answer is correct.

Question 22 _______ is the space between an element’s content and its border.
Correct

Mark 1.00 out of Select one:


1.00
a. Padding 

b. Exponent

c. Dividend

d. Quantifier

Your answer is correct.

Question 23 actionDone is one of most common values for android.


Correct

Mark 1.00 out of Select one:


1.00
True 

False

https://blended.amaesonline.com/abl-trimestral/mod/quiz/review.php?attempt=1217565&cmid=48766 4/10
3/12/2020 Midterms: Attempt review

Question 24 This defines the visual structure for a user interface (UI).
Correct

Mark 1.00 out of Select one:


1.00
a. None of the choices

b. Layout 

c. Outer Space

d. Interface

Your answer is correct.

Question 25 The Menu button is deprecated on Android 2, so you should migrate toward using the action bar to provide
Correct access to actions and other options.
Mark 1.00 out of
1.00 Select one:
True

False 

Question 26 In the early 2000s, Symbian, BlackBerry OS, Palm OS and ________ (now known as Windows Mobile) became
Correct increasingly popular. They are gadgets with capabilities such as email, fax, Web browsing, etc.
Mark 1.00 out of
1.00 Select one:
a. PocketWifi

b. PocketPC2000 

c. PocketCD

d. Pocket PC

Your answer is correct.

Question 27 A ________ is an icon that consists of text or an image, which communicates what action occurs when you touch or
Correct click it
Mark 1.00 out of
1.00 Select one:
a. Button 

b. Buttoning

c. Image

d. Android

Your answer is correct.

Question 28 They resemble basic buttons except they have no borders or background but still change appearance during
Correct different states.
Mark 1.00 out of
1.00 Select one:
a. Toggle Button

b. Custom Button

c. Borderless Button 

d. android:onClick

https://blended.amaesonline.com/abl-trimestral/mod/quiz/review.php?attempt=1217565&cmid=48766 5/10
3/12/2020 Midterms: Attempt review

Question 29 Android apps use HTML to define thier user interfaces


Correct

Mark 1.00 out of Select one:


1.00
True

False 

Question 30 You can scale images by defining layout_width and layout_height attributes on the ____________ element
Correct

Mark 1.00 out of Select one:


1.00
a. Name Package

b. Image Partner

c. Wrap_content

d. ImageView 

Your answer is correct.

Question 31 While spinners may offer similar functionality as radio buttons, they do not require an entirely different API
Correct

Mark 1.00 out of Select one:


1.00
a. True

b. False 

Your answer is correct.

Question 32 R.array.spinnerColors is the ID of the string array.


Correct

Mark 1.00 out of Select one:


1.00
a. True 

b. False

Your answer is correct.

Question 33 On Android 3.0 and higher, items from the options menu are presented by the action bar as a combination of
Correct on-screen action items and overflow options.
Mark 1.00 out of
1.00 Select one:
True 

False

https://blended.amaesonline.com/abl-trimestral/mod/quiz/review.php?attempt=1217565&cmid=48766 6/10
3/12/2020 Midterms: Attempt review

Question 34 ____________ can be measured in pixels (px), density-independent pixels, and scaled pixels based on preferred font
Correct size.
Mark 1.00 out of
1.00 Select one:
a. Explicit Decision 

b. Wrap_content

c. match_parent

d. Name Package

Your answer is correct.

Question 35 The ADK plugin will be able to provide a new project wizard where you can create a new project or open one
Correct from an existing code
Mark 1.00 out of
1.00 Select one:
True

False 

Question 36 Editable text field hints are one of the most important attributes to set.
Correct

Mark 1.00 out of Select one:


1.00
a. False

b. True 

Your answer is correct.

Question 37 This class namespace creates the initial package structure.


Correct

Mark 1.00 out of Select one:


1.00
a. Names of Packages

b. Name Package

c. Name of the Packages

d. Package Name 

Your answer is correct.

Question 38 Spinners are drop-down menus that allow users to pick one item from a group of choices.
Correct

Mark 1.00 out of Select one:


1.00
a. True 

b. False

Your answer is correct.

https://blended.amaesonline.com/abl-trimestral/mod/quiz/review.php?attempt=1217565&cmid=48766 7/10
3/12/2020 Midterms: Attempt review

Question 39 There are three important items to note when talking about the Android Project Components. These are:
Incorrect

Mark 0.00 out of Select one:


1.00
a. Source Code, Postal Code, HTML

b. Source Code, Auto Generated Code, Included Sections 

c. Source Code, Auto Generated Code, Included Libraries

d. Source Code, Auto Generated Code, HTML

Your answer is incorrect.

Question 40 This constant makes the element match the width and height of the parent element.
Correct

Mark 1.00 out of Select one:


1.00
a. match_parent 

b. Name Package

c. wrap_content

d. Explicit Decision

Your answer is correct.

Question 41 Menus are a common user interface component in many types of applications
Correct

Mark 1.00 out of Select one:


1.00
a. True 

b. False

Your answer is correct.

Question 42 The onItemSelected() method is where the click is handled.


Correct

Mark 1.00 out of Select one:


1.00
True 

False

Question 43 wrap_content makes the element as big as it needs to be to contain its content
Correct

Mark 1.00 out of Select one:


1.00
True 

False

Question 44 To display the raw HTML, click the activity_main.html tab in the bottom-left of Eclipse's editing area
Correct

Mark 1.00 out of Select one:


1.00
True

False 

https://blended.amaesonline.com/abl-trimestral/mod/quiz/review.php?attempt=1217565&cmid=48766 8/10
3/12/2020 Midterms: Attempt review

Question 45 When creating a new Android Project, you first SELECT FILE > NEW >________
Correct

Mark 1.00 out of Select one:


1.00
a. None of the Choices

b. Reference

c. Project 

d. Document

Your answer is correct.

Question 46 It can display any kind of bitmap, and it takes care of basic alignment and scaling functionality.
Correct

Mark 1.00 out of Select one:


1.00
a. ImageView 

b. android:onClick

c. ViewGroup

d. Relative Layout

Question 47 Another way to customize the soft keyboard is with the android.R.simple_spinner_item attribute.
Correct

Mark 1.00 out of Select one:


1.00
True

False 

Question 48 Beginning with Android 2.5, Android-powered devices are no longer required to provide a dedicated Menu
Not answered button.
Marked out of
1.00 Select one:
True

False

Question 49 A PopupMenu is a modal menu anchored to a View


Incorrect

Mark 0.00 out of Select one:


1.00
a. True

b. False 

Your answer is incorrect.

Question 50 This constant makes the element as big as it needs to contain its content.
Correct

Mark 1.00 out of Select one:


1.00
a. Explicit Decision

b. Name Package

c. match_parent

d. wrap_content 

Your answer is correct. 

https://blended.amaesonline.com/abl-trimestral/mod/quiz/review.php?attempt=1217565&cmid=48766 9/10
3/12/2020 Midterms: Attempt review

Lesson 9: Lists, Web Browsers and Multi


◄ Quiz 004 Jump to...
Activity Applications ►

https://blended.amaesonline.com/abl-trimestral/mod/quiz/review.php?attempt=1217565&cmid=48766 10/10

S-ar putea să vă placă și