Vidyalelo
Computer Science · Q29

Disk Operating System (DOS)

Engineering and GATE · Computer Science · question 29

Q29

Which command be used to clear the screen and display the operating system prompt on the first line of thedisplay?

A.
Cd
B.
Md
C.
Rename
D.
cls
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
The command used to clear the screen and display the operating system prompt on the first line of the display in Disk Operating System (DOS) is cls.

Option A, "Cd," is used to change the current directory.
Option B, "Md," is used to create a new directory.
Option C, "Rename," is used to rename a file or directory.

Therefore, the correct answer is Option D: cls.