Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
Give this quiz to my class
Q 1/25
Score 0
A student runs `pip install pandas` on their laptop. They worry that required supporting libraries (like `numpy`) might be missing. Which statement best describes what happens? (CO2)
300
pip installs only pandas and ignores dependencies.
pip upgrades all installed packages by default.
pip automatically downloads and installs required dependencies.
pip compiles all C extensions automatically without tools.
Q 2/25
Score 0
You are asked to recommend a coding tool: the team wants a lightweight editor, code-centric, with extensions for Python, but not a heavy IDE. Which option best fits this requirement? (CO3)
300
Anaconda Navigator
Visual Studio Code
IDLE
Dreamweaver
25 questions
Q.
A student runs `pip install pandas` on their laptop. They worry that required supporting libraries (like `numpy`) might be missing. Which statement best describes what happens? (CO2)
1
300 sec
Q.
You are asked to recommend a coding tool: the team wants a lightweight editor, code-centric, with extensions for Python, but not a heavy IDE. Which option best fits this requirement? (CO3)
2
300 sec
Q.
A student writes a for loop with two print() lines. Only the first print() runs repeatedly; the second prints just once after the loop. What mistake most likely occurred? (CO3)
3
300 sec
Q.
Your friend claims: 'Lists in Python can contain only one type of data.' What is the correct response? (CO2)
4
300 sec
Q.
A mini-project requires generating even numbers from 2 to 20. Which comprehension is correct? (CO4)
5
300 sec
Q.
In a classroom project, two tuples (1,2,3) and (4,5,6) are concatenated. What is the result? (CO2)
6
300 sec
Q.
Python is called dynamically typed. What does this mean? (CO1)
7
300 sec
Q.
Which is a valid Python identifier? (CO1)
8
300 sec
Q.
Which is NOT a Python keyword? (CO1)
9
300 sec
Q.
What does the string method .lower() do? (CO1)
10
300 sec
Q.
What is the output of list(range(1,5))? (CO2)
11
300 sec
Q.
Which operation removes and returns the last item of a list? (CO2)
12
300 sec
Q.
Which statement about lists is true? (CO2)
13
300 sec
Q.
Which slicing expression returns [2,3,4] from nums=[0,1,2,3,4,5]? (CO2)
14
300 sec
Q.
Which data type is immutable? (CO1)
15
300 sec
Q.
Which comprehension creates {1:1,2:4,3:9}? (CO4)
16
300 sec
Q.
Which comprehension produces only odd numbers up to 9? (CO4)
17
300 sec
Q.
What is the output of print((1,)*3)? (CO2)
18
300 sec
Q.
data=[1,2,3,4]; print(data[::2]). What is printed? (CO2)
19
300 sec
Q.
fruits=['apple','banana','cherry']; print(fruits[-2]). What is printed? (CO2)
20
300 sec
Q.
x=(1,2,3); y=x; x+=(4,5); print(y). What is printed? (CO3)
21
300 sec
Q.
nums=[10,20,30]; nums.pop(); print(nums). What is printed? (CO2)
22
300 sec
Q.
print('python'[::-1]). What is printed? (CO2)
23
300 sec
Q.
a=[1,2,3]; b=a; b.append(4); print(a). What is printed? (CO3)