Which of the following statements guarantees that the bit 3 will be a 1?

A. y & 0x04
B. y ^ 0x04
C. y | 0x04
D. y && 0x04
E. y || 0x04


Answer: C

Computer Science & Information Technology

You might also like to view...

When you choose a ____ image format, a tab with that format name appears in the dialog box shown in the accompanying figure, enabling you to refine settings for that format.

A. dynamic B. static C. portable D. destination

Computer Science & Information Technology

Which connector would be an alternative to a mini-DIN keyboard port?

A) DVI B) RJ-45 C) USB D) S/PDIF

Computer Science & Information Technology

DVD-ROM is the DVD-equivalent of the standard _______________ data format.

A. CD-RAM B. CD-ROM C. CD-RW D. CD-R

Computer Science & Information Technology

Which of the following describes the AutoCorrect function?

a. It maintains consistency whether you double space or indent paragraphs. b. It corrects spelling of commonly used words as you type. c. It marks misspelled words with red lines. d. It removes extra words when they are typed twice in a row.

Computer Science & Information Technology