01 Flashcards
___________ convert source code into permanently into machine code, stored within executable files
compiler
An ___________ is a scripting language processor converts source code into machine code and executes each line of code
interpreter
What are the file extensions for
Bash
Python
Powershell
.sh
.py
.ps1
A ___________ specifies the instructions to a computer is to perform using interpreted programming language
script’s source code
___________ is the process of how a script executes
flow control
____________ a linear progression of tasks such as input, output, and computation
____________ Selection between different courses of action
____________ A repetition structure to process the same sequence of statements (code block)
Sequential
Branching Structure
Repetition Structure
_________________ refers to computer actions that execute one line at a time
sequential action
___________ allows a script to choose which series of instructions to execute.
Branching
An IF structure is everything between the IF and ENDIF T/F?
T
A __________ statement checks a boolean expression (condition) before it enters the code block of the loop
how do I end a loop?
while
endloop
The ____ statement is another useful reptation structure; often called a counting loop because it iterates through a sequence of numbers
for
A ________ statement is another repetition structure for traversing items in a collection
foreach
What two statements allow me to exit a loop early
_________ ____________________________________
_________ ____________________________________
break: allows me too exit a loop completely and continue on the next line of code. any code after the break is ignored
continue: prematurely exits the current iteration of the loop and executes the next iteration
A _______________ is used for repeating over a list of objects
nested loop