C Plus Plus Quiz
10 questions · no time limit
0:00
SOFTWARE CRAFT AND COMMUNICATION
Question 1 of 10
No time limit
Current
Answered
Flagged
Not seen
PASSAGE
A function clamps a signed integer to a byte-sized range using clearly named comparisons. A proposed replacement uses shifts, masks, and assumptions about signed right shifts. The proposer expects the branchless expression to be faster, but no benchmark has been run.
Which review decision best reflects sound tradeoff analysis?
YOUR PROGRESS
10
QUESTIONS
Ready when you are
Answer in any order. Your progress shows here as you go.
QUESTIONS
KEYBOARD
Pick an answer ABCD
Next question ↵→
Previous ←
Flag for review F
Answers save as you go · flagged questions come back at the end