Tuesday, 2 December 2014

                  Systems Programming - Unix Quiz Question and Answers



Question 1: When you use the cp command in UNIX to copy a file, the file is not actually duplicated but only a new directory entry is generated to the same physical file. It is because of this that copying is sometimes called hard linking.
Select one:
True
False

Question 2: The command pwd is an acronym for Print Working Directory.
Select one:
True
False

Question 3
The who command only tells the name, type and login date and time of the current logged in user who is issuing this command.
Select one:
True
False

Question 4: The Linux Operating System consists of
Select one:
a. Only kernel
b. Utilities, drivers and libraries
c. Utilities and Libraries
d. shell, Kernel, Utilities, drivers and libraries 
e. Kernel, Utilities, drivers and libraries

Question 5: Which of the following is not a UNIX OS
Select one:
a. HP-UX
b. Ubuntu 
c. Sun Solairs
d. IBM AIX
e. Mac OS X

Question 6: When the command ls is types with option -li as
ls -li
the output will include
Select one:
a. Long file name with path
b. long format and inode number 
c. Show list in indexed order
d. None of the provided options
e. show values of large intergers

Question 7: Which of these is true about UNIX
Select one: 
a. Multiprocessing only
b. None of the given choices
c. Multiuser only
d. Mutlitasking only
e. All 3 of given choices 

Question 8: .profile file.  Which of these statements is not true about this file.
Select one:
a.The .profile file contains your individual profile that overrides the variables set in the /etc/profile file. 
b.The .profile file is never used to set exported environment variables and terminal modes. 
c. The .profile file is present in your home ($HOME) directory 
d. It lets you customize your individual working environment.
e. Because the .profile file is hidden, use the ls -a command to list it

Question 9: UNIX was originally developed  by a group of AT&T employees at Bell Labs in
Select one:
a. 1973
b. 1989
c. 1969 
d. 1979
e. Year 2K

Question 10: UNIX trademark is owned by
Select one:
a. Open Group 
b. Bell Labs
c. UNIX Corporation
d. IBM
e. AT&T


0 comments:

Post a Comment