CSCI 223 Quiz 3

0.0(0)
studied byStudied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:21 PM on 9/14/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

10 Terms

1
New cards

The most appropriate operator to use to set target bits in a byte is

the bitwise OR.

2
New cards

The most appropriate operator to use to flip target bits in a byte is

the bitwise XOR.

3
New cards

The most appropriate operator to use to clear target bits in a byte is

the bitwise AND.

4
New cards

if you need to flip a bit's current state, you should use

the XOR operator.

5
New cards

When applying the bitwise AND on two bits, the only way to get a unique result is if

both bits are set.

6
New cards

If you perform a right shift on a signed positive int

You'll get zeros pushed into the MSBs.

7
New cards

If you perform a right shift on an unsigned int

you'll get zeros pushed into the MSBs.

8
New cards

If you perform a right shift on a signed negative int

the result depends on the compiler.

9
New cards

If you shift a 32-bit integer to the left by 32 positions,

the result is zero.

10
New cards

If you perform a left shift of one position on a signed positive int

you'll effectively multiply the value by two.