fa
Feedback
Class 12 Computer science

Class 12 Computer science

رفتن به کانال در Telegram

Contact here at @PromoXtalk_bot for any business/ promotion related queries Contact here @MaterialXrequest_bot for requesting any Study materials

نمایش بیشتر
2 241
مشترکین
+324 ساعت
+47 روز
-3530 روز
آرشیو پست ها
🎉 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

Q10/10: What are the variables or values passed in a function call called?
Anonymous voting

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 voting

Q8/10: What is the default return value of a function that does not contain a return statement?
Anonymous voting

Q7/10: Which keyword is used to define a user-defined function in Python?
Anonymous voting

Q6/10: Assertion (A): Lists can be used as keys in a dictionary. Reason (R): Dictionary keys must be immutable data types.
Anonymous voting

Q5/10: Given list L = [10, 20, 30, 40], what does L[-1:-3:-1] return?
Anonymous voting

Q4/10: Which function is used to read a line of text from the standard input?
Anonymous voting

Q3/10: What will be the output of print(bool('False')) in Python?
Anonymous voting

Q2/10: Which of the following data types is immutable in Python?
Anonymous voting

Q1/10: What is the output of the expression 3 * 1 ** 3 in Python?
Anonymous voting

✨ 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!

🎉 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

Q10/10: What happens if an INSERT query executes successfully via a cursor, but the script terminates without calling commit()?
Anonymous voting

Q9/10: Which exception is typically raised when a database connection fails in the mysql.connector module?
Anonymous voting

Q8/10: Assertion (A): fetchall() returns query results as a list of tuples. Reason (R): Each tuple in the list represents a single row.
Anonymous voting

Q7/10: Which cursor attribute returns the number of rows affected by the last executed DML statement?
Anonymous voting

Q6/10: Why is the commit() method required after executing an INSERT, UPDATE, or DELETE query in Python?
Anonymous voting

Q5/10: Which method is used on the cursor object to run a SQL command passed as a string?
Anonymous voting

Q4/10: What is the main purpose of the cursor() method in Python-MySQL connectivity?
Anonymous voting