Python GUI + Classes and Objects

Python GUI + Classes and Objects

7th Grade

57 Qs

quiz-placeholder

Similar activities

Computer Programming Function

Computer Programming Function

7th Grade - University

55 Qs

Scratch Coding

Scratch Coding

3rd - 12th Grade

60 Qs

Second Semester – Grade 7 Revision Sheet

Second Semester – Grade 7 Revision Sheet

7th Grade

55 Qs

KS3 - HTML Assessment

KS3 - HTML Assessment

7th - 8th Grade

53 Qs

Computer Mixed Quiz-3

Computer Mixed Quiz-3

1st Grade - University

60 Qs

BIM Final

BIM Final

7th - 8th Grade

59 Qs

Python Year 7 Assessment

Python Year 7 Assessment

7th - 9th Grade

55 Qs

Python Quiz

Python Quiz

7th Grade

60 Qs

Python GUI + Classes and Objects

Python GUI + Classes and Objects

Assessment

Quiz

Computers

7th Grade

Medium

Created by

Digital dreams

Used 1+ times

FREE Resource

57 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the tkinter window, which class is used to create the textarea element?

Tk()

Entry()

Text( )

Label()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following functions helps us in opening the image through our code?

ImageTk.PhotoImage( )

Img[‘image’] = “abc.png”

None of above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following functions is used to delete the characters from the textarea?

delete(start_index, data)

insert(start_index, data)

insert(start_index, end_index)

delete(start_index, end_index)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of the filedialog.askopenfile() function?

To show all the available files in the system

To choose a file from the system to system operate on it.

To open a file of specific filetype like text .txt , images .jpg ….etc

All of above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function do we use to split the string into parts from the separator we declare in the function?

insert( )

split( )

filedialog.askopenfile()

open(“filename”,’mode’)

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Consider the below data and identify the correct objectives of the functions.

A-1, B-2, C-3, D-4

A-2, B-3, C-4, D-1

A-3, B-4, C-1, D-2

A-3, B-4, C-2, D-1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following modules did we use to get the file name from the given file path? File path: "/Users/mac/Documents/User/python/test/myfile.txt"

Filedialog

pandas

os

tkinter

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?