Software Engineering Mcqs

In which tcp_wrappers file can you specify to allow all connections from all hosts ?

(A) /etc/hosts.allow

(B) /etc/hosts.deny

(C) /etc/hosts

(D) /etc/tcp.conf

Submitted By: Ali Uppal


Submitted By: Ali Uppal


The command used to remove the directory is_______________?

(A) rmdir

(B) rd

(C) remove

(D) rdir

Submitted By: Ali Uppal


What command is used to count just the number of lines contained in a file ?

(A) wc – r

(B) wc – w

(C) wc – c

(D) wc – l

Submitted By: Ali Uppal


Which of the following commands is used to assign executable permission to the owner of the file named “note” ?

(A) chmod g+x note

(B) chmod u+w note

(C) chmod u+x note

(D) chmod ugo+x note

Submitted By: Ali Uppal


Submitted By: Ali Uppal


In OSI network architecture, the routing is performed by_______________?

(A) session layer

(B) transport layer

(C) data link layer

(D) network layer

Submitted By: Ali Uppal


Submitted By: Ali Uppal


Submitted By: Ali Uppal


What port does squid listen, by default ?

(A) 4322

(B) 2314

(C) 7334

(D) 3128

Submitted By: Ali Uppal