Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Sec. 8: Scripting Basics

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

A ________ lets you edit documents that are stored in plain-text format.

a)

File editor

b)

Text Editor

c)

File viewer

2.

Text files can include graphics, use multiple fonts, emphasize words by italicization,and other special forms of representation.

a)

True

b)

False

3.

A ______ is a program written in an interpreted language, typically associated with a shell or a compiled program.

a)

Command

b)

Textfile

c)

Script

4.

One of the most basic features of shell scripts is

a)

the ability to compile programs

b)

the ability to run commands

c)

to ask for user input

5.

_________ is a placeholder for a value that will be determined when the script runs.

a)

Variable

b)

Script

c)

Pipeline command

6.

In this script, the display should be:

a)

"Pinging ipaddress..."

b)

"Checking to see if ipaddress is up.."

c)

"Checking ipaddress..."

7.

By convention, environment variable names are all uppercase.

a)

True

b)

False

8.

_________________ enables a script to perform one of several actions relying on a particular condition or value of a variable.

a)

Delimiter

b)

Variables

c)

Conditional Expression

9.

Loops tell the script to perform the same task repeatedly until it executes the program in a specified number of times.

a)

True

b)

False

10.

The way to code a script to end is by setting a return value or ___________.

a)

For loop

b)

Exit value

c)

Conditional expression