C++ Essentials: Binary, Variables, Keywords, and Comments Review

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

15 Terms

1
New cards

binary system

The binary system is the system computers use for storing numbers and that they can perform any operation upon them.

2
New cards

integers

Integers are those which are devoid of the fractional part.

3
New cards

floating point numbers

Floating point numbers contain (or are able to contain) the fractional part.

4
New cards

type

A type is a characteristic of a number which determines its kind, range and application.

5
New cards

octal representation

The characteristics of the octal representation are having numbers from 0-7 digits and using base-8 numbering rather than base-10 numbering.

6
New cards

variable

Variables are containers that store the results of such operations in order to use them in other operations.

7
New cards

components of a variable

The components of a variable are a name, a type, and a value.

8
New cards

rules of writing a variable

The four main rules of writing a variable are the name of the variable must be composed of upper-case or lower-case Latin letters, digits and the character _ (underscore); the name of the variable must begin with a letter; the underline character is a letter; upper- and lower-case letters are treated as different.

9
New cards

declaration

A declaration is a syntactic structure that binds a name provided by the programmer with a specific type offered by the C++ language and it relates to a variable by declaration giving its purpose to the variable.

10
New cards

assignment operator

Assignment operator gives a value to the newly declared variable.

11
New cards

keyword (reserved keyword)

A keyword (reserved keyword) is a list of words that play a very special role in every C++ language program.

12
New cards

reserved keyword

A keyword is reserved by you not being able to use them as names.

13
New cards

comment

A comment is a way to explain to humans their code but not the compiler.

14
New cards

line comment symbol

// comment

15
New cards

block comment symbol

/* comment */