Panchshila International School
Class-XII Panchshila International School
PA-1 Class-XII
Subject: Computer Science PA-1
Time: 45 minutes MM: 20 Subject: Computer Science
Section-A Time: 45 minutes MM: 20
(Answer in one word or one line) [1 × 5 = 5 marks] Section-A
1. Which function is used to take input from the user (Answer in one word or one line) [1 × 5 = 5 marks]
in Python? 1. Which function is used to take input from the user
2. What will the output be of: print (10 % 3)? in Python?
3. What is a keyword? Give one example. 2. What will the output be of: print (10 % 3)?
4. Write the data type of: "True" 3. What is a keyword? Give one example.
5. What is the use of # in Python? 4. Write the data type of: "True"
Section B 5. What is the use of # in Python?
(Answer in 30–50 words) [3 × 3 = 9 marks] Section B
1. Differentiate between = and == in Python. (Answer in 30–50 words) [3 × 3 = 9 marks]
2. What are variables? How are they declared in 1. Differentiate between = and == in Python.
Python? 2. What are variables? How are they declared in
3. Write a Python program to check if a number is Python?
even or odd. 3. Write a Python program to check if a number is
Section C even or odd.
(Answer in 50–80 words) [3 × 2 = 6 marks] Section C
1. Write a Python program to input a number and (Answer in 50–80 words) [3 × 2 = 6 marks]
check whether it is positive, negative, or zero. 1. Write a Python program to input a number and
2. Explain the use of conditional statements in Python check whether it is positive, negative, or zero.
with a small example. 2. Explain the use of conditional statements in Python
with a small example.
Panchshila International School
Class-XII Panchshila International School
PA-1 Class-XII
Subject: Computer Science PA-1
Time: 45 minutes MM: 20 Subject: Computer Science
Section-A Time: 45 minutes MM: 20
(Answer in one word or one line) [1 × 5 = 5 marks] Section-A
1. Which function is used to take input from the user (Answer in one word or one line) [1 × 5 = 5 marks]
in Python? 1. Which function is used to take input from the user
2. What will the output be of: print (10 % 3)? in Python?
3. What is a keyword? Give one example. 2. What will the output be of: print (10 % 3)?
4. Write the data type of: "True" 3. What is a keyword? Give one example.
5. What is the use of # in Python? 4. Write the data type of: "True"
Section B 5. What is the use of # in Python?
(Answer in 30–50 words) [3 × 3 = 9 marks] Section B
1. Differentiate between = and == in Python. (Answer in 30–50 words) [3 × 3 = 9 marks]
2. What are variables? How are they declared in 1. Differentiate between = and == in Python.
Python? 2. What are variables? How are they declared in
3. Write a Python program to check if a number is Python?
even or odd. 3. Write a Python program to check if a number is
Section C even or odd.
(Answer in 50–80 words) [3 × 2 = 6 marks] Section C
1. Write a Python program to input a number and (Answer in 50–80 words) [3 × 2 = 6 marks]
check whether it is positive, negative, or zero. 1. Write a Python program to input a number and
2. Explain the use of conditional statements in Python check whether it is positive, negative, or zero.
with a small example. 2. Explain the use of conditional statements in Python
with a small example.