C++ Flashcards

(32 cards)

1
Q

Literal

A

A literal is a piece of data that is written directly into a program’s code.(constant values that are assigned to the variables)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Variable

A

A variable is a storage location in the computer’s memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Cout

A

It is standart output object(stream output operator)A useful component for printing literals.When double quotation marks enclosed together it displays.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Identifier

A

An identifier is a programmer-defined name that identifies an element of a program,such as a variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Key Words

A

The keyworda make up the core of the language and have a specific purpose(const,int,double,auto,cin,true,continue)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Data Types

A

numeric values-character

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Char

A

The char data type is used to store the individual characters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Mantissa

A

The part of the number before the E

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

bool data type

A

Represent values that are true or false.Bool variables are stored as small integers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

auto

A

Auto is a keyword tell the compiler to determine the variable’s data type from the initialization value.The compiler automatically determines the data type of the variable.auot is a type specifier.It enables type deduction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Scope

A

The scope of a variable is the part of the program in which the variable can be accessed.A variable cannot be used before it is defined.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

cin

A

cin is the standart input object.It is used to read input from the keyboard.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

> >

A

It is called stream extraction operator,which extracts information from the input stream so it can be used in the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

input buffer(keyboard buffer)

A

When the user is enters characters from

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Type Coercion

A

When C++ working with an operator it strives to convert the operands to the same type.This aoutomatic conversion is known as type coercion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Promotion

A

When a value is converted to a higher data type, it is said to be promoted

17
Q

Demotion

A

When a value is converted to a lower data type,it is said to be demoted

18
Q

Overflow

A

When a variable is assigned a value that is too large for its data type,IT OVERFLOWS(Değişken maksimum sınırına ulaştığında bir birim daha eklerseniz minimum değerine döner.)

19
Q

Underflows

A

When a variable is assigned a value that is too small for its data type,IT UNDERFLOWS(Değişken minimum sınırındayken bir birim çıkarırsak maximum değerine sıçrar)

20
Q

Type Casting

A

Type casting allows you to perform manual data type conversion

21
Q

combined assignment operators
compound operators
arithmetic assignment operators

A

Combine dassignment operators are designed specifically for changing the value of a variable without having to type the variable name twice

22
Q

fixed-point notation

A

notation in which a floating-point number is displayed with a fixed number of digits after the decimal point

23
Q

random engine

A

It is an object that generates a random sequence of bits

24
Q

Hand Tracing

A

Hand Tracing is a debugging process where you pretend that you are the computer executing a program

25
Relational Operators
They allow you to compare numeric and char values and determine whether one is greater than , less than equal to,or not equal to other.
26
Sequence structure
A set of programming statements that are executed in sequence,without branching off in another direction
27
Decision Structure
A set of programming statements in which action is taken only when a specific condition exists.
28
Conditionally Executed
A statement that is executed only when a specific condition exists
29
Flags
Flag is a bool or integer variable that signals when some condition exists.
30
Loop
A loop is a control structure where the part of programming repeats
31
iteration
A repetition of a loop
32