Search Header Logo

Python (Unit 5 & 6)

Authored by Battala Krishna

Computers

12th Grade

Used 1+ times

Python (Unit 5 & 6)
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 supports regular expressions?

re

regex

pyre

pyregex

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a regular expression in Python?

A function that creates strings

A sequence of characters that forms a search pattern

A method for sorting lists

An exception type in Python

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not the module provided by Python for GUI programming?

Tkinter

PyQt

wxPython

Swing GUI

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt


Which of the following is not the widget provided by Tkinter?

Label

Layout

Listbox

Frame

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the code to draw a line in Canvas?

canvas.line(15, 25, 200, 25)

canvas.create_stline(15, 25, 200, 25)

canvas.create_line(15, 25, 200, 25)

None of the above

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

  • What does the command ab+c search for?

ac,abc,abbc, and so on

ab,abc,abcc and so on

abc,abbc,abbbc and so on

None of the above

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following commands is used to stop the connection between Python and Mysql?

exit()

quit()

close()

stop()

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?