Intro to Scripting
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
j s
Used 9+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a shebang?
A line at the end of a bash file, signalling the end of a script
A line at the top of a script, signalling the interpreter the computer should use
It's another word for a command in the bash language.
It's the term for when you expand a bash variable with $variablename
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do you call the line at the top of a script that tells the computer what interpreter to use?
"command line"
"shell"
"shebang"
"modeline"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the first two characters in a shebang?
#!
??
!*
#*
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does cat do?
Prints one or more files to standard output
Makes a cat run across the screen
Runs binaries
Opens a file for editing
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What command lists contents in a directory?
ls
list
dir
cat
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if the shebang is omitted from a script?
The script will not run
The script will run with the default interpreter
The script will ask the user to specify an interpreter
The script will generate an error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is vi?
A text editor
A type of shell
A command to execute files
The command to change file permisisons
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
15 questions
Code.org Quiz2
Quiz
•
7th Grade - University
10 questions
YouCode Scratch Quiz
Quiz
•
KG - 12th Grade
10 questions
Asesmen Diagnostik CSS Layout Web
Quiz
•
11th Grade
10 questions
Drawing Tools in AutoCAD
Quiz
•
11th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
User Interface Aplikasi
Quiz
•
11th - 12th Grade
10 questions
Writer - II
Quiz
•
11th Grade
10 questions
Track Changes and Comments
Quiz
•
10th - 11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
