Android for Miruna
What is the core OS on which Android was built on?
Macintosh
Linux
Windows
In what language do we program?
Java
C++
Javascript
What type of programming is used?
OOP - Object Oriented Programming (Classes)
Interpreted
Dataflow
What is the name of the most fundamental class?
Service
OnClickListener
Activity
What is the name of the most fundamental function of the Activity class?
OnPause
OnResume
OnCreate
Let's say we have a class called A. We want to extend A with a class called B. We implement a function called `f` in A and we also write it in `B`. What keyword do you use in front of the class to execute the same behaviour at the beginning of the function in B?
Ruleout
Override
Rewrite
Let's say we have a class called A. We want to extend A with a class called B and override a function called `f`. We wish to have the same behaviour in `f`, but slightly modified. What do we write in the first line of the override function `f`?
Super.f()
Override.f()
Replay.f()
What language is used to make the design (layout)?
XML
HTML
Gradle
What XML tag element from below is used to simply display some text?
ImageView
EditText
TextView
What XML tag element from below is used to simply display an image?
RelativeLayout
Drawable
ImageView
What very important XML tag element is used to stack other views (or to have some children)?
ScrollView
RelativeLayout
RelativeView
What is a constructor?
A function used to add some data to a class.
A function used to initialise a class.
A function with no special meaning at all.
What is the AndroidManifest?
A relative place where we keep the data safe and we let the user store some activity constructors.
A central place where we write the app's permissions and we define the activities' name and behaviour
The specific place where we load some libraries into the app.
What is a server?
A machine or a computer running 24/7.
A nice word, having a strong correlation with the servo direction.
An operating system.
What is the most common, default `language` used to handle data sent to and received from a server?
XML
JSON
String
What classes do we use, in Android, do handle data sent to or received from the server?
JSONArray and JSONObject
JSONVector and JSONObject
Only JSONObject
Let's say we have a ListView. What is the name of the class which handles the data (the JSON which came from the server) by putting it on the ListView (on the screen)?
Fixator
Intent
BaseAdapter
What does R mean in Android?
A beautiful letter.
A manually generated class which handles special classes.
An automatically generated class which handles all the unique identifiers (ID) in the project.
Let's say we have a class called MainActivity and a layout activity_main.xml. What function do we call, at the beginning of the onCreate method, so that we will append (or get) all the design (layout) from activity_main.xml file on the screen?
SetLayout(R.layout.activity_main)
SetDesign(R.layout.activity_main)
SetContentView(R.layout.activity_main)
We have successfully imported activity_main.xml. Say we have an ImageView having the id `image_view`. What function do we use to get a reference in Java of the ImageView?
GetViewById
FindViewById
RetrieveViewById
What does the `static` keyword refer to?
A special variable/ property which will be available from any part of the project (any class). Its value doesn't have to be instantiated (that will be done at the project's initialisation point).
A special variable/ property which dynamically changes it's state, after it's receiving a random value at the project's initialisation point.
A special variable/ property which will keep the same value once a specific class is initialised.
What does the keyword 'final` refer to?
An everlasting changing variable.
It will be finished once the class is finished.
A variable/ property which will never change it's value once it's declared.
Specify the directory where the XML layout files are stored in:
/res/layout
/res/assets
/src
We have a Button and we want to make something happen when that button is touched/ clicked. The class we use is:
OnTouchListener
OnClickListener
OnEventListener
{"name":"Android for Miruna", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What is the core OS on which Android was built on?, In what language do we program?, What type of programming is used?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
More Quizzes
Qselebi
321641
Whose voice is that
210
Travel To Lake Baikal
1470
Materiale dentare 2.1
1266
100
How Well Do You Know PPE
320
Quiz over wordly wise 1-3 and roots 1-15
1580
,.m/lm
100
Electron transport chain
840
How Good Are You with Technical Analysis?
1050
Verb Tenses: Choose the right option
105156
Play pubg online without download
100