- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AI / Machine LearningNeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- QuizzesNew
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
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