Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Q13.

When the expression 1

1 1 1 1 1 + 2 3 + 4 ... n x x x x x

is calculated, which of the


A

following should be inserted in the process box below? Start Input n and x 0 sum 0i Operation i: 0, 1, n
A
At the start of the loop, repetition conditions indicate variable name: initial vale, increment, final value.

in the flowchart shown

Operation Output sum End a) sum + (( 1) i x i ) sum c) sum + (( 1) i +1 x i ) sum b) sum + (( 1) i x i ) sum d) sum + (( 1) i +1 x i ) sum

Q14. Which of the following stands for the processor architecture in which a single stream

You might also like