CS310 Game 2

CS310 Game 2

Assessment

Flashcard

Computers

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

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

Media Image

Back

6 0

4.

FLASHCARD QUESTION

Front

What is the output? Options: 5 1, 7 1, 7 2, 6 2

Media Image

Back

7 2

5.

FLASHCARD QUESTION

Front

What is the output? Options: 1 5, 2 10, 2 7, 1.5 6

Media Image

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?

Media Image

Back

You entered New

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?