Class 10 Computer Science: Data Handling in Python Worksheet

This worksheet assesses your understanding of fundamental data types, operations, and handling techniques in Python programming.

Class 10CBSEComputer ScienceeasyPractice
Preview · 10 questions
  1. Q1. Which of the following data types is immutable in Python?
    • List
    • Dictionary
    • Tuple
    • Set
  2. Q2. The operator used for integer division in Python is ________.
  3. Q3. What will be the output of the following Python code? x = 5 y = 2 print(x ** y)
    • 7
    • 10
    • 25
    • 32
  4. Q4. Explain the difference between mutable and immutable data types in Python with one example for each.
  5. Q5. Which function is used to take input from the user in Python?
    • get()
    • read()
    • input()
    • console.log()

+ 5 more in the printable PDF.