Linux Shell Programming Quiz - CO5
Linux Shell Programming Quiz - CO5
* 0/2
Kernel
Operating System
Program
None
Correct answer
Kernel
Feedback
Notify All ()
Notify ()
Wait ()
Feedback
Shared Memory
Message Passing
Variable Passing
a&b
Correct answer
Shared Memory
Unidirection
Bidirection
Random
Can’t Say
Correct answer
Unidirection
FIFO is known as ________ 2/2
File
Named Pipe
Socket
Pipe
Feedback
Named Pipe
Zero Capacity
Bounded Capacity
Unbounded Capacity
Correct answer
Sequential Packet
Datagram
Feedback
Point-to-point
a&b
No correct answers
Is he new messages are added to the end of a queue by using msgsnd() 2/2
commnd?
True
False
Feedback
True
msgsnd():
msgrcv()
msgget():
msgctl():
Correct answer
msgrcv()
The inter-related process communication is performed using 2/2
Pipes
Named Pipes
Shared Memory
a&b
Feedback
a&b
____________ Sets the user ID, group ID of the owner, permissions, etc. 2/2
pointed to by structure buf.
IPC_SET
IPC_RMID
SHM_INFO
Feedback
IPC_SET
____________ Returns the information about the shared memory limits and 2/2
parameters in the structure pointed by buf
IPC_RMID
IPC_STAT
IPC_INFO
SHM_INFO
Feedback
IPC_INFO
Datagram Sockets
Stream Sockets
Raw Sockets
Feedback
Stream Sockets
Which type of socket delivery in a networked environment is not 2/2
guaranteed?
Stream Sockets
Raw Sockets
Datagram Sockets
Feedback
Datagram Sockets
____________ Communicate with the remote endpoint once the server 0/2
establishes the communication and creates a new socket for the client.
bind()
accept()
connect()
Correct answer
True
False
Feedback
True
NF
NR
FS
RS
No correct answers
Which command stores the output field separator, which separates the ···/2
fields when Awk prints them?
OFS
ORS
NR
NS
No correct answers
Which command is used to store the current record separator character. 2/2
RS
OFS
NF
NR
Feedback
RS
Forms