Q9/10: Predict the output for: def f(a, b=[]): b.append(a); return b. What is the output of print(f(1)) followed by print(f(2))?
Anonymous Quiz
31%
[1] and [2]
31%
[1] and [1, 2]
19%
Error
19%
[1, 2] and [1, 2]
0%
Visit acadpills.com for more
Q10/10: What are the variables or values passed in a function call called?
Anonymous Quiz
35%
Formal parameters
35%
Actual parameters
18%
Default parameters
6%
Local parameters
6%
Visit acadpills.com for more
π Quiz Finished! π
Thank you for participating.
Keep learning, keep growing, and come back tomorrow for more questions!
Free Premium PDFs: acadpills.com/premium
Next quiz Wednesday at 20:00
Thank you for participating.
Keep learning, keep growing, and come back tomorrow for more questions!
Free Premium PDFs: acadpills.com/premium
Next quiz Wednesday at 20:00
β¨ Quiz Time! β¨
Answer today's quiz questions and test your knowledge.
Every question is a step toward exam success!
FREE Premium PDFs Available Here: acadpills.com/premium
Good luck!
Answer today's quiz questions and test your knowledge.
Every question is a step toward exam success!
FREE Premium PDFs Available Here: acadpills.com/premium
Good luck!
Q1/10: Which of the following is true about local and global variables?
Anonymous Quiz
14%
Local variables can be accessed globally
50%
Global variables are declared inside functions
21%
Local variables hide global variables of same name
14%
Global variables cannot be modified inside function
0%
Visit acadpills.com for more
Q2/10: Assertion (A): A function can return multiple values. Reason (R): Python automatically packs multiple return values into a tuple.
Anonymous Quiz
47%
Both A and R are true and R explains A
29%
Both A and R are true but R does not explain A
18%
A is false but R is true
6%
A is true but R is false
0%
Visit acadpills.com for more
Q3/10: What will def my_func(*args): return len(args) return for the call my_func(1, 2, 3, 4)?
Anonymous Quiz
11%
1
28%
3
33%
4
22%
Error
6%
Visit acadpills.com for more
Q4/10: Which keyword allows us to modify a global variable from inside a function?
Anonymous Quiz
79%
global
5%
nonlocal
11%
local
5%
var
0%
Visit acadpills.com for more
Q5/10: Which module must be imported to use the randint() function?
Anonymous Quiz
14%
math
9%
statistics
68%
random
9%
numbers
0%
Visit acadpills.com for more
Q6/10: What are the possible outputs for random.randrange(1, 5)?
Anonymous Quiz
10%
Any number from 1 to 5
60%
Any number from 1 to 4
5%
Only 1 or 5
25%
1, 2, 3, 4, 5
0%
Visit acadpills.com for more
Q7/10: Which function of the math module returns the smallest integer greater than or equal to x?
Anonymous Quiz
39%
math.floor(x)
50%
math.ceil(x)
0%
math.trunc(x)
6%
math.round(x)
6%
Visit acadpills.com for more
Q8/10: What is the output of math.pow(3, 2)?
Anonymous Quiz
57%
9
38%
9.0
0%
8
5%
8.0
0%
Visit acadpills.com for more
Q9/10: Assertion (A): 'from module import *' imports all objects from the module. Reason (R): It is recommended to avoid naming conflicts.
Anonymous Quiz
36%
Both A and R are true and R explains A
50%
Both A and R are true but R does not explain A
7%
A is false but R is true
7%
A is true but R is false
0%
Visit acadpills.com for more
Q10/10: Which mode is used to open a file for reading in text format?
Anonymous Quiz
7%
w
80%
r
7%
a
7%
rb
0%
Visit acadpills.com for more
β€1
π Quiz Finished! π
Thank you for participating.
Keep learning, keep growing, and come back tomorrow for more questions!
Free Premium PDFs: acadpills.com/premium
Next quiz Sunday at 20:00
Thank you for participating.
Keep learning, keep growing, and come back tomorrow for more questions!
Free Premium PDFs: acadpills.com/premium
Next quiz Sunday at 20:00
π Sample Papers, Question Banks & Xcellence 95+ Series ab mil rahe hain Heavy Discount ke saath! π₯
β‘ Extra 10% OFF Coupon Code: Ravi10
π― Board Exam ki preparation ko next level par le jao:
Grab your books today and start your Board Exam preparation like a topper!
β‘ Extra 10% OFF Coupon Code: Ravi10
Please open Telegram to view this post
VIEW IN TELEGRAM
β€2
π ALL SUBJECTS PREMIUM BOOKS | SESSION 2026β27π
Start your preparation for the new CBSE Session 2026β27 with the best study books & question banks!π―
β¨ Read these books completely and solve every question. With consistent practice, scoring 90β95%+ is absolutely possible!
β
Updated as per the latest CBSE 2026β27 syllabus
πΉ Class 9 β https://tinyurl.com/9CBSEBOOKS
πΉ Class 10 β https://tinyurl.com/10CBSEBOOKS
πΉ Class 11 β https://tinyurl.com/11CBSEBOOKS
πΉ Class 12 β https://tinyurl.com/12CBSEBOOKS
π₯ Download and save the PDFs NOW! They may be removed anytime.
βοΈ Every year, many board exam questions come directly from this book. Don't wait until the links expire!
β οΈ If any link doesn't open directly, simply copy and paste it into your Chrome browser.
π£ Share this with your friends and start your 2026β27 preparation today! π
Start your preparation for the new CBSE Session 2026β27 with the best study books & question banks!
β οΈ If any link doesn't open directly, simply copy and paste it into your Chrome browser.
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯ Last year, many students found that several board exam questions were same as provided in these PDFs
π Start solving these Chapter-wise VVIQs today and maximize your chances of scoring FULL marks in your CBSE Board Exams!π― π
Please open Telegram to view this post
VIEW IN TELEGRAM
Class 12 Computer science
π ALL SUBJECTS PREMIUM BOOKS | SESSION 2026β27π Start your preparation for the new CBSE Session 2026β27 with the best study books & question banks! π― β¨ Read these books completely and solve every question. With consistent practice, scoring 90β95%+ is absolutelyβ¦
β οΈ Downloaded the PDFs from the message above?π
β³ Don't wait! The links can expire anytime.
π Go to the message above and download everything before the links expire!π
Please open Telegram to view this post
VIEW IN TELEGRAM
π ALL SUBJECTS PREMIUM BOOKS | SESSION 2026β27π
Start your preparation for the new CBSE Session 2026β27 with the best study books & question banks!π―
β¨ Read these books completely and solve every question. With consistent practice, scoring 90β95%+ is absolutely possible!
β
Updated as per the latest CBSE 2026β27 syllabus
πΉ Class 9 β https://tinyurl.com/9CBSEBOOKS
πΉ Class 10 β https://tinyurl.com/10CBSEBOOKS
πΉ Class 11 β https://tinyurl.com/11CBSEBOOKS
πΉ Class 12 β https://tinyurl.com/12CBSEBOOKS
π₯ Download and save the PDFs NOW! They may be removed anytime.
βοΈ Every year, many board exam questions come directly from this book. Don't wait until the links expire!
β οΈ If any link doesn't open directly, simply copy and paste it into your Chrome browser.
π£ Share this with your friends and start your 2026β27 preparation today! π
Start your preparation for the new CBSE Session 2026β27 with the best study books & question banks!
β οΈ If any link doesn't open directly, simply copy and paste it into your Chrome browser.
Please open Telegram to view this post
VIEW IN TELEGRAM