

CS310 Game 2
Flashcard
•
Computers
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Given int x;, what is the output of the statement: cout << (x=1);
Back
1
2.
FLASHCARD QUESTION
Front
Given int x= 1; what is the value of x after the statement x -= 1;?
Back
0
3.
FLASHCARD QUESTION
Front
What is the output? Options: 5 1, 6 0, 6 1, 5 0
Back
6 0
4.
FLASHCARD QUESTION
Front
What is the output? Options: 5 1, 7 1, 7 2, 6 2
Back
7 2
5.
FLASHCARD QUESTION
Front
What is the output? Options: 1 5, 2 10, 2 7, 1.5 6
Back
2 10
6.
FLASHCARD QUESTION
Front
What is the output: cout<< (true? "true": "false")?
Back
true
7.
FLASHCARD QUESTION
Front
What is the output, if a user types two words "New York" followed by an enter key from the keyboard?
Back
You entered New
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?