Bitwise Operators in C Language

Quiz
•
Computers
•
12th Grade
•
Medium
Michael Kona
Used 6+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 5 & 3 in binary?
2
1
4
0
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 7 | 2 in binary?
7
9
3
5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 10 ^ 6 in binary?
1010
1100
1001
1110
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 8 << 2 in binary?
100000
111000
110000
101010
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 16 >> 3 in binary?
2
32
4
8
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank: Bitwise AND operator returns 1 only if ________ bits are 1.
both
none
neither
either
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank: Bitwise OR operator returns 1 if ________ bits are 1.
all
neither
both
either
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Information Coding Scheme

Quiz
•
1st Grade - University
10 questions
Binary Number System, Bits & Bytes

Quiz
•
9th - 12th Grade
10 questions
Intro to Binary - Concepts

Quiz
•
6th Grade - University
12 questions
AP CSP Unit 1 Practice- Bits, Binary, ASCII, and Images

Quiz
•
12th Grade
15 questions
Data Representation

Quiz
•
12th Grade
12 questions
Digital Sound Vocabulary

Quiz
•
9th - 12th Grade
12 questions
Computer Basics

Quiz
•
12th Grade
12 questions
Binary Hex Decimal

Quiz
•
7th - 12th 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