System Admin Linux Ch 14 Quiz Review

System Admin Linux Ch 14 Quiz Review

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Linux User Management

Linux User Management

10th Grade - University

20 Qs

Week #7 - Time Machine

Week #7 - Time Machine

8th Grade - University

17 Qs

Creative Coding Review

Creative Coding Review

8th - 12th Grade

20 Qs

1.2.3 - Introduction to programming

1.2.3 - Introduction to programming

3rd - 9th Grade

15 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

Unit 2 Programming Quiz

Unit 2 Programming Quiz

9th - 12th Grade

20 Qs

Understanding Python Functions

Understanding Python Functions

11th Grade

15 Qs

Subroutines

Subroutines

9th - 11th Grade

16 Qs

System Admin Linux Ch 14 Quiz Review

System Admin Linux Ch 14 Quiz Review

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Brett Kottmann

Used 3+ times

FREE Resource

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).

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?