OSE Theory Revision 23 - Maintenance Scripting
Quiz by Christian Mo Zelin
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
- Q1
Which programming language utilizes scripts that are interpreted and executed line by line when the script is run?
C++
PowerShell
Java
C#
60s - Q2
A programmer is building a script in order to calculate the corporate bank account balance within two decimal places. Which data type would be used in the script to represent the balance?
float
char
Bool
int
60s - Q3
A programmer uses an operator to compare two variable values within a program. The variable A is assigned a value of 5 and the valuable B is assigned a value of 7. Which condition test syntax would have provided the result of "true"?
A > B
A != B
A >= B
A == B
60s - Q4
Which two programming languages require the program to be converted into executable code using a compiler? (Choose two.)
Users sort answers between categoriesSorting60s - Q5
A programmer used an operator to compare values within a program and the resulting logical data type was “false”. Which test condition would have provided the result of “false”?
8 != 8
6<=6
4 >= 1
3 == 3
60s - Q6
What is the definition of a script file?
A file that is compiled and translated into machine language before executing.
A simple file with a single statement that loops repeatedly.
A file that is the output of a conditional statement.
A simple text file used to automate processes and tasks.
60s - Q7
What service does PRINT$ provide?
It provides an administrative Printer share accessible by all local user accounts.
It provides printer drivers for printer administrators.
It provides a group of hidden printers that only administrative users have permissions to send print jobs to.
It provides a network share for accessing shared printers.
60s - Q8
Match the individual languages with their corresponding classification
Users sort answers between categoriesSorting60s - Q9
What is the difference between a scripting language and a compiled language?
Compiled languages are executed by a command interpreter, while scripting languages are executed by the CPU.
Scripting languages need to be converted into executable code using a compiler, while compiled languages are interpreted as they are executed.
Scripting languages are interpreted and executed line by line when a script is run, while compiled languages need to be converted into executable code.
Compiled languages are executed by the operating system, while scripting languages are executed by the CPU.
60s - Q10
Match the scripting language with the script file name extension.
Users sort answers between categoriesSorting60s