Python certification exam questions with
correct answers
strptime - CORRECT ANSWER✔✔-converts string into date format
| | | | | | |
strftime - CORRECT ANSWER✔✔-function formats a date
| | | | | |
io - CORRECT ANSWER✔✔-read from and write files
| | | | | | |
sys - CORRECT ANSWER✔✔-display error messages
| | | | |
os - CORRECT ANSWER✔✔-create folders
| | | |
os.path - CORRECT ANSWER✔✔-find specific files and folders
| | | | | | |
for separate variables with the same value (string or number) - CORRECT
| | | | | | | | | | |
|ANSWER✔✔-== yes |
is no |
f - CORRECT ANSWER✔✔-print(f "{}")
| | | |
, logic (semantic) error - CORRECT ANSWER✔✔-program behaves
| | | | | | |
incorrectly, does not crash | | |
syntax error - CORRECT ANSWER✔✔-typo
| | | |
runtime error - CORRECT ANSWER✔✔-problem not detected when
| | | | | | | |
program was parsed but revealed when a particular line is excecuted
| | | | | | | | | |
user error - CORRECT ANSWER✔✔-try/ except
| | | | |
\ - CORRECT ANSWER✔✔-continue statement on next line
| | | | | | |
\n - CORRECT ANSWER✔✔-print new line
| | | | |
\t - CORRECT ANSWER✔✔-insert line
| | | |
\\ - CORRECT ANSWER✔✔-use \ character
| | | | |
%m - CORRECT ANSWER✔✔-two digit month
| | | | |
%d - CORRECT ANSWER✔✔-two digit day
| | | | |
correct answers
strptime - CORRECT ANSWER✔✔-converts string into date format
| | | | | | |
strftime - CORRECT ANSWER✔✔-function formats a date
| | | | | |
io - CORRECT ANSWER✔✔-read from and write files
| | | | | | |
sys - CORRECT ANSWER✔✔-display error messages
| | | | |
os - CORRECT ANSWER✔✔-create folders
| | | |
os.path - CORRECT ANSWER✔✔-find specific files and folders
| | | | | | |
for separate variables with the same value (string or number) - CORRECT
| | | | | | | | | | |
|ANSWER✔✔-== yes |
is no |
f - CORRECT ANSWER✔✔-print(f "{}")
| | | |
, logic (semantic) error - CORRECT ANSWER✔✔-program behaves
| | | | | | |
incorrectly, does not crash | | |
syntax error - CORRECT ANSWER✔✔-typo
| | | |
runtime error - CORRECT ANSWER✔✔-problem not detected when
| | | | | | | |
program was parsed but revealed when a particular line is excecuted
| | | | | | | | | |
user error - CORRECT ANSWER✔✔-try/ except
| | | | |
\ - CORRECT ANSWER✔✔-continue statement on next line
| | | | | | |
\n - CORRECT ANSWER✔✔-print new line
| | | | |
\t - CORRECT ANSWER✔✔-insert line
| | | |
\\ - CORRECT ANSWER✔✔-use \ character
| | | | |
%m - CORRECT ANSWER✔✔-two digit month
| | | | |
%d - CORRECT ANSWER✔✔-two digit day
| | | | |