• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/140

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

140 Cards in this Set

  • Front
  • Back
Unstructured Programming
The most elementary method of programming in which any line of code may be executed if the logic dictates that action. It becomes unwieldy once the program grows in size and complexity.Pr
Procedural Programming
Provides a means to make a program modular by grouping statements that perform a specific task together.
Parameters
Allows a procedure to work with different data and be able to produce varied results.
Object-Oriented Programming (OOP)
A complex programming method, which uses the concept of objects and their interactions to design applications and computer programs.
Attributes
Characteristics of an object
Behaviors
Actions an object can perform
Object
An instance of a class
Class
Defines what actions an object can perform and what data it can store
Encapsulation
Conceals the functional details of a class from the user.
Inheritance
When a class possesses characteristics and behaviors from another class.
Polymorphism
Allows you to treat subclasses just like their parent class's members but achieve a different result.
Assembly Language
Known as a second generation, low level, earliest programming language. Is also closest to the native machine code used by CPU.
Assembler
The tool that converts assembly language to machine code so CPU can execute the instructions.
Small, fast
Assembled programs tend to be very _____________, and very ___________.
Knowledge, machine
Programmers require a detailed _________________ of how the CPU works since programs are __________________ dependent in an assembled program.
Source code
Assembled programs ________________ tend to be long and difficult to understand and follow.
Compiled Languages
A third generation high level programming language that is easier to learn and are not CPU specific.
Compiling
The process of taking compiler language statements and converting them to machine code
Executable
The result of either compiling or assembling the source code into a compiled or assembled program
Compilers
Many _____________ will catch programming errors and warn the programmer of actual or potential problems that could lead to incorrect results or a system crash.
Compiled
The speed at which a _____________ program executes on a computer is usually slower than the equivalent assembly language program.
Interpreted/scripting languages
Delays the intermediate step of assembling/compiling which is associated with assembly and compiler languages. Instead, user invokes a interpreter to translate the source code to machine language each time it is run. Considered a high level, third generation programming language.
Interpreter
The _____________ reads the source code statements, parses them, understands them, and executes the necessary machine instructions.
Interpreters
The _______________ are useful for small tasks where a compiled program would be overkill
Interpreters
___________________ execution is much slower compared to assembly and compiler programs.
Interpreters
_________________ require a source code on the computer.
Interpreters
_________________ are not suitable for large scale, complex tasks.
Interpreted Languages
________________________ rarely interact with specialized functions of hardware/software.
Just-In-Time (JIT) compilation
Blurs the lines between compiler languages and interpreted languages. Considered a high level, third generation programming language.
Java
Compiled to Java byte code and is interpreted by the Java Virtual Machine
Just In Time Compilation
Code can be recompiled at anytime including at execute time and can run on any platform for which a VM exists
Just In Time Compilation
Code can be recompiled at anytime including at execute time and can run on any platform for which a VM exists
Sequential Action
A linear progression of tasks.
Just In Time Compilation
Code can be recompiled at anytime including at execute time and can run on any platform for which a VM exists
Sequential Action
A linear progression of tasks.
Branches
A selection between different courses of action and use Boolean logic
Loops
A repetition structure that can potentially process the same sequence of statements multiple times. Use Boolean logic
Branches
Provides one or more paths of execution for the program to follow
Input/ output
Is used as a parallelogram in a flow chart and acquires data from a user or display data to a user.
Decision
Is used as a diamond for branches in a flow chart
Pseudocode
A tool that uses a structured, natural, language to abstract the technical details and programming syntax away from reader leaving a clear picture of the logical processes necessary to solve a problem.
Pseudocode
A tool that uses a structured, natural, language to abstract the technical details and programming syntax away from reader leaving a clear picture of the logical processes necessary to solve a problem.
For
Statements described as the Counting Loop.

g++
The C++ compiler that is used to compile C++ source code files

g++
The C++ compiler that is used to compile C++ source code files
Stages of Compilation
Pre processor
Compilation
Assembly
Linking
Pre processor
Combines multiple source code and include files into one logical file then performs other actions that are indicated by a # in the source code
Pre processor
Combines multiple source code and include files into one logical file then performs other actions that are indicated by a # in the source code
Compilation
Output from pre processor that is converted to assembly language
Pre processor
Combines multiple source code and include files into one logical file then performs other actions that are indicated by a # in the source code
Compilation
Output from pre processor that is converted to assembly language
Assembly
Object code (machine code) is generated from the output of the compilation stage
Pre processor
Combines multiple source code and include files into one logical file then performs other actions that are indicated by a # in the source code
Compilation
Output from pre processor that is converted to assembly language
Assembly
Object code (machine code) is generated from the output of the compilation stage
Linking
Takes object code and links together any third party libraries of pre written code producing an executable file.
Pre processor
Combines multiple source code and include files into one logical file then performs other actions that are indicated by a # in the source code
Compilation
Output from pre processor that is converted to assembly language
Assembly
Object code (machine code) is generated from the output of the compilation stage
Linking
Takes object code and links together any third party libraries of pre written code producing an executable file.
Iostream library
Include this library to do input and output functions
Parts of a program
Declarations
Input
Processing
Output
Parts of a program
Declarations
Input
Processing
Output
==
Comparison operator
Parts of a program
Declarations
Input
Processing
Output
==
Comparison operator
=
Assignment operator
Parts of a program
Declarations
Input
Processing
Output
==
Comparison operator
=
Assignment operator
&&
Logical AND
Parts of a program
Declarations
Input
Processing
Output
==
Comparison operator
=
Assignment operator
&&
Logical AND
||
Logical OR
!
Logical NOT
!
Logical NOT
Operators
Used in C++ to perform several different actions to include memory, logical, bit wise, and mathematic operations
!
Logical NOT
Operators
Used in C++ to perform several different actions to include memory, logical, bit wise, and mathematic operations
Single Line Comment
//
!
Logical NOT
Operators
Used in C++ to perform several different actions to include memory, logical, bit wise, and mathematic operations
Single Line Comment
//
Multiple Line Comment
/* start
*/ stop
String
A special object that holds a series of characters
Array
A concept that groups data of the same type in adjacent or contiguous memory locations.
Array
A concept that groups data of the same type in adjacent or contiguous memory locations.
Concentating
Process of joining two or more strings together.
\n
Represents a newline character similar to std::endl
\n
Represents a newline character similar to std::endl
\t
Represents a tan character
\n
Represents a newline character similar to std::endl
\t
Represents a tan character
+=
Increments
\n
Represents a newline character similar to std::endl
\t
Represents a tan character
+=
Increments
-=
Decrements
\n
Represents a newline character similar to std::endl
\t
Represents a tan character
+=
Increments
-=
Decrements
*=
Multiplies
/=
Divides
/=
Divides
++
Increments
/=
Divides
++
Increments
--
Decrements
Pointers
Handle large amounts of data; value is the address of a variable ; functionality prevents duplicates of data in memory resulting in a significant reduction in processing time
&
Means address of and returns the address in memory where the variable is stored.
&
Means address of and returns the address in memory where the variable is stored.
Stack
Memory used by non static local variables explicitly declared in a program.
&
Means address of and returns the address in memory where the variable is stored.
Stack
Memory used by non static local variables explicitly declared in a program.
Heap
Dynamically allocated memory
&
Means address of and returns the address in memory where the variable is stored.
Stack
Memory used by non static local variables explicitly declared in a program.
Heap
Dynamically allocated memory
Data
Holds global and static variables which exist throughout the life of the program
&
Means address of and returns the address in memory where the variable is stored.
Stack
Memory used by non static local variables explicitly declared in a program.
Heap
Dynamically allocated memory
Data
Holds global and static variables which exist throughout the life of the program
Text
Stores the Compiled code of the currently running program
&
Means address of and returns the address in memory where the variable is stored.
Stack
Memory used by non static local variables explicitly declared in a program.
Heap
Dynamically allocated memory
Data
Holds global and static variables which exist throughout the life of the program
Text
Stores the Compiled code of the currently running program
Stack
If they should ever meet, a ____________ or heap based buffer overflow will occur
&
Means address of and returns the address in memory where the variable is stored.
Stack
Memory used by non static local variables explicitly declared in a program.
Heap
Dynamically allocated memory
Data
Holds global and static variables which exist throughout the life of the program
Text
Stores the Compiled code of the currently running program
Stack
If they should ever meet, a ____________ or heap based buffer overflow will occur
Dynamic memory allocation
Contiguous blocks of memory from the heap