CLASS - VIII
CHAPTER - Advanced Sequencing
Worksheets
Objective Type Questions
Question 1 Step by step process of solving a problem is
called?
Option 1 Algorithm
Option 2 Sequencing
Option 3 Loops
Option 4 None of the above
Answer: Option 1
Question 1 A series of actions done in a specific order is
called sequencing
Option 1 True
Option 2 False
Answer: Option 1
Standard Questions
1. Write a program in block code to print all the prime
numbers between 0 and 50.
Answer:
Int a,b,ans=0
for a = 0 to 50 step a++
For
b= 2 to a-1 step b++
If(a%b==0)
Ans=1
End
if
End for
End for
If(ans==0)
Print a “is prime number”
Endif
2. Write a program in block code to print all the multiples
of 7 from 0 to 100
Answer:
For a = 0 to 100 step a++
if(a%7==0)
Print a
end if
End for
3. WAP TO FIND THE EVEN & ODD
NUMBER BETWEEN 1 TO 100.
Answer:-
FOR A = 1 TO 100 STEP A++
IF(A%2==0)
PRINT A "IS EVEN NUMBER"
ELSE
PRINT A "IS ODD NUMBER"
END IF
END FOR