Sign in

(Midterms) Mobile Systems and Technologies Mocktest BSIT 604

(Midterms) Mobile Systems and Technologies Mocktest BSIT 604
54 questions • 17 d ago
  • Xai Alexandrei Delos Reyes
  • Report

    Question list

  • 1

    It represents a single screen in the app where the user can perform a single focused task such as sending an e-mail. It is usually presented to the user as a full-screen window.

    Activity

  • 2

    This is presented to the user when the app is launched. It can then start other activities to perform different actions.

    Main Activity

  • 3

    This is the set of states an activity can be in during its entire lifetime.

    Activity life cycle

  • 4

    It is invoked when the app is launched for the first time. It happens only once for the entire life of the activity.

    onCreate()

  • 5

    It is invoked before the activity becomes visible to the user. It is followed by either onResume() and onStop()

    onStart()

  • 6

    It is invoked before the activity starts interacting with the user.

    onResume()

  • 7

    It is invoked when the system is about to start resuming another activity.

    onPause()

  • 8

    It is invoked when the activity is no longer visible to the user. It is followed by either: onRestart() or onDestroy()

    onStop()

  • 9

    It is invoked when the activity is finishing due to the user completely dismissing the activity or due to finish() being called on the activity. or the system is temporarily destroying the activity due to a configuration change

    onDestroy()

  • 10

    It is invoked if the activity comes back after being stopped. It is always followed by onStart().

    onRestart()

  • 11

    Each time a new activity starts, the previous activity is stopped, but the system preserves the activity in a stack, What is it?

    Back stack

  • 12

    Which statement is TRUE about Intent

    It represents a single screen in the app where the user can perform a single focused task such as sending an e-mail. It is usually presented to the user as a full-screen window.

  • 13

    "The activity that will receive the intent." Which part of intent is being described?

    Target activity

  • 14

    "Contains a reference to the data you want the receiving activity to operate on." Which part of intent is being described?

    Intent data/object

  • 15

    "Carry information the receiving activity requires to accomplish the requested action (optional)." Which part of intent is being described?

    Intent extras

  • 16

    "May instruct the Android system how to launch an Activity or how to treat it after it's launched (optional)." Which part of intent is being described?

    Intent flags

  • 17

    What are the two (2) types of intent?

    Explicit and Implicit

  • 18

    "The target of the intent (the class name of the activity) is already identified." what type of intent is being described?

    Explicit Intent

  • 19

    "The target of the intent is not yet identified but there is a general action to perform. It also includes an action, category, and data type." what type of intent is being described?

    Implicit intent

  • 20

    Which is the correct syntax when making a button that is clickable?

    android:onClick="LaunchActivity"

  • 21

    Which is the correct syntax needed? public void LaunchActivity(View view){ _______________________________ startActivity(intent); }

    Intent intent = new Intent(this, Main2Activity.class);

  • 22

    It defines the structure for an app's user interface.

    Layout

  • 23

    also known as a widget, This draws something the user can see and interact with

    View

  • 24

    also known as a layout, It is an invisible container that defines the layout structure for View and other ViewGroup objects

    ViewGroup

  • 25

    "The presentation of the app can be separated from the code that controls its behavior." Which way to create a layout is being described?

    Declare UI elements in XML

  • 26

    "The View and ViewGroup objects can be created and their properties can be manipulated programmatically." Which way to create a layout is being described?

    Instantiate layout elements at runtime

  • 27

    xml: <Button android:id="@+id/my_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/my_button_text"/> What's the correct syntax in creating an instance of the view object above and capture it from the layout?

    Button myButton = (Button) findViewById(R.id.my_button);

  • 28

    Which is the correct syntax in manipulating the property of a widget in Java?

    TextView myText = new TextView(this); myText.setText("Display this text!");

  • 29

    It is an interface to global information about an application environment.

    Context

  • 30

    All view groups this and each view is required to define them

    width and height

  • 31

    "It sets the size of the view to the dimensions required by its content." Which width and height constant is being described?

    wrap_content

  • 32

    "It sets the view to be as big as its parent view group will allow." Which width and height constant is being described?

    match_parent

  • 33

    "It creates large and complex layouts with a flat view hierarchy (no nested view groups)." Which layout is being described?

    Constraint Layout

  • 34

    "Organizes its child view elements into a single horizontal or vertical row." Which layout is being described?

    Linear Layout

  • 35

    "It is used to specify the location of child objects relative to each other (child A to the left of child B) or to the parent (aligned to the top of the parent)." Which layout is being described?

    Relative Layout

  • 36

    "It is used for displaying web pages." Which layout is being described?

    Web View

  • 37

    "It is designed to block out an area on the screen to display a single item." Which layout is being described?

    Frame Layout

  • 38

    "It arranges its child objects into rows and columns." Which layout is being described?

    Table Layout

  • 39

    "It arranges its child objects in a rectangular grid that can be scrolled." Which layout is being described?

    Grid Layout

  • 40

    Which is the correct syntax in creating a linear layout in xml?

    <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <Button ... /> <TextView ... /> <Button ... /> </LinearLayout>

  • 41

    Which is the correct syntax in creating a linear layout in java?

    LinearLayout linearL = new LinearLayout(this); linearL.setOrientation(LinearLayout.VERTICAL); TextView myText = new TextView(this); myText.setText("Display this text!"); linearL.addView(myText); setContentView(linearL);

  • 42

    It is a message that Android displays outside the app's UI to provide the user with reminders, communication from other people, or other timely information from the app.

    Notification

  • 43

    Which is the correct syntax in creating a notification?

    NotificationCompat.Builder builder = new NotificationCompat.Builder(this, CHANNEL_ID) .setSmallIcon(R.drawable.notification_icon) .setContentTitle(textTitle) .setContentText(textContent) .setPriority(NotificationCompat.PRIORITY_DEFAULT);

  • 44

    It allows to view more details and take actions with the notification.

    Notification drawer

  • 45

    It provides a visual structure and interactive elements that are familiar to users.

    App bar/Action bar

  • 46

    which statement is NOT a key feature in an app bar/action bar?

    It provides simple feedback about an operation in a small popup.

  • 47

    Which is the correct syntax in creating a app bar/action bar?

    Toolbar myToolbar = (Toolbar) findViewById(R.id.my_toolbar); setSupportActionBar(myToolbar);

  • 48

    It provides simple feedback about an operation in a small popup.

    Toast

  • 49

    Which is the correct syntax in creating a toast?

    Context context = getApplicationContext(); CharSequence text = "Hello toast!"; int duration = Toast.LENGTH_SHORT; Toast toast = Toast.makeText(context, text, duration);

  • 50

    It provides a quick pop-up message to the user.

    Snackbar

  • 51

    Which is the correct syntax in creating a snack bar

    Snackbar mySnackbar = Snackbar.make(view, stringId, duration); mySnackbar.show(); //or Snackbar.make(view, stringId, duration).show();

  • 52

    It is a small window that prompts the user to make a decision or enter additional information. It is not designed to fill the screen.

    Dialog

  • 53

    Which is the correct syntax in creating a dialog?

    AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); builder.setMessage(R.string.dialog_message) .setTitle(R.string.dialog_title); AlertDialog dialog = builder.create();

  • 54

    It is used to present user actions and other options in the app's activities.

    Menu

  • The Contemporary World Mock test (Prelims)

    The Contemporary World Mock test (Prelims)

    Xai Alexandrei Delos Reyes · 58 questions · 2 y ago

    The Contemporary World Mock test (Prelims)

    The Contemporary World Mock test (Prelims)

    58 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Computing Mock test (Prelims)

    Computing Mock test (Prelims)

    Xai Alexandrei Delos Reyes · 67 questions · 2 y ago

    Computing Mock test (Prelims)

    Computing Mock test (Prelims)

    67 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Programming Mock Test (Prelims)

    Programming Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 64 questions · 2 y ago

    Programming Mock Test (Prelims)

    Programming Mock Test (Prelims)

    64 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Entrepreneurship Mock Test (Prelims)

    Entrepreneurship Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 23 questions · 2 y ago

    Entrepreneurship Mock Test (Prelims)

    Entrepreneurship Mock Test (Prelims)

    23 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Computing Mock Test (Midterms) BSIT 107

    Computing Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 76 questions · 2 y ago

    Computing Mock Test (Midterms) BSIT 107

    Computing Mock Test (Midterms) BSIT 107

    76 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Math Mock Test (Prelims)

    Math Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 48 questions · 2 y ago

    Math Mock Test (Prelims)

    Math Mock Test (Prelims)

    48 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Programming Mock Test (Midterms) BSIT 107

    Programming Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 52 questions · 2 y ago

    Programming Mock Test (Midterms) BSIT 107

    Programming Mock Test (Midterms) BSIT 107

    52 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    UTS Mock Test (Midterms) BSIT107

    UTS Mock Test (Midterms) BSIT107

    Xai Alexandrei Delos Reyes · 40 questions · 2 y ago

    UTS Mock Test (Midterms) BSIT107

    UTS Mock Test (Midterms) BSIT107

    40 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 38 questions · 2 y ago

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Entrepreneurship Mock Test (Midterms) BSIT 107

    38 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Contemporary World Mock Test (Midterms) BSIT 107

    Contemporary World Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 28 questions · 2 y ago

    Contemporary World Mock Test (Midterms) BSIT 107

    Contemporary World Mock Test (Midterms) BSIT 107

    28 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Math Mocktest (Midterms) BSIT 107

    Math Mocktest (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 24 questions · 2 y ago

    Math Mocktest (Midterms) BSIT 107

    Math Mocktest (Midterms) BSIT 107

    24 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Computer Programming Mocktest (Pre-finals)

    Computer Programming Mocktest (Pre-finals)

    Xai Alexandrei Delos Reyes · 26 questions · 2 y ago

    Computer Programming Mocktest (Pre-finals)

    Computer Programming Mocktest (Pre-finals)

    26 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Math Mocktest (Pre-Finals)

    Math Mocktest (Pre-Finals)

    Xai Alexandrei Delos Reyes · 19 questions · 2 y ago

    Math Mocktest (Pre-Finals)

    Math Mocktest (Pre-Finals)

    19 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Computing Mock Test (Pre-finals)

    Computing Mock Test (Pre-finals)

    Xai Alexandrei Delos Reyes · 36 questions · 2 y ago

    Computing Mock Test (Pre-finals)

    Computing Mock Test (Pre-finals)

    36 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Computing Mock Test Finals

    Computing Mock Test Finals

    Xai Alexandrei Delos Reyes · 26 questions · 2 y ago

    Computing Mock Test Finals

    Computing Mock Test Finals

    26 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Comprog 2nd sem (prelims) BSIT 205

    Comprog 2nd sem (prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 63 questions · 2 y ago

    Comprog 2nd sem (prelims) BSIT 205

    Comprog 2nd sem (prelims) BSIT 205

    63 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Discrete Math 2nd sem (prelims) BSIT 205

    Discrete Math 2nd sem (prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 36 questions · 2 y ago

    Discrete Math 2nd sem (prelims) BSIT 205

    Discrete Math 2nd sem (prelims) BSIT 205

    36 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Art Appreciation (Prelim) BSIT 205

    Art Appreciation (Prelim) BSIT 205

    Xai Alexandrei Delos Reyes · 56 questions · 2 y ago

    Art Appreciation (Prelim) BSIT 205

    Art Appreciation (Prelim) BSIT 205

    56 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Ethics 2nd sem (Prelims) BSIT 205

    Ethics 2nd sem (Prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 45 questions · 2 y ago

    Ethics 2nd sem (Prelims) BSIT 205

    Ethics 2nd sem (Prelims) BSIT 205

    45 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    STS 2nd Sem (Prelim) BSIT 205

    STS 2nd Sem (Prelim) BSIT 205

    Xai Alexandrei Delos Reyes · 40 questions · 2 y ago

    STS 2nd Sem (Prelim) BSIT 205

    STS 2nd Sem (Prelim) BSIT 205

    40 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Systems Administration 2nd sem (Prelims) BSIT 205

    Systems Administration 2nd sem (Prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 72 questions · 2 y ago

    Systems Administration 2nd sem (Prelims) BSIT 205

    Systems Administration 2nd sem (Prelims) BSIT 205

    72 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Discrete Mathematics (Midterms) BSIT 205

    Discrete Mathematics (Midterms) BSIT 205

    Xai Alexandrei Delos Reyes · 52 questions · 1 y ago

    Discrete Mathematics (Midterms) BSIT 205

    Discrete Mathematics (Midterms) BSIT 205

    52 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Art Appreciation (Midterm) BSIT 205

    Art Appreciation (Midterm) BSIT 205

    Xai Alexandrei Delos Reyes · 56 questions · 1 y ago

    Art Appreciation (Midterm) BSIT 205

    Art Appreciation (Midterm) BSIT 205

    56 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Ethics Mocktest (Midterms) BSIT205

    Ethics Mocktest (Midterms) BSIT205

    Xai Alexandrei Delos Reyes · 29 questions · 1 y ago

    Ethics Mocktest (Midterms) BSIT205

    Ethics Mocktest (Midterms) BSIT205

    29 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Comprog Mocktest (Midterm) BSIT 205

    Comprog Mocktest (Midterm) BSIT 205

    Xai Alexandrei Delos Reyes · 61 questions · 1 y ago

    Comprog Mocktest (Midterm) BSIT 205

    Comprog Mocktest (Midterm) BSIT 205

    61 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    System Administration Mocktest (Midterms) BSIT 205

    System Administration Mocktest (Midterms) BSIT 205

    Xai Alexandrei Delos Reyes · 65 questions · 1 y ago

    System Administration Mocktest (Midterms) BSIT 205

    System Administration Mocktest (Midterms) BSIT 205

    65 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Math Mocktest (Pre-finals) BSIT 205

    Math Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 49 questions · 1 y ago

    Math Mocktest (Pre-finals) BSIT 205

    Math Mocktest (Pre-finals) BSIT 205

    49 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 66 questions · 1 y ago

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    66 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Ethics Mocktest (Pre-finals) BSIT 205

    Ethics Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 50 questions · 1 y ago

    Ethics Mocktest (Pre-finals) BSIT 205

    Ethics Mocktest (Pre-finals) BSIT 205

    50 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Computer Programming Mocktest (Pre-finals) BSIT 205

    Computer Programming Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 33 questions · 1 y ago

    Computer Programming Mocktest (Pre-finals) BSIT 205

    Computer Programming Mocktest (Pre-finals) BSIT 205

    33 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    System Administration (Pre-finals) BSIT 205

    System Administration (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 52 questions · 1 y ago

    System Administration (Pre-finals) BSIT 205

    System Administration (Pre-finals) BSIT 205

    52 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Art Appreciation Finals BSIT 205

    Art Appreciation Finals BSIT 205

    Xai Alexandrei Delos Reyes · 35 questions · 1 y ago

    Art Appreciation Finals BSIT 205

    Art Appreciation Finals BSIT 205

    35 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Data Structures and Algorithms (Mocktest) BSIT 307

    Data Structures and Algorithms (Mocktest) BSIT 307

    Xai Alexandrei Delos Reyes · 52 questions · 1 y ago

    Data Structures and Algorithms (Mocktest) BSIT 307

    Data Structures and Algorithms (Mocktest) BSIT 307

    52 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    Xai Alexandrei Delos Reyes · 23 questions · 1 y ago

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    23 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    Xai Alexandrei Delos Reyes · 58 questions · 1 y ago

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    58 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Principles of Communication Mocktest (Prelims) BSIT 307

    Principles of Communication Mocktest (Prelims) BSIT 307

    Xai Alexandrei Delos Reyes · 37 questions · 1 y ago

    Principles of Communication Mocktest (Prelims) BSIT 307

    Principles of Communication Mocktest (Prelims) BSIT 307

    37 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Principles of Communication Mocktest (Midterms) BSIT 307

    Principles of Communication Mocktest (Midterms) BSIT 307

    Xai Alexandrei Delos Reyes · 29 questions · 1 y ago

    Principles of Communication Mocktest (Midterms) BSIT 307

    Principles of Communication Mocktest (Midterms) BSIT 307

    29 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    Xai Alexandrei Delos Reyes · 50 questions · 1 y ago

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    50 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    Xai Alexandrei Delos Reyes · 13 questions · 1 y ago

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    13 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    Xai Alexandrei Delos Reyes · 35 questions · 1 y ago

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    35 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Readings In Philippine History (Midterms) Mocktest

    Readings In Philippine History (Midterms) Mocktest

    Xai Alexandrei Delos Reyes · 16 questions · 1 y ago

    Readings In Philippine History (Midterms) Mocktest

    Readings In Philippine History (Midterms) Mocktest

    16 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Discrete Structures and Algorithms (Midterms) Mocktest

    Discrete Structures and Algorithms (Midterms) Mocktest

    Xai Alexandrei Delos Reyes · 10 questions · 1 y ago

    Discrete Structures and Algorithms (Midterms) Mocktest

    Discrete Structures and Algorithms (Midterms) Mocktest

    10 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Principles of Communication (Midterm) Mocktest

    Principles of Communication (Midterm) Mocktest

    Xai Alexandrei Delos Reyes · 29 questions · 1 y ago

    Principles of Communication (Midterm) Mocktest

    Principles of Communication (Midterm) Mocktest

    29 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    Xai Alexandrei Delos Reyes · 74 questions · 1 y ago

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    74 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) PH Popular Culture Mocktest BSIT 402

    (Prelim) PH Popular Culture Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 19 questions · 1 y ago

    (Prelim) PH Popular Culture Mocktest BSIT 402

    (Prelim) PH Popular Culture Mocktest BSIT 402

    19 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) Integrative Programming BSIT 402

    (Prelim) Integrative Programming BSIT 402

    Xai Alexandrei Delos Reyes · 46 questions · 1 y ago

    (Prelim) Integrative Programming BSIT 402

    (Prelim) Integrative Programming BSIT 402

    46 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) Quantitive Methods Mocktest BSIT 402

    (Prelim) Quantitive Methods Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 39 questions · 1 y ago

    (Prelim) Quantitive Methods Mocktest BSIT 402

    (Prelim) Quantitive Methods Mocktest BSIT 402

    39 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) System Integration and Architecture BSIT 402

    (Prelim) System Integration and Architecture BSIT 402

    Xai Alexandrei Delos Reyes · 29 questions · 1 y ago

    (Prelim) System Integration and Architecture BSIT 402

    (Prelim) System Integration and Architecture BSIT 402

    29 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) Network Technology Mocktest BSIT 402

    (Prelim) Network Technology Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 68 questions · 1 y ago

    (Prelim) Network Technology Mocktest BSIT 402

    (Prelim) Network Technology Mocktest BSIT 402

    68 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) Information Management Mocktest BSIT 402

    (Prelim) Information Management Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 45 questions · 1 y ago

    (Prelim) Information Management Mocktest BSIT 402

    (Prelim) Information Management Mocktest BSIT 402

    45 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 28 questions · 10 mo ago

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    28 questions • 10 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Information Management Mocktest

    (Finals) Information Management Mocktest

    Xai Alexandrei Delos Reyes · 64 questions · 9 mo ago

    (Finals) Information Management Mocktest

    (Finals) Information Management Mocktest

    64 questions • 9 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Philippine Popular Culture Mocktest

    (Finals) Philippine Popular Culture Mocktest

    Xai Alexandrei Delos Reyes · 46 questions · 9 mo ago

    (Finals) Philippine Popular Culture Mocktest

    (Finals) Philippine Popular Culture Mocktest

    46 questions • 9 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Integrative Programming Mocktest BSIT 402

    (Finals) Integrative Programming Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 24 questions · 9 mo ago

    (Finals) Integrative Programming Mocktest BSIT 402

    (Finals) Integrative Programming Mocktest BSIT 402

    24 questions • 9 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Network Technology Mocktest BSIT 402

    (Finals) Network Technology Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 37 questions · 9 mo ago

    (Finals) Network Technology Mocktest BSIT 402

    (Finals) Network Technology Mocktest BSIT 402

    37 questions • 9 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Quantitative Methods Mocktest BSIT 402

    (Finals) Quantitative Methods Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 18 questions · 9 mo ago

    (Finals) Quantitative Methods Mocktest BSIT 402

    (Finals) Quantitative Methods Mocktest BSIT 402

    18 questions • 9 mo ago
    Xai Alexandrei Delos Reyes

    Application Development Mocktest (Prelim) BSIT 505

    Application Development Mocktest (Prelim) BSIT 505

    Xai Alexandrei Delos Reyes · 72 questions · 6 mo ago

    Application Development Mocktest (Prelim) BSIT 505

    Application Development Mocktest (Prelim) BSIT 505

    72 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    Xai Alexandrei Delos Reyes · 60 questions · 6 mo ago

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    60 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    (Handout 1 Only!) Advanced Systems Integration and Architecture Mocktest (Prelim) BSIT 505

    (Handout 1 Only!) Advanced Systems Integration and Architecture Mocktest (Prelim) BSIT 505

    Xai Alexandrei Delos Reyes · 38 questions · 6 mo ago

    (Handout 1 Only!) Advanced Systems Integration and Architecture Mocktest (Prelim) BSIT 505

    (Handout 1 Only!) Advanced Systems Integration and Architecture Mocktest (Prelim) BSIT 505

    38 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    Xai Alexandrei Delos Reyes · 42 questions · 6 mo ago

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    42 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    Xai Alexandrei Delos Reyes · 44 questions · 6 mo ago

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    44 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    Application Development Mocktest (Midterm) BSIT 505

    Application Development Mocktest (Midterm) BSIT 505

    Xai Alexandrei Delos Reyes · 42 questions · 6 mo ago

    Application Development Mocktest (Midterm) BSIT 505

    Application Development Mocktest (Midterm) BSIT 505

    42 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    Event-Driven Programming Mocktest (Midterm) BSIT - 505

    Event-Driven Programming Mocktest (Midterm) BSIT - 505

    Xai Alexandrei Delos Reyes · 61 questions · 6 mo ago

    Event-Driven Programming Mocktest (Midterm) BSIT - 505

    Event-Driven Programming Mocktest (Midterm) BSIT - 505

    61 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    Xai Alexandrei Delos Reyes · 80 questions · 6 mo ago

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    80 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    Xai Alexandrei Delos Reyes · 68 questions · 5 mo ago

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    68 questions • 5 mo ago
    Xai Alexandrei Delos Reyes

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    Xai Alexandrei Delos Reyes · 82 questions · 5 mo ago

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    82 questions • 5 mo ago
    Xai Alexandrei Delos Reyes

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 69 questions · 5 mo ago

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    69 questions • 5 mo ago
    Xai Alexandrei Delos Reyes

    (Midterm) Professional Issues in Information Technology BSIT 505

    (Midterm) Professional Issues in Information Technology BSIT 505

    Xai Alexandrei Delos Reyes · 38 questions · 5 mo ago

    (Midterm) Professional Issues in Information Technology BSIT 505

    (Midterm) Professional Issues in Information Technology BSIT 505

    38 questions • 5 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals)Event-Driven Programming Mocktest BSIT 505

    (Pre-Finals)Event-Driven Programming Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 59 questions · 4 mo ago

    (Pre-Finals)Event-Driven Programming Mocktest BSIT 505

    (Pre-Finals)Event-Driven Programming Mocktest BSIT 505

    59 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-finals) Application Development Mocktest BSIT 505

    (Pre-finals) Application Development Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 41 questions · 4 mo ago

    (Pre-finals) Application Development Mocktest BSIT 505

    (Pre-finals) Application Development Mocktest BSIT 505

    41 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Data and Digital Communication Mocktest BSIT 505

    (Pre-Finals) Data and Digital Communication Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 57 questions · 4 mo ago

    (Pre-Finals) Data and Digital Communication Mocktest BSIT 505

    (Pre-Finals) Data and Digital Communication Mocktest BSIT 505

    57 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals) ASIA Mocktest BSIT 505

    (Pre-Finals) ASIA Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 44 questions · 4 mo ago

    (Pre-Finals) ASIA Mocktest BSIT 505

    (Pre-Finals) ASIA Mocktest BSIT 505

    44 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 72 questions · 4 mo ago

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    72 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 42 questions · 4 mo ago

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    42 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Professional Issues In Information Technolog Mocktest BSIT 505

    (Pre-Finals) Professional Issues In Information Technolog Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 62 questions · 4 mo ago

    (Pre-Finals) Professional Issues In Information Technolog Mocktest BSIT 505

    (Pre-Finals) Professional Issues In Information Technolog Mocktest BSIT 505

    62 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Application Development Mocktest BSIT 505

    (Finals) Application Development Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 62 questions · 3 mo ago

    (Finals) Application Development Mocktest BSIT 505

    (Finals) Application Development Mocktest BSIT 505

    62 questions • 3 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    Xai Alexandrei Delos Reyes · 61 questions · 3 mo ago

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    61 questions • 3 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Advanced Database Systems Mocktest BSIT 505

    (Finals) Advanced Database Systems Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 62 questions · 3 mo ago

    (Finals) Advanced Database Systems Mocktest BSIT 505

    (Finals) Advanced Database Systems Mocktest BSIT 505

    62 questions • 3 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Enterprise Architecture Mocktest BSIT 505

    (Finals) Enterprise Architecture Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 60 questions · 3 mo ago

    (Finals) Enterprise Architecture Mocktest BSIT 505

    (Finals) Enterprise Architecture Mocktest BSIT 505

    60 questions • 3 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 27 questions · 3 mo ago

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    27 questions • 3 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Event-Driven Programming Mocktest BSIT 505

    (Finals) Event-Driven Programming Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 65 questions · 4 mo ago

    (Finals) Event-Driven Programming Mocktest BSIT 505

    (Finals) Event-Driven Programming Mocktest BSIT 505

    65 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 41 views · 42 questions · 1 mo ago

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    41 views • 42 questions • 1 mo ago
    Xai Alexandrei Delos Reyes

    (Prelims) Great Books Mocktest BSIT 604

    (Prelims) Great Books Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 46 views · 75 questions · 1 mo ago

    (Prelims) Great Books Mocktest BSIT 604

    (Prelims) Great Books Mocktest BSIT 604

    46 views • 75 questions • 1 mo ago
    Xai Alexandrei Delos Reyes

    (Prelims) Management Information Systems Mocktest BSIT - 604

    (Prelims) Management Information Systems Mocktest BSIT - 604

    Xai Alexandrei Delos Reyes · 70 views · 94 questions · 1 mo ago

    (Prelims) Management Information Systems Mocktest BSIT - 604

    (Prelims) Management Information Systems Mocktest BSIT - 604

    70 views • 94 questions • 1 mo ago
    Xai Alexandrei Delos Reyes

    (Prelims) Programming Languages Mocktest BSIT 604

    (Prelims) Programming Languages Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 26 views · 79 questions · 1 mo ago

    (Prelims) Programming Languages Mocktest BSIT 604

    (Prelims) Programming Languages Mocktest BSIT 604

    26 views • 79 questions • 1 mo ago
    Xai Alexandrei Delos Reyes

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 33 views · 99 questions · 29 d ago

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    33 views • 99 questions • 29 d ago
    Xai Alexandrei Delos Reyes

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 33 views · 92 questions · 28 d ago

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    33 views • 92 questions • 28 d ago
    Xai Alexandrei Delos Reyes

    (Midterm) Great Books Mocktest BSIT 604

    (Midterm) Great Books Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 74 questions · 11 d ago

    (Midterm) Great Books Mocktest BSIT 604

    (Midterm) Great Books Mocktest BSIT 604

    74 questions • 11 d ago
    Xai Alexandrei Delos Reyes

    (Midterms) 04 to 05_Handout Management Information Systems Mocktest BSIT 604

    (Midterms) 04 to 05_Handout Management Information Systems Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 69 questions · 4 d ago

    (Midterms) 04 to 05_Handout Management Information Systems Mocktest BSIT 604

    (Midterms) 04 to 05_Handout Management Information Systems Mocktest BSIT 604

    69 questions • 4 d ago
    Xai Alexandrei Delos Reyes

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 36 questions · 4 d ago

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    36 questions • 4 d ago
    Xai Alexandrei Delos Reyes

    (Midterms) Programming Languages Mocktest BSIT 604

    (Midterms) Programming Languages Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 81 questions · 3 d ago

    (Midterms) Programming Languages Mocktest BSIT 604

    (Midterms) Programming Languages Mocktest BSIT 604

    81 questions • 3 d ago
    Xai Alexandrei Delos Reyes

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 84 questions · 4 d ago

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    84 questions • 4 d ago
    Xai Alexandrei Delos Reyes

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 87 questions · 3 d ago

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    87 questions • 3 d ago
    Xai Alexandrei Delos Reyes

    Question list

  • 1

    It represents a single screen in the app where the user can perform a single focused task such as sending an e-mail. It is usually presented to the user as a full-screen window.

    Activity

  • 2

    This is presented to the user when the app is launched. It can then start other activities to perform different actions.

    Main Activity

  • 3

    This is the set of states an activity can be in during its entire lifetime.

    Activity life cycle

  • 4

    It is invoked when the app is launched for the first time. It happens only once for the entire life of the activity.

    onCreate()

  • 5

    It is invoked before the activity becomes visible to the user. It is followed by either onResume() and onStop()

    onStart()

  • 6

    It is invoked before the activity starts interacting with the user.

    onResume()

  • 7

    It is invoked when the system is about to start resuming another activity.

    onPause()

  • 8

    It is invoked when the activity is no longer visible to the user. It is followed by either: onRestart() or onDestroy()

    onStop()

  • 9

    It is invoked when the activity is finishing due to the user completely dismissing the activity or due to finish() being called on the activity. or the system is temporarily destroying the activity due to a configuration change

    onDestroy()

  • 10

    It is invoked if the activity comes back after being stopped. It is always followed by onStart().

    onRestart()

  • 11

    Each time a new activity starts, the previous activity is stopped, but the system preserves the activity in a stack, What is it?

    Back stack

  • 12

    Which statement is TRUE about Intent

    It represents a single screen in the app where the user can perform a single focused task such as sending an e-mail. It is usually presented to the user as a full-screen window.

  • 13

    "The activity that will receive the intent." Which part of intent is being described?

    Target activity

  • 14

    "Contains a reference to the data you want the receiving activity to operate on." Which part of intent is being described?

    Intent data/object

  • 15

    "Carry information the receiving activity requires to accomplish the requested action (optional)." Which part of intent is being described?

    Intent extras

  • 16

    "May instruct the Android system how to launch an Activity or how to treat it after it's launched (optional)." Which part of intent is being described?

    Intent flags

  • 17

    What are the two (2) types of intent?

    Explicit and Implicit

  • 18

    "The target of the intent (the class name of the activity) is already identified." what type of intent is being described?

    Explicit Intent

  • 19

    "The target of the intent is not yet identified but there is a general action to perform. It also includes an action, category, and data type." what type of intent is being described?

    Implicit intent

  • 20

    Which is the correct syntax when making a button that is clickable?

    android:onClick="LaunchActivity"

  • 21

    Which is the correct syntax needed? public void LaunchActivity(View view){ _______________________________ startActivity(intent); }

    Intent intent = new Intent(this, Main2Activity.class);

  • 22

    It defines the structure for an app's user interface.

    Layout

  • 23

    also known as a widget, This draws something the user can see and interact with

    View

  • 24

    also known as a layout, It is an invisible container that defines the layout structure for View and other ViewGroup objects

    ViewGroup

  • 25

    "The presentation of the app can be separated from the code that controls its behavior." Which way to create a layout is being described?

    Declare UI elements in XML

  • 26

    "The View and ViewGroup objects can be created and their properties can be manipulated programmatically." Which way to create a layout is being described?

    Instantiate layout elements at runtime

  • 27

    xml: <Button android:id="@+id/my_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/my_button_text"/> What's the correct syntax in creating an instance of the view object above and capture it from the layout?

    Button myButton = (Button) findViewById(R.id.my_button);

  • 28

    Which is the correct syntax in manipulating the property of a widget in Java?

    TextView myText = new TextView(this); myText.setText("Display this text!");

  • 29

    It is an interface to global information about an application environment.

    Context

  • 30

    All view groups this and each view is required to define them

    width and height

  • 31

    "It sets the size of the view to the dimensions required by its content." Which width and height constant is being described?

    wrap_content

  • 32

    "It sets the view to be as big as its parent view group will allow." Which width and height constant is being described?

    match_parent

  • 33

    "It creates large and complex layouts with a flat view hierarchy (no nested view groups)." Which layout is being described?

    Constraint Layout

  • 34

    "Organizes its child view elements into a single horizontal or vertical row." Which layout is being described?

    Linear Layout

  • 35

    "It is used to specify the location of child objects relative to each other (child A to the left of child B) or to the parent (aligned to the top of the parent)." Which layout is being described?

    Relative Layout

  • 36

    "It is used for displaying web pages." Which layout is being described?

    Web View

  • 37

    "It is designed to block out an area on the screen to display a single item." Which layout is being described?

    Frame Layout

  • 38

    "It arranges its child objects into rows and columns." Which layout is being described?

    Table Layout

  • 39

    "It arranges its child objects in a rectangular grid that can be scrolled." Which layout is being described?

    Grid Layout

  • 40

    Which is the correct syntax in creating a linear layout in xml?

    <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <Button ... /> <TextView ... /> <Button ... /> </LinearLayout>

  • 41

    Which is the correct syntax in creating a linear layout in java?

    LinearLayout linearL = new LinearLayout(this); linearL.setOrientation(LinearLayout.VERTICAL); TextView myText = new TextView(this); myText.setText("Display this text!"); linearL.addView(myText); setContentView(linearL);

  • 42

    It is a message that Android displays outside the app's UI to provide the user with reminders, communication from other people, or other timely information from the app.

    Notification

  • 43

    Which is the correct syntax in creating a notification?

    NotificationCompat.Builder builder = new NotificationCompat.Builder(this, CHANNEL_ID) .setSmallIcon(R.drawable.notification_icon) .setContentTitle(textTitle) .setContentText(textContent) .setPriority(NotificationCompat.PRIORITY_DEFAULT);

  • 44

    It allows to view more details and take actions with the notification.

    Notification drawer

  • 45

    It provides a visual structure and interactive elements that are familiar to users.

    App bar/Action bar

  • 46

    which statement is NOT a key feature in an app bar/action bar?

    It provides simple feedback about an operation in a small popup.

  • 47

    Which is the correct syntax in creating a app bar/action bar?

    Toolbar myToolbar = (Toolbar) findViewById(R.id.my_toolbar); setSupportActionBar(myToolbar);

  • 48

    It provides simple feedback about an operation in a small popup.

    Toast

  • 49

    Which is the correct syntax in creating a toast?

    Context context = getApplicationContext(); CharSequence text = "Hello toast!"; int duration = Toast.LENGTH_SHORT; Toast toast = Toast.makeText(context, text, duration);

  • 50

    It provides a quick pop-up message to the user.

    Snackbar

  • 51

    Which is the correct syntax in creating a snack bar

    Snackbar mySnackbar = Snackbar.make(view, stringId, duration); mySnackbar.show(); //or Snackbar.make(view, stringId, duration).show();

  • 52

    It is a small window that prompts the user to make a decision or enter additional information. It is not designed to fill the screen.

    Dialog

  • 53

    Which is the correct syntax in creating a dialog?

    AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); builder.setMessage(R.string.dialog_message) .setTitle(R.string.dialog_title); AlertDialog dialog = builder.create();

  • 54

    It is used to present user actions and other options in the app's activities.

    Menu