
Lesson 4 Quiz
Authored by Whizara Teacher
Computers
6th - 12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of these options show incorrect syntax?
Import Tkinter
import tk
import tkinter
import tk as tkinter
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the use of the <widget>.config() method?
To modify the properties of the widget during program run
To create the widget
To delete the widget
To alter the text shown on the widget
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Predict the output for these lines of code.
>>> var = 5
>>> def Fun1():
>>> global var
>>> var += 21
>>> print('Variable inside the function:',var)
>>> Fun1()
>>> var += 4
>>> print('Variable outside the function:',var)
Error
Variable outside the function: 30
Variable inside the function: 30
Variable outside the function: 30
Variable inside the function: 26
Variable outside the function: 30
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Find the line number on which an error is present.
>>> import tkinter as tk # 1
>>> top = tk.Tk() # 2
>>> L1 = tk.Label(top,text = ('Arial',12)) # 3
>>> L1.pack() # 4
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What argument does playsound.playsound() accept?
A string argument that holds the path to the sound file
A file handle that contains the sound file inside an open() function
No argument is required
An import statement
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The methods, grid() and pack() can be used simultaneously to fit a widget to a GUI window.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of these properties can be used with a Button widget’?
padx
pady
bd
All the other options are correct
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Tekper Bab3
Quiz
•
10th Grade
10 questions
Quick Revision Term3
Quiz
•
7th Grade
15 questions
ÔN TẬP HKII-02
Quiz
•
8th Grade
10 questions
File Management 3 Quiz
Quiz
•
8th Grade
10 questions
Grade 11 Term 4 Practice 2
Quiz
•
11th Grade
14 questions
Computing figures
Quiz
•
4th - 12th Grade
15 questions
End of term assessment
Quiz
•
9th Grade
10 questions
Quiz tentang Microsoft Word, Software dan Hardware
Quiz
•
8th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Context Clues
Quiz
•
6th Grade
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
10 questions
History and Traditions of Valentine's Day
Interactive video
•
3rd - 6th Grade
20 questions
Valentine’s Day and Disney Trivia Worksheet
Quiz
•
6th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
Writing Algebraic Expressions
Quiz
•
6th Grade
20 questions
El Verbo IR Practice
Quiz
•
9th Grade