CC123

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Underlying philosophy of c++

"the language is incharge, not the programmer"

Inheritance

(superclass and subclass)

gave birth to structured programming

1960's

many projects were near at this point

1970's

The name was change to C++ Stroustrup in what year?

1983

assign values to variables

Assignment Operators

found C++ in 1979

Bjarne Starstroupe

Who invented C++?

Bjarne Stroustrup

declared true or false

Boolean

top to bottom programming approach structured design input/output based on library

C

found by Dennis Ritchie in 1970

C programming

original name of c++

C with classes

Difference of Called by Value and Called by Reference

Called by value cannot change and Called by reference can change

single letter

Character (char)

Diamond

Decision making

Decrement

Decreases the value of a variable?

programming mechanism that binds together code and the data in manipulate

Encapsulation

Three types of Loop

For Loop, While Loop, Do While Loop

Which type of programming language use natural language?

High Level Programming

It increases the value of a variable?

Increment

oval (terminal block)

It is a symbol that represents the beginning or end of a program?

it returns true if both statment is true

Logical And (&&)

returns false if the statement is true

Logical Not (!)

it returns true if one statement is true

Logical Or (||)

Return the division remainder

Modulus (%)

It was the impetus for the creation of c++

OOP

OOP

Object Oriented Programming

Rectangle

Process

Loop

Repeat a block of codes

While Loop

Repeating a block of statements while a given a condition is true

main function ( main () )

Starting point of all c++ program

What is an array in programming?

a collection of variables referred to by a common name

Two types of parameter

actual and formal

nested if

an if statement that is the target of another if or else

when calling a function by parameters, what we have passed to the function were copies of their values

arguments passed by value

collection of variables of the same type

array

special type of a two dimensional array

array of strings

an immediate exit from a loop

break

C++

built upon the foundation of C superset of C history of C++ starts with C

programming language that serve as the foundation of c++

c

used to hold a character stringterm-33

character array

What is pseudocode?

combining natural language and programming language

reason why c++ was invented

complexity

force an early iteration of a loop

continue

character output displays whatever is between the << brackets

cout

performed when no matches are found

default

What does the cout object in c++ do?

display output on the console

check its condition at the bottom of the loop

do while loop

What are syntax error?

error caused by misspelled commands or incorrect syntax

Arrow

flow

repeating a single statement, repeating a block

for loop

first widely used computer language a language that encourages clear, easy to understand programs

fortran

group of statements that is executed when it is caused from some point of the program

functions

unconditional jump statement

goto

jump statements

include break, continue, return, and go to

Predefined Process

indicates the use of algorithm specified outside the program

an assignment statement that sets the initial value of the loop

initialization

specifier indicated the compiler that inline substitution is preferred

inline

String

it is used to store a sequence of characters

Parameter

it refers to the value that are decleared inside the parenthesis

include the for, while and do while loops

iteration statements

return

keyword tells the program to return a value to the function int main

What does binding refers to in programming?

linking a procedure call to the code to be executed

identifier by which it will be possible to call the function

name

list of related variables

one dimensional array

as many as needed

parameters

an effective way to allow a function to return more than one value

passing by references

from greek word meaning "many forms" quality that allows one interface to access general class of actions

polymorphism

inheritance

process by which one object can acquire the properties of another

C

produced oriented programming, has not inheritance

switch statement

provides for a multiway branch enables a program to select among several alternatives

property that functions have to be called by themselvesterm-47

recursivity

What does the return keyword do in c++?

returns a value from a function

include the if and the switch

selection statements

number of elements the array can hold

size

What is the purpose of single bracket in c++?

start and end of a block of code

function's body

statements

variables that can store non numerical values that are longer than one single character can also perform another basic operations

strings

What is polymorphism in programming?

the ability to access a general class of action

What is encapsulation in c++?

the mechanism that binds together code and data

Parallelogram

this represents the data of user input or output

What is the purpose of iostream file?

to display and get user input

What was the goal of bjarne stroustroupe to create c++?

to enhace the existing c language

What is the purpose of a compiler?

translate high level language to low level language

list of one dimensional array

two dimensional array

declares the base type of the array

type

is the data type specifier of the data

type

"Around its code" means...

what is happening

statement may be a single statement or a block of statements

while loop

"Around its data" means...

who is being affected

start of a block of code

{

signifies the end

}


Ensembles d'études connexes

American Imperialism Assignment and Quiz

View Set

Chapter 3: Managing Marketing Information

View Set

Unordered Data Structures, Ordered Data Structures, Objected-Oriented Data Structures in C++

View Set

ATI Final Test Practice Questions

View Set

Managerial Accounting Exam 1 Ch 13

View Set

Achieve 3000: Know Your Personal Assistant

View Set