Python quizzes: #output-prediction

10 quizzes about #output-prediction, with an explanation for every answer.

4 Immutable Strings Medium Strings never change in place - see if you can predict what really happens. Python · Strings #immutability#output-prediction 10 questions · ~6 min Not started Start
4 break, continue & loop else Medium Predict the output when loops are cut short, skipped or finished with else. Python · Control Flow #loops#output-prediction 10 questions · ~6 min Not started Start
2 List Comprehensions Medium Predict what list, dict and generator comprehensions produce, including the classic traps. Python · Pythonic Python #comprehension#output-prediction 10 questions · ~6 min Not started Start
4 Generators & yield Hard Trace exactly when generator code runs, what it yields and when it is used up. Python · Pythonic Python #generators#iterators#output-prediction 10 questions · ~8 min Not started Start
2 Output-Based Python Questions Medium Predict the exact output of short Python snippets, the way written interview rounds test you. Python · Python Interview Questions #output-prediction#interview 10 questions · ~6 min Not started Start
1 Output-Based JavaScript Questions Medium Predict the output of short snippets, the most common JavaScript interview format. JavaScript · JavaScript Interview Questions #output-prediction#interview 10 questions · ~6 min Not started Start
1 Output-Based Java Questions Medium Predict what short Java programs print, the way interview screens and written tests ask it. Java · Java Interview Questions #output-prediction#interview 10 questions · ~6 min Not started Start
5 Bitwise Operators Medium Set, clear, toggle and test bits with &, |, ^, ~ and the shift operators. C · Memory & Structs #bitwise#output-prediction 10 questions · ~6 min Not started Start
1 Output-Based C Questions Medium Predict what short C programs print, the classic interview warm-up. C · C Interview Questions #output-prediction#interview 10 questions · ~6 min Not started Start
2 SQL Output Prediction Medium Read short SQL queries and predict their exact output, including the classic interview traps. SQL · SQL Interview Questions #output-prediction#gotchas 10 questions · ~6 min Not started Start

Other tags: