Question: Al Prompts: [ 2 0 Marks ] - Need to include the keywords in the prompts to get proper output. - From the output, select

Al Prompts: [20 Marks]
- Need to include the keywords in the prompts to get proper output.
- From the output, select proper line to implement the function specified.
- Do the fact check to ensure your code works for the specified function.
Align to Right
- Write your name and student ID on eacin page, ...
- Specify the Al tools you used for this assignment at the bottom of this file.
- Save your answer in PDF format then submit it to SOUL before the due date.
Note: The Pillow package needs to be installed in PyCharm to enable you work with ImageTk. Ask any AI tools to find how to install this package in PyCharm and show the installation steps. DO NOT use command "pip install pillow".
Write the steps on how to install Pillow package in PyCharm: Student Name: [
1
Student ID: [
]
\begin{tabular}{|c|c|c|c|c|}
\hline \# & Function & Prompt & Screenshot of AI Output & Code [All in one line]\\
\hline 1 & Get all functions available in the Tkinter package & & & \\
\hline 2 & Import imagerelated modules & & & \\
\hline 3 & Set the window size & & & \\
\hline 4 & Create a label with a text "Name" & & & \\
\hline 5 & Create an entry with a width of 60 & & & \\
\hline 6 & Disable an entry & & & \\
\hline 7 & Get the entered value from an entry & & & \\
\hline 8 & Create a button with a name 'Exit' and a background color 'yellow' & & & \\
\hline
\end{tabular}
2
\(\Gamma \)\begin{tabular}{|l|l|l|l|l|}
\hline 9 & \begin{tabular}{l}
Open an \\
image file
\end{tabular} & & & Student ID: [\\
\hline 10 & \begin{tabular}{l}
Convert an \\
image to \\
Tkimage \\
format
\end{tabular} & & & \\
\hline 11 & \begin{tabular}{l}
Update an \\
image on a \\
label
\end{tabular} & & & \\
\hline 12 & \begin{tabular}{l}
Create an \\
OptionMenum
\end{tabular} & & & \\
\hline 13 & \begin{tabular}{l}
Make an \\
image list \\
randomly \\
arranged
\end{tabular} & & & \\
\hline 14 & \begin{tabular}{l}
Clear \\
current text \\
inside an \\
entry widget
\end{tabular} & & & \\
\hline 15 & \begin{tabular}{l}
Insert a new \\
text in an \\
entry widget
\end{tabular} & & & \\
\hline 16 & \begin{tabular}{l}
Position a \\
label at row \\
0, column 0
\end{tabular} & & & \\
\hline 17 & \begin{tabular}{l}
Pack a \\
button to a \\
window
\end{tabular} & & & \\
\hline 18 & \begin{tabular}{l}
Set a title \\
for a \\
window
\end{tabular} & & & \\
\hline 19 & \begin{tabular}{l}
Start Tkinter \\
event loop
\end{tabular} & & & \\
\hline
\end{tabular}
3
Al Prompts: [ 2 0 Marks ] - Need to include the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!