wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python L50 Ending with Python

Total questions: 7

Worksheet time: 5mins

Name
Class
Date
1.

Which of the following is required before using PyInstaller?

a)

Installing Visual Studio Code

b)

Installing PyInstaller with pip

c)

Creating a .exe manually

d)

Installing Java

2.

To turn a Python script into an executable app, use the command:

a)
python your_script.exe
b)
pyinstaller script.py
c)
pythonscript --build app
d)

pyinstaller --onefile main.py

3.

What is the name of the folder that contains your final .exe file?

a)

result

b)

dist

c)

build

d)

project

4.

Match the Column

a)

Install PyInstaller

1.

pip install pyinstaller

b)

Find final app

2.

dist

c)

Open terminal

3.

Type the command

5.

Why do developers copy the .exe into the main project folder?

a)

To make the folder look tidy

b)

To let the app access related files easily

c)

To speed up loading

d)

To remove PyInstaller logs

6.

If your app runs in Python but the .exe version crashes, what’s the likely problem?

a)
Insufficient memory allocation for the .exe version.
b)
The .exe version lacks proper user permissions.
c)

Missing data or resource files

7.

What’s one advantage of converting your Python script into an .exe file?

a)
It allows for easier debugging of the script.
b)
It increases the script's execution speed significantly.
c)
It automatically updates the script with new features.
d)
It enables users to run the script without needing Python installed.