Python Level 2 - Lesson 8

Python Level 2 - Lesson 8

Professional Development

10 Qs

quiz-placeholder

Similar activities

Streams

Streams

Professional Development

10 Qs

Python-quiz2

Python-quiz2

University - Professional Development

11 Qs

Sosialisasi BRIONE Data

Sosialisasi BRIONE Data

Professional Development

10 Qs

ER Model

ER Model

Professional Development

10 Qs

Software Security

Software Security

University - Professional Development

10 Qs

C Programming

C Programming

Professional Development

10 Qs

Advance MS Excel Tips and Tricks

Advance MS Excel Tips and Tricks

Professional Development

10 Qs

Interesting Bird Facts

Interesting Bird Facts

KG - Professional Development

11 Qs

Python Level 2 - Lesson 8

Python Level 2 - Lesson 8

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Coding Bot

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

1. GUI stands for

a. Graphical user interaction

b. Graphical user interface

c. Graphics uniform interaction

d. Graphical Universal Interaction

2.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

What is the purpose of the 'self.master.geometry("250x200")' in the script?

Adjusts the screen resolution

Creates a new window of 250x200 pixels

Resizes the button dimensions

Sets the geometry of the main window to 250x200 pixels

3.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

How do you create a Label widget in Tkinter?

label = Label("Hello")

label = Label(text="Hello")

Label.new("Hello")

 create_Label("Hello")

4.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

Which method is used to start the tkinter application?

app.start()

app.execute()

app.run()

app.mainloop()

5.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

What method is used to arrange widgets in the tkinter frame?

self.grid()

self.place()

self.set()

self.pack()

6.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

What does the 'command' option in a tkinter Button do?

Determines the position of the button

Sets the size of the button

Changes the color of the button

Defines the function to be called when the button is clicked

7.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

Which is the correct way to use tkinter in python

program?

include tkinter *

import tkinter as tk

import tk as tkinter

from tkinter include *

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?