MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
Unix
Quiz 11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Q.1
The environment variable in Linux, that contain a list of directories the shell automatically recognizes.
$PATH
$ENV
$USER
All of above
Q.2
The Unix command used to find out the number of characters in a file is
nc
wc
chcnt
Both A & B
Q.3
Which command allows you to view your filelines at a time ?
More
Cat
Pg
All of above
Q.4
Which one of the following options is not a shell in UNIX system?
Bourne Shell
C Shell
Korn Shell
Net Shell
Q.5
A user level process in Unix traps the signal sent on a Ctrl + C input and has a signal handling routine that saves appropriate files before terminating the process. When a Ctrl + C input is given to this process, what is the mode in which the signal handling routine executes ?
User mode
Kernel mode
Superuser mode
All of above
Q.6
Assume that an implementation of Unix operating system uses i-nodes to keep track of data blocks allocated to a file. It supportsdirect block addresses, one indirect block address and one double indirect block address. The file system hasbytes block size and 2 bytes for disk block address. The maximum possible size of a file in this system is
16 MB
16 KB
70 KB
None of the above
Q.7
In Unix, the command to enable execution permission for file “mylife” by all is ................
Chmod ugo+X myfile
Chmod a+X myfile
Chmod +X myfile
All of the above
Q.8
Which of the following statement is not correct with reference to cron daemon in UNIX O.S?
The cron daemon is the standard tool for running commands on a pre-determined schedule.
It starts when the system boots and runs as long as the system is up.
Cron reads configuration files that contain list of command lines and the times at which they invoked.
Crontab for individual users are not stored.
Q.9
Which of the following statement(s) is/are True regarding ‘nice’ command of UNIX?I. It is used to set or change the priority of a process.II. A process’s nice value can be set at the time of creation.III. ‘nice’ takes a command line as an argument.
I, II only
II, III only
I, II, III
I, II, IV
Q.10
Which of the following option with reference to UNIX operating system is not correct?
INT signal is sent by the terminal driver when one types < Control-C > and it is a request to terminate the current operation.
TERM is a request to terminate execution completely. The receiving process will clean up its state and exit.
QUIT is similar to TERM, except that it defaults to producing a core dump if not caught.
KILL is a blockable signal.
Q.11
Which of the following information about the UNIX file system is not correct?
Super block contains the number of i-nodes, the number of disk blocks, and the start of the list of free disk blocks.
An i-node contains accounting information as well as enough information to locate all the disk blocks that holds the file’s data.
Each i-node is 256-bytes long
All of above
Q.12
In UNIX operating system, when a process creates a new process using the fork() system call, which of the following state is shared between the parent process and child process?
Heap
Stack
Shared memory segments
All of above
Q.13
In UNIX, processes that have finished execution but have not yet had their status collected are known as ................
Sleeping processes
Stopped Processes
Orphan process
Zombie Processes
Q.14
Unix command to change the case of first three lines of file “shortlist” from lower to upper
$ tr ‘[a-z]’ ‘[A-Z]’ shortlist | head-3
$ head-3 shortlist | tr ‘[a-z]’ ‘[A-Z]’
$ tr head-3 shortlist ‘[A-Z]’ ‘[a-z]’
All of above
Q.15
The Unix Operating System Kernel maintains two key data structures related to processes, the process table and the user structure. Now, consider the following two statements:I. The process table is resident all the time and contain information needed for all processes, even those that are not currently in memory.II. The user structure is swapped or paged out when its associated process is not in memory, in order not to waste memory on information that is not needed.Which of the following options is correct with reference to above statements ?
Only (I) is correct
Only (II) is correct
Both (I) and (II) are correct
Both (I) and (III) are correct
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page