Professional Documents
Culture Documents
Unit 1 Objective Questions
Unit 1 Objective Questions
1) What is Unix?
a) C++
b) C
c) JAVA
d) Python
a) multiuser
b) easy to use
c) multitasking
d) portability
a) word
b) notepad++
c) vi
d) notepad
a) System Calls
b) Graphical user interface
c) Kernel and Shell
d) Commands and utilities
7) Which part of the Unix operating system interacts with the hardware?
a) Application program
b) Vi editor
c) Shell
d) Kernel
a) list
b) ls
c) wc
d) ps
9) Which command is used by the user to change their login password in Unix?
a) cp
b) man
c) reset
d) passwd
10) Which command is used for displaying the contents of a file in Unix?
a) mkdir
b) cat
c) rm
d) cp
13) Shell is a command interpreter used for interacting with a UNIX system.
a) True
b) False
a) Shell
b) Kernel
c) Operating system
d) Commands
a) Shell
b) Kernel
c) Operating system
d) Commands
16) ____________ is the name given to the file when it is executed as a program.
a) Process
b) Command
c) Shell
d) Kernel
17) ____________ command shows the date and time in the form used on the internet.
a) date
b) time
c) dat
d) delete
18) __________ command is used to see the calender of any specific month or a complete year.
a) calendar
b) cal
c) calend
d) calen
19) __________ command displays a list of users who are currently logged into the computer.
a) date
b) who
c) cal
d) ls
a) tty
b) stty
c) ty
d) sy
21) __________ command tells the filename of the terminal user is using.
a) tty
b) stty
c) ty
d) sy
a) tput
b) ls
c) who
d) cat
a) cat
b) vi
c) ed
d) ls
25) Which of the following commands is used to display the filenames in multiple columns.
a) ls
b) ls –l
c) ls –x
d) lc
a) scripting, interpreter
b) high level, low level
c) interactive, responsive
d) interpreter, executing
a) vi
b) emacs
c) ex
d) ed
28) Which process is immediately set up by the kernel when we log on to a Unix system?
a) System
b) bash
c) shell
d) parent
a) appending files
b) deleting files
c) creating files
d) displaying files
a) X Window system
b) LINUX
c) Red Hat
d) DOS
31) Two UNIX systems may or may not use the same set of system calls.
a) True
b) False
32) Shell is a command interpreter used for interacting with a UNIX system.
a) True
b) False
33) Apart from displaying file contents, cat command is also used for _____ files.
a) displaying
b) deleting
c) copying
d) creating
a) True
b) False
35) Which symbol is used with cat command for creating files?
a) >
b) <
c) *
d) /
36) If we create a file using cat command with the same filename which already exists in the
current directory then,
a) >
b) <
c) >>
d) $
38) Which option is used with cat command for displaying non-printable characters?
a) -v
b) -n
c) -x
d) -a
39) Which option is used with the cat command for displaying file with line numbers?
a) -n
b) -v
c) -a
d) -x
a) cat file01
b) cat > file01
c) cat >> file1
d) cat -a file01
41) Which command is used for extracting the details of the operating system?
a) cd
b) echo
c) uname
d) wc
a) \n
b) \t
c) \v
d) \d
a) ls
b) printf
c) wc
d) ps
46) Which option is used with ls command for long listing of files with seven attributes?
a) -a
b) -l
c) -x
d) -i
a) -a
b) -ld
c) -d
d) -o
49) Which option is used with ls command to produce multi columnar output?
a) -x
b) -F
c) -a
d) -v
51) How can we identify executables and directories from the output of ls command?
a) using -F option
b) using -x option
c) using -a option
d) using -i option
a) Kernel
b) System Calls
c) Process
d) Commands
a) True
b) False
57) Which command is used for displaying date and calendar in UNIX.
58) Which command is used for displaying date in the format dd/mm/yyyy ?
a) date +%m
b) date +%h
c) date +”%d%m%y”
a) True
b) False
61) Which option is used along with uname command for finding the version of the operating
system.
a) -r
b) -a
c) -b
d) -n
62) Which option is used along with uname command for displaying host name.
a) -r
b) -a
c) -b
d) -n