NEW
Font size
WorksheetsNetwork Programming Quiz Mid 1 2022
Total questions: 10
Worksheet time: 5mins
one of the following applications of the Client and Server Model?
Network Printing
World Wide Web
All the options
TCP groups a number of bytes together______in a packets.
user datagram
datagram
segment
packet
Which of the following mode is used for opening a file in both reading and writing?
O_RDONLY
O_WRONLY
O_RDWR
O_WDR
Which of the following system calls does not return control to the calling point, on termination?
fork
exec
ioctl
longjmp
The following program results in the creation of?
main()
{
if(fork()>0)
sleep(100);
}
an orphan process
a zombie process
a process that executes forever
none of the mentioned
Which is true regarding pipes?
half duplex
full duplex
message boundaries are preserved
unordered data
System V IPC common attributes are
key
id
owner
all of the are correct
Which system call is used to create Sys V message Queue.
msgget()
msgsnd()
msgctl
msgqget()
The persistancy of a FIFO is
process
kernel
file system
none of the mentioned
Which of the following is false with respect to TCP?
Connection-oriented
Process-to-process
Transport layer protocol
Unreliable
