3: Expressions and Interactivity

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/26

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:45 PM on 10/9/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

27 Terms

1
New cards

arithmetic assignment operator

An operator that combines the assignment operator with a mathematical operator.

2
New cards

associativity

When all operators in an expression have the same precedence, they are executed according to their _________. Either left to right, or right to left).

3
New cards

call

A statement that causes a function to execute. E.g. x()

4
New cards

combined assignment operator

An operator that combines the assignment operator with a mathematical operator. (ca)

5
New cards

compound operator

An operator that combines the assignment operator with a mathematical operator. (c)

6
New cards

concatenate

Joining two strings together by appending one string to the end of another string.

7
New cards

demotion

The conversion of a value to a lower ranking data type.

8
New cards

distribution object

An object that reads the random bits generated by a random number engine and produces random numbers of a specified data type, within a specified range.

9
New cards

expression

A programming statement that has a value.

10
New cards

field width

The minimum number of character positions in which to print a value.

11
New cards

fixed-point notation

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

12
New cards

Hand tracing

A debugging technique in which the programmer pretends that he or she is the computer, stepping through each of the program's statements one by one.

13
New cards

keyboard buffer

An area in memory that temporarily stores characters typed on the keyboard.

14
New cards

library function

A specialized function that is part of the C++ Standard Library.

15
New cards

overflow

The result of assigning a variable a value that is too large for the variable's data type.

16
New cards

precedence

The order in which operators are executed in an expression.

17
New cards

precision

The total number of digits that appear before and after the decimal point in a floating-point number.

18
New cards

promotion

The conversion of a value to a higher ranking data type.

19
New cards

prompt

A message that is displayed, telling the user what data he or she is to enter.

20
New cards

random number engine

An object that generates a random sequence of bits.

21
New cards

right-justified

To align a value along the right side of its field, with blank spaces padded in front of the value, if needed.

22
New cards

significant digits

The total number of digits that appear before and after the decimal point in a floating-point number. (s)

23
New cards

stream extraction operator

An operator that gets data from a stream object and stores the data in a variable, e.g. >>

24
New cards

type cast expression

An expression that manually promotes or demotes a value to a specific data type.

25
New cards

type coercion

The automatic conversion of operands to the same data type.

26
New cards

underflow

The result of assigning a variable a value that is too small for the variable's data type.

27
New cards

whitespace character

Spaces, tabs, and line breaks.