PYTHON-QUIZ-2023

PYTHON-QUIZ-2023

University

17 Qs

quiz-placeholder

Similar activities

ICT Unit-2

ICT Unit-2

University

20 Qs

AWS compute services

AWS compute services

University

17 Qs

Information Technology

Information Technology

University

17 Qs

Quiz 1 CCE

Quiz 1 CCE

University

15 Qs

2.3.1 Graph Traversal & Path Finding Algorithms

2.3.1 Graph Traversal & Path Finding Algorithms

12th Grade - University

20 Qs

Quiz Harian Gdevelop MPK

Quiz Harian Gdevelop MPK

University

20 Qs

Digital and Analog transmission

Digital and Analog transmission

University

20 Qs

GIS Unit III

GIS Unit III

University

15 Qs

PYTHON-QUIZ-2023

PYTHON-QUIZ-2023

Assessment

Quiz

Computers

University

Medium

Created by

Shubha V

Used 11+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

17 questions

Show all answers

1.

OPEN ENDED QUESTION

45 sec • Ungraded

USN

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

45 sec • Ungraded

NAME

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

To open a file c:\scores.txt for reading, we use _____________

  infile = open(“c:\scores.txt”, “r”)

infile = open(“c:\\scores.txt”, “r”)

infile = open(file = “c:\scores.txt”, “r”)

infile = open(file = “c:\\scores.txt”, “r”)

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

1.      To read the entire remaining contents of the file as a string from a file object infile, we use ____________

infile.read(2)

infile.readline()i

infile.read()

infile.readlines()

5.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

The readlines() method returns ____________

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The character * is used in ________.

Insert Query

Delete query

Select Query

All of the above

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Python DB-API is

Is a Python module

connectivity modules

is used to access

Specification for database SQLite database

None of these

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?