Search Header Logo

System Admin Linux Ch 14 Quiz Review

Authored by Brett Kottmann

Computers

9th - 12th Grade

Used 3+ times

System Admin Linux Ch 14 Quiz Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 5 pts

What does the time command show? (Pick 3)

The time something took to execute in real time

The time spent in kernel mode

The time spent in user mode

The time spent in supervisor mode

Answer explanation

Media Image

2.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

When creating a bash script, it is important to document the purpose of the script. Which of the following is the correct syntax for a comment?

# comment

! comment

// comment

/* comment

Answer explanation

Comments begin with a hash tag (#). The shell ignores these lines when running the script. Comments help communicate how the script was constructed and what it is designed to do.

3.

DRAG AND DROP QUESTION

20 sec • 5 pts

A​ (a)   allows a user to interact with the computer through stdin (the keyboard) and stdout (the display screen).

shell
syslog
headset
TTY

Answer explanation

A shell (also referred to as an interactive shell) allows a user to interact with the computer through stdin (keyboard) and stdout (display).

It can be run interactively or as a batch file.

Shells are the primary command line interface (CLI) for Linux systems.

4.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

An interactive shell that doesn't require the user to enter a user ID and password.

Non-login shell

.bat file

cmd.exe

SSL

Answer explanation

Non-login shells do not require a userid or password.

They should only be used for non-priviliged tasks.

5.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

A bash construct in the form of ${} that substitutes the variables value for the name of a variable.

Variable expansion

Command substitution

Associative array

Special parameters

Answer explanation

Variables allow you to store values for later use.

Variable expansion allows for the use of those variable values in other commands.

6.

DROPDOWN QUESTION

20 sec • 5 pts

A(n) ​ (a)   is a bash variable that is inherited by child shells.​

environment variable
parameter
constant
positional array value

Answer explanation

Media Image

7.

DRAG AND DROP QUESTION

30 sec • 5 pts

Every Linux process is a ​ (a)   process and can have one or more ​ (b)   processes.

parent
child
remote
local
active

Answer explanation

Media Image

Every Linux process (executing code) is a child of the root process.

These processes are themselves parent processes to any process they spawn.

You can think of these processes as a tree, with each process being a branch (parent processes) that can fork off other branches (child processes).

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?