HamiIT
Sign inGet started
Home
ADD CONTENT

Sign in Required

Please sign in to add content

Sign In
ProgramsBCASemester 6Mobile ProgrammingUnit 5: UI Fragments, Menus and Dialogs (6Hrs)
Chapter Study

BCA Semester 6 – Mobile Programming – Unit 5: UI Fragments, Menus and Dialogs (6Hrs)

Comprehensive questions and detailed answers for Unit 5: UI Fragments, Menus and Dialogs (6Hrs). Perfect for exam preparation and concept clarity.

8
Questions
55
Marks
Back to All Chapters
1

Why is fragment needed in android application? How can a fragment be added to an activity?

MediumTHEORY5 marks2021(TU FOHSS Final)
2

Develop an android application to calculate simple interest using a customize dialog box.

HardTHEORY10 marks2021(TU FOHSS Final)
3

What is the difference between activity and fragment? Develop an android application to create a user interface for input length, width, and height of a Rectangular box and Button for Volume in one fragment when the button is clicked then these input data are passed into the second fragment and calculate the volume of the Rectangular box and display the result in TextView.

MediumTHEORY5 marks2022(TU FOHSS Final)
4

What is Toast? Develop an android application to create an alert dialog to input any number and then calculate the factorial of the number and display the result in Toast.

MediumTHEORY5 marks2022(TU FOHSS Final)
5

What does android APK file contain? Develop an android application with a context menu having menu items "Red", "Yellow", "Green", "Black" and "Blue" etc. and change the background color of the layout when the user selects a menu item accordingly.

HardTHEORY10 marks2022(TU FOHSS Final)
6

Develop an android application to display an alert dialog box.

MediumTHEORY5 marks2023(TU FOHSS Final)
7

What is menu? Develop an android application to create a popup menu having menu item "Edit", "Copy", "Paste", "Redo" and "Undo".

MediumTHEORY5 marks2024(TU FOHSS Final)
8

Develop an android application to display a list of Student (Student name) in ListView and display the student details (student image, roll, name and college) in a Custom Dialog when a ListView item is selected.

HardTHEORY10 marks2024(TU FOHSS Final)
Showing 8 questions

Exam Years

Past question papers

2024
TU FOHSS Final•2 questions
2023
TU FOHSS Final•1 questions
2022
TU FOHSS Final•3 questions
2021
TU FOHSS Final•2 questions

Questions in Unit 5: UI Fragments, Menus and Dialogs (6Hrs)

Why is fragment needed in android application? How can a fragment be added to an activity?

Marks: 5

Year: 2021 Final TU FOHSS

Why Fragment Is Needed in Android Application A Fragment is a reusable portion of the user interface that runs inside an Activity. It represents a behavior or a part of the UI. Need / Importance of F

Develop an android application to calculate simple interest using a customize dialog box.

Marks: 10

Year: 2021 Final TU FOHSS

1. XML Layout for Main Activity (activitymain.xml) xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layoutwidth="matchparent" android:layoutheight="matchpar

What is the difference between activity and fragment? Develop an android application to create a user interface for input length, width, and height of a Rectangular box and Button for Volume in one fr

Marks: 5

Year: 2022 Final TU FOHSS

1. Difference Between Activity and Fragment | Feature | Activity | Fragment | |---------|---------|---------| | Definition | An Activity is a single, standalone screen in an Android app. | A Fragment

What is Toast? Develop an android application to create an alert dialog to input any number and then calculate the factorial of the number and display the result in Toast.

Marks: 5

Year: 2022 Final TU FOHSS

1. Definition of Toast A Toast is a small popup message that appears on the screen to provide feedback to the user. Key Points: - Automatically disappears after a short duration. - Does not block us

What does android APK file contain? Develop an android application with a context menu having menu items "Red", "Yellow", "Green", "Black" and "Blue" etc. and change the background color of the layout

Marks: 10

Year: 2022 Final TU FOHSS

1. Contents of Android APK File APK (Android Package) is the file format used to distribute and install Android apps. Key Components: - AndroidManifest.xml: Contains app configuration, permissions,

Develop an android application to display an alert dialog box.

Marks: 5

Year: 2023 Final TU FOHSS

1. XML Layout (activitymain.xml) xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layoutwidth="matchparent" android:layoutheight="matchparent" android:o

What is menu? Develop an android application to create a popup menu having menu item "Edit", "Copy", "Paste", "Redo" and "Undo".

Marks: 5

Year: 2024 Final TU FOHSS

1. What is a Menu? Definition: A menu in Android is a collection of items that provides user options and actions. Menus are used to enhance the user interface by grouping related actions together. T

Develop an android application to display a list of Student (Student name) in ListView and display the student details (student image, roll, name and college) in a Custom Dialog when a ListView item i

Marks: 10

Year: 2024 Final TU FOHSS

1. activitymain.xml xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layoutwidth="matchparent" android:layoutheight="matchparent" android:orientation="v

About Unit 5: UI Fragments, Menus and Dialogs (6Hrs) Questions

This page contains comprehensive questions from the Unit 5: UI Fragments, Menus and Dialogs (6Hrs) chapter of Mobile Programming, part of the BCA Semester 6 curriculum. All questions include detailed model answers from past TU exam papers.

Study Tips

  • Review concepts before attempting questions
  • Practice writing complete answers
  • Compare your answers with model solutions
  • Focus on questions from recent years
  • Use direct links (#question-ID) to bookmark and share specific questions

Related Resources

← Back to Mobile Programming Chapters

Unit 5: UI Fragments, Menus and Dialogs (6Hrs) chapter questions with answers for Mobile Programming (BCA Semester 6). Prepare for TU exams with our comprehensive question bank and model answers.

H
Hami IT

Empowering IT students with quality education resources and comprehensive exam preparation materials.

Programs

  • Flutter
  • Java
  • DevOps

Company

  • About Us
  • Contact

Contact

  • 📧hamiit.dev@gmail.com
  • 📞+977 9813706443
  • 📍Kathmandu, Nepal

© 2026 Hami IT. All rights reserved.