Question
Question 12 (1 point) radius is a C++ keyword. Question 12 options: True False Save Question 13 (1 point) Declare an int called s with
Question 12 (1 point)
radius is a C++ keyword.
Question 12 options:
True | |
False |
Save
Question 13 (1 point)
Declare an int called s with an initial value of 20. Don't put in any unnecessary spaces.
Question 13 options:
Save
Question 14 (1 point)
What is the value of 11/2
Question 14 options:
Save
Question 15 (1 point)
What is the value of 2 / 5 * 3
Question 15 options:
Save
Question 16 (1 point)
What is the final value of d after the following code segment is executed?
double d=1.0;
int a=1;
d = a++;
Question 16 options:
0.0 | |
1.0 | |
2.0 | |
undefined |
Save
Question 17 (1 point)
What is the final value of d after the following code segment is executed?
double d=1.0;
int a=1;
d = ++a;
Question 17 options:
0.0 | |
1.0 | |
2.0 | |
undefined |
Save
Question 18 (1 point)
What is the final value of d after the following code segment is executed?
double d=1.0;
int a=1;
d = a/2;
Question 18 options:
0.0 | |
0.5 | |
1.0 | |
undefined |
Save
Question 19 (1 point)
The default case is required with the break statement.
Question 19 options:
True | |
False |
Save
Question 20 (1 point)
The expression (x > y && a is true if either x > y or a .
Question 20 options:
True | |
False |
Save
Question 21 (1 point)
What is the result of the following expression:
floor(123.4567 * 100 + .5) / 100
Question 21 options:
Save
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started