Sec. 5: The Command Line

Sec. 5: The Command Line

University

10 Qs

quiz-placeholder

Similar activities

MS Word Quiz 1

MS Word Quiz 1

University

10 Qs

Creating tables in HTML

Creating tables in HTML

University

10 Qs

Basic Knife Cuts and Shapes

Basic Knife Cuts and Shapes

University

15 Qs

TLE2 M4 Understanding Storage Devices & Capacities

TLE2 M4 Understanding Storage Devices & Capacities

University

15 Qs

Komunikasi

Komunikasi

12th Grade - University

10 Qs

TA MODUL 13

TA MODUL 13

University

15 Qs

KMAP

KMAP

University

10 Qs

Flexible Manufacturing System (FMS)

Flexible Manufacturing System (FMS)

University

15 Qs

Sec. 5: The Command Line

Sec. 5: The Command Line

Assessment

Quiz

Instructional Technology

University

Practice Problem

Hard

Created by

Renato Biz Martins

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?