Shared Flashcard Set

Details

C++ terminology
Description of all the commonly used terminology
16
Computer Science
Undergraduate 2
10/22/2012

Additional Computer Science Flashcards

 


 

Cards

Term
Function
Definition
a group of programming code that can do some work and return a
value
Term
int
Definition
indicates that the function will return an integer value
Term
Block
Definition
Code between two curly braces
Term
Body
Definition
The block of code that makes up
an entire function
Term
string
Definition
a series of printable characters
Term
string literal
Definition
literally the characters between the quotes
Ex: "Hello World!"
Term
statement
Definition
the basic unit controlling the execution flow and must end with a ;
Ex: cout << "Game Over!" << endl;
Term
expression
Definition
something that evaluates to a
single value
Ex: 7 + 3 evaluates to 10
Term
variable
Definition
a particular piece of your computer’s memory that has
been set aside for you to use to store, retrieve, and manipulate data
Term
type
Definition
represents the kind of information you
can store in a variable
Term
Fundamental types
Definition
those built into the language
Ex: bool for Boolean and int for intergers
Term
modifiers
Definition
used to alter type
Ex: short int,long int and double int
Term
signed
Definition
a variable can store both positive and negative values
Term
unsigned
Definition
a variable can store only positive
-only
changes the range of values. signed is the default for integer types.
Term
declare
Definition
request that something be created
Ex: int PLAYER_SCORE;
Term
nesting
Definition
when you write one if statement inside another
Supporting users have an ad free experience!