Python GUI + Classes and Objects

Python GUI + Classes and Objects

7th Grade

57 Qs

quiz-placeholder

Similar activities

Term3 - Grade 7 - Revision

Term3 - Grade 7 - Revision

7th Grade

52 Qs

P1 Semester Test Review Fall 2019

P1 Semester Test Review Fall 2019

7th Grade

53 Qs

Excel - Eng+Vie - Sort & Filter + Min + Max + Average

Excel - Eng+Vie - Sort & Filter + Min + Max + Average

7th Grade

59 Qs

Year 8 End of Year Assessment

Year 8 End of Year Assessment

7th - 9th Grade

60 Qs

HTML, CSS, and Design

HTML, CSS, and Design

6th - 12th Grade

59 Qs

GamePlan IT Assessment

GamePlan IT Assessment

7th Grade

61 Qs

Form 2 Word and Power point

Form 2 Word and Power point

7th Grade

57 Qs

Information Technology

Information Technology

7th Grade

53 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?