MCQ Chapter 2


Chapter 2
Getting started with Mobility
1) In android, compiled code is executed by part of android system called
  1. DEX
  2. DVM
  3. JDK
  4. API
Ans: B:DVM

2) A part of android studio, that work as a simulator for android devices is called
  1. driver
  2. emulator
  3. stub
  4. firmware
Ans :B: emulator

3) Code that provide easy way to use all android features is called
  1. API
  2. DEX
  3. DVM
  4. JDK
Ans A:API
4) One of operating system that cannot be used for android application development is
  1. Eclipse
  2. Cooja
  3. Netbeans
  4. Android studio
Ans:B: Cooja
5) Android understandable form of code is called
  1. JDK
  2. DEX
  3. DVM
  4. API
Ans:B:DEX

6)  Package of compiled Java codes with some other resources is called
  1. IDE
  2. APK
  3. JDK
  4. IDE
Ans:B:APK

7) When classes are divided into many parts to achieve different functionalities is called
  1. classes
  2. objects
  3. stubs
  4. methods
Ans:D: methods
8) To ensure that hardware components such as CPU, GPU, GPS receivers etc. can run on underlying Linux OS, developers create
  1. classes
  2. stubs
  3. drivers
  4. objects
Ans:C: drivers

9) To go back to android window, tab used is
  1. terminal
  2. TODO
  3. android
  4. messages
Ans:C: android

10)  Most common environment to run Java programs written for PC only is called
  1. JRE
  2. JDK
  3. IDE
  4. SDK

Ans:A:JRE
11) Tab that test different version of currently developing app is
  1. Structure
  2. Favorites
  3. Build variants
  4. Project
Ans:C: Build variants

12) Official IDE released for android development is called
  1. Eclipse
  2. Net beans
  3. Android studio
  4. Java
Ans:C: Android studio
13) Transformation process of Java into android readable form is called
  1. compiling
  2. linking
  3. debugging
  4. testing
Ans:A: compiling

14) Android is actually using whole bunch of
  1. Python code
  2. C code
  3. Java code
  4. C sharp code
Ans:C: Java code

15) Most usable area of android studio is
  1. menu bar
  2. navigation bar
  3. tool bar
  4. editor

Ans:D: editor
16) Tab that shows completed events logs is
  1. event log
  2. terminal
  3. messages
  4. TODO
Ans:A: event log

17) A part of android system, DVM is actually a
  1. server
  2. software
  3. hardware
  4. firmware
Ans:B: software

18) To create a unit of code within a method signature that can be extend or shrink is enclosed by
  1. []
  2. {}
  3. ()
  4. ||
Ans:B:{}
19) Required android tools for development is called
  1. APK
  2. JDK
  3. IDE
  4. SDK
Ans:D:SDK

20)  In Java, blueprint created for an object is called
  1. an object
  2. a function
  3. a program
  4. a class
Ans:D: a class

21) By default in android studio during app development, file that holds information about SDK, versions, application Id, etc. is
  1. Build.gradle
  2. res/values
  3. res/layout
  4. AndroidManifest.xml
Ans:A: Build.gradle



Comments