01 Flashcards

1
Q

___________ convert source code into permanently into machine code, stored within executable files

A

compiler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

An ___________ is a scripting language processor converts source code into machine code and executes each line of code

A

interpreter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the file extensions for

Bash
Python
Powershell

A

.sh
.py
.ps1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A ___________ specifies the instructions to a computer is to perform using interpreted programming language

A

script’s source code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

___________ is the process of how a script executes

A

flow control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

____________ 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)

A

Sequential

Branching Structure

Repetition Structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

_________________ refers to computer actions that execute one line at a time

A

sequential action

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

___________ allows a script to choose which series of instructions to execute.

A

Branching

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

An IF structure is everything between the IF and ENDIF T/F?

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A __________ statement checks a boolean expression (condition) before it enters the code block of the loop

how do I end a loop?

A

while

endloop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The ____ statement is another useful reptation structure; often called a counting loop because it iterates through a sequence of numbers

A

for

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A ________ statement is another repetition structure for traversing items in a collection

A

foreach

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What two statements allow me to exit a loop early

_________ ____________________________________

_________ ____________________________________

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A _______________ is used for repeating over a list of objects

A

nested loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly