Professional Documents
Culture Documents
16.in unix, full path name originates from a) Your home directory b) The root directory c) Your working directory d) None of the above 17.suppose that the current directory is /home/user/xyz/prog a possible command to change to a directory /home/user/abc/letters is all files a) Cd ../../abc/letters b) Cd ././abc/letters c) Cd ./home/user/abc/letter d) None of the above 18.the chown command in unix changes the a) Home directory of a user b) Access permission of a file or directory c) Priority of a process d) None of the above 19.the chmod command in unix a) Changes the current execution status from user mode to kernel mode b) Makes the file hidden so that it cannot be seen using the ls command c) Changes the access permission of a file or directory d) None of the above 20.which of the following commands will give the user read,write,and execute access and other users no access to the file op.exe? a) Chmod 660 op.exe b) Chmod 600 op.exe c) Chmod 700 op.exe d) None of the above 21. Which unix command would append a file called test to the end of a file called output? a) Cat output>> test b) Append output >>test c) Write output>>test d) Cat test >> output 22.which out of the following commands would you use to change your password in unix system?
23.the default shell,which is to be used when a user logs in, is defined in the a) /etc/passwd file b) /etc/shell file c) Startup file in the user home directory d) None of the above 24.a write permission to a directory allows a user to a) Edit and create files located in the directory b) Edit but not create files located in the directory c) Search a directory for the presence of a file d) None of the above 25.the execute permission to a file allows a user to a) Execute the file b) Edit the file c) List the contents of the file d) None of the above 26.to see first 3 lines of a file,we give the command a) Tail +3 b) Tail 3 c) Head 3 d) Head +3 27.on changing the permission of a file,the following field is modified a) File access time b) Inode modification time c) File access time d) None of the above 28.write a single line answer,giving the differences between the two command of vi editor,in each case a) I and i b) O and o c) A and a d) W and w 29.the vi program available under unix can be used to a) Create plain ascii files b) Create formatted documents with different font sizes c) Open a virtual terminal
64) The kernel mode has 4 major components: a) System calls, file subsystem, hardware control, s/w components. b) System calls, File subsystem, process control subsystem, hardware control. c) All of the above. d) None of the above. 65) PVM (.) and MPI (..) are two common software packages that permits a ..collection of networked unix or Windows computers to be used as a single, large, parallel computer. a) Parallel virtual machine, Message passing interface, Heterogeneous. b) Post virtual machine, machine passing interface, Homogenous. c) Post varied machine, mode passed interface, indigenous. d) None of the above. 66) What are the four reasons due to which a new process terminates the existing process? a) Syntax error, Interrupt, Flip flop, Flag. b) Normal exit, Error exit, fatal exit, Killed by another process. c) Caching, Buffering, traffic generation, congestion d) All of the above. 67) Name the 5 states of 5state process model. a) New state, Terminated, Blocked, Running, ready. b) Old star, Busy, Wait, Running, Blocked c) New state, Busy, Ready, Blocked, Cached. d) None of the above. 68) For paging memory management, each process associated with a . . Each entry in the table contains the ..of the corresponding page in the.. space of the process. a) Virtual address, Page table, Frame. b) Permanent address, Frame number, page table. c) Page table, Frame number, Virtual address d) None of the above. 69) Segmentation is a method for both.and . It also eases the control of and.. a) Memory management, Virtual memory, Sharing, Protection. b) File management, Resource, Sharing, Protection. c) Both a) & b). d) None of the above.
10
11