ADV PROG DAY 1 Flashcards

1
Q

convert source code permanently into machine code stored within executable binary files.

A

compiled languages

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

convert source code into machine code on the fly by another program called an interpreter. They are
easier to learn and coding is faster

A

scripting languages

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

Is a scripting language processor that converts source code into machine code and executes each line of code. It reads one line of code, parses and understands the code, converts it into machine code, and then executes the line of code.

A

interpreter

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

Windows PowerShell shell script

A

.ps1

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

Python source file

A

.py

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

UNIX Bash source file

A

.sh

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

it uses a structured, natural language (e.g., plain English) to leave a clear picture of the logical processes necessary to solve a problem.

A

Pseudocode

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

The proces of how a script executes.

A

Flow Control

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

A linear progression of tasks such as input, output, and computation. Computer instructions that execute one at a time, in a written order, from beginning to end.

A

Sequential Action

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

A selection between different courses of action.

A

Branching Structure

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

A repetition structure to process the same sequence of statements (code block) multiple times.

A

Repetition Structure

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

the grouping of code which, when executed, performs a task.

A

code block

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

Terminate the current loop and immediately continue with the next statement after the loop body. Any code within the current loop, after the break statement, is skipped and ignored.

A

break

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

Terminate the current loop iteration and immediately execute the next iteration of the loop without completing the current iteration.

A

continue

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

used for repeating over a list of objects. A loop within a loop.

A

nested loop

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