click below
click below
Normal Size Small Size show me how
Ch 1 CompSci
| Term | Definition |
|---|---|
| computer | any type of device that stores and processes data |
| problem solving | the process of formulating a problem, finding a solution, and expressing the solution |
| hardware | the electronic and mechanical components of a computer, such as CPUs, RAM, and hard disks |
| processor | a computer chip that performs simple instructions like basic arithmetic and logic memory |
| program | a sequence of instructions that specifies how to perform tasks on a computer, also known as software |
| programming | the application of problem solving to creating executable computer programs |
| statement | part of a program that specifies one step of an algorithm |
| print statement | a statement that causes output to be displayed on the screen |
| method | a named sequence of statements |
| class | a collection of related methods |
| comment | a part of a program that contains information about the program but has no effect when the program runs |
| high-level language | a programming language designed to be easy for humans to read and write |
| portable | the ability of a program to run on more than one kind of computer |
| interpret | to run a program in a high-level language by translating it one line at a time and immediately executing the corresponding instructions |
| compile | to translate a program in a high-level language into a low-level language, all at once, in preparation for later execution |
| source code | a program in a high-level language, before being compiled |
| object code | the output of the compiler, after translating the program |
| executable | another name for object code that is ready to run on specific hardware |
| virtual machine | an emulation of a real machine, the JVM enables a computer to run Java programs |
| byte code | a special kind of object code used for Java programs, similar to object code, but it is portable like a high-level language |
| string | a sequence of characters; the primary data type for text |
| newline | a special character signifying the end of a line of text, also known as line ending, end of line (EOL), or line break |
| escape sequence | a sequence of code that represents a special character when used inside a string |
| algorithm | a procedure or formula for solving a problem, with or without a computer |
| computer science | the scientific and practical approach to computation and its applications |
| bug | an error in a program |
| debugging | the process of finding and removing errors |
| input | get data from the keyboard, a file, a sensor, or some other device |
| output | display data on the screen, or send data to a file or other device |
| math | perform basic mathematical operations like addition and division |
| secision | check for certain conditions and execute the appropriate code |
| repetition | perform an action repeatedly, usually with some variation |
| low-level language | a programming language that is designed to be easy for a computer to run, also called machine language |