Bitwise Shift Operators QuizS2C Home « Bitwise Shift Operators Quiz

Fundamentals Quiz 10

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

Question 1 : Which of the following is the symbol for the bitwise left shift?
- <code><<</code> is the symbol for the bitwise left shift.
Question 2 : What type do bitwise conversions get promoted to before conversion?
- All bitwise conversions get promoted to type <code>int</code> before conversion.
Question 3 : We can use bitwise operators on the double type?
- The bitwise operators only work with the integer types (byte, short, int and long).
Question 4 : Which of the following is the symbol for the bitwise signed right shift?
- <code>>>></code> is the symbol for the bitwise signed right shift.
Question 5 : What value do bits have that are said to be swiched off?
- Swiched off bits have the value 0.
Question 6 : Which of the following is the symbol for the bitwise right shift?
- <code>>></code> is the symbol for the bitwise right shift.
Question 7 : Which types need to be cast back after bitwise conversion?
- code>byte</code> and code>short</code> need to be cast back after bitwise conversion.
Quiz Progress Bar Please select an answer


What's Next?

The next quiz on Java is all about Conditional Statements.