questions banks for final exams - science.tiu.edu.iq

6
Question 1. For Wi-Fi screen to store information about available Wi-Fi networks, we should use _____________________ data type . (Type: Multiple Choice) ( ) array list ( ) array of integers ( ) array ( ) array of strings Question 2. Point or put a circle at both of Java method that will get the user name and variable name which stores order summary details. Drag a hotspot marker to change its position. (Type: Hotspot)

Upload: others

Post on 04-May-2022

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Questions Banks for Final exams - science.tiu.edu.iq

Question 1.

For Wi-Fi screen to store information about available Wi-Fi networks, we should use _____________________ data type .

(Type: Multiple Choice)

( ) array list

( ) array of integers

( ) array

( ) array of strings

Question 2.

Point or put a circle at both of Java method that will get the user name and variable name which stores order summary details. Drag a hotspot marker to change its position.

(Type: Hotspot)

Page 2: Questions Banks for Final exams - science.tiu.edu.iq

Question 3.

How many times to repeat the loop ?

(Type: Multiple Choice)

( ) 3

( ) 6

( ) 4

( ) 5

Question 4.

Type your response into the field below:

android:onClick="_____________"

(Type: Type In, Points)

Question 5.

A vertical linear layout doesn't scroll if it extends beyond the edge of the screen you need to add something to your App to make it vertically scrollable.

(Type: True/False)

( ) True

( ) False

Page 3: Questions Banks for Final exams - science.tiu.edu.iq

Question 6.

If you want to change some of the behaviour from this inherited class, you can override certain methods.

(Type: True/False)

( ) True

( ) False

Question 7

Point at the incorrect area(s) on the image. Drag a hotspot marker to change its position.

(Type: Hotspot)

Hotspots: 1

Question 8

This App should use

(Type: Multiple Choice)

( ) Implicit Intent

( ) None of these Intents

( ) Both of these Intents

( ) Explicit Intent

Page 4: Questions Banks for Final exams - science.tiu.edu.iq

Question 8

For the categories of Apps in play store we can also use _________________________ data type.

(Type: Multiple Choice)

( ) array

( ) Strings

( ) array list

Question 9.

The best term to express about this image is to say class ____________

(Type: Multiple Choice)

( ) inheritance

( ) derivation

( ) extend

( ) override

Question 10.

Choose one correct answer in each drop-down list

(Type: Multiple Choice Text)

When a professional Android developer is joining a new project, it's very common for the team to already have an ___________(existing app/new app/completed app/scratch work)that they’re working on. It's good practice to learn how to read an existing ___________(codebase/errors/log messages) because, oftentimes, you wont be creating a brand new app from scratch.

Page 5: Questions Banks for Final exams - science.tiu.edu.iq

Question 11.

Arrange the following codes in the correct order of MainActivity.java File

(Type: Sequence)

# Choice Correct order

1

2

3

4

5

6

Question 12.

An array list can hold object data types not primitive data types. But if we want to store primitive data types in array list , in Java there is something called object grabbers they wrap around primitive data types to help them become object data type.

(Type: True/False)

( ) True

( ) False

Question 13.

Drag the words and drop them to the appropriate places

(Type: Word Bank)

To change the title of the screen of this App , we should modify ___________. Then we’ll add an extra attribute called ___________ and the value will be the text that we want to show in the app bar for this activity which is ___________ and this name is already exist in ___________.

numbers android label strings.xml file numbers.java activitymain.xml mainactivity.java places Miwok manifest.xml file

Page 6: Questions Banks for Final exams - science.tiu.edu.iq

Question 14.

Fill in the blank fields below

(Type: Fill in the Blank:

Now that we have the order summary we need to send it off in an email so actually we get our coffee. In order to do this, we must understand a new topic in Android called ___________.

Question 15.

To create the Cookie App , which of the following methods we should use ?

(Type: Multiple Response)

[ ] setText

[ ] setBackground

[ ] setColor

[ ] setImageResource

Question 16.

Fill in the blank fields below

(Type: Fill in the Blank)

A ___________

B___________

C___________

D___________