WorksheetsBe4Pspsm21920
Total questions: 10
Worksheet time: 5mins
State the correct Psuedocode.
This program allows users to repeatedly enter number for 10 times. The program will only display number that is divisible by 5 and calculate its sum.
A
B
The true psuedocode.
The program allows users to enter any numbers repeatedly. It will display only negative numbers. The program will stop when the user enters 0 .
A
B
State the correct Psuedocode.
Write the pseudocode using while loop to calculate y = 3x + x with the value of x ranging from 5 to 10 by the increment of 0.2.
A
B
State the correct Psuedocode.
Based on the input of 150 integer numbers, calculate the sum of all odd numbers that has been entered.
A
B
State the true flowchart.
Create a program to determine whether
that integer is odd or even or zero
A
B
State the true flowchart.
Create a program to determine whether 10 integer entered by user is odd or even . y is equal to_______
number%2=0
number/2=0
integer%2=0
integer%2 != 0
Calculate quantity of odd and even from 20 numbers entered by user.
State x and y
sumodd=sumodd +1, sumeven=sumeven+number
sumodd=sumodd +1, sumeven=sumeven+ integer
sumodd=sumodd +1, sumeven=sumeven+1
sumodd=sumodd +integer, sumeven=sumeven+number
The correct type of repetition is
Sequence
Selection
Sentinal
counter controller
The correct type of repetition is
Sentinal
Selection
counter controller
repeat while
The correct type of repetition iser
counter=0
Selection
Sentinal
Sentimos
