BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Python Institute PCPP-32-101 Exam - Topic 1 Question 6 Discussion

Posted by Loreta on Mar 29, 2023 at 11:50 PM

Which of the following values can be returned by the messagebox. askquestion () method?

Suggested Answer: C

Themessagebox.askquestion()method in Python's tkinter library displays a message box with a specified question and two response buttons labeled 'Yes' and 'No'. It returns a string indicating which button was selected - either 'yes' or 'no'.

This function is used to ask questions to the user that have only two options: YES or NO.It can be used to ask the user if they want to continue or if they want to submit something1.


Get Premium PCPP-32-101 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
13 comments · newest first
JE
Jettie 1 year ago
100% agree with 'yes' and 'no'!
RI
Rikki 1 year ago
Wait, are you sure about those options?
CI
Ciara 1 year ago
'True' and 'False' seems off to me.
LA
Laurel 1 year ago
I thought it was 'accept' and 'cancel'?
LA
Laticia 1 year ago
Definitely 'yes' and 'no'!
DE
Deangelo 1 year ago
From what I recall, the correct answer should be 'yes' and 'no', like in other dialog boxes I've seen.
TW
Twila 1 year ago
I'm a bit confused; I thought it might return True and False, but that doesn't seem right for this method.
PA
Pamella 1 year ago
I remember practicing a similar question, and I think it was about 'accept' and 'cancel'.
RE
Refugia 1 year ago
I think the messagebox.askquestion() method returns 'yes' and 'no', but I'm not completely sure.
JA
Janey 1 year ago
I feel confident that Option C is the correct SysML construct for modeling Geographic Coordinate. The diagram seems to match the requirements.
JE
Jesusa 1 year ago
I've got a good strategy for this - I'll read through the options carefully and try to eliminate any that don't seem like they're related to permission levels.
NI
Nilsa 1 year ago
I think option B makes the most sense since the application is in a private subnet and needs direct access to S3 without going through the internet.
RO
Romana 1 year ago
I keep mixing up options when it comes to scaling needs. I wonder if they would ask about CPU upgrades in the exam, but I think A, B, and C are safe choices.
0/2000 characters

Save Cancel