What does the AND bitwise operator do?
Bitwise Masks

Quiz
•
Computers
•
12th Grade
•
Medium

Deyshon Allison
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Compares 2 bits and returns 1 if both are 1, otherwise returns 0
Shifts all bits to the left by one position
Inverts all the bits in a byte
Compares 2 bits and returns 1 if either of them is 1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of a SHIFT RIGHT operation?
Inverts the bits
Equivalent of dividing by 2
Discards the leftmost bit and adds a 0 on the left
Equivalent of multiplying by 2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you reset bits to 0 using bitwise operators?
Using the SHIFT LEFT operator
Using the AND operator with a suitable mask
Using the XOR operator with a suitable mask
Using the OR operator with a suitable mask
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using masks in bitwise operations?
To test or alter specific bits in a piece of data
To multiply numbers
To add two numbers
To invert all bits
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the XOR bitwise operator do?
Returns 1 if both bits are 1
Returns 1 if both bits are different
Shifts all bits to the right
Inverts the least significant bit
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the OR bitwise operation 10001000 | 11000001?
10001001
11001000
10000000
11001001
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you turn on a specific bit using bitwise operations?
Using the SHIFT RIGHT operator
Using the COMPLEMENT operator
Using the AND operator with a mask
Using the OR operator with a suitable mask
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Quiz - 6 on Relational & Logical Operators

Quiz
•
12th Grade
17 questions
Bitwise Manipulation and Hex Quiz

Quiz
•
12th Grade
10 questions
Network ID Subnetmask Quiz

Quiz
•
12th Grade
16 questions
AQA ASSEMBLY LANGUAGE

Quiz
•
11th - 12th Grade
10 questions
Quiz - 3 Assignment, Increment & Decrement Operators in C

Quiz
•
12th Grade
10 questions
Post-Test Operator (Pemrograman Web Server-Side PHP)

Quiz
•
9th - 12th Grade
20 questions
Subnets and IP Routing

Quiz
•
12th Grade
10 questions
Network terminology

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University