Shared Flashcard Set

Details

CPE211 Test 1.
Test 1 Ch. 1-4
30
Computer Science
Undergraduate 2
01/30/2017

Additional Computer Science Flashcards

 


 

Cards

Term
Algorithm
Definition
A step by step procedure for solving a problem in a finite amount of time
Term
Machine Language
Definition
Low level...binary
Term
Assembly Language
Definition
High level using mnemonics
Term
Compiler
Definition
Converts Assembly to Machine
Term
Syntax
Definition
The formal rules governing how valid instructions are written in a programming language
Term
Semantics
Definition
The set of rules that determine the meaning of instructions written in a programming language
Term
Metalanguage
Definition
A language that is used to write the syntax rules for another language
Term
identifier
Definition
A name associated with data and is used to refer to that data
Term
variable
Definition
a location in memory referenced by an identifier, that contains a data value that can be changed
Term
declaration
Definition
a statement that associates an identifier with a data object, a function, or a data type so that the programmer can refer to that item by name
Term
Literal Value
Definition
Any constant value written in a program
Term
Named constant
Definition
A variable that cannot be manipulated
Term
assignment statement
Definition
A statement that stores the value of an expresison into a variable
Term
Expression
Definition
An arrangement of identifiers, literals, and operators that can e evaluated to compute a value of a given type
Term
file
Definition
a named area in secondary storage that is used to hold a collection of data; the collection of data itself
Term
Unary operator
Definition
an operator that has just one operand
Term
Binary operator
Definition
an operator that has two operands
Term
type coercion
Definition
the automatic (implicit) conversion of a value from one data type to another
Term
type casting
Definition
The explicit conversion of a value from one data type to another; also called type conversion
Term
function call
Definition
The mechanism that transfer control to a function
Term
argument list
Definition
a mechanism by which functions communicate with one another
Term
void function
Definition
a function that does not return a function vale to its caller
Term
value returning function
Definition
a function that returns a single value to its called and is invoked from within an expression
Term
Logical Operator
Definition
&& ^ ||
Term
(T/F) Does the compiler for c++ find logical errors
Definition
F
Term
Two ways to comment in c++
Definition
//, /*....*/
Term
logical operators
Definition
!-not &&-and ||-or
Term
string.length() .find("")
Definition
counts all characters and whitespaces
Term
string.substr(a,b)
Definition
a= starting place b=how many to count // counts white spaces
Term
how to declare a constant expression
Definition
const variabletype variable=thenumber
Supporting users have an ad free experience!