What is the purpose of the Android 'FragmentManager'? MCQ with Answer and Explanation

What is the purpose of the Android 'FragmentManager'?
A. To handle fragment transactions
B. To manage fragments (UI components) within an activity
C. Both A and C
D. To manage activities
Answer: Option C
Solution (By JKSSB Mock Tests)
FragmentManager handles adding, removing, and replacing fragments, as well as managing back stack.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
Which of the following is a type of file system that supports journaling?
A. All of the above
B. ext3
C. ext4
D. NTFS

Correct Answer: Option A


Explanation:
ext3, ext4, and NTFS all support journaling, which logs changes to prevent corruption.

This question belongs to: Computer Operating Systems
Question #2
What is the purpose of the Android 'TextView'?
A. To format text
B. To handle text input
C. To edit text
D. To display text on the screen

Correct Answer: Option D


Explanation:
TextView is a UI component for displaying read-only text; EditText is for editable text.

This question belongs to: Computer Operating Systems
Question #3
In Windows, the 'Registry' has five root keys. Which one contains information about the current hardware configuration?
A. HKEY_LOCAL_MACHINE\HARDWARE
B. HKEY_CURRENT_USER
C. HKEY_CLASSES_ROOT
D. HKEY_CURRENT_CONFIG

Correct Answer: Option D


Explanation:
HKEY_CURRENT_CONFIG (HKCC) stores information about the current hardware profile; HKLM\HARDWARE also contains hardware info.

This question belongs to: Computer Operating Systems