ADV PROG DAY 1 Flashcards
convert source code permanently into machine code stored within executable binary files.
compiled languages
convert source code into machine code on the fly by another program called an interpreter. They are
easier to learn and coding is faster
scripting languages
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.
interpreter
Windows PowerShell shell script
.ps1
Python source file
.py
UNIX Bash source file
.sh
it uses a structured, natural language (e.g., plain English) to leave a clear picture of the logical processes necessary to solve a problem.
Pseudocode
The proces of how a script executes.
Flow Control
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.
Sequential Action
A selection between different courses of action.
Branching Structure
A repetition structure to process the same sequence of statements (code block) multiple times.
Repetition Structure
the grouping of code which, when executed, performs a task.
code block
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.
break
Terminate the current loop iteration and immediately execute the next iteration of the loop without completing the current iteration.
continue
used for repeating over a list of objects. A loop within a loop.
nested loop