
Python and Django Quiz
Authored by Krishndeo Pawar
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
…………. method is used to start a thread in Python
Start()
join()
sleep()
all of these
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
…. Python module is commonly used to connect to a MySQL database
sqlite3
psycopg2
cx_Oracle
mysql-connector-python
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
After inserting the data we need to issue
Rollback()
Mycur.commit(1)
mycur.commit()
none of these
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
…………… method is used to fetch all rows from the result of an executed query
cursor.fetchall()
cursor.fetchrows()
cursor.fetch_all()
cursor.fetchallrows()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
……….. provide two way communication between two different programs.
socket
port
HTTP
Protocol
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
……. command is used to create a new Django project
django-admin startproject projectname
django startproject projectname
manage.py createproject projectname
django-admin createproject projectname
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
……. method is used to listen for incoming connections on a socket
accept()
listen()
connect()
receive()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
26 questions
Macromedia Flash
Quiz
•
8th Grade - Professio...
25 questions
python_quiz
Quiz
•
University
25 questions
Quiz # 2 - Advanced Multimedia Systems T2_24-25
Quiz
•
University
25 questions
unit2_Computer Graphics MCQs
Quiz
•
University
25 questions
Профессиональная иностранная терминология_2
Quiz
•
University
25 questions
Code Carnival
Quiz
•
University
25 questions
IAS CH3 QUIZ
Quiz
•
University
25 questions
IFT 303 Quiz one
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade