click below
click below
Normal Size Small Size show me how
Comp Sci Exam 1
Study Cards
Term | Definition |
---|---|
Computer | programmable machine designed to follow instructions. |
Program | instructions in computer memory to make it do something. |
Programmer | person who writes instructions (programs) to make computer perform a task. |
CPU | Central Processing Unit |
Main Memory | • It is volatile, and is erased when program terminates or computer is turned off. • Also called Random Access Memory (RAM) |
Hardware | Input Devices / Output Devices |
Secondary Memory | Long-Term Storage |
Bits Per Byte | 8 |
Software | Programs That Run on a Computer. |
System software | programs that manage the computer hardware and the programs that run on them. |
Application software | programs that provide services to the user. |
algorithm | a set of well-defined steps. |
Binary | 1's and 0's |
IDE | Integrated Development Environment |
Types of Languages | Low-level&High-level |
Key Words | Have a special meaning in C++. |
Identifiers | Names made up by the programmer |
Operators | Used to perform operations on data |
Syntax | The rules of grammar that must be followed when writing a program. |
Variables | a named storage location in the computer’s memory for holding a piece of data. |
Input | Gather input data: from keyboard, from files on disk drives. |
Processing | Process the input data. |
Output | Display the results as output: send it to the screen, write to a file. |
Procedural programming | Procedures/functions are written to process data |
Object-Oriented programming | focus is on objects, which contain data and the means to manipulate the data |
setting standard namespace | using namespace std; |
escape sequence | \n |
Integer | Whole number 0 or greater |
char | holds small characters or integers, usually 1 byte of memory |
floating point | number with decimal, stored in scientific notation |