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. Batch files
C. A text file with commands and 'diskpart /s script.txt'
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
In Windows, the 'Device Manager' can be accessed by running which command?
A. devmgmt
B. hdwwiz.cpl
C. sysdm.cpl
D. devmgmt.msc

Correct Answer: Option D


Explanation:
devmgmt.msc opens Device Manager; hdwwiz.cpl also opens the Add Hardware wizard.

This question belongs to: Computer Operating Systems
Question #2
Which Windows utility allows a user to selectively enable or disable startup programs, manage system services, and alter boot parameters via a graphical panel?
A. Device Manager
B. Registry Editor
C. System Configuration (msconfig)
D. Disk Cleanup

Correct Answer: Option C


Explanation:
The MSConfig (System Configuration) utility allows users to troubleshoot startup anomalies, manage boot choices, and isolate services.

This question belongs to: Computer Operating Systems
Question #3
What is the primary purpose of the Android Kernel?
A. To handle network connectivity
B. To provide a user interface
C. To manage hardware resources such as CPU, memory, and drivers
D. To run Java applications

Correct Answer: Option C


Explanation:
Android's kernel (based on Linux) manages hardware, memory, and processes; user interface and app runtime are higher layers.

This question belongs to: Computer Operating Systems