NEW
Font size
WorksheetsBig Mobile Quiz
Total questions: 40
Worksheet time: 20mins
iOS: Which of the following is a default UI Property
atomic
assign
non-atomic
None of them
Multitasking in iOS was introduced in which version?
iOS 6.0
iOS 2.0
iOS 4.0
iOS 7.0
Which of these targets does Kotlin currently not support?
JVM
.NET CLR
JavaScript
LLVM
Does Kotlin have primitive Data Types such as; int, long, float?
No, Kotlin does not have nor use primitive data types
Yes, Kotlin is similar to Java in this respect
No, not at a language level. But the Kotlin compiler makes use of JVM primitives for best performance
Yes, but Kotlin internally always converts them to their non-primitive counterparts.
Android - You can create an emulator to simulate the configuration of a particular type of Android Device using a tool like
Theme Editor
Android SDK Manager
AVD Manager
Virtual Editor
iOS: Which of the following hierarchy is correct?
UIButton -> UIControl -> UIView -> UIResponder -> NSObject
UIButton -> UIControl -> UIView -> NSObject -> UIResponder
UIControl -> UIButton -> UIView -> UIResponder -> NSObject
None of the above
Flash applications are supported in iPhone browsers?
It supports flash applications from Apple only
Yes
No
Supports Partially
What is the difference between services and thread in android?
Services performs functionalities in the background. By default services run on main thread only
Thread and services are having same functionalities.
Thread works on services
None of the above
What is the difference between content values and cursor in android SQlite?
Content values are key pair values, which are updated or inserted in the database
Cursor is used to store the temporary result.
A & B
Cursor is used to store data permanently.
Content values are used to share the data.
What are the wake locks available in android?
PARTIAL_WAKE_LOCK
SCREEN_DIM_WAKE_LOCK
SCREEN_BRIGHT_WAKE_LOCK
FULL_WAKE_LOCK
Fragment in Android can be found through
findByID()
findFragmentByID()
getContext.findFragmentByID()
FragmentManager.findFragmentByID()
Which of those doesn't have an index based structure?
List
Set
Map
Android is not owned by Google. Who owns the Android platform?
Oracle
Dalvik
Open Handset Alliance
The above statement is false and Android is owned by Google.
What was the first phone released that ran the Android OS?
T-Mobile G1
Google gPhone
Motorola Droid
HTC Hero
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?
Factory Pattern
Abstract Factory Pattern
Singleton Pattern
Transfer Object Pattern
Fault Page occurs when
When a requested page is in memory
When a requested page is not in memory
When a page is corrupted
When an exception is thrown
What is ARC
Augmented Reality Controller
Automatic Reference Counting
What of the following is NOT a type of SQL constraint?
ALTERNATE KEY
PRIMARY KEY
FOREIGN KEY
UNIQUE
What is garbage collection in the context of Java
The OS periodically deletes all of the java files available on the system
Any package imported in a program and not used is automatically deleted
When all references to an object are gone, the memory used by the object is automatically reclaimed
The JVM checks the output of any Java program and deletes anything that doesn't make sense.
If application is background and not executing any code, what is the current application state
Background state
Inactive State
Active State
Suspended State
var a: String? = "MobileQuiz"
var b: String = "MobileQuiz"
b is final and cannot be changed
b can never become null
a is volatile as in Java
a is final and cannot be changed.
What does the following code print
var listA = mutableList(1, 2, 3)
var listB = listA.add(4)
print(listB)
Nothing, there is a compile error
true
Uint
[1, 2, 3, 4]
What does this code do?
foo()()
Calls a function which is returned by the call of foo
Fails compilation
Calls foo asynchronously
Creates a two-dimensional array
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?
Legacy support principle
Lean development principle
Liskov-substitution principle
Language-agnostic principle
Dalvik Virtual MAchine is developed by
Linus Torvald
Dennis Ritchie
Dan Bornstein
None of these
What is the output of this function?
BAD
ABD
DAB
BCD
What is byte code in the context of Java?
The type of code generated by a Java compiler
The type of code generated by a Java Virtual Machine
It is another name for a Java source file
It is the code written within the instance methods of a class
What value of the result will be?
true
false
it will crash
Compiler error
What is the output of this function?
2
4
8
16
What is AST
Application Syntax Tree
Abstract Syntax Tree
Asynchronous Syntax Tree
Asynchronous Syntax Tree
Which is the most widely used legacy mobile app programming language?
Python
Java
Objective-C
Kotlin
Which open source framework creates native apps through cross-platform development?
NativeScript
JavaScript
TypeScript
OpenScript
Which of these are characteristics of a strong design?
Which of these are characteristics of a strong design?
All of these
Low cohesion
Low Coupling
To check the complexity of an architecture, what could a developer use?
coupling
dependencies
architecture testing
beta testing
In Android Architecture, layer below Applications Framework is
Applications
Linux Kernel
Applications Framework
System Libraries & Android Runtime
What does KVC stand for
Key-View Chain
Key-Value Coding
Key-Value Chain
Key-View Coding
write a valid swift command to update a variable in scope whilst debugging;
set a = 1
expr a = 1
update a = 1
po a = 1
By using dequeReusableCellWithIdentifier
By using dequeReusableWithIdentifier
By using dequeReusableWithId
By using dequeReusableCellWithId
By using dequeReusableCellWithIdentifier
Run time mapping from virtual to physical address is done by
CPU
Memory Management Unit
PCI
None of the above
The root element of AndroidManifest.xml
Application
Manifest
Activity
Action
