Mastering Bitwise Operations and Shifts

Quiz
•
Computers
•
7th Grade
•
Medium
R Eveleigh
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of a logical left shift operation on the binary number 0010 by 1 position?
0001
0100
1000
0011
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which bitwise operation would you use to turn off a specific bit in a binary number?
Bitwise AND
Bitwise OR
Bitwise NOT
Bitwise XOR
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the bitwise NOT operation on the binary number 1010?
0101
1101
1111
0000
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you have two binary numbers, 1100 and 1010, what is the result of the bitwise OR operation?
1000
1110
0110
0010
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which bitwise operation would you use to toggle a specific bit in a binary number?
Bitwise AND
Bitwise OR
Bitwise NOT
Bitwise XOR
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary application of bitwise masks in computer programming?
To perform arithmetic operations
To manipulate specific bits in a binary number
To sort data in ascending order
To convert binary numbers to decimal
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of a logical right shift operation on the binary number 1001 by 2 positions?
0010
0100
0001
1100
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you have two binary numbers, 0110 and 0011, what is the result of the bitwise AND operation?
0000
0010
0011
0110
Similar Resources on Wayground
13 questions
binary

Quiz
•
7th - 12th Grade
10 questions
Linear and Binary Search Algorithms

Quiz
•
11th Grade
10 questions
Информатика 9м

Quiz
•
9th Grade
10 questions
Y8 Binary Addition

Quiz
•
8th Grade
10 questions
Year 7 - HF3: 1 - Binary and Decimal

Quiz
•
7th Grade
10 questions
Network ID Subnetmask Quiz

Quiz
•
12th Grade
7 questions
Final Practice

Quiz
•
University
10 questions
Binary Images

Quiz
•
7th - 9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade