Python (Unit 5 & 6)

Python (Unit 5 & 6)

12th Grade

15 Qs

quiz-placeholder

Similar activities

Final Exam - VR

Final Exam - VR

9th - 12th Grade

20 Qs

Cursor & Browser Icons

Cursor & Browser Icons

1st - 12th Grade

16 Qs

MySQL Python Connectivity

MySQL Python Connectivity

12th Grade - University

10 Qs

 Executing SQL Commands With Python

Executing SQL Commands With Python

12th Grade - University

10 Qs

Chapter 4 The Keyboard and the Mouse

Chapter 4 The Keyboard and the Mouse

2nd Grade - University

20 Qs

week 1 basic java coding language

week 1 basic java coding language

9th - 12th Grade

12 Qs

Google Docs

Google Docs

9th - 12th Grade

19 Qs

Computación 1ro y 2do básico

Computación 1ro y 2do básico

1st Grade - University

20 Qs

Python (Unit 5 & 6)

Python (Unit 5 & 6)

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Battala Krishna

Used 1+ times

FREE Resource

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()

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?