Allright, I have a final exam in my C class in 2 weeks. The final exam is over binary files, single linked lists, and bitwise ops. I found these three questions out the answer manual in our c book. However, I have a problem with the "wording" and the answers on these questions.
I want to know what you think about these three questions- tell me if you agree or disagree with these problems:
25. Which statement is true of the << operator?
a) It is called the right shift operator.
b) It is called the bitwise right shift operator.
c) It shifts the bits of the second operand left by the number of bits specified by the first operand.
d) It fills from the right with 0 bits.
Ans: d) It fills from the right with 0 bits.
29. Which statement is true?
a) || is the bitwise or operator,
b) | is the logical or operator
c) Operators || are interchangeable.
d) || and | are each binary operators.
Ans: d) || and | are each binary operators.
17. Which of the following is not true?
a) Lists of data can be stored in arrays.
b) The length of a linked list can vary dynamically.
c) Arrays can become full.
d) Linked lists cannot become full.
Ans: d) Linked lists cannot become full.