Python Level 2 - Lesson 8

Python Level 2 - Lesson 8

Professional Development

10 Qs

quiz-placeholder

Similar activities

Fraud

Fraud

KG - Professional Development

13 Qs

How are you doing?

How are you doing?

Professional Development

10 Qs

Mempersiapkan Komputer dan Paket Program Pengolah Angka

Mempersiapkan Komputer dan Paket Program Pengolah Angka

Professional Development

10 Qs

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

Azure Cloud computing

Azure Cloud computing

Professional Development

10 Qs

GRAND OPENING INTERNSHIP EXERCISE 2024

GRAND OPENING INTERNSHIP EXERCISE 2024

Professional Development

13 Qs

C String Array MCQs

C String Array MCQs

Professional Development

10 Qs

Unix Fundamentals

Unix Fundamentals

Professional Development

10 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 *

Create a free account and access millions of resources

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?