Python and Django Quiz

Python and Django Quiz

University

30 Qs

quiz-placeholder

Similar activities

python collection

python collection

University

29 Qs

Quiz 2

Quiz 2

University

25 Qs

Assignment 2(CIVIL)

Assignment 2(CIVIL)

University

25 Qs

PROG3 - Chapter 2

PROG3 - Chapter 2

University

28 Qs

PYTHON

PYTHON

University

30 Qs

Speed Cup de Ingeniería 2022 (Nivel Avanzado)

Speed Cup de Ingeniería 2022 (Nivel Avanzado)

University

25 Qs

PYTHON CONTEST 2

PYTHON CONTEST 2

University

25 Qs

TECH_IQ_HUNT ROUND

TECH_IQ_HUNT ROUND

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?