
Sec. 5: The Command Line
Authored by Renato Biz Martins
Instructional Technology
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Linux users can skip the GUI when logging into the system locally via a text-mode console.
True
False
Answer explanation
True, some server-based distributions may not even have a GUI installed within them.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The default shell in most Linux distros is bash which stands for:
Born Again Shell
Beautiful Amazing Shell
Bourne Again Shell
Bash As Shell
Answer explanation
Bash is the default shell in most distributions. It stands for the Bourne Again Shell.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You can only run one instance of the shell.
True
False
Answer explanation
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct order of a computer’s operation: (1) The computer executes the command, (2) The computer waits for user input, (3) The user selects a command and enters it via the keyboard or mouse
3, 2, 1
2, 3, 1
1, 2, 3
1, 3, 2
Answer explanation
The correct order is to wait for user input, the user enters a command to the computer, and then the computer executes the command.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Two types of command parameters are:
Opinions and Debates
Options and Arguments
Opt-ins and Assessments
Open and Argumentative
Answer explanation
A command is split into an array of strings named arguments. Argument 0 is (normally) the command name, argument 1, the first element following the command, and so on. An option is a documented type of argument modifying the behavior of a command, e.g. -l commonly means "long", -v verbose.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Commands must follow certain rules known as:
Syntax
Synapse
Command Rules and Regulations
Command Execute
Answer explanation
The standard Linux command syntax is "command [options]" and then "<arguments>". The "command [options]" and "<arguments>" are separated by blank spaces. A Linux command is usually an executable program residing on the Linux disc. In our example, "ls" is the command name.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT correct when naming variables?
Variable names must start with a letter
Underscores are used instead of embedded spaces
Variable names must start with numbers
Punctuation marks are not allowed
Answer explanation
Variables do not have to start with numbers.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?