In Windows, the 'Command Prompt' (cmd) uses which text encoding by default? MCQ with Answer and Explanation

In Windows, the 'Command Prompt' (cmd) uses which text encoding by default?
A. ANSI
B. OEM code page (e.g., 850)
C. UTF-8
D. Unicode
Answer: Option B
Solution (By JKSSB Mock Tests)
By default, Command Prompt uses the OEM code page (e.g., 850 or 437) for legacy compatibility; modern versions can use UTF-8 with /U switch.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Android is primarily based on which operating system kernel?
A. Hybrid Kernel
B. Linux Kernel
C. Windows NT Kernel
D. Unix Kernel

Correct Answer: Option B


Explanation:
Android is an open-source operating system designed for mobile devices, built directly on top of a modified version of the Linux kernel.

This question belongs to: Computer Operating Systems
Question #2
What is the default file system used by Windows 10 and 11?
A. NTFS
B. FAT32
C. exFAT
D. ext4

Correct Answer: Option A


Explanation:
Windows uses NTFS (New Technology File System) as its default file system for internal drives, supporting security, compression, and large files.

This question belongs to: Computer Operating Systems
Question #3
Which Linux command is used to view the contents of a file one page at a time?
A. less
B. more
C. head
D. cat

Correct Answer: Option A


Explanation:
less allows forward and backward scrolling, more is older and only forward; cat dumps all content.

This question belongs to: Computer Operating Systems