Sec. 5: The Command Line

Sec. 5: The Command Line

University

10 Qs

quiz-placeholder

Similar activities

Operational Procedure PTSS

Operational Procedure PTSS

University

15 Qs

POP QUIZ

POP QUIZ

University

6 Qs

Linux+ - Chapter 1

Linux+ - Chapter 1

University

9 Qs

Netschool Linux

Netschool Linux

University

15 Qs

LDAP Knowledge Quiz

LDAP Knowledge Quiz

University

11 Qs

Sec. 6: Directories and Files

Sec. 6: Directories and Files

University

10 Qs

Java Script Pro

Java Script Pro

3rd Grade - University

12 Qs

Software Development (review)

Software Development (review)

University

15 Qs

Sec. 5: The Command Line

Sec. 5: The Command Line

Assessment

Quiz

Instructional Technology

University

Hard

Created by

Renato Biz Martins

FREE Resource

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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?