In Windows, the 'PowerShell' command to get the current date is: MCQ with Answer and Explanation

In Windows, the 'PowerShell' command to get the current date is:
A. All of the above
B. time
C. Get-Date
D. date
Answer: Option A
Solution (By JKSSB Mock Tests)
Get-Date is PowerShell cmdlet; date and time are legacy commands; all display date/time.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which Linux command is used to change the password of the current user?
A. usrpasswd
B. password
C. chpasswd
D. passwd

Correct Answer: Option D


Explanation:
passwd without arguments changes the current user's password; chpasswd is for batch changes.

This question belongs to: Computer Operating Systems
Question #2
What type of multitasking architecture requires application designers to build yield points inside code routines to prevent an app from locking up the system?
A. Symmetric Multiprocessing
B. Real-Time Scheduling
C. Cooperative Multitasking
D. Preemptive Multitasking

Correct Answer: Option C


Explanation:
Cooperative multitasking depends completely on applications behaving correctly and yielding execution back to the OS scheduler loop.

This question belongs to: Computer Operating Systems
Question #3
What is the primary function of the Master Boot Record (MBR) on a storage drive?
A. To run continuous hardware diagnostics while applications are open.
B. To contain the initial boot sector code and partition table needed to locate and load the operating system.
C. To manage real-time internet connections.
D. To hold user profile pictures and account settings.

Correct Answer: Option B


Explanation:
The MBR is the first sector of a partitioned storage device that contains the boot loader code and the partition table layout.

This question belongs to: Computer Operating Systems