Question 6
Which one of the platform module functions should be used to determine the underlying platform name?
- platform.processor()
- platform.uname()
- platform.python_version()
- platform.platform()
Question 7
What is the expected behavior of the following code?
- the code is erroneous and it will not execute
- it outputs 1
- it outputs 2
- it outputs 0
Question 8
Which of the following snippets will execute without raising any unhandled exceptions? (Choose two.)
Question 9
What is the expected behavior of the following code?
- it outputs 3
- it outputs 1
- it outputs 2
- the code is erroneous and it will not execute
Question 10
What is true about the following snippet? (Choose two.)
- the string what a pity will be seen
- the string it's nice to see you will be seen
- the code will raise an unhandled exception
- the string I feel fine will be seen