Projects and RV - 9
Grade 9 Computer – Revision Questions
Programming Questions
A. Write Python Programs
- WAP to find the volume of a cylinder.
Formula: V = πr²h - WAP to find the simple interest.
- WAP to input minutes and convert them into hours and minutes.
- WAP to input days and convert them into years, months and days.
- WAP to input a number and check whether the number is Odd or Even.
- WAP to input two numbers and find the greatest among them.
- WAP to input a number and check whether the number is Positive, Negative or Zero.
- WAP to input a number and check whether the number is exactly divisible by 7 or not.
- WAP to input three numbers and find the smallest among them.
- WAP to input three sides of a triangle and find whether it is an Isosceles, Scalene or Equilateral triangle.
B. Answer the Following Questions
- What is a programming language? Explain the different levels of programming languages.
- What is a variable name? Write any four rules for naming a variable.
- Write any two advantages of Python programming.
- Write any two features of Python.
- Explain different data types in Python with examples.
- What is a translator? Differentiate between a compiler and an interpreter.
- Differentiate between source code and object code.
- Define testing and write its types.
- List any four symbols used in a flowchart and explain their functions.
-
Write short notes on:
- Algorithm
- Programming
- Programmer
- Syntax
C. Dry Run Table Output
1.
d = 12
y = 5
m = d / y
a = d // y
q = d % y
print("Output is", m, a, q)
2.
d = 12
y = 5
m = d / y
a = d // y
q = d % y
print(f"Output is {m},{a} and {q}")
3.
d = 12
y = 5
m = d / y
a = d // y
q = d % y
print("Output are {0},{1} and {2}".format(m,a,q))
D. Number System
4 questions each: 1 division, 1 multiplication and 2 conversions
Number System Questions
- (101011)2 ÷ (101)2
- (1010 × 1100)2
- (ABC)16 to (?)2
- (1011)2 to (?)8
- (765)8 to (?)10
- (689)10 to (?)16