Which Linux command is used to change the current directory? MCQ with Answer and Explanation

Which Linux command is used to change the current directory?
A. dir
B. ls
C. cd
D. pwd
Answer: Option C
Solution (By JKSSB Mock Tests)
cd (change directory) moves the user to a different directory.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which mechanism allows an operating system to simulate more memory than the computer physically contains by transferring data temporarily to secondary storage?
A. Dynamic RAM
B. Cache Memory
C. Read-Only Memory
D. Virtual Memory

Correct Answer: Option D


Explanation:
Virtual memory combines physical RAM with temporary space on the hard drive (paging/swap file) to let the system handle larger memory loads than physical RAM capacity allows.

This question belongs to: Computer Operating Systems
Question #2
What is the name of the software layer in Android that provides standard interfaces to expose device hardware capabilities to the higher-level Java API framework?
A. Hardware Abstraction Layer (HAL)
B. Linux Kernel
C. Native C/C++ Libraries
D. Android Runtime (ART)

Correct Answer: Option A


Explanation:
The Hardware Abstraction Layer (HAL) defines a standard interface for hardware vendors to implement, enabling higher-level Android framework APIs to interact with hardware.

This question belongs to: Computer Operating Systems
Question #3
Which process state defines a task that is currently waiting in line to be assigned to a CPU core by the operating system scheduler?
A. Blocked
B. Terminated
C. Running
D. Ready

Correct Answer: Option D


Explanation:
A process is in the 'Ready' state when it is prepared for execution and is waiting to be allocated a time slice on a processor core.

This question belongs to: Computer Operating Systems