aInfoEra
Home
MCQs
Unix/Lunux — Quiz
Linux Mcqs Questions Set 14
50 questions · Test your knowledge
Home
/
MCQs
/
Linux Mcqs Questions Set 14
1
Which system call is used to create Sys V message Queue.
A
msgget
B
shemget
C
semget
D
msgctl
2
Which is not the correct option for removing a message queue
A
ipcrm -Q
B
ipcrm -q
C
ipcrm -m
D
none of the mentioned
3
Message queues are created in
A
userspace
B
kernelspace
C
userspace & kernelspace
D
none of the mentioned
4
Command used to check shared memory is
A
ipcs
B
ipcs -m
C
ipcs -s
D
ipcs -q
5
Which is Fastest IPC?
A
Message Queue
B
shared memory
C
Socket
D
All of the mentioned
6
What is the persistancy level of Shared memory segments?
A
signal
B
process
C
file system
D
kernel
7
The structure which keeps the information about shared memory in the kernel is
A
struct ipc_perm
B
struct semid_ds
C
struct shmid_ds
D
struct msgid_ds
8
One process requires M resource to complete a job. What should be the minimum number of resources available for N processes so that at least one process can continue to execute without blocking/waiting?
A
M * N
B
M * N – 1
C
M * N + 1
D
M
9
Semaphore P( ) operation usually does the following:
A
descrements the semaphore count and the process sleeps if needed
B
increments the semaphore count
C
wakes up a sleeping process
D
none of the mentioned
10
Which call to use to set the resource count of semaphore?
A
semget( )
B
semctl( )
C
sem_setcount( )
D
sem_set_count( )
11
Race condition can be avoided by using
A
semaphore
B
mutex
C
socket
D
both semaphore & mutex
12
A server which is handling one client at a time is called as
A
single server
B
multiserver
C
concurrent server
D
iterative server
13
A server which is handling many clients at a time is called as
A
single server
B
multiserver
C
concurrent server
D
iterative server
14
A communication end-point is identified by
A
ip address
B
port number
C
both IP address and port number
D
none of the mentioned
15
UNIX/Linux kernel is?
A
Monolithic
B
Micro
C
Exo
D
Nano
16
Monolithic kernel
A
is highly extensiblity
B
has less run time overhead
C
 smaller than micro level
D
suitable for real time system
17
Runlevel system command is used for?
A
getting the present and previous runlevel of the system
B
setting the runlevel attribute of the system in the inittab file
C
can be used to restart or reboot the system
D
all of the mentioned
18
Pick the run level to run Linux in multi user mode with networking?
A
0
B
3
C
5
D
6
19
Section 2 of manpage describes
A
Commands
B
System calls
C
Function calls
D
Drivers
20
System call can be implemented using which assembly instruction(s) on x86 processors?
A
int 0×80
B
sysenter
C
both int 0×80 & sysenter
D
None
21
Which of the following exec call is a system call?
A
execl
B
execlp
C
execve
D
execvp
22
x86 architecture uses big endian or little endian addressing mechanism?
A
 little-endian
B
endian
C
big-endian
D
none of the mentioned
23
__________ timer is decremented only when the process is executing
A
ITIMER_REAL
B
ITIMER_VIRTUAL
C
ITIMER_PROF
D
None of the mentioned
24
Daemon process is a?
A
group leader
B
ession leader
C
orphan process
D
all of the mentioned
25
he terminal used by a Daemon process is:
A
any terminal
B
no terminal
C
root terminal
D
system console
26
Sysconf(_SC_PAGE_SIZE) returns?
A
size of the page
B
max size of the page
C
min size of the page
D
paging allowed or not
27
Which has excellent support for older hardware?
A
Unix
B
Linux
C
Minix
D
Xenix
28
What is the other name of new shell?
A
Baby shell
B
Junior shell
C
Child shell
D
Assistant shell
29
In Linux hard disk partition, hda2, a stands for the __
A
first hard drive
B
first partition
C
second partition
D
second hard drive
30
Where do the users arrive after entering exit in Linux system?
A
Login screen
B
Internet
C
Logout screen
D
Login prompt
31
Single dot (.) with cd refers to ___
A
Change directory
B
Created directory
C
Current directory
D
Parent directory
32
Which command is called as the end-of-file command?
A
Ctrl+ V
B
Ctrl+ B
C
Ctrl+ D
D
Ctrl+ C
33
Which of the following is called as the piping symbol?
A
_
B
|
C
 ~
D
 !
34
What was the first version of Linux?
A
1.0
B
0.11
C
1.01
D
0.1
35
What should be the minimum length of a password?
A
5
B
6
C
7
D
8
36
Who can change the password of any user?
A
Everyone
B
SA
C
Supervisor
D
End-user
37
Collection of files is called as a
A
Directory
B
Root
C
Field
D
Home
38
How much of memory space is occupied by Linux?
A
4 MB
B
6 MB
C
8 MB
D
12 MB
39
The file name can be up to ___ character.
A
253
B
254
C
255
D
256
40
The prompt of the root user is
A
@
B
#
C
%
D
$
41
Linux default shell is
A
BAH shell
B
SH shell
C
ASH shell
D
BASH shell
42
Who are placeholders to store values?
A
Constants
B
Variables
C
OS
D
Shell
43
What type of editing is possible by Ed editor?
A
One command
B
One file
C
One line
D
One page
44
___ command clears the screen.
A
Clear
B
Cls
C
Clear all
D
Clean screen
45
Which of the following is called as the redirection operator for output?
A
=
B
<<
C
<
D
>
46
The complete path name of a file or directory is
A
Root name
B
Tree name
C
Relative path name
D
Absolute path name
47
For what based of PC’s, Linux was specifically designed?
A
Intel
B
HCL
C
Wipro
D
IBM
48
From where did the file system can be used to unambiguously identified and referenced?
A
Tree structure
B
Folders
C
Home directory
D
Root directory
49
Which feature is used to prevent overwriting an existing file the redirection operation?
A
Mkfs
B
Man
C
Cat
D
Noclobber
50
When we want replace a file system we have to ____ the present file system.
A
Cancel
B
Remove
C
Unmount
D
Mount
Submit Quiz
Back to All Quizzes