Question
Question 22 (1 point) What is the result of the following expression: floor(765.4321 * 10 + .5) / 10 Question 22 options: Save Question 23
Question 22 (1 point)
What is the result of the following expression:
floor(765.4321 * 10 + .5) / 10
Question 22 options:
Save
Question 23 (1 point)
What is the result of the following expression?
fabs(7.5)
Question 23 options:
Save
Question 24 (1 point)
What is the result of the following expression?
fabs(-7.5)
Question 24 options:
Save
Question 25 (1 point)
What is the result of the following expression?
floor(7.5)
Question 25 options:
Save
Question 26 (1 point)
What is the result of the following expression?
floor(-7.5)
Question 26 options:
Save
Question 27 (1 point)
What is the result of the following expression?
ceil(7.5)
Question 27 options:
Save
Question 28 (1 point)
What is the result of the following expression?
ceil(-7.5)
Question 28 options:
Save
Question 29 (1 point)
What is the result of the following expression?
n = rand() % p
Question 29 options:
0 | |
0 | |
0 | |
0 |
Save
Question 30 (1 point)
The function _________________ is used to set the random number seed to randomize the program. (Put just the function name, no parenthesis or spaces)
Question 30 options:
Save
Question 31 (1 point)
int x = 0;
while (x
cout
x++;
}
What is the first thing printed by the above code?
Question 31 options:
-1 | |
0 | |
1 | |
2 | |
Nothing is printed |
Save
Question 32 (1 point)
int x = 0;
while (x
cout
++x;
}
What is the first thing printed by the above code?
Question 32 options:
-1 | |
0 | |
1 | |
2 | |
Nothing is printed |
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