143
87k

620+ Operating System Architecture Solved MCQs

These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Computer Science Engineering (CSE) .

401.

The administrative information of a file is stored in

A. vnode
B. dnode
C. inode
D. snode
Answer» C. inode
402.

The -t option to ls is used for

A. sort according to time
B. sor according to date
C. sort according to name
D. sort according to size
Answer» A. sort according to time
403.

The systems internal name to file is

A. id
B. i-number
C. pid
D. pid_t
Answer» B. i-number
404.

The first tow bytes in each directory entry are

A. connection between id and name
B. connection between name of file and its contents
C. connection between if and its contents
D. connection betweeen id and contents
Answer» B. connection between name of file and its contents
405.

The rm command removes

A. directory entries
B. removes inodes
C. removes names
D. removes files
Answer» A. directory entries
406.

primary parts oc c comipler is in

A. /dev
B. /lib
C. /bin
D. /etc
Answer» B. /lib
407.

The basic program such as who and ed resids in

A. /dev
B. /lib
C. /bin
D. /etc
Answer» C. /bin
408.

various administrative fils such as password file in

A. /dev
B. /lib
C. /bin
D. /etc
Answer» D. /etc
409.

Short lived files created during execution are stored in

A. /tmp
B. /lib
C. /bin
D. /etc
Answer» A. /tmp
410.

which of following features of UNIX may be used for IPC

A. signals
B. ipes
C. semaphores
D. all of these
Answer» D. all of these
411.

In a system 5 peole are currently using VI editor, then no. of currosonding rocesses will be

A. 1
B. 5
C. 2
D. 0
Answer» B. 5
412.

the command echo welcome >/dev/tty

A. echoes welcome in all the gtermonals that are switched on
B. echoes welcome in all the terminals which are logged on
C. echoes welcomes only in terminal in which it is run
D. a&c
Answer» D. a&c
413.

dev/nul

A. it is a file
B. has write operation for all
C. built in dest bin
D. all of these
Answer» D. all of these
414.

The advantage of binary files over text file is

A. it is compact
B. it can be accessed faster.
C. they are more reliable
D. all of these
Answer» D. all of these
415.

UNIX uses ls to list files in a directory. The corresponding command in MS environment is

A. lf
B. listdir
C. dir
D. none of these
Answer» C. dir
416.

For some file the access permissions are modified to 764. Which of the following interpretation is valid:

A. every one can read, group can execute only and the owner can read and write.
B. every one can read and write, but owner alone can execute.
C. every one can read, group including owner can write, owner alone can execute
D. none of these
Answer» C. every one can read, group including owner can write, owner alone can execute
417.

Which directory under the root contains the information on devices

A. /usr/bin
B. /dev
C. /usr/peripherals/de v
D. /etc/dev
Answer» B. /dev
418.

Which option makes the command to ask the user for confirmation before removing each file

A. rm-i
B. rm-r
C. rm-f
D. rm-rf
Answer» A. rm-i
419.

which opttion deletes all files in the current directory and all its subdirectories

A. rm-i
B. rm-r
C. rm-f
D. rm-rf
Answer» B. rm-r
420.

which option is used for forcing removal operation

A. rm-i
B. rm-r
C. rm-f
D. rm-rf
Answer» C. rm-f
421.

which option in used for deleting everything in current directory and below.

A. rm-i
B. rm-r
C. rm-f
D. rm-rf
Answer» D. rm-rf
422.

which command is used for renaming a file

A. mv
B. cp
C. rm
D. cv
Answer» A. mv
423.

which command is used for displaying contents of a file

A. mv
B. cp
C. rm
D. cv
Answer» B. cp
424.

which command is used for copying a file

A. mv
B. cp
C. rm
D. cv
Answer» C. rm
425.

Which command is used to determine a type of file

A. infile
B. file
C. wc
D. cp
Answer» B. file
426.

Whcich command is used for word count

A. infile
B. file
C. wc
D. cp
Answer» C. wc
427.

The command for changing file owener is

A. chown
B. chgrp
C. chmod
D. cher
Answer» A. chown
428.

The command for changing group owner is

A. chown
B. chgrp
C. chmod
D. cher
Answer» B. chgrp
429.

The vi editor is working in which mode of following

A. command
B. input
C. ex
D. all of these
Answer» D. all of these
430.

command mode allows operation of

A. copy and delete
B. cut and copy
C. paste and delete
D. copy and cut
Answer» A. copy and delete
431.

Input mode is used for

A. to show text
B. to copy text
C. to provide command
D. all of these
Answer» A. to show text
432.

ex mode is used for

A. handling files and erform substitution
B. copy and delete
C. to show text
D. to hide text
Answer» A. handling files and erform substitution
433.

:x is used for

A. saving and editing
B. editing and aborting
C. writing
D. saving
Answer» A. saving and editing
434.

:q is used for

A. saving and editing
B. editing and aborting
C. writing
D. saving
Answer» B. editing and aborting
435.

:w is used for

A. saving and editing
B. editing and aborting
C. writing
D. saving
Answer» D. saving
436.

!cmd is used for

A. saving and editing
B. editing and aborting
C. to runs cmd and return to command prompt
D. saving
Answer» C. to runs cmd and return to command prompt
437.

which of the following are archive command

A. tar -c
B. tar-x
C. tar-t
D. all of these
Answer» D. all of these
438.

which command is used for creating an archive

A. tar -c
B. tar-x
C. tar-t
D. all of these
Answer» A. tar -c
439.

whicj command is used for displaying file in archieve

A. tar -c
B. tar-x
C. tar-t
D. all of these
Answer» C. tar-t
440.

which command is used for extracting file sfrom arcieve

A. tar -c
B. tar-x
C. tar-t
D. all of these
Answer» B. tar-x
441.

Which command is used for specifying archieve arch

A. tar -c
B. tar-x
C. tar-t
D. #name?
Answer» D. #name?
442.

the file access permission types are

A. r-- read
B. w-- write
C. x-- execute
D. all of these
Answer» D. all of these
443.

it --- means

A. no permission
B. execute only
C. writable only
D. writable and executable
Answer» A. no permission
444.

it --- x means

A. no permission
B. execute only
C. writable only
D. writable and executable
Answer» B. execute only
445.

it -w- means

A. no permission
B. execute only
C. writable only
D. writable and executable
Answer» C. writable only
446.

it -wx means

A. no permission
B. execute only
C. writable only
D. writable and executable
Answer» D. writable and executable
447.

it r-- means

A. readable
B. readable and executable
C. readable and writable
D. readable, writable and executable
Answer» A. readable
448.

it r-x means

A. readable
B. readable and executable
C. readable and writable
D. readable, writable and executable
Answer» B. readable and executable
449.

it rw- means

A. readable
B. readable and executable
C. readable and writable
D. readable, writable and executable
Answer» C. readable and writable
450.

It rwx means

A. readable
B. readable and executable
C. readable and writable
D. readable, writable and executable
Answer» D. readable, writable and executable

Done Studing? Take A Test.

Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.