Python Programming quiz class 11, Quizzes of Computer science

Python Programming Sumita Arora Class 11 IP Chapter 3 Quiz

Typology: Quizzes

2024/2025

Uploaded on 09/04/2025

nothingpersists
nothingpersists 🇮🇳

1 document

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
on programming fundamentals like variables, data types, operators, and basic
input/output.
I've created a comprehensive Python Chapter 3 quiz for Class 11 Informatics Practices.
The quiz covers key topics typically found in Chapter 3, including:
Variables and naming rules
Data types (int, float, str, bool)
Operators (arithmetic, comparison, logical)
Input/output functions
Type conversion
Basic programming concepts
The quiz is structured in different sections:
Section A: Multiple choice questions (10 questions)
Section B: Fill in the blanks (5 questions)
Section C: True/False (5 questions)
Section D: Short answer questions (5 questions)
Section E: Programming questions (3 questions)
I've also included an answer key for the objective questions. Would you like me to add
more questions on any specific topic, or would you prefer detailed solutions for the
programming questions as well?
Python Chpter 3 Quiz - Clss 11 IP
Document
# Pthon Chapte 3 Qiz -
Cass 11 Inomatics
Pactices
## Section A: Mtipe
Choice Qestions (1 ma
each)
**1. Which o the oowing
is a vaid vaiab
P
AI will strt with section e
. num1=int(input("Enter number"))
. num2=int(input("Enter number"))
. rithmetic_divine=num1*num2-num1/num2//num1**%
I can see you're working on Section E, Question 1, but there are some issues with your
code. Let me help you fix it:
Problems in your code:
. Line 3 has a syntax error - num1**% is invalid syntax
Reply to Clude...
Sonnet 4
Python Chpter 3 Quiz Guide
Python Chapter 3 Quiz - Class 11 Informatics Practices
Section A: Multiple Choice Questions (1 mark each)
1. Which of the following is a valid variable name in Python? a) 2name b) name-2 c)
name_2 d) name 2
2. What will be the output of: print(type(5.0)) a) <class 'int'> b) <class 'float'>
c) <class 'str'> d) <class 'number'>
3. Which operator is used for exponentiation in Python? a) ^ b) ** c) ^^ d) pow
4. What is the result of 10 // 3 in Python? a) 3.33 b) 3 c) 4 d) 3.0
5. Which function is used to get input from user in Python? a) get() b) input() c) read() d)
scan()
6. What will be the output of: print("Hello" + "World") a) Hello World b) HelloWorld c)
Hello+World d) Error
7. Which of the following is NOT a valid data type in Python? a) int b) float c) char d) bool
8. What is the result of 5 % 2 ? a) 2.5 b) 2 c) 1 d) 0
9. Which operator has the highest precedence? a) + b) * c) ** d) //
10. What will bool(0) return? a) True b) False c) 0 d) Error
Section B: Fill in the Blanks (1 mark each)
1. The _______ function is used to convert a string to an integer.
2. In Python, _______ is used for single line comments.
3. The _______ operator is used to check if two values are equal.
4. Variables in Python are _______ sensitive.
5. The _______ function returns the length of a string.
Section C: True/False (1 mark each)
1. Variable names in Python can start with a number. T/F

Partial preview of the text

Download Python Programming quiz class 11 and more Quizzes Computer science in PDF only on Docsity!

on programming fundamentals like variables, data types, operators, and basic input/output.

I've created a comprehensive Python Chapter 3 quiz for Class 11 Informatics Practices. The quiz covers key topics typically found in Chapter 3, including:

Variables and naming rules Data types (int, float, str, bool) Operators (arithmetic, comparison, logical) Input/output functions Type conversion Basic programming concepts

The quiz is structured in different sections:

Section A: Multiple choice questions (10 questions) Section B: Fill in the blanks (5 questions) Section C: True/False (5 questions) Section D: Short answer questions (5 questions) Section E: Programming questions (3 questions)

I've also included an answer key for the objective questions. Would you like me to add more questions on any specific topic, or would you prefer detailed solutions for the programming questions as well?

Python Chpter 3 Quiz - Clss 11 IP Document

P^ # PCass 11 Inacticesthon Chapteomatics^ 3 Qiz - Choice Q## Section A: Mestions (1 matipe **1. Which o^ each) is a va P id va^ theiab oowing

A (^) I will strt with section e . num1=int(input("Enter number")) . num2=int(input("Enter number")) . rithmetic_divine=num1num2-num1/num2//num1*%

I can see you're working on Section E, Question 1, but there are some issues with your code. Let me help you fix it:

Problems in your code:

. Line 3 has a syntax error - num1**% is invalid syntax

Reply to Clude...

Sonnet 4

Python Chpter 3 Quiz Guide

Python Chapter 3 Quiz - Class 11 Informatics Practices

Section A: Multiple Choice Questions (1 mark each)

  1. Which of the following is a valid variable name in Python? a) 2name b) name-2 c) name_2 d) name 2
  2. What will be the output of: print(type(5.0)) a) <class 'int'> b) <class 'float'> c) <class 'str'> d) <class 'number'>
  3. Which operator is used for exponentiation in Python? a) ^ b) ** c) ^^ d) pow
  4. What is the result of 10 // 3 in Python? a) 3.33 b) 3 c) 4 d) 3.
  5. Which function is used to get input from user in Python? a) get() b) input() c) read() d) scan()
  6. What will be the output of: print("Hello" + "World") a) Hello World b) HelloWorld c) Hello+World d) Error
  7. Which of the following is NOT a valid data type in Python? a) int b) float c) char d) bool
  8. What is the result of 5 % 2? a) 2.5 b) 2 c) 1 d) 0
  9. Which operator has the highest precedence? a) + b) * c) ** d) //
  10. What will bool(0) return? a) True b) False c) 0 d) Error

Section B: Fill in the Blanks (1 mark each)

  1. The _______ function is used to convert a string to an integer.
  2. In Python, _______ is used for single line comments.
  3. The _______ operator is used to check if two values are equal.
  4. Variables in Python are _______ sensitive.
  5. The _______ function returns the length of a string.

Section C: True/False (1 mark each)

  1. Variable names in Python can start with a number. T/F