Python (Unit 5 & 6)

Python (Unit 5 & 6)

12th Grade

15 Qs

quiz-placeholder

Similar activities

Python Basics

Python Basics

12th Grade

20 Qs

3rd-Qtr QUIZ8 Designing And Exploring Windows Form-4-14-2023

3rd-Qtr QUIZ8 Designing And Exploring Windows Form-4-14-2023

12th Grade

20 Qs

Database(1)

Database(1)

10th Grade - University

10 Qs

Computer Hardward - Fetch, Decode & Execute Cycle

Computer Hardward - Fetch, Decode & Execute Cycle

4th - 12th Grade

10 Qs

🔦 Formative Assessment 2: Flow Controls

🔦 Formative Assessment 2: Flow Controls

12th Grade

10 Qs

Programming Languages

Programming Languages

9th - 12th Grade

17 Qs

OCR J277 2.5 Characteristics and purpose of languages

OCR J277 2.5 Characteristics and purpose of languages

9th - 12th Grade

11 Qs

CodeHS Python Chapter 2

CodeHS Python Chapter 2

10th - 12th Grade

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?