NOS 120 MIDTERM REVIEW QUESTIONS WITH
VERIFIED ACCURATE ANSWERS
Which term describes the visual cue that indicates an interactive shell is waiting for the
user to type a command?
Prompt
Argument
Command
Option - Answers -Prompt
Which term describes the part of the command line that specifies the target that the
command should operate on?
Argument
Command
Option
Prompt - Answers -Argument
Which term describes the part of the command line that adjusts the behavior of a
command?
Argument
Command
Option
Prompt - Answers -Option
Which term describes the name of a program to run?
Argument
Command
Option
Prompt - Answers -command
Which term describes the interpreter that executes commands typed as strings?
Command
Console
Shell
Terminal - Answers -shell
Which term describes the hardware display and keyboard used to interact with a
system?
Physical Console
Virtual Console
Shell
Terminal - Answers -physical console
, Which term describes one of multiple logical consoles that can each support an
independent login session?
Physical Console
Virtual Console
Shell
Terminal - Answers -virtual console
Which term describes an interface that provides a display for output and a keyboard for
input to a shell session?
Console
Virtual Console
Shell
Terminal - Answers -terminal
Which pattern will match only filenames where the first character is not "b"?
b*
*b
*b*
[!b]* - Answers -[!b]*
Which pattern will match only filenames that contain a number?
*#*
*[[:digit:]]*
*[digit]*
[0-9] - Answers -*[[:digit:]]*
Which pattern will match only filenames that begin with an uppercase letter?
^?*
^*
[upper]*
[[:upper:]]*
[[CAP]]* - Answers -[[:upper:]]*
Which pattern will match only filenames ending with "b"?
b*
*b
*b*
[!b]* - Answers -*b
Which pattern will match only filenames beginning with "b"?
b*
*b
*b*
[!b]* - Answers -b*
VERIFIED ACCURATE ANSWERS
Which term describes the visual cue that indicates an interactive shell is waiting for the
user to type a command?
Prompt
Argument
Command
Option - Answers -Prompt
Which term describes the part of the command line that specifies the target that the
command should operate on?
Argument
Command
Option
Prompt - Answers -Argument
Which term describes the part of the command line that adjusts the behavior of a
command?
Argument
Command
Option
Prompt - Answers -Option
Which term describes the name of a program to run?
Argument
Command
Option
Prompt - Answers -command
Which term describes the interpreter that executes commands typed as strings?
Command
Console
Shell
Terminal - Answers -shell
Which term describes the hardware display and keyboard used to interact with a
system?
Physical Console
Virtual Console
Shell
Terminal - Answers -physical console
, Which term describes one of multiple logical consoles that can each support an
independent login session?
Physical Console
Virtual Console
Shell
Terminal - Answers -virtual console
Which term describes an interface that provides a display for output and a keyboard for
input to a shell session?
Console
Virtual Console
Shell
Terminal - Answers -terminal
Which pattern will match only filenames where the first character is not "b"?
b*
*b
*b*
[!b]* - Answers -[!b]*
Which pattern will match only filenames that contain a number?
*#*
*[[:digit:]]*
*[digit]*
[0-9] - Answers -*[[:digit:]]*
Which pattern will match only filenames that begin with an uppercase letter?
^?*
^*
[upper]*
[[:upper:]]*
[[CAP]]* - Answers -[[:upper:]]*
Which pattern will match only filenames ending with "b"?
b*
*b
*b*
[!b]* - Answers -*b
Which pattern will match only filenames beginning with "b"?
b*
*b
*b*
[!b]* - Answers -b*