Mastery

Mastery

University

•

44 Qs

quiz-placeholder

Similar activities

GCSE Computer Science - 2.1-2.2

GCSE Computer Science - 2.1-2.2

University

•

43 Qs

Part 1 CAD:PRELIMENARY EXAMINATION

Part 1 CAD:PRELIMENARY EXAMINATION

University

•

45 Qs

IOT_SARS

IOT_SARS

University

•

40 Qs

Ulangan Komputer Akuntansi 3

Ulangan Komputer Akuntansi 3

12th Grade - University

•

40 Qs

CSM with Visca

CSM with Visca

University

•

40 Qs

Boolean Algebra

Boolean Algebra

University

•

39 Qs

CNC Machine Production

CNC Machine Production

University

•

40 Qs

Ulangan Harian Sem 1

Ulangan Harian Sem 1

11th Grade - University

•

40 Qs

Mastery

Mastery

Assessment

Quiz

•

Computers

•

University

•

Practice Problem

•

Easy

Created by

ZPPSU VLs

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

44 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will be the output of this C++ code? int a = 7, b = 3; cout << a % b;

1
2
3
0

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this C++ code output? bool x = true, y = false; cout << (x || y);

1
0
True
False

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the result of this expression? (5 != 3) && (4 < 2)

True
False
1
0

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the output of this C++ code? int x = 10; cout << --x << " " << x--;

9 9
9 8
10 9
9 10

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will this code print? int x = 5, y = 8; cout << (x < y ? x : y);

5
8
13
Error

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will be printed? int num = 3; if (num % 2 == 0) cout << "Even"; else cout << "Odd";

Even
Odd
3
Error

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Identify the error in this if statement: if (x = 5) cout << "Five";

x should be == 5
Missing semicolon
cout should be printf
x should be declared

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?

Discover more resources for Computers