Class 12 Computer science
2.06K subscribers
28 photos
2 videos
20 files
73 links
Contact here at @PromoXtalk_bot for any business/ promotion related queries

Contact here @MaterialXrequest_bot for requesting any Study materials
Download Telegram
Q3/10: Which command is used to start the Django development server?
Anonymous Quiz
0%
django-admin startserver
67%
python start.py server
0%
django run server
0%
Visit acadpills.com for more
Q4/10: Which command is used to initialize a new Django project?
Anonymous Quiz
0%
django-admin startproject
33%
django create project
33%
python init django
0%
Visit acadpills.com for more
Q5/10: Which file in a Django project contains the URL routing declarations?
Anonymous Quiz
33%
33%
0%
0%
Visit acadpills.com for more
Q6/10: In a typical Django application, where are the functions that handle HTTP requests and return responses defined?
Anonymous Quiz
67%
33%
0%
Visit acadpills.com for more
Q8/10: Assertion (A): Django templates allow raw Python code execution directly in HTML. Reason (R): MVT isolates logic from presentation.
Anonymous Quiz
33%
Both A and R are true, and R is correct explanation
67%
Both A and R are true, but R is not correct explanation
0%
A is true, but R is false
0%
A is false, but R is true
Q9/10: Which Django file is used to configure database connection details and installed applications?
Anonymous Quiz
25%
50%
0%
Visit acadpills.com for more
Q10/10: Which sequence correctly describes the data flow in Django's MVT architecture when a user requests a page?
Anonymous Quiz
0%
URL -> Template -> View -> Model
25%
URL -> View -> Model -> Template
75%
Template -> URL -> View -> Model
0%
View -> URL -> Template -> Model
🎉 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
✨ 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!
❤1
Q1/10: Which Python package is officially commonly used to establish a connection with a MySQL database?
Anonymous Quiz
50%
mysql-python
0%
mysql-connector-python
33%
pymysql-connect
17%
mysql-db-link
Q2/10: Which method is used to establish a connection to a MySQL database using mysql.connector?
Anonymous Quiz
17%
link()
33%
bind()
50%
connect()
0%
attach()
Q3/10: Which cursor method is used to fetch the next single row of a query result set?
Anonymous Quiz
17%
fetchrow()
17%
getone()
33%
fetchone()
33%
nextrow()
Q5/10: Which method is used on the cursor object to run a SQL command passed as a string?
Anonymous Quiz
17%
run()
17%
perform()
17%
execute()
33%
query()
Q6/10: Why is the commit() method required after executing an INSERT, UPDATE, or DELETE query in Python?
Anonymous Quiz
0%
To format the result set
50%
To save the data changes permanently in the database
25%
To close the cursor
25%
To fetch the updated rows
Q7/10: Which cursor attribute returns the number of rows affected by the last executed DML statement?
Anonymous Quiz
33%
rowcount
0%
affected_rows
0%
count
33%
modified
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 Quiz
0%
Both A and R are true, and R is correct explanation
50%
Both A and R are true, but R is not correct explanation
25%
A is true, but R is false
0%
A is false, but R is true
Q9/10: Which exception is typically raised when a database connection fails in the mysql.connector module?
Anonymous Quiz
0%
mysql.connector.ConnectionError
25%
mysql.connector.Error
25%
mysql.connector.DatabaseException
50%
mysql.connector.Fail
❤1
Q10/10: What happens if an INSERT query executes successfully via a cursor, but the script terminates without calling commit()?
Anonymous Quiz
0%
The query executes and data is saved.
50%
An error is immediately thrown.
50%
The data is automatically committed.
0%
The changes are discarded and not saved.
🎉 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