Python and Django Quiz

Python and Django Quiz

University

30 Qs

quiz-placeholder

Similar activities

untitled

untitled

8th Grade - University

25 Qs

PL101 MIDTERM Long Quiz

PL101 MIDTERM Long Quiz

University

35 Qs

VAC - Java -Applets and Servlets

VAC - Java -Applets and Servlets

University

25 Qs

Python Quiz II

Python Quiz II

9th Grade - University

30 Qs

Multithreading

Multithreading

University

28 Qs

Understanding Input, Selection and Loops in Python

Understanding Input, Selection and Loops in Python

7th Grade - University

25 Qs

Python Basics

Python Basics

University

25 Qs

programming quiz

programming quiz

University

25 Qs

Python and Django Quiz

Python and Django Quiz

Assessment

Quiz

Computers

University

Medium

Created by

Krishndeo Pawar

Used 3+ times

FREE Resource

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()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?