CS6328-Midterm Exam - Attempt Review

Download as pdf or txt
Download as pdf or txt
You are on page 1of 13
At a glance
Powered by AI
The document appears to present results from a midterm exam on aspects of Android development.

The document presents results from a midterm exam taken on Android development, including questions, answers and grades.

Some key aspects of Android covered include activities, menus, dialogs, permissions and billing.

Home / My courses /

UGRD-CS6328-2033T /
Week 10: Midterm Examination /
Midterm Exam

Started on Thursday, 3 June 2021, 5:16 PM


State Finished
Completed on Thursday, 3 June 2021, 5:26 PM
Time taken 10 mins
Marks 50.00/50.00
Grade 100.00 out of 100.00

Question 1
Correct

Mark 1.00 out of 1.00

IDENTIFICATION. Read the question carefully and type your answer in the space provided.
An on/off button with a light indicator.

Answer: Toggle Button 

Question 2
Correct

Mark 1.00 out of 1.00

WebKit library is responsible for the platform's browser support.

Select one:
True 

False

Question 3
Correct

Mark 1.00 out of 1.00

The Android SDK was first issued as an "early look" release in November 2007.

Select one:
True 

False
Question 4
Correct

Mark 1.00 out of 1.00

Android allows writing managed code in the Java Language.

Select one:
True 

False

Question 5
Correct

Mark 1.00 out of 1.00

TRUE OR FALSE

res/menu is a resource ID that's unique to the item, which allows the application can recognize the item when the user selects it.

Select one:
True

False 

Question 6
Correct

Mark 1.00 out of 1.00

The birthdate of Android was on November 5, 2007

Select one:
True 

False

Question 7
Correct

Mark 1.00 out of 1.00

2.2 is the latest version of the Android Studio.

Select one:
True

False 
Question 8
Correct

Mark 1.00 out of 1.00

Text fields also accept other input type such as number, password or email address.

Select one:
True 

False

Question 9
Correct

Mark 1.00 out of 1.00

An Activity is an application component that provides a screen with which users can interact in order to do something, such as dial the
phone, take a photo, send an email, or view a map..

Select one:
True 

False

Question 10
Correct

Mark 1.00 out of 1.00

Tech-giant Google owns Android.

Select one:
True 

False

Question 11
Correct

Mark 1.00 out of 1.00

If you've developed your application for Android 2.3.x (API level 10) or lower, the contents of your options menu appear at the bottom of
the screen when the user presses the menu button.

Select one:
True 

False
Question 12
Correct

Mark 1.00 out of 1.00

Google owns Android originally.

Select one:
True

False 

Question 13
Correct

Mark 1.00 out of 1.00

ArrayAdapter creates a view for each array item by calling toString() on each item and placing the contents in a TextView.

Select one:
True 

False

Question 14
Correct

Mark 1.00 out of 1.00

One of the advantages of Android is the ability for anyone to customize the Google Android program.

Select one:
True 

False

Question 15
Correct

Mark 1.00 out of 1.00

Google Play Billing provides the static libraries and samples that allow you to integrate billing services in your app with Google Play.

Select one:
True 

False
Question 16
Correct

Mark 1.00 out of 1.00

In a contextual action mode, a menu appears as a floating list of menu items when the user performs a long-click on a view that declares
support for a context menu.

Select one:
True

False 

Question 17
Correct

Mark 1.00 out of 1.00

AutoComplete is a subclass of EdiText that provides suggestions to users as they type.

Select one:
True

False 

Question 18
Correct

Mark 1.00 out of 1.00

Documentation is a static library you can include in your app sources in order to use powerful APIs that aren't available in the standard
platform.

Select one:
True

False 

Question 19
Correct

Mark 1.00 out of 1.00

Android is an open source software.

Select one:
True 

False
Question 20
Correct

Mark 1.00 out of 1.00

Resumed is an activity that is in the foreground, has focus and still visible.

Select one:
True

False 

Question 21
Correct

Mark 1.00 out of 1.00

TRUE OR FALSE

wrap_content tells your view to become as big as its parent view group will allow.

Select one:
True

False 

Question 22
Correct

Mark 1.00 out of 1.00

OHA stands for Open Handheld Alliance.

Select one:
True 

False

Question 23
Correct

Mark 1.00 out of 1.00

You can specify an action button by setting android: action attribute.

Select one:
True

False 
Question 24
Correct

Mark 1.00 out of 1.00

Identify if the statement if True or False. Write True if statement is true otherwise False

An application project is the main type of project.

Select one:
True 

False

Question 25
Correct

Mark 1.00 out of 1.00

The application project is the main type of project.

Select one:
True 

False

Question 26
Correct

Mark 1.00 out of 1.00

Identify if the statement if True or False. Write True if statement is true otherwise False

Library Projects are built into applications that run on a device.

Select one:
True

False 

Question 27
Correct

Mark 1.00 out of 1.00

The state called "Resumed" is when the activity is in the foreground and the user can interact with it.

Select one:
True 

False
Question 28
Correct

Mark 1.00 out of 1.00

Resolution is the total number of physical pixels on a screen.

Select one:
True 

False

Question 29
Correct

Mark 1.00 out of 1.00

Identify if the statement if True or False. Write True if statement is true otherwise False

SDK tools contain platform-dependent tools for the application development.

Select one:
True

False 

Question 30
Correct

Mark 1.00 out of 1.00

Screen density is usually referred to as ppi (pixels per inch)

Select one:
True

False 

Question 31
Correct

Mark 1.00 out of 1.00

Checkbox options allow users to one option from a set.

Select one:
True

False 
Question 32
Correct

Mark 1.00 out of 1.00

IDENTIFICATION. Read the question carefully and type your answer in the space provided.
A virtual pixel unit that you should use when defining UI layout.

Answer: Density-Independent pixel 

Question 33
Correct

Mark 1.00 out of 1.00

Radio buttons allow users to select multiple items.

Select one:
True

False 

Question 34
Correct

Mark 1.00 out of 1.00

allows you to categorize menu items so they share properties such as active state and visibility.

Select one:
True

False 

Question 35
Correct

Mark 1.00 out of 1.00

TRUE OR FALSE

Screen Density is the total number of physical pixels on a screen.

Select one:
True

False 
Question 36
Correct

Mark 1.00 out of 1.00

TRUE OR FALSE

Android divides the range of actual screen sizes and densities into general sizes and general densities.

Select one:
True 

False

Question 37
Correct

Mark 1.00 out of 1.00

Android Beta was released on November 5, 2012

Select one:
True 

False

Question 38
Correct

Mark 1.00 out of 1.00

IDENTIFICATION. Read the question carefully and type your answer in the space provided.
A dialog for users to select a single value for a set by using up/down buttons or via a swipe gesture

Answer: Pickers 

Question 39
Correct

Mark 1.00 out of 1.00

IDENTIFICATION. Read the question carefully and type your answer in the space provided.
A drop-down list that allows users to select one value from a set.

Answer: Spinner 
Question 40
Correct

Mark 1.00 out of 1.00

It's easier to visualize the menu structure in XML.

Select one:
True 

False

Question 41
Correct

Mark 1.00 out of 1.00

Identify if the statement if True or False. Write True if statement is true otherwise False

Android SDK provides all the API libraries and developer tools.

Select one:
True 

False

Question 42
Correct

Mark 1.00 out of 1.00

Identify if the statement if True or False. Write True if statement is true otherwise False

SDK Platform includes an android.jar file.

Select one:
True 

False

Question 43
Correct

Mark 1.00 out of 1.00

Android Support is an offline copy of the latest documentation for the Android platform APIs.

Select one:
True

False 
Question 44
Correct

Mark 1.00 out of 1.00

Identify if the statement if True or False. Write True if statement is true otherwise False

CERT.RSA file includes the certificate of the application.

Select one:
True 

False

Question 45
Correct

Mark 1.00 out of 1.00

Identify if the statement if True or False. Write True if statement is true otherwise False

Google Play Billing allows you to perform license verification.

Select one:
True

False 

Question 46
Correct

Mark 1.00 out of 1.00

It is recommended to use hard coded pixel values in your application code for screen independence.

Select one:
True

False 

Question 47
Correct

Mark 1.00 out of 1.00

A context menu is a floating menu that appears when the user performs a long-click on an element.

Select one:
True 

False
Question 48
Correct

Mark 1.00 out of 1.00

IDENTIFICATION. Read the question carefully and type your answer in the space provided.
Use this scaling ratio to create alternative bitmap drawables.

Answer: 3:4:6:8 

Question 49
Correct

Mark 1.00 out of 1.00

TRUE OR FALSE

A dialog fills the screen and is normally used for modal events that does not require users to take an action before they can proceed.

Select one:
True

False 

Question 50
Correct

Mark 1.00 out of 1.00

android:OnClick attribute defines the click even handler for a checkbox or radio button.

Select one:
True 

False

◄ Midterm Quiz 2

Jump to...

Lesson 6 - Dialog, Toast and Notification - Module ►

You might also like