Android Quizz Dive into our tech quiz zone and put your technical skills to the test! Our quizzes cover a wide array of technical topics, perfect for sharpening your knowledge and challenging your understanding. Compete with others, see your rankings, and boost your technical proficiency. Start quizzing today! 1 / 50 1. What is the use of an Intent in Android? To start an activity All of the above To start a service To send a broadcast 2 / 50 2. What is the use of the WorkManager class in Android? To display a list of items To create custom views To handle user interactions To schedule deferrable, guaranteed background work 3 / 50 3. Which method is called when an Activity is started for the first time? onRestart() onCreate() onResume() onStart() 4 / 50 4. What is the use of the Handler class in Android? To display a list of items To handle user interactions To create custom views To schedule messages and runnables to be executed at some point in the future 5 / 50 5. Which method is used to stop a thread in Android? interrupt() endThread() finishThread() stopThread() 6 / 50 6. What is the use of the ConstraintLayout in Android? To manage application resources To display a list of items To create complex layouts with a flat view hierarchy To overlap components 7 / 50 7. Which layout is used to create a grid of components in Android? LinearLayout GridLayout RelativeLayout FrameLayout 8 / 50 8. What is a Service in Android? A component that runs in the background None of the above A user interface component A type of layout 9 / 50 9. Which method is called when an Activity is no longer visible to the user? onCreate() onDestroy() onStop() onPause() 10 / 50 10. Which class is used to load images from the internet in Android? Fresco Glide Picasso All of the above 11 / 50 11. What is an Activity in Android? A type of broadcast A component that represents a single screen A data storage option A background service 12 / 50 12. What is the use of the ViewPager component in Android? To handle touch events To create custom views To display a swipeable view To manage application resources 13 / 50 13. What is the use of the ViewModel class in Android? To handle user interactions To create custom views To display a list of items To manage UI-related data in a lifecycle conscious way 14 / 50 14. Which component is used to show a web page in Android? TextView ImageView WebView ListView 15 / 50 15. Which method is used to add a menu item in Android? onCreateOptionsMenu() onCreateMenu() onCreateItem() onCreateContextMenu() 16 / 50 16. What is Android? A type of hardware A desktop application A mobile operating system A web browser 17 / 50 17. Which component is used to display a spinner in Android? DropDownList GridView Spinner ListView 18 / 50 18. What is the use of the Android Emulator? To create Android applications To run Android applications on a computer To manage application resources To design user interfaces 19 / 50 19. Which component is used to handle touch events in Android? Activity Content Provider View Service 20 / 50 20. What is the use of the RecyclerView component in Android? To create custom views To handle touch events To display a large dataset in a scrollable list To manage application resources 21 / 50 21. Which file is used to define the user interface in Android? .html .xml .java .txt 22 / 50 22. Which class is used to display a dialog window in Android? AlertDialog ProgressDialog Dialog All of the above 23 / 50 23. What is the latest version of Android as of 2024? Android 13 Android 11 Android 10 Android 12 24 / 50 24. What is a Fragment in Android? A data storage option A portion of the user interface A type of broadcast A background service 25 / 50 25. Which method is called when an Activity is visible to the user? onStart() onStop() onResume() onCreate() 26 / 50 26. Which file contains the application’s essential information, such as the package name and components? MainActivity.java AndroidManifest.xml build.gradle activity_main.xml 27 / 50 27. Which method is used to launch a new activity in Android? startContent() startActivity() startBroadcast() startService() 28 / 50 28. Which file is used to define the project dependencies in Android? build.gradle AndroidManifest.xml activity_main.xml MainActivity.java 29 / 50 29. What does APK stand for? Android Package Kit Android Personal Kit Android Phone Kit Android Page Kit 30 / 50 30. Which component is used to display a progress bar in Android? ProgressBar SeekBar StatusBar RatingBar 31 / 50 31. Which layout is used to align components based on their relative positions? FrameLayout TableLayout LinearLayout RelativeLayout 32 / 50 32. Which layout is used to arrange components in a linear manner? TableLayout RelativeLayout FrameLayout LinearLayout 33 / 50 33. Which component is used to show a floating message in Android? Dialog Toast AlertDialog Snackbar 34 / 50 34. Which layout is used to overlap components in Android? TableLayout FrameLayout LinearLayout RelativeLayout 35 / 50 35. Which component is used to handle background tasks in Android? Service BroadcastReceiver Fragment Activity 36 / 50 36. Which class is used to create a database in Android? SQLiteOpenHelper DatabaseHelper DBManager SQLManager 37 / 50 37. Which method is used to save data in a SharedPreferences file? put() save() store() apply() 38 / 50 38. Which method is called to stop a Service? stopService() stopBroadcast() stopActivity() stopContent() 39 / 50 39. Which method is used to create a new thread in Android? launchThread() new Thread() startThread() createThread() 40 / 50 40. Which class is used to create a notification in Android? NotificationService NotificationManager NotificationBuilder Notification 41 / 50 41. Which method is used to perform a network operation in Android? doInUIThread() onPreExecute() doInBackground() onPostExecute() 42 / 50 42. Which company developed Android? Microsoft Amazon Apple Google 43 / 50 43. What is the use of a Content Provider in Android? To handle user interactions To display a list of items To perform background tasks To manage access to a structured set of data 44 / 50 44. Which component is used to capture user input in Android? TextView Button ImageView EditText 45 / 50 45. Which method is used to register a broadcast receiver in Android? registerReceiver() registerContent() registerBroadcast() registerService() 46 / 50 46. Which method is used to inflate a layout in a Fragment? onResume() onStart() onCreateView() onCreate() 47 / 50 47. Which method is used to start an AsyncTask in Android? run() execute() begin() start() 48 / 50 48. Which component is used to show a list of items in Android? ListView EditText ImageView TextView 49 / 50 49. Which method is used to retrieve data from a SharedPreferences file? getSharedPreferences() getPreferences() getPreferencesData() getData() 50 / 50 50. Which language is primarily used for Android development? Java Ruby Swift Python Your score is 0%