wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Big Mobile Quiz

Total questions: 40

Worksheet time: 20mins

Name
Class
Date
1.

iOS: Which of the following is a default UI Property

a)

atomic

b)

assign

c)

non-atomic

d)

None of them

2.

Multitasking in iOS was introduced in which version?

a)

iOS 6.0

b)

iOS 2.0

c)

iOS 4.0

d)

iOS 7.0

3.

Which of these targets does Kotlin currently not support?

a)

JVM

b)

.NET CLR

c)

JavaScript

d)

LLVM

4.

Does Kotlin have primitive Data Types such as; int, long, float?

a)

No, Kotlin does not have nor use primitive data types

b)

Yes, Kotlin is similar to Java in this respect

c)

No, not at a language level. But the Kotlin compiler makes use of JVM primitives for best performance

d)

Yes, but Kotlin internally always converts them to their non-primitive counterparts.

5.

Android - You can create an emulator to simulate the configuration of a particular type of Android Device using a tool like

a)

Theme Editor

b)

Android SDK Manager

c)

AVD Manager

d)

Virtual Editor

6.

iOS: Which of the following hierarchy is correct?

a)

UIButton -> UIControl -> UIView -> UIResponder -> NSObject

b)

UIButton -> UIControl -> UIView -> NSObject -> UIResponder

c)

UIControl -> UIButton -> UIView -> UIResponder -> NSObject

d)

None of the above

7.

Flash applications are supported in iPhone browsers?

a)

It supports flash applications from Apple only

b)

Yes

c)

No

d)

Supports Partially

8.

What is the difference between services and thread in android?

a)

Services performs functionalities in the background. By default services run on main thread only

b)

Thread and services are having same functionalities.

c)

Thread works on services

d)

None of the above

9.

What is the difference between content values and cursor in android SQlite?

a)

Content values are key pair values, which are updated or inserted in the database

b)

Cursor is used to store the temporary result.

c)

A & B

d)

Cursor is used to store data permanently.

e)

Content values are used to share the data.

10.

What are the wake locks available in android?

a)

PARTIAL_WAKE_LOCK

b)

SCREEN_DIM_WAKE_LOCK

c)

SCREEN_BRIGHT_WAKE_LOCK

d)

FULL_WAKE_LOCK

11.

Fragment in Android can be found through

a)

findByID()

b)

findFragmentByID()

c)

getContext.findFragmentByID()

d)

FragmentManager.findFragmentByID()

12.

Which of those doesn't have an index based structure?

a)

List

b)

Set

c)

Map

13.

Android is not owned by Google. Who owns the Android platform?

a)

Oracle

b)

Dalvik

c)

Open Handset Alliance

d)

The above statement is false and Android is owned by Google.

14.

What was the first phone released that ran the Android OS?

a)

T-Mobile G1

b)

Google gPhone

c)

Motorola Droid

d)

HTC Hero

15.

Which of the following patterns creates an object without exposing the creation logic to the client and refer to newly created object using a common interface?

a)

Factory Pattern

b)

Abstract Factory Pattern

c)

Singleton Pattern

d)

Transfer Object Pattern

16.

Fault Page occurs when

a)

When a requested page is in memory

b)

When a requested page is not in memory

c)

When a page is corrupted

d)

When an exception is thrown

17.

What is ARC

a)

Augmented Reality Controller

b)

Automatic Reference Counting

18.

What of the following is NOT a type of SQL constraint?

a)

ALTERNATE KEY

b)

PRIMARY KEY

c)

FOREIGN KEY

d)

UNIQUE

19.

What is garbage collection in the context of Java

a)

The OS periodically deletes all of the java files available on the system

b)

Any package imported in a program and not used is automatically deleted

c)

When all references to an object are gone, the memory used by the object is automatically reclaimed

d)

The JVM checks the output of any Java program and deletes anything that doesn't make sense.

20.

If application is background and not executing any code, what is the current application state

a)

Background state

b)

Inactive State

c)

Active State

d)

Suspended State

21.

var a: String? = "MobileQuiz"

var b: String = "MobileQuiz"

a)

b is final and cannot be changed

b)

b can never become null

c)

a is volatile as in Java

d)

a is final and cannot be changed.

22.

What does the following code print

var listA = mutableList(1, 2, 3)

var listB = listA.add(4)

print(listB)

a)

Nothing, there is a compile error

b)

true

c)

Uint

d)

[1, 2, 3, 4]

23.

What does this code do?

foo()()

a)

Calls a function which is returned by the call of foo

b)

Fails compilation

c)

Calls foo asynchronously

d)

Creates a two-dimensional array

24.

In object-oriented computer programming, SOLID is a mnemonic acronym for five design principles intended to make software designs more understandable, flexible, and maintainable. What L stands for?

a)

Legacy support principle

b)

Lean development principle

c)

Liskov-substitution principle

d)

Language-agnostic principle

25.

Dalvik Virtual MAchine is developed by

a)

Linus Torvald

b)

Dennis Ritchie

c)

Dan Bornstein

d)

None of these

26.

What is the output of this function?

a)

BAD

b)

ABD

c)

DAB

d)

BCD

27.

What is byte code in the context of Java?

a)

The type of code generated by a Java compiler

b)

The type of code generated by a Java Virtual Machine

c)

It is another name for a Java source file

d)

It is the code written within the instance methods of a class

28.

What value of the result will be?

a)

true

b)

false

c)

it will crash

d)

Compiler error

29.

What is the output of this function?

a)

2

b)

4

c)

8

d)

16

30.

What is AST

a)

Application Syntax Tree

b)

Abstract Syntax Tree

c)

Asynchronous Syntax Tree

d)

Asynchronous Syntax Tree

31.

Which is the most widely used legacy mobile app programming language?

a)

Python

b)

Java

c)

Objective-C

d)

Kotlin

32.

Which open source framework creates native apps through cross-platform development?

a)

NativeScript

b)

JavaScript

c)

TypeScript

d)

OpenScript

33.

Which of these are characteristics of a strong design?

a)

Which of these are characteristics of a strong design?

b)

All of these

c)

Low cohesion

d)

Low Coupling

34.

To check the complexity of an architecture, what could a developer use?

a)

coupling

b)

dependencies

c)

architecture testing

d)

beta testing

35.

In Android Architecture, layer below Applications Framework is

a)

Applications

b)

Linux Kernel

c)

Applications Framework

d)

System Libraries & Android Runtime

36.

What does KVC stand for

a)

Key-View Chain

b)

Key-Value Coding

c)

Key-Value Chain

d)

Key-View Coding

37.

write a valid swift command to update a variable in scope whilst debugging;

a)

set a = 1

b)

expr a = 1

c)

update a = 1

d)

po a = 1

38.

By using dequeReusableCellWithIdentifier

a)

By using dequeReusableWithIdentifier

b)

By using dequeReusableWithId

c)

By using dequeReusableCellWithId

d)

By using dequeReusableCellWithIdentifier

39.

Run time mapping from virtual to physical address is done by

a)

CPU

b)

Memory Management Unit

c)

PCI

d)

None of the above

40.

The root element of AndroidManifest.xml

a)

Application

b)

Manifest

c)

Activity

d)

Action