
с+++
Authored by cph2xw78qn apple_user
Others
University
Used 19+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
56 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the output from the following C++ code?
15
15 14 13 12 11 10
15 14 13 12 11 10 9
9
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If originally x=0, y=1, and z=3, what is the value of x, y, and z afterexecuting the following code ?
x=0 y=3 z=3
x=0 y=1 z=3
x=3 y=3 z=3
x=3 y=1 z=0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of x after the following statements?
10
33
3
0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of x after the following statements?
15
4
3
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the output from the following C++?
5
0
4
6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the following code fragment, what is the final value of y?
2
8
4
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the output from the following C++ code
10
12
3
4
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?