click below
click below
Normal Size Small Size show me how
CS 101 CHPT 01
The Way of the Program
| Question | Answer |
|---|---|
| The process of formulating a problem, finding a solution, and expressing the solution. | Problem Solving |
| A language like Python that is designed to be easy for humans to read and write. | High-Level Language |
| A language that is designed to be easy for a computer to execute; also called “Machine Language” or “Assembly Language.” | Low-Level Language |
| A property of a program that can run on more than one kind of computer. | Portability |
| To execute a program in a High-Level Language by translating it one line at a time. | Interpret |
| To translate a program from High-Level to Low-Level Language all at once, in preparation for later execution. | Compile |
| A program in a High-Level Language before being compiled is this kind of code. | Source Code |
| The output of the compiler after it translates the program is called. | Object Code |
| Another name for object code that is ready to be executed. | Executable |
| A program stored in a file (usually one that will be interpreted.) | Script |
| A set of instructions that specifies a computation. | Program |
| A general process for solving a category of problems. | Algorithm |
| An error in a program. | Bug |
| The process of finding and removing any of the three kinds of programming errors. | Debugging |
| The structure of a program, and the rules about that structure is called its? | Syntax |
| An error in a program that makes it impossible to parse (and therefore impossible to interpret.) | Syntax Error |
| An error that does not occur until the program has started to execute but that prevents the program from continuing. | Runtime Error |
| Another name for a runtime error. | Exception |
| An error in a program that makes it do something other than what the programmer intended. | Semantic Error |
| The meaning of a program. | Semantics |
| Any one of the languages that people speak that evolved naturally. | Natural Language |
| Any one of the languages that people have designed for specific purposes. | Formal Language |
| One of the basic elements of a language. | Token |
| To examine a program and analyze the syntactic structure. | Parse |
| An instruction that causes the Python interpreter to display a value on the screen. | Print Statement |
| Common High-Level Languages are? | C, C++, Perl, Java, and Python |
| Machine Languages and Assembly Languages are also know as? | Low-Level Languages |
| Several basic instructions that appear in every language are: | Input, Output, Math, Conditional Execution, and Repetition |
| Getting data from a keyboard, a file, or some other device are types of? | Input |
| Displaying data on the screen or sending data to a file is a type of? | Output |
| Performing basic operations such as addition and multiplication is a type of? | Math |
| Checking for certain conditions and appropriating sequences of statements is this kind of execution: | Conditional Execution |
| Performing the same action, some times with variation is called: | Repetition |
| What are the three type of errors that can occur? | Syntax, Runtime, and Semantic |