WorksheetsSec. 8: Scripting Basics
Total questions: 10
Worksheet time: 5mins
A ________ lets you edit documents that are stored in plain-text format.
File editor
Text Editor
File viewer
Text files can include graphics, use multiple fonts, emphasize words by italicization,and other special forms of representation.
True
False
A ______ is a program written in an interpreted language, typically associated with a shell or a compiled program.
Command
Textfile
Script
One of the most basic features of shell scripts is
the ability to compile programs
the ability to run commands
to ask for user input
_________ is a placeholder for a value that will be determined when the script runs.
Variable
Script
Pipeline command
In this script, the display should be:
"Pinging ipaddress..."
"Checking to see if ipaddress is up.."
"Checking ipaddress..."
By convention, environment variable names are all uppercase.
True
False
_________________ enables a script to perform one of several actions relying on a particular condition or value of a variable.
Delimiter
Variables
Conditional Expression
Loops tell the script to perform the same task repeatedly until it executes the program in a specified number of times.
True
False
The way to code a script to end is by setting a return value or ___________.
For loop
Exit value
Conditional expression
