Class 8: Introduction to Python Programming Worksheet

This worksheet will help you understand the basic concepts of Python programming language, including its features, variables, and simple output statements.

Class 8CBSEComputer ScienceeasyPractice
Preview · 10 questions
  1. Q1. Which of the following is an interpreted programming language?
    • Java
    • C++
    • Python
    • Assembly
  2. Q2. Who is credited with creating Python?
    • Bill Gates
    • Guido van Rossum
    • Mark Zuckerberg
    • Steve Jobs
  3. Q3. Which symbol is used for single-line comments in Python?
    • //
    • /* */
    • #
    • --
  4. Q4. What is the correct way to display 'Hello, World!' in Python?
    • print 'Hello, World!'
    • console.log('Hello, World!')
    • print('Hello, World!')
    • System.out.println('Hello, World!')
  5. Q5. Which of these is NOT a valid variable name in Python?
    • my_variable
    • variable123
    • 123variable
    • Variable_Name

+ 5 more in the printable PDF.