• 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/33

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;

33 Cards in this Set

  • Front
  • Back
From what language is C++ derived?
C++ is derived from C.
What was the main factor that drove the creation of C++?
Increasing program complexity was the main factor that drove the creation of C++.
C++ is the parent of Java and C#. True or False?
True.
Name the principles of OOP.
Encapsulation, polymorphism, and inheritance are the principles of OOP.
What is the basic unit of encapsulation is C++?
The class is the basic unit of encapsulation in C++.
What is the commonly used term for a subroutine in C++?
Function is the commonly used term for a subroutine in C++.
Where does a C++ program being execution?
A C++ program beings execution with main( ).
What is cout?
cout is a predefined identifier that is linked to console output.
What does #include <iostream> do?
It includes the header <iostream>, which supports I/O.
Must a variable be declared before it is used?
Yes, in C++ variable must be declared before they are used.
Show how to assign the variable min the value 0.
min = 0;
Can more than one variable be declared in a single declaration statement?
Yes, two or more variables can be declared in a single declaration statement.
What is C++'s input operator?
The input operator is >>.
To what device is cin linked by default?
cin is linked to the keyboard by default.
What does \n stand for?
The \n stands for the newline character.
What is C++'s keyword for the integer data type?
The integer data type is int.
What is double?
double is the keyword for the double floating-point data type.
How do you output a newline?
To output a newline, use \n.
What does the if statement do?
if is C++'s conditional statement.
What does the for statement do?
The for is one of C++'s loop statements.
What are C++'s relational operators?
The relational operators are ==, !=, <, >, <=, and >=.
How is a block of code created? What does it do?
A block is started by a {. It is ended by a }. A block creates a logical unit of code.
In C++, statements are terminated by a ______________.
semicolon
All C++ statements must start and end on one line. True or false?
False.
What is a function?
A function is a subroutine that contains one or more C++ statements.
A function is called by using its name. True or false?
True.
What is the C++ standard function library?
The C++ standard function library is a collection of functions supplied by all C++ compilers.
Which is the keyword, for, For, or FOR?
The keyword is for. In C++, all keywords are in lowercase.
A C++ identifier can contain what type of characters?
A C++ identifier can contain letters, digits, and the underscore.
Are index21 and Index21 the same identifier?
No, C++ is case sensitive.
What are the seven basic types?
The seven basic types are char, wchar_t, int, float, double, bool, and void.
What is the difference between signed and unsigned integers?
A signed integer can hold both positive and negative values. An unsigned integer can hold only positive values.
Can a char variable be used like a little integer?
Yes.