Unix - Filters and Commands

56:  

 The command pwd displays /x/y. After executing the command chmod u -x. which of the following commands will not work?

A.

pwd

B.

is

C.

chmod u+x

D.

All of the above

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



57:  

 A C program should be compiled with -g option (like cc -g x . c) to use

A.

proof

B.

make

C.

lprof

D.

sdb

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



58:  

The difference between a pipe and a regular file is that

A.

Unlike a regular file, pipe is not a file.

B.

The data in a pipe is transient. unlike the contents of a regular file

C.

Pipes forbid random accessing. while regular files do allow this

D.

Both (b) and (c)

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



59:  

Choose the correct statements.

A.

The default linking arrangement for cc is dynamic

B.

Dynamically linked programs save disk storage

C.

Dynamically linked programs enhances shareability of library routines

D.

All of these

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



60:  

 Context switch changes the process mode from

A.

user to kernel mode

B.

kernel to user mode

C.

kernel mode to the kernel process

D.

Both (a) and (b)

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here: