Top 150+ Solved Linux Programming MCQ Questions Answer

From 166 to 180 of 196

Q. Which of the following is not a communication command?

a. grep

b. mail

c. mesg

d. Write

  • a. grep

Q. The 32-bit internet address 10000000 00001010 00000010 00011110 will be written in dotted decimal notation as

a. 128.10.2.30

b. 210.20.2.64

c. 164.100.9.61

d. 148.20.2.30

  • a. 128.10.2.30

Q. Which class network is used for a collection of a small number of networks with a largenumber of nodes?

a. Class A

b. Class B

c. Class C

d. All of the above

  • a. Class A

Q. What type of addressing format is used by Class A network?

a. Net.Net.Net.Node

b. Net.Net.Node.Node

c. Net.Node.Net.Node

d. Net.Node.Node.Node

  • d. Net.Node.Node.Node

Q. How many class A, B and C network IDs can exist?

a. 128

b. 126

c. 16,382

d. 2,113,658

  • d. 2,113,658

Q. Communication using UDP is usually____________.

a. connectionless,iterative

b. connectionless,concurrent

c. connection-oriented,iterative

d. connection-oriented,concurrent

  • a. connectionless,iterative

Q. Communication using TCP is usually____________.

a. connectionless,iterative

b. connectionless,concurrent

c. connection-oriented,iterative

d. connection-oriented,concurrent

  • d. connection-oriented,concurrent

Q. SOCK_STREAM sockets are used by ______ processes.

a. UDP

b. TCP

c. SCTP

d. None of these

  • b. TCP

Q. SOCK_DGRAM sockets are used by ______ processes.

a. UDP

b. TCP

c. SCTP

d. None of these

  • a. UDP

Q. An interface is a set of ___________ designed to facilitate interaction between two entities

a. programs

b. instructions

c. rules

d. none of these

  • b. instructions

Q. How many types of sockets are there?

a. 2

b. 3

c. 4

d. 5

Q. If a signal is received by a process, when will it be processed?

a. It is processed immediately

b. It is processed when process is switching to kernel mode

c. It is processed in the next time slice given to the process

d. all

  • b. It is processed when process is switching to kernel mode

Q. Which signal is generated when we press control-C?

a. SIGINT

b. SIGTERM

c. SIGKILL

d. SIGSEGV

  • a. SIGINT

Q. Which signal is generated when we press ctrl-Z?

a. SIGKILL

b. SIGSTOP

c. SIGABRT

d. SIGINT

  • d. SIGINT
Subscribe Now

Get All Updates & News