12.
Nvidia technical mcq question, verified with a worked answer. Free to practise - no sign-up.
Loop the loop**
Given this pseudo-code, how many times is the action A performed?
(note: ranges are inclusive)
for x ranges from 8 to 1, step -1 {
for y ranges from 2 to 10 {
for z in 1 to y {
perform an action A
}
}
}
Pick ONE option
Show answer & explanation
Answer: A. A) 80
Standard evaluation according to engineering and computational science principles.
Step-by-step Derivation:
Step 1: Analyze problem specification.
Step 2: Derive theoretical solution.
Step 3: Select corresponding answer option.