Shared Flashcard Set

Details

eecsMidterm1
asfg
21
Computer Science
Undergraduate 3
10/04/2010

Additional Computer Science Flashcards

 


 

Cards

Term
hardware
Definition
physical components of a computer
Term
software
Definition
programs
Term
program
Definition
specified pattern of instructions for a computer to perform
Term
run, execute,
invoke, launch
Definition

make the program go

 

Term

hardware term:

CPU

Definition
– Central Processing Unit
– Part of microprocessor (e.g., G4, Pentium, etc.)
– the "brain" of the computer
Term

hardware term:

ISA

Definition
– Instruction Set Architecture
– what specific instructions the CPU can perform
Term

hardware term:

Primary (Main) Memory

 

Definition
– RAM = Random Access Memory
– “fast” storage, “close” to CPU
– stores both an executing program and the data it works on (e.g., Microsoft Word +
a current English paper)
Term

hardware terms:

Secondary Memory

Definition
– slower storage, “outside” main unit
– hard disks
– “Tertiary”:  floppies, tapes etc.
Term
char
Definition

1 byte

-128 to 127

Term
int
Definition

4 bytes

-2147483468 to 2147483467

Term
The start of a program
Definition
#include using namespace std; int main ( void) { return 0; }
Term
remainder with integers
Definition
%
Term
to get the program to pause before it ends so you can see the window
Definition
cin.clear();
cin.ignore(255, '\n');
cin.get();
Term
to comment a whole block of lines
Definition
The /* and */ pair of symbols denotes a C-style multi-line comment. Everything in between the symbols is ignored.
Term
\n
Definition
new line
Term
\t
Definition
tab
Term
\b
Definition
backspace
Term
\r
Definition
carraige return
Term
\'
Definition
single quote
Term
\"
Definition
double quote
Term
\\
Definition
blackslash
Supporting users have an ad free experience!