Search Header Logo

Python Intermediate Final Test

Authored by Sai Sankalp N

Instructional Technology

Professional Development

Used 9+ times

Python Intermediate Final Test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

10 sec • 5 pts

Which of the following variable names are illegal?

(Select ALL that apply)

TRUE

True

and

true

2.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Name of the keyword used to catch errors

print

input

try

except

3.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

What extension must you add to the end of a file when saving?

.c

.java

.py

.pyc

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

which function of json module is used for reading the information from a json file in the form of a string?

.load()

.loads()

.dump()

.dumps()

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

JSON

JavaScript Object Notation

JavaScript Oriented Notation

Java scripter objects note

JavaScript of Nodes

6.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Media Image

What is the output of the following snippet?

the code will cause a runtime error

2

None

1

7.

MULTIPLE SELECT QUESTION

10 sec • 1 pt

Which of the following is used in Quick sort?

Pivots

Pair of numbers

Sort function

Recursion

Access all questions and much more by creating a free account

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

Already have an account?