Sec. 5: The Command Line

Sec. 5: The Command Line

University

10 Qs

quiz-placeholder

Similar activities

Linux Temelleri-5

Linux Temelleri-5

University

8 Qs

Module 2 Lesson 2 Part 2 Assessment

Module 2 Lesson 2 Part 2 Assessment

University

10 Qs

IOT DAY 1

IOT DAY 1

University

10 Qs

CNS Transport layer

CNS Transport layer

University

15 Qs

Filsafat Pendidikan Plato

Filsafat Pendidikan Plato

University

10 Qs

TERMS OF DATABASE

TERMS OF DATABASE

4th Grade - University

10 Qs

Lesson 2 Quiz - Introduction to MS Word

Lesson 2 Quiz - Introduction to MS Word

University

15 Qs

Cybersecurity Quiz (NeoCyber Discord)

Cybersecurity Quiz (NeoCyber Discord)

9th Grade - University

12 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?

Discover more resources for Instructional Technology