QuizFinWthLecsp

QuizFinWthLecsp

University

30 Qs

quiz-placeholder

Similar activities

CC102 - Seatwork 10 - Array Basics

CC102 - Seatwork 10 - Array Basics

University

25 Qs

2nd Class Test FEB 2021

2nd Class Test FEB 2021

University

25 Qs

DSA - Q1

DSA - Q1

University

25 Qs

Data Structure(FINAL)

Data Structure(FINAL)

University

25 Qs

C Programing

C Programing

University

25 Qs

Inter Class quizIT_23_JAN_2024

Inter Class quizIT_23_JAN_2024

University

25 Qs

CS 211 - Midterm Review

CS 211 - Midterm Review

University

30 Qs

Operators

Operators

University

32 Qs

QuizFinWthLecsp

QuizFinWthLecsp

Assessment

Quiz

Computers

University

Medium

Created by

Armilyn Martinez

Used 3+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the result of the bitwise AND operation between 0000 1010 and 0000 1100?

0000 1110

0000 1000

0000 1100

0000 1010

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which bitwise operator is used to complement all bits of an operand?

~

&

|

^

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The result of 1010 0110 | 1100 0011 is:

1110 0111

1010 0010

1010 0110

1100 0011

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the bitwise XOR operator (^) do?

Sets bits to 1 if both operands have 1s in the same position.

Sets bits to 1 if only one operand has a 1 in that position.

Complements all bits of the operand.

Shifts bits to the left.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these is the correct result of ~(0000 1100)?

1111 0011

0000 1100

1111 1111

0000 1111

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The left-shift operator (<<) is used to:

Multiply the number by a power of 2.

Divide the number by a power of 2.

Complement all bits.

Perform bitwise XOR.

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Given x = 14, what is the result of x >> 2?

3

7

14

28

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?

Discover more resources for Computers