Completed

Class 11 IP – Python & Lists Live Challenge

Class 11 · Informatics Practices Sun, 20 Sep 2026 9:00 PM 60s / question 15 questions · 15 marks

Questions From This Challenge

Q1mcq1 mark
Which statement correctly describes the difference between interactive mode and script mode in Python?
Interactive mode executes commands immediately, while script mode executes a saved program ✓
Interactive mode can execute only complete programs, while script mode executes one statement at a time
Both modes work only with programs saved in files
Script mode cannot contain comments
Q2output1 mark
What will be the output of the following Python code?
x = 8
y = 3
print(x + y * 2)
Correct output: 14
Q3mcq1 mark
Which of the following is a valid Python identifier?
2marks
student-name
student_marks ✓
class
Q4output1 mark
What will be the output of the following Python code?
x = 10
x += 5
x *= 2

print(x)
Correct output: 30
Q5output1 mark
What will be the output of the following Python code?
x = 15
y = 4

print(x // y)
print(x % y)
Correct output: 3 3
Q6mcq1 mark
Which statement about mutable and immutable data types is correct?
Mutable objects cannot be changed after creation
Immutable objects can be modified directly after creation
Lists are mutable, while numbers are immutable ✓
Lists and numbers are both immutable
Q7output1 mark
What will be the output of the following Python code?
x = 5

if x > 3:
    x = x + 4
else:
    x = x - 4

print(x)
Correct output: 9
Q8output1 mark
What will be the output of the following Python code?
n = 18

if n > 20:
    print("A")
elif n > 15:
    print("B")
else:
    print("C")
Correct output: B
Q9output1 mark
What will be the output of the following Python code?
x = 1

while x < 10:
    x = x * 2

print(x)
Correct output: 16
Q10output1 mark
What will be the output of the following Python code?
total = 0

for x in [2, 4, 6]:
    total = total + x

print(total)
Correct output: 12
Q11output1 mark
What will be the output of the following Python code?
numbers = [10, 20, 30]
numbers.append(40)
numbers.insert(1, 15)

print(numbers)
Correct output: [10, 15, 20, 30, 40]
Q12output1 mark
What will be the output of the following Python code?
numbers = [5, 10, 5, 20, 5]

print(numbers.count(5))
print(numbers.index(20))
Correct output: 3 3
Q13output1 mark
What will be the output of the following Python code?
numbers = [10, 20, 30, 40]

numbers.remove(20)
x = numbers.pop()

print(numbers)
print(x)
Correct output: [10, 30] 40
Q14output1 mark
What will be the output of the following Python code?
numbers = [4, 1, 3, 2]

numbers.sort()
numbers.reverse()

print(numbers)
Correct output: [4, 3, 2, 1]
Q15output1 mark
What will be the output of the following Python code?
numbers = [6, 2, 9, 4]

print(len(numbers))
print(min(numbers) + max(numbers))
print(sum(numbers))
Correct output: 4 11 21
Next Live Challenge
DQL — BETWEEN + Logical Operators
Class 11 · Informatics Practices Fri, 23 Oct 2026, 8:00 PM
View Live Challenges →

← Back to Live Challenge History · Practice MCQs

CodeBuddy
Hi there! 👋 I'm CodeBuddy, your KV Coders assistant.

To help me give you the most accurate answers, please select your class and subject below, or just type your question!
Buddy is typing...