Skip to content

Repository files navigation

Android Development MCQs:

  1. What does XML stand for in Android development?

    • A) Extensible Markup Language
    • B) eXtended Mobile Language
    • C) Android Markup Language
    • D) None of the above

    Answer: A) Extensible Markup Language

  2. Which file in Android contains the application's manifest information?

    • A) main.xml
    • B) AndroidManifest.xml
    • C) app.xml
    • D) manifest.xml

    Answer: B) AndroidManifest.xml

  3. What is the purpose of an Intent in Android?

    • A) To display a notification
    • B) To perform a background task
    • C) To connect two components (like activities)
    • D) To store application data

    Answer: C) To connect two components (like activities)

  4. What is the primary programming language used for Android app development?

    • A) Java
    • B) Swift
    • C) Kotlin
    • D) C#

    Answer: C) Kotlin

  5. Which component is responsible for handling the user interface in an Android app?

    • A) Activity
    • B) Service
    • C) Broadcast Receiver
    • D) Content Provider

    Answer: A) Activity

  6. What is an APK in the context of Android development?

    • A) Android Package Kit
    • B) Application Program Kit
    • C) Android Programming Kernel
    • D) Application Package

    Answer: A) Android Package Kit

  7. In Android, what is the purpose of the "adb" tool?

    • A) Android Debug Bridge
    • B) Application Database
    • C) Android Deployment Bundle
    • D) Application Development Bridge

    Answer: A) Android Debug Bridge

  8. What layout is typically used for creating a vertical list of scrollable items in Android?

    • A) GridLayout
    • B) FrameLayout
    • C) LinearLayout
    • D) RelativeLayout

    Answer: C) LinearLayout

  9. Which method is called when an activity is first created in Android?

    • A) onStart()
    • B) onResume()
    • C) onCreate()
    • D) onInit()

    Answer: C) onCreate()

  10. What is the purpose of the "R.java" file in Android?

  • A) It contains resource IDs for all the resources in your project
  • B) It is the main activity file
  • C) It is the configuration file for the app
  • D) It is the manifest file for the app

Answer: A) It contains resource IDs for all the resources in your project

iOS Development MCQs:

  1. What programming language is primarily used for iOS app development?

    • A) Java
    • B) Objective-C
    • C) Swift
    • D) C#

    Answer: C) Swift

  2. Which IDE is commonly used for iOS development?

    • A) Android Studio
    • B) Xcode
    • C) Eclipse
    • D) Visual Studio

    Answer: B) Xcode

  3. What is the purpose of the "Info.plist" file in an iOS app?

    • A) It contains app icons
    • B) It stores user preferences
    • C) It is the main storyboard file
    • D) It contains configuration information about the app

    Answer: D) It contains configuration information about the app

  4. Which file defines the user interface of an iOS app?

    • A) Interface.swift
    • B) Main.storyboard
    • C) UI.xml
    • D) Design.plist

    Answer: B) Main.storyboard

  5. What is the role of a delegate in iOS development?

    • A) To handle user input
    • B) To manage data storage
    • C) To respond to events and modify behavior
    • D) To create user interfaces

    Answer: C) To respond to events and modify behavior

  6. What is the main purpose of Interface Builder in Xcode?

    • A) To write code
    • B) To design user interfaces visually
    • C) To manage app resources
    • D) To test the app

    Answer: B) To design user interfaces visually

  7. Which class is the entry point for an iOS app?

    • A) MainViewController
    • B) AppDelegate
    • C) FirstScreen
    • D) EntryPointController

    Answer: B) AppDelegate

  8. What is a "Storyboard" in iOS development?

    • A) A file that contains app settings
    • B) A visual representation of the app's user interface
    • C) A database for storing app data
    • D) A file that contains Swift code

    Answer: B) A visual representation of the app's user interface

  9. Which framework is commonly used for networking in iOS development?

    • A) CoreGraphics
    • B) CoreData
    • C) UIKit
    • D) URLSession

    Answer: D) URLSession

  10. What is the purpose of the "Core Data" framework in iOS development?

    • A) To manage user authentication
    • B) To perform animations
    • C) To store and manage app data
    • D) To create user interfaces

    Answer: C) To store and manage app data

Flutter Development MCQs:

  1. Which programming language is used for Flutter app development?

    • A) Java
    • B) Swift
    • C) Dart
    • D) Kotlin

    Answer: C) Dart

  2. What is Flutter's primary goal in terms of UI?

    • A) Native look and feel
    • B) Cross-platform consistency
    • C) 3D graphics support
    • D) Voice recognition

    Answer: B) Cross-platform consistency

  3. What is a "Widget" in Flutter?

    • A) A small app
    • B) A user interface element
    • C) A package manager
    • D) A programming language

    Answer: B) A user interface element

  4. What is the purpose of the "pubspec.yaml" file in a Flutter project?

    • A) To define project dependencies
    • B) To store UI layouts
    • C) To configure app settings
    • D) To define database schemas

    Answer: A) To define project dependencies

  5. What is the main function in a Flutter app?

    • A) runApp()
    • B) main()
    • C) startApp()
    • D) launch()

    Answer: B) main()

  6. Which command is used to hot reload changes in a Flutter project?

    • A) flutter start
    • B) reload
    • C) flutter run
    • D) hot

    Answer: C) flutter run

  7. What is the purpose of the "setState" method in Flutter?

    • A) To update the app's state and trigger a rebuild
    • B) To define a new screen
    • C) To create a new widget
    • D) To handle user input

    Answer: A) To update the app's state and trigger a rebuild

  8. Which widget is used for creating a scrollable list of widgets in Flutter?

    • A) Column
    • B) ListView
    • C) GridView
    • D) Row

    Answer: B) ListView

  9. What is the Flutter framework for building layouts and UI components?

    • A) FlutterUI
    • B) FlutterDesign
    • C) FlutterWidgets
    • D) FlutterMaterial

    Answer: C) FlutterWidgets

  10. What is the purpose of the "Flutter Doctor" command?

    • A) To diagnose and fix issues with the Flutter installation
    • B) To analyze app performance
    • C) To create a new Flutter project
    • D) To generate documentation

    Answer: A) To diagnose and fix issues with the Flutter installation

About

Android and IOS basic MCQ questions with answers

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors