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