stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
C++ Flashcards | StudBud
Explore
/
C++
There are actually 3 integer types:
How much bytes does the "long int" data type contain?
C++
40 terms
·
StudBud Administration
·
4 plays
C++
Flashcards
40 cards
F
Practice quiz
P
Host live
L
Questions
40
Answers
1
How much bytes does the "long int" data type contain?
4 bytes
1 byte
8 bytes
2 bytes
2
There are actually 3 integer types:
String, statement, expression
short, int, long
Shape, ship, share
Mathematical, logical, bitwise
3
Which one of these answers is a data type in C++?
Cool
Rule
Smooth
Bool
4
How much bytes does the "char" data type contain?
4 bytes
8 bytes
1 byte
2 bytes
5
"Hello, world!\n" is not a string value.
False
True
6
Punctuation defining the structure of a program
Keywords
Literals
Punctuation/Separator
Operators
7
std, x, myFunction
Operators
Literals
Identifiers
Keywords
8
We can perform arithmetic calculations with
value
statements
expression
operators
9
Not every statement is an expression.
False
True
10
cout << '\"' outputs
Backlash
Formfeed
System Bell
Double Quote Character
11
int, double, for, auto
Keywords
Operators
Literals
Punctuation
12
Source files are?
text files
asset files
object file
13
Basic constant values whose value is specified directly in the source code
Operators
Keywords
Literals
Punctuation/Separators
14
cout << '\\' outputs
Newline (line break)
"Carriage return" (returns cursor)
Backspace
Backslash
15
\t
Tab
Newline
Backslash
System bell (beep sound)
16
\r
System bell (beep sound)
Backspace
Backslash
"Carriage return" (returns cursor to start of line)
17
Parsing is when?
adding the files up
Breaking the file into pieces
Is when the compiler reads the file
18
\b
Formfeed (page break)
Tab
Backspace
Backslash
19
\f
Formfeed (page break)
Double quote character
System bell
Backspace
20
"Hello, world!", 24.3, 0, ’c’
Whitespace
Keywords
Literals
Identifiers
21
cout << '\'' outputs
System Bell
Single Quote Character
Tab
Backspace
22
\a
System bell (beep sound)
Backslash
Backspace
Tab
23
A signed integer is one that represents a positive number
False
True
24
Spaces of various sorts; ignored by the compiler
Operators
Whitespace
Punctuation/Separators
Identifiers
25
0 is an integer
True
False
26
Names of things that are not built into the language
Literals
Identifiers
Operators
Whitespace
27
Where does the term “Boolean” come from?
George Boole
Dick Boole
Christopher Boole
Mark Boole
28
How much bytes does the "bool" data type contain?
4 bytes
1 byte
8 bytes
2 bytes
29
What is not an advantage of C++?
Maintainability
Low level language
Portability
Conciseness
30
\n
Formfeed
Newline (line break)
Backslash
System bell (beep sound)
31
+, -, &&, %, <<
Keywords
Literals
Operators
Whitespace
32
{ } ( ) , ;
Literals
Whitespace
Punctuation/Separators
Keywords
33
Mathematical or logical operations
Keywords
Literals
Operators
Whitespace
34
3.144 is not a floating-point?
False
True
35
The "double" data type contains how much bytes?
2 bytes
8 bytes
4 bytes
1 byte
36
C++ is a?
Medium level language
Low level language
High level language
37
an unsigned integer will always be interpreted as negative.
False
True
38
Spaces, tabs, newlines, comments
Literals
Operators
Keywords
Whitespace
39
An expression is a statement
That has no value
That has a value
Does nothing at all
Is not used at all
40
Compilers change source files to?
asset files
object files
linkers