Shared Flashcard Set

Details

C++ programming.
C++ from the basics to Arrays.
27
Computer Science
Undergraduate 2
12/06/2011

Additional Computer Science Flashcards

 


 

Cards

Term
algorithim 
Definition
an algorithim is a set of well defined sets for performing a task or solving a problem
Term
source code
Definition
statements written by the programmer in a text editor.
Term
object code 
Definition
translated machine  language instrcutions. Complied source code. 
Term
executable code
Definition
machine language instructions. 
Term
pre-compiler
Definition
searches for directives to process source code in specific way.
Term
linker 
Definition
combines object file with necesscary routines to turn object code into exe code
Term
syntax error 
Definition
illegal uses of language elements. 
Term
logic error
Definition
the program runs but it is not doing what the programmer wanted. run programs with different data to prove it works. 
Term
main memory
Definition
RAM, holds the intructions programs are using the data those programs are using. 
Term
secondary storage
Definition
memory that holds data for long periods of time. hard drive. 
Term
character
Definition
int data type that has a size of 1 byte. 
Term
data item
Definition
one or more characters
Term
record
Definition
one or more data items
Term
file 
Definition
one or more data records
Term
input 
Definition
information a pogram collects from the outside world
Term
output
Definition
information sent to the outside world 
Term
steps to create and run a program
Definition

source code

preprocessor

modified source code 

compiler

object code

linker

executable code

Term
global variable 
Definition
outside of all functions, not recommended. 
Term
global constant
Definition
cannot be changed by a local variable, it makes for less confusion in a program. 
Term
local variable 
Definition
 within the function, is destroyed when function ends. 
Term
&&
Definition
AND
Term
||
Definition
OR
Term
!
Definition
NOT
Term
while loop
Definition
repeats statement until the condition is true. 
Term
do...while loop
Definition
same as the while loop except that the loop will always run once even if the condition is true
Term
for loop
Definition
combines initialization, testing, and updating of a loop control varialbe in a single loop header. Count controlled loop. 
Supporting users have an ad free experience!