program
A sequence of computer language statements that have been crafted to do something
Input
Ways a program gets its data; user input through the keyboard, mouse, or other device.
Processing
Takes the data inputs and prompts and calculates the results (output).
Output
The results at the end of a program based on user input and system processing.
The ________ is the “grammar” rules of the programming language. Each programming language (like Python) has its own
Syntax
A ________ scans an entire program and attempts to convert the whole program at once to machine code.
Compiler
Also known as machine language. The computer uses binary (0s and 1s) to perform tasks. At a high level, the programming language code that you write gets translated or compiled to the machine code that the computer understands.
Machine Code
An intermediary step for code conversion between the programming language that you write and the machine code that a computer uses.
Bytecode
An __________ takes the bytecode one line at a time and converts it to machine code.
Interpreter
Virtual Machine
A software program that behaves like a completely separate computer within an application.
what are the steps for the development life cycle?
Which set of operations represents the correct order of a typical computer program?
a.) Output-Process-Input
b.) Input-Process-Output
c.) Input-Output-Process
d.) Process-Input-Output
b.) Input-Process-Output
c.) Syntax
d.) Algorithm
Variable
A named memory location that has the ability to hold various distinct values at different points in time in the program.
Concatenate
combine words or numbers
Pseudocode
English-like statements that describe the steps in a program or algorithm.
String
A data type that can store a literal string as a value.
Literal String
A series of characters that are combined together and enclosed in quotes; for example, “Enter in the second number” is a literal string.
a.) Pseudocode
b.) determine the purpose of the program
a.) Logic
Algorithm
A logical step-by-step plan that we need to build for solving a problem.
Comments
The “#” (hashtag) is used in Python code to identify a comment. Commented lines of code are ignored by the compiler during run time. A programmer adds comments throughout the code to explain how the program or function works.