Projects and RV - 9

Grade 9 Computer – Revision Questions

Programming Questions

A. Write Python Programs

  1. WAP to find the volume of a cylinder.
    Formula: V = πr²h
  2. WAP to find the simple interest.
  3. WAP to input minutes and convert them into hours and minutes.
  4. WAP to input days and convert them into years, months and days.
  5. WAP to input a number and check whether the number is Odd or Even.
  6. WAP to input two numbers and find the greatest among them.
  7. WAP to input a number and check whether the number is Positive, Negative or Zero.
  8. WAP to input a number and check whether the number is exactly divisible by 7 or not.
  9. WAP to input three numbers and find the smallest among them.
  10. WAP to input three sides of a triangle and find whether it is an Isosceles, Scalene or Equilateral triangle.

B. Answer the Following Questions

  1. What is a programming language? Explain the different levels of programming languages.
  2. What is a variable name? Write any four rules for naming a variable.
  3. Write any two advantages of Python programming.
  4. Write any two features of Python.
  5. Explain different data types in Python with examples.
  6. What is a translator? Differentiate between a compiler and an interpreter.
  7. Differentiate between source code and object code.
  8. Define testing and write its types.
  9. List any four symbols used in a flowchart and explain their functions.
  10. Write short notes on:
    1. Algorithm
    2. Programming
    3. Programmer
    4. 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

  1. (101011)2 ÷ (101)2
  2. (1010 × 1100)2
  3. (ABC)16 to (?)2
  4. (1011)2 to (?)8
  5. (765)8 to (?)10
  6. (689)10 to (?)16