Quiz1Fin.MT7LABsp

Quiz1Fin.MT7LABsp

University

30 Qs

quiz-placeholder

Similar activities

Data Science Quiz

Data Science Quiz

University

30 Qs

Introduction to Operating systems

Introduction to Operating systems

University

28 Qs

2nd Class Test FEB 2021

2nd Class Test FEB 2021

University

25 Qs

CodeHS CompSci Final Exam

CodeHS CompSci Final Exam

8th Grade - University

25 Qs

Operators

Operators

University

32 Qs

SET 2

SET 2

University

25 Qs

C Programming Quiz

C Programming Quiz

University

30 Qs

Revision DEC30043

Revision DEC30043

University

30 Qs

Quiz1Fin.MT7LABsp

Quiz1Fin.MT7LABsp

Assessment

Quiz

Computers

University

Medium

Created by

Armilyn Martinez

Used 2+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of the bitwise AND operation a & b if a = 6 (binary 0110) and b = 14 (binary 1110)?

6

8

14

0

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which symbol is used for the bitwise OR operator?

&

|

^

~

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of the bitwise OR operation a | b if a = 23 (binary 00010111) and b = 10 (binary 00001010)?

10

23

31

42

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of the bitwise XOR (^) operation if a = 12 (binary 1100) and b = 10 (binary 1010)?

4

6

12

10

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the bitwise complement (~) operator do?

Sets all bits to 1.

Flips all bits (0 to 1 and 1 to 0).

Shifts bits to the left.

Shifts bits to the right.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the result of the left shift operation a << 2 if a = 5?

20

10

25

1

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the result of the right shift operation b >> 2 if b = 7?

1

2

3

4

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?