Search Header Logo

Python Intermediate Quiz - 2

Authored by Sai Sankalp N

Instructional Technology

Professional Development

Used 14+ times

Python Intermediate Quiz - 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which module in python gives us the ability to open links in the browser?

Webbrowser

Requests

Html

googlesearch

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What are status codes?

Status codes are issued by a server in response to a client's request made to the server

Status codes are numbers that tell whether a piece of information has gone successfully or not

Status codes are issued when servers run into a problem

Status codes are codes that the internet issues incase of faults

3.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Mention the name of the loop that works only is the condition given is true

___________ LOOP

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The _________ string is a string that contains sequence of bytes, which we later put it in the form of an image

byte

fill

data

picture

image

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are printing patterns?

Patterns that can be printed by using complex algorithms

Patterns which consist of ' * ' mark that prints in different shapes

Patterns can be printed in python using simple for loops

Patterns that will be printed using complex code which consists of loops

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What's the output of the code?

Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following do you use to get information about a webpage?

requests.get()

re.get()

webbrowser.get()

googlesearch.get()

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?