ADETEC
  • 1. What keyword in Dart is used to handle errors during input?
A) try
B) try-catch
C) error
D) catch
  • 2. What is the minimum recommended API level for Android projects?
A) API 25
B) API 14
C) API 19
D) API 21
  • 3. In Dart, which keyword is used to define a function that returns a value?
A) <type> (like int, double)
B) function
C) def
D) return
  • 4. Which method is used to start an Android app?
A) onStart()
B) run()
C) startApp()
D) onCreate()
  • 5. What Dart operator is used to check equality?
A) =
B) ;=
C) ==
D) !=
  • 6. What is the result of this Dart statement: bool isTrue = 5 > 3 && 2 < 1;
A) Error
B) true
C) false
D) Null
  • 7. What is the result of this Dart statement: bool isTrue = 5 > 3 && 2 < 1;
A) Error
B) False
C) True
D) Null
  • 8. What component allows users to enter text in Android apps?
A) Button
B) TextView
C) GridLayout
D) EditText
  • 9. Which Kotlin function handles button clicks in the calculator?
A) setOnTapListener
B) listenClick
C) addClickListener
D) setOnClickListener
  • 10. What folder in Android Studio stores layout XML files?
A) res
B) Values
C) Manifest
D) src
  • 11. What function is used in Dart to print output?
A) output()
B) print()
C) echo()
D) write()
  • 12. What file defines the app's structure and permissions in Android projects?
A) AndroidManifest.www
B) AndroidManifest.org
C) AndroidManifest.xml
D) AndroidManifest.com
E) AndroidManifest.file
  • 13. How is a comment written in Dart?
A) // comment
B) # comment
C) comment
D) <!-- comment -->
  • 14. Which import is necessary for reading user input in Dart?
A) dart:ui
B) dart:math
C) dart:io
D) dart:core
  • 15. What is the official IDE for Android development?
A) STUDIO MOBILE
B) ANDROID STUDIO
C) MOBILE STUDIO
D) STUDIO ANDROID
  • 16. What Kotlin variable type changes based on reassignment?
A) val
B) var
C) const
D) final
  • 17. What Android file includes the line

    setContentView(R.layout.activity_main)?
A) build.gradle
B) layout.xml
C) MainActivity.kt
D) AndroidManifest.xml
  • 18. In Dart, how do you calculate the area of a circle using radius?
A) sqrt(radius) 3.14
B) radius radius 3.14
C) 3.14* radius
D) π * r
  • 19. Which of the following is NOT a Dart data type?
A) bool
B) string
C) float
D) int
  • 20. Which widget is used in Android XML to display text output?
A) Label
B) EditText
C) Button
D) TextView
  • 21. What symbol is used for multiplication in Kotlin code?
A) *
B) x
C) times
D) mult()
  • 22. What is the purpose of the AVD Manager?
A) View application logs
B) Debug user input
C) Monitor app usage
D) Manage virtual devices
  • 23. What Dart loop is best for a known number of iterations?
A) while
B) do-while
C) if
D) for
  • 24. What tool simulates a real Android device?
A) ANDROID PHONE
B) ANDROID EMULATOR
C) ANDROID SIMULATOR
D) ANDROID STIMULI
  • 25. What is the default displayed text in the calculator app's TextView?
A) null
B) results
C) 0
D) output
  • 26. Which control structure handles "even or odd" checking in Dart?
A) loop
B) switch
C) if-else
D) for
  • 27. What is the result of 10/2 in Dart if both are integers?
A) 10
B) 5.0
C) 5
D) Error
  • 28. What data type is used to store true/false values in Dart?
A) int
B) double
C) bool
D) binary
  • 29. Which Dart function can be void (no return value)?
A) displayOutput()
B) calculateArea()
C) print()
D) All of these
  • 30. What layout is used for button placement in the sample calculator app?
A) ConstraintLayout
B) LinearLayout
C) RelativeLayout
D) GridLayout
Created with That Quiz — where a math practice test is always one click away.