Mobile Application Development Exam Questions | Generated by AI
Here are 30 multiple-choice questions based on the Mobile Application Development Technology (Course Code: 14567) syllabus. All questions are designed to match the level and scope of the National Higher Education Self-Study Examination (China).
-
Which of the following is NOT a mainstream mobile development paradigm?
A. Native development
B. Hybrid development
C. Web development
D. Quantum development -
In Android, the main entry point of an application is typically defined in which file?
A. AndroidManifest.xml
B. build.gradle
C. activity_main.xml
D. MainActivity.java -
Which tool is the official IDE recommended for Android development?
A. Eclipse
B. Visual Studio
C. Android Studio
D. IntelliJ IDEA Community Edition -
What is the correct lifecycle sequence when an Activity is first launched?
A. onCreate() → onStart() → onResume()
B. onStart() → onCreate() → onResume()
C. onResume() → onStart() → onCreate()
D. onCreate() → onResume() → onStart() -
Which layout manager is recommended as the default choice in modern Android development?
A. LinearLayout
B. RelativeLayout
C. ConstraintLayout
D. FrameLayout -
To handle click events on a Button, which interface is most commonly implemented?
A. OnTouchListener
B. OnClickListener
C. OnLongClickListener
D. OnKeyListener -
Which widget is preferred for displaying large scrolling lists with performance optimization?
A. ListView
B. GridView
C. RecyclerView
D. ScrollView -
What is the purpose of the Adapter in RecyclerView or ListView?
A. Manage layout inflation
B. Provide data and create views for each item
C. Handle network requests
D. Store user preferences -
Fragments in Android are primarily used for:
A. Background processing
B. Creating reusable and modular UI components
C. Storing large files
D. Managing permissions -
Which class is used to create sliding tab interfaces combined with ViewPager?
A. TabLayout
B. Toolbar
C. DrawerLayout
D. CoordinatorLayout -
The simplest way to store small key-value pairs in Android is:
A. SQLite database
B. SharedPreferences
C. Internal storage files
D. External SD card -
Which component allows one app to share structured data with another app?
A. Service
B. BroadcastReceiver
C. ContentProvider
D. IntentService -
To perform database operations safely in the background, which class should be avoided in modern Android?
A. AsyncTask
B. Thread + Handler
C. Coroutines
D. WorkManager -
Which permission is required to access the device’s precise location?
A. ACCESS_COARSE_LOCATION
B. ACCESS_FINE_LOCATION
C. READ_EXTERNAL_STORAGE
D. CAMERA -
The MediaPlayer class is primarily used for:
A. Taking photos
B. Playing audio and video
C. Recording sound
D. Editing images -
Which library is commonly used with Retrofit to parse JSON automatically?
A. Gson
B. Jackson
C. Picasso
D. OkHttp -
In Retrofit, the @GET annotation is used to indicate:
A. POST request
B. HTTP GET request
C. DELETE request
D. PUT request -
Which component is best suited for performing periodic background tasks that must run even if the app is closed?
A. AsyncTask
B. Service
C. WorkManager
D. Thread -
To show a notification from a background service, you typically use:
A. Toast
B. Snackbar
C. NotificationCompat.Builder
D. AlertDialog -
Which tool is used for writing Android unit tests?
A. Espresso
B. JUnit
C. Mockito
D. UI Automator -
What is the purpose of ProGuard or R8 in Android builds?
A. Increase APK size
B. Code obfuscation and shrinking
C. Add advertisements
D. Generate documentation -
Before publishing to Google Play, an app must be signed with:
A. Debug key
B. Release keystore
C. Any certificate
D. Google’s own key -
Which file declares all components, permissions, and minimum SDK version of an app?
A. build.gradle
B. AndroidManifest.xml
C. gradle.properties
D. local.properties -
The Android runtime (since Android 5.0) that replaced Dalvik is called:
A. JVM
B. ART
C. DVM
D. Mono -
To support multiple screen sizes, resources should be placed in folders with qualifiers such as:
A. layout-sw600dp
B. values-large
C. drawable-xhdpi
D. All of the above -
Which of the following is a recommended architecture pattern for Android apps?
A. MVC
B. MVVM
C. MVP
D. All are acceptable but MVVM is currently preferred -
The ViewBinding feature helps eliminate:
A. findViewById() calls and null safety issues
B. Network requests
C. Database queries
D. Permission handling -
Which annotation is used in Room persistence library to define a DAO interface method that inserts data?
A. @Query
B. @Insert
C. @Update
D. @Delete -
To request dangerous permissions at runtime (Android 6.0+), you should use:
A. requestPermissions()
B. checkSelfPermission() only
C. Manifest declarations only
D. Intent flags -
In a complete mobile app project lifecycle, which phase comes immediately after “requirements analysis”?
A. Deployment
B. UI/UX design
C. Testing
D. Maintenance
These questions cover all 10 modules of the syllabus and are suitable for the national self-study examination format. Good luck with your studies!