In Windows, the 'Diskpart' command can be scripted using: MCQ with Answer and Explanation

In Windows, the 'Diskpart' command can be scripted using:
A. PowerShell
B. A text file with commands and 'diskpart /s script.txt'
C. Batch files
D. All of the above
Answer: Option D
Solution (By JKSSB Mock Tests)
diskpart supports scripts via /s, and can be used within PowerShell or batch files for automation.

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 scheduling algorithm that allows a process to run until it blocks or is preempted by a higher priority process?
A. Non-preemptive priority scheduling
B. Round Robin
C. Multilevel feedback queue
D. Preemptive priority scheduling

Correct Answer: Option A


Explanation:
Non-preemptive priority scheduling allows a process to keep the CPU until it finishes or voluntarily yields, unless a higher priority process arrives (which would preempt in preemptive scheduling).

This question belongs to: Computer Operating Systems
Question #2
What is the purpose of the Android 'SharedPreferences'?
A. To store primitive data in key-value pairs persistently
B. To cache data temporarily
C. To share data between apps
D. To store complex objects

Correct Answer: Option A


Explanation:
SharedPreferences is used for storing small amounts of simple data (booleans, strings, ints) for app settings.

This question belongs to: Computer Operating Systems
Question #3
Which of the following is a feature of the Windows 'BitLocker' that uses a TPM?
A. Trusted Platform Module for hardware-based encryption key storage
B. Software-only encryption
C. USB key authentication only
D. Password only

Correct Answer: Option A


Explanation:
BitLocker can use TPM to secure encryption keys, providing hardware protection against attacks.

This question belongs to: Computer Operating Systems