Android Quiz #1
Test yourself
Your Name *
You may lie here if you're shy ;)
Your answer
Questions
Assuming that we have resources like res/drawable-anydpi/foo.xml and res/drawable-xxhdpi/foo.png. Which resource will be chosen if the app is launched on a device with xxhdpi density?
1 point
Which methods are provided by Kotlin data classes?
1 point
Which class is the common superclass for all classes in Kotlin?
1 point
What’s going to happen if a Service is started using startService(Intent) method, then a user moves the app to the background and waits a few minutes?
1 point
What does it mean that a notification is ongoing?
1 point
What may the Handler class be used for?
2 points
Assuming we have two following layouts res/layout-sw600dp/main_activity.xml and res/layout/main_activity.xml, which combinations will cause the app to use the layout from sw600dp folder?
1 point
Which methods will ALWAYS cause the View.draw() method to be called?
1 point
Assume we have the following property `val value: Int`. Is it possible that the property returns different integer value every time it is being accessed?
1 point
What is the best programming language?
1 point
Assuming you have an app with minSdk 19. Does writing data to external storage folder, accessed by getExternalFilesDir() method, require WRITE_EXTERNAL_STORAGE permission?
1 point
Will onPause() method be called in Activity A after opening Activity B from Activity A?
1 point
Submit
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google.