We have compiled a list of 100+ operating system questions with answers that help you to check your basic knowledge of operating system and prepare for competitive exams. These operating system MCQ are prepared by the subject experts from authentic resources. Attempt all the questions and check your operating system knowledge online.
Operating Systems consists the topics such as introduction to operating systems, types, functions, windows, introduction to GUI, windows operating system, basic windows elements (desktop, taskbar, my computer, recycle bin, starting) shutting down windows, file management, windows explorer, windows applications (control panel, character map, paint etc), finding files and folders, start programs, changing windows settings, creating shortcuts, system tools (disk scanning, disk defragment, backup, restore, format)
Following are the important multiple choice questions from the operating system section. You can choose the correct answer from option A, B, C and D.
Operating System MCQs Practice MCQ Question and Answer
1
If you don't know the current time, which command will you use to display
Answer & Solution
Answer: Option C
Time command displays and allows you to change system time. TIME only displays the system time and TIME
2
Which command divides the surface of the blank disk into sectors and assign a unique address to each one
Each time you turn on your computer, it will check on the control file
Answer & Solution
Answer: Option C
command.com, io.sys and msdos.sys are the essential system files of MS-Dos. Loading these files from disk into memory is known as booting. Booting is the process of preparing your computer to work.
4
If you need to duplicate the entire disk, which command will you use?
Answer & Solution
Answer: Option B
Diskcopy is used to perform track-by-track copy of a disk into another. Copy command copies selected files; chkdsk and format commands are not for copying purpose.
5
Which command lists the contents of current directory of a disk
Answer & Solution
Answer: Option D
Dir command lists the directory of current location. It includes the files, subdirectories and some other system information. Tree command is used to list the directory structure in tree diagram; CD command to change directory and Copy command to copy a file into another.
6
Which of the following extensions suggest that the file is a backup copy
Answer & Solution
Answer: Option A
Bak extension is commonly used to store backup copies of files so that it can be restored later when original file is corrupted or deleted. Bas extension indicates the file is a BASIC program source file, com is command file and txt is plain text file.
7
Only filenames and extensions are to be displayed in wide format, which command you'll use?
Answer & Solution
Answer: Option A
Dir/w only displays the file names and extensions excluding file created date/time, file size. Second option dir a: will list the contents of A drive (floppy drive), third dir/s lists current directory and its subdirectories too, dir/b displays bare format, that means, it just makes a list of files, no more information.
8
Which command displays all the files having the same name but different extensions?
Answer & Solution
Answer: Option A
* is a wild card character that stands for all any character. When you specify filename.*, it meant filename should be specified one but extension can be any. Second option lists only the specified filename.exe and third and fourth commands lists all files with sys extension and specified extension.
9
Which command displays only file and directory names without size, date and time information?
Answer & Solution
Answer: Option C
dir/b command barely lists the names of files and directories without any other information like size, date, time etc.
10
Which command displays comma for thousand separating on file size while listing?
Answer & Solution
Answer: Option D
Using comma for separating thousand in file size is by default on. You can use dir/-c to remove comma from the listing. /C stands for comma.
11
Which command is used to display all the files having the (.exe) extension but different filename?
Answer & Solution
Answer: Option D
First two options are obviously wrong since specifying filename will list for that filename only. Since we need to list only with .ext extension fourth option is correct. Third option displays all files with sys extension.
12
Which command should be used to display all files within the specified subordinate directory of the subdirectory?
Answer & Solution
Answer: Option B
The subordinate directory of subdirectory can be accessed through the path sequence pathname\pathname and dir command lists the files of that location.
13
Which command displays the directory list including files in tree structure?
Answer & Solution
Answer: Option B
Tree command lists the directory structure in tree structure and /f switch of tree command includes the filenames in the structure.
14
Which command will be used to display a file within the specified directory of pathname?
Answer & Solution
Answer: Option D
Displaying a file which is inside specified directory can be done by specifying a directory name \ and filename.
15
Which command creates a directory or subdirectory?
Answer & Solution
Answer: Option D
MK command and MKDIR both commands are equivalent and can be used to create subdirectories. Dir only lists directory but can’t create.
16
Which command displays current directory name or change from one to another?
Answer & Solution
Answer: Option D
CD and CHDIR commands are equivalent and both used to change current working directory to another one. MKDIR creates a new directory and can’t be used to change.
17
Which command is used to delete the directory that is empty?
Answer & Solution
Answer: Option B
RD command or RMDIR commands can be used to remove a directory if it is empty. Del command and Erase commands are used to delete files not directories. MD creates a new directory and can’t remove directory.
18
An entire path name, consisting of several sub-directory names can contain upto