5th Module Assessment (26 Marks) Unix Linux Programming (CSIT803) - Semester III
5th Module Assessment (26 Marks) Unix Linux Programming (CSIT803) - Semester III
Dashboard / My courses / Unix /Linux Programming (CSIT803)-Semester III / #Module 5: sed AND awk / 5th Module Assessment
Question 1
Select one:
a. sed
b. gnu
c. grep
d. tr
Clear my choice
Question 2
Which option do we use with the shutdown command to override the default waiting time?
Select one:
a. -s
b. -e
c. -g
d. -i
Clear my choice
https://amigo.amityonline.com/mod/quiz/attempt.php?attempt=587558&cmid=178058 1/9
9/15/23, 8:06 PM 5th Module Assessment
Question 3
To remove users from the system we use userdel. State whether it is True or False.
Select one:
a. True
b. False
c. Partially True
d. Partially False
Clear my choice
Question 4
Select one:
a. directory
b. file
c. name
d. None of these
Clear my choice
https://amigo.amityonline.com/mod/quiz/attempt.php?attempt=587558&cmid=178058 2/9
9/15/23, 8:06 PM 5th Module Assessment
Question 5
Whenever you mount or unmount a file system, the /etc/mnttab also known as _____ file is modified with the list of
currently mounted file systems.
Select one:
a. mont pointer
b. mount table
c. mount point
d. None of these
Clear my choice
Question 6
Select one:
a. sed options file(s)
b. sed options ‘action’
c. sed options ‘address action’ file(s)
d. sed ‘action’ file(s)
Clear my choice
https://amigo.amityonline.com/mod/quiz/attempt.php?attempt=587558&cmid=178058 3/9
9/15/23, 8:06 PM 5th Module Assessment
Question 7
Which of the following commands is used with sed for outputting as well as printing the selected lines?
Select one:
a. q
b. n
c. p
d. i
Clear my choice
Question 8
Select one:
a. shutdown -g2
b. shutdown -y -g0 -i6
c. shutdown -g2 -g0
d. shutdown -g2 i6
Clear my choice
https://amigo.amityonline.com/mod/quiz/attempt.php?attempt=587558&cmid=178058 4/9
9/15/23, 8:06 PM 5th Module Assessment
Question 9
Select one:
a. limit
b. flimit
c. ulimit
d. flim
Clear my choice
Question 10
Select one:
a. comm
b. cron
c. date
d. wall
Clear my choice
https://amigo.amityonline.com/mod/quiz/attempt.php?attempt=587558&cmid=178058 5/9
9/15/23, 8:06 PM 5th Module Assessment
Question 11
Select one:
a. uname –p
b. whereis
c. su
d. suspend
Clear my choice
Question 12
Select one:
a. a) sed
b. b) grep
c. c) perl
d. d) print
Clear my choice
https://amigo.amityonline.com/mod/quiz/attempt.php?attempt=587558&cmid=178058 6/9
9/15/23, 8:06 PM 5th Module Assessment
Question 13
Select one:
a. username
b. encrypted password
c. UID, GID
d. password
Clear my choice
Question 14
Which of these commands is used for quitting after selecting 3 lines from file emp.lst?
Select one:
a. a) sed -n 3 emp.lst
b. b) sed -i 1-3 emp.lst
c. c) sed ‘3q’ emp.lst
d. d) sed -n
Clear my choice
https://amigo.amityonline.com/mod/quiz/attempt.php?attempt=587558&cmid=178058 7/9
9/15/23, 8:06 PM 5th Module Assessment
Question 15
A default ______ file is created when you install a system depending on the selections you make when installing system
software.
Select one:
a. /etc/vtab
b. /etc/vfstab
c. /etc/sup
d. None of these
Clear my choice
Question 16
State whether it is True or False. Consider the following commands. $ sed -n ‘1,2p’ emp.lst, $ sed -n ‘3,$!p’ emp.lst. The
output of both commands will be the same.
Select one:
a. TRUE
b. FALSE
c. May be
d. Can't say
Clear my choice
https://amigo.amityonline.com/mod/quiz/attempt.php?attempt=587558&cmid=178058 8/9
9/15/23, 8:06 PM 5th Module Assessment
Question 17
Select one:
a. (A). df
b. (B). fd
c. (C). du
d. (D). sg
Clear my choice
Jump to...
https://amigo.amityonline.com/mod/quiz/attempt.php?attempt=587558&cmid=178058 9/9