Professional Documents
Culture Documents
Question Paper
Question Paper
Question Paper
School
Class - IX - A and IX-B
Subject: Computer Application
Date: Duration: MM: 70 marks
General Instructions:
1. Read all Questions carefully for each section.
Section-A
Q6. What will be the output on executing the following set of commands in
the shell?
>>>str= “Hello”
>>>str[:2]
(a) He
(b) Lo
(c) olleh
(d) hello
Q7. In order to store values in terms of key and value pairs, which core data
type you should use?
(a) List
(b) Tuple
(c) Class
(d) Dictionary
Q26. What is operator precedence in Python? Explain with the help of example?
Q27. What are the features of Python that make it suitable for diverse applications?
Q28. Explain the difference between = and == operators in Python with examples.
Q29. Discuss the importance of comments in Python programming. Provide examples of different
types of comments.
Q30. What is type conversion? Explain with the help of example?
OR
Q29. How keywords are different from the variable names?
Q30. Write a python program to find perimeter of rectangle by taking user input (Hint: Use
input() function for taking value)
Q31. Explain the role and usage of bitwise operators in Python. Provide scenarios where bitwise
operators are commonly used in programming?
Q32. Describe the concept of Python's string operators. Provide examples of string concatenation?
Q33. Differentiate between arithmetic and logical operators with examples?
Q34. Discuss the operator precedence rules in Python. Explain how operator precedence affects the
evaluation of expressions with examples.
OR
Q33. Write a Python program that asks the user to enter the radius of a circle and calculates its
area?
Q34. Suppose a person want to do an addition but don’t know about operators and operands in
python. He taken a one number 30 and string “world”. Justify your answer that what is wrong with
this if that person add 30 and string “world”.