Bitwise Logical Operators QuizS2C Home « Bitwise Logical Operators Quiz

Fundamentals Quiz 9

The quiz below tests your knowledge of the material learnt in Fundamentals - Lesson 10 - Bitwise Logical Operators.

Question 1 : What symbol do we use for the bitwise AND operation?
- We use the & symbol for the bitwise AND operation.
Question 2 : What is the bitwise OR useful for?
- The bitwise OR is useful for switching bits on.
Question 3 : We can use bitwise operators on any primitive type?
- The bitwise operators only work with the integer types (byte, short, int and long).
Question 4 : What symbol do we use for the bitwise NOT operation?
- We use the ~ symbol for the bitwise NOT operation.
Question 5 : What is the bitwise AND useful for?
- The bitwise AND is useful for switching bits off.
Question 6 : What value do bits have that are said to be swiched on?
- Swiched on bits have the value 1.
Question 7 : What is the bitwise NOT useful for?
- The bitwise NOT is useful for showing the compliment of the number.
Quiz Progress Bar Please select an answer


What's Next?

The next quiz on Java is all about Conditional Statements.