Sec. 8: Scripting Basics
Quiz
•
Instructional Technology
•
University
•
Practice Problem
•
Medium
Renato Biz Martins
Used 6+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A ________ lets you edit documents that are stored in plain-text format.
File editor
Text Editor
File viewer
Answer explanation
A text editor allows a user to edit documents in plain text. In the course, you learned how to use vi and nano.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Text files can include graphics, use multiple fonts, emphasize words by italicization,and other special forms of representation.
True
False
Answer explanation
Text files can only contain plain text represented by ASCII characters. A more complicated file type can contain fonts, bold, and italics.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A ______ is a program written in an interpreted language, typically associated with a shell or a compiled program.
Command
Textfile
Script
Answer explanation
A script is a simple text file that is executable. It contains a list of various commands that can be run within the shell.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Answer explanation
The most basic script is a file containing one or more commands.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
_________ is a placeholder for a value that will be determined when the script runs.
Variable
Script
Pipeline command
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this script, the display should be:
"Pinging ipaddress..."
"Checking to see if ipaddress is up.."
"Checking ipaddress..."
Answer explanation
The command echo will display the text to the screen. Since “Checking to see if $ip is up…” is used, the ip variable will be calculated in the second line of the script, and then displayed in the echo command.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
By convention, environment variable names are all uppercase.
True
False
Answer explanation
Environment variables should be written in all uppercase, like $CURRENT_PWD.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
APLICACIÓN DE RUBRICAS EN EL AULA (Calificación 1-5)
Quiz
•
University
10 questions
Modelo TPACK
Quiz
•
University
12 questions
Enseñar con tencologías- TRAMO I
Quiz
•
University
10 questions
Welcome to MA1022
Quiz
•
University
11 questions
Periféricos
Quiz
•
University
10 questions
Understanding the Basic Concepts in ICT
Quiz
•
University
13 questions
Reforzamiento de las TIC´s
Quiz
•
University
11 questions
Multimedia Interaktif
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Instructional Technology
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
