Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GIAC Exam GPYC Topic 5 Question 52 Discussion

Actual exam question for GIAC's GPYC exam
Question #: 52
Topic #: 5
[All GPYC Questions]

What is the output of the following commands typed in the Python Interactive shell?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Lillian
1 days ago
The answer is obviously B) Try Finally. Anyone who doesn't know that clearly hasn't been practicing enough Python.
upvoted 0 times
...
Reita
4 days ago
Hmm, I'm not entirely sure about this one. I'll have to test it out in the Python shell to be sure.
upvoted 0 times
...
Josephine
8 days ago
I'm not sure, but I think it might be Try Else Finally.
upvoted 0 times
...
Amina
10 days ago
I agree with Mozelle, because the code will execute the 'finally' block regardless of any exceptions.
upvoted 0 times
...
King
12 days ago
I think the correct answer is B) Try Finally. The 'Finally' block ensures that the code inside it is executed regardless of whether an exception is raised or not.
upvoted 0 times
...
Magdalene
14 days ago
The output should be 'Try Finally', as the 'Finally' block is always executed regardless of whether an exception is raised or not.
upvoted 0 times
...
Mozelle
16 days ago
I think the output will be Try Finally.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77