- 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
New · 250 quizzes, 2500 questions
Quizzes that make
Quizzes that make
code click.
Short multiple-choice quizzes on real code: Python, JavaScript, Java, C, SQL, HTML & CSS and AI. Pick an answer, see why it is right, earn XP and keep your streak going.
- 7 topics
- 3 difficulty levels
- 12 languages
- Free, no sign-in needed to play
Keep your streak and XPYou can play without an account. Sign in to keep XP, streaks, badges and your mistakes deck.
New here?
Find your Python level
15 questions from easy to hard. We suggest where to start.
Ways to play
PracticeNo timer. The explanation shows right after every answer.
Timed20 seconds a question and 1.5x XP. The answers come at the end.
ExamCategory exam: 20 mixed questions. Pass with 80% for a certificate.
Mistakes reviewQuestions you missed come back after 1, 3 and 7 days until you know them.
Choose a topic
Python BasicsStringsControl FlowLists & TuplesDictionaries & SetsFunctions
+6
0 of 60 passed
Start
JavaScript BasicsFunctions & ScopeArrays & ObjectsAsynchronous JavaScript
+2
0 of 30 passed
Start
Java BasicsObject-Oriented JavaStrings, Arrays & WrappersJava Collections
+2
0 of 30 passed
Start
C BasicsFunctions & ScopeArrays & StringsPointers
+2
0 of 30 passed
Start
SQL BasicsAggregates & GROUP BYSQL JoinsSubqueries & Window Functions
+2
0 of 30 passed
Start
HTML BasicsHTML Forms & AccessibilityCSS BasicsCSS Layout
+2
0 of 30 passed
Start
AI FundamentalsMachine Learning BasicsModel EvaluationNeural Networks & Deep LearningNLP, Transformers & LLMsGenerative AI & Prompting
+2
0 of 40 passed
Start
matching quizzes
1
Variables & Data Types
Easy
Check how Python names, stores and types your values.
Python · Python Basics
#variables#types
10 questions · ~5 min
Not started
Start
2
Numbers & Operators
Easy
Test your grip on Python's math operators, from
/ to // and %.
Python · Python Basics
#operators#floor-division#modulo
10 questions · ~5 min
Not started
Start
3
Booleans & Comparisons
Easy
See if you know what Python treats as true, false and equal.
Python · Python Basics
#bool#truthiness#comparisons
10 questions · ~5 min
Not started
Start
4
Input, Output & f-strings
Easy
Practice printing, reading input and building text with f-strings.
Python · Python Basics
#print#input#f-strings
10 questions · ~5 min
Not started
Start
5
Type Conversion
Medium
Find out where
int(), float(), str() and round() surprise people.
Python · Python Basics
#casting#gotchas
10 questions · ~6 min
Not started
Start
1
Indexing & Slicing
Easy
Pick characters and substrings out of a string with indexes and slices.
Python · Strings
#indexing#slicing
10 questions · ~5 min
Not started
Start
2
String Methods
Easy
Test the everyday string methods like
split, join, strip and replace.
Python · Strings
#string-methods#split-join
10 questions · ~5 min
Not started
Start
3
String Formatting
Medium
Pad, align, round and group numbers with Python's format specs.
Python · Strings
#f-strings#formatting
10 questions · ~6 min
Not started
Start
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
5
Escape Characters & Raw Strings
Hard
Backslashes, raw strings and Unicode escapes - the interview-style string gotchas.
Python · Strings
#escapes#raw-strings#unicode
10 questions · ~8 min
Not started
Start
1
If / Elif / Else
Easy
Check how Python picks a branch with if, elif and else.
Python · Control Flow
#conditions#comparisons
10 questions · ~5 min
Not started
Start
2
For Loops & range()
Easy
Test how for loops walk through sequences and what range() really produces.
Python · Control Flow
#loops#range
10 questions · ~5 min
Not started
Start
3
While Loops
Medium
Trace while loops step by step and spot the ones that never stop.
Python · Control Flow
#loops#while
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
5
Nested Loops & Patterns
Hard
Trace loops inside loops, star patterns and the classic interview traps.
Python · Control Flow
#nested-loops#patterns#interview
10 questions · ~8 min
Not started
Start
1
List Basics
Easy
Create lists, read items by index and change them in place.
Python · Lists & Tuples
#lists#indexing
10 questions · ~5 min
Not started
Start
2
List Methods
Easy
Know what append, extend, pop, remove and sort really do.
Python · Lists & Tuples
#lists#list-methods#sorting
10 questions · ~5 min
Not started
Start
3
Slicing Lists
Medium
Read and write list slices with start, stop, step and negative values.
Python · Lists & Tuples
#slicing#lists
10 questions · ~6 min
Not started
Start
4
Tuples & Unpacking
Medium
Work with tuples, swap values and unpack sequences into names.
Python · Lists & Tuples
#tuples#unpacking
10 questions · ~6 min
Not started
Start
5
Copying vs Referencing
Hard
Find out when two names share one list and when you really have a copy.
Python · Lists & Tuples
#mutability#gotchas#interview
10 questions · ~8 min
Not started
Start
1
Dictionary Basics
Easy
Create dictionaries, read and change values, and handle missing keys.
Python · Dictionaries & Sets
#dict#keys-values
10 questions · ~5 min
Not started
Start
2
Dictionary Methods
Medium
Use pop, setdefault, update, copy, views and the merge operator correctly.
Python · Dictionaries & Sets
#dict#dict-methods
10 questions · ~6 min
Not started
Start
3
Looping over Dicts
Medium
Loop over keys, values and items, and avoid the classic dict loop mistakes.
Python · Dictionaries & Sets
#dict#loops
10 questions · ~6 min
Not started
Start
4
Sets & Set Operations
Medium
Remove duplicates, test membership and combine sets with union, intersection and more.
Python · Dictionaries & Sets
#sets#set-operations
10 questions · ~6 min
Not started
Start
5
Nested Data Structures
Hard
Work with dicts inside lists inside dicts, copies, aliasing and JSON round trips.
Python · Dictionaries & Sets
#nesting#json#interview
10 questions · ~8 min
Not started
Start
1
Defining Functions & return
Easy
Define functions, call them, and know exactly what they return.
Python · Functions
#functions#return
10 questions · ~5 min
Not started
Start
2
Default & Keyword Arguments
Medium
Use default values and keyword arguments, and avoid the mutable default trap.
Python · Functions
#arguments#gotchas
10 questions · ~6 min
Not started
Start
3
*args and **kwargs
Medium
Collect extra arguments with *args and **kwargs and unpack lists and dicts into calls.
Python · Functions
#args-kwargs#unpacking
10 questions · ~6 min
Not started
Start
4
Scope & global
Hard
Local and global names, nonlocal, closures and the UnboundLocalError trap.
Python · Functions
#scope#closures#gotchas
10 questions · ~8 min
Not started
Start
5
Recursion
Hard
Trace recursive calls, find missing base cases and spot recursion bugs.
Python · Functions
#recursion#interview
10 questions · ~8 min
Not started
Start
1
enumerate, zip & sorted
Easy
Use the built-ins that replace index counters, parallel loops and hand-written sorting.
Python · Pythonic Python
#built-ins#loops#sorting
10 questions · ~5 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
3
Lambda, map & filter
Medium
Write small anonymous functions and use them with map, filter, sorted and reduce.
Python · Pythonic Python
#lambda#map-filter#sorting
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
5
Decorators
Hard
Read and write decorators, from simple wrappers to decorators that take arguments.
Python · Pythonic Python
#decorators#closures#interview
10 questions · ~8 min
Not started
Start
1
Classes & Objects
Easy
Learn how classes, objects, class attributes and instance attributes fit together.
Python · Object-Oriented Python
#oop#classes
10 questions · ~5 min
Not started
Start
2
__init__ & self
Easy
Set up new objects with __init__ and understand what self really is.
Python · Object-Oriented Python
#oop#constructors
10 questions · ~5 min
Not started
Start
3
Inheritance
Medium
Reuse and extend classes with inheritance, method overriding and super().
Python · Object-Oriented Python
#oop#inheritance
10 questions · ~6 min
Not started
Start
4
Dunder Methods
Hard
Make your classes work with print, ==, +, len, in, sorted and function calls.
Python · Object-Oriented Python
#oop#dunder-methods
10 questions · ~8 min
Not started
Start
5
Properties & Class Methods
Hard
Use @property, setters, @classmethod and @staticmethod, and avoid their traps.
Python · Object-Oriented Python
#oop#properties
10 questions · ~8 min
Not started
Start
1
Reading Tracebacks
Easy
Learn to read a Python traceback and find the line and the reason behind an error.
Python · Errors & Debugging
#tracebacks#debugging
10 questions · ~5 min
Not started
Start
2
Common Errors
Easy
Match everyday Python errors like TypeError, NameError and KeyError to the code that causes them.
Python · Errors & Debugging
#exceptions#debugging
10 questions · ~5 min
Not started
Start
3
try / except / finally
Medium
Predict how try, except, else and finally run together, including returns and loops.
Python · Errors & Debugging
#exceptions#control-flow
10 questions · ~6 min
Not started
Start
4
Raising Exceptions
Medium
Raise built-in and custom exceptions, re-raise them and chain them with from.
Python · Errors & Debugging
#exceptions#custom-exceptions
10 questions · ~6 min
Not started
Start
5
Find the Bug
Hard
Spot the classic Python gotchas behind code that runs but gives the wrong answer.
Python · Errors & Debugging
#debugging#gotchas#interview
10 questions · ~8 min
Not started
Start
1
Modules & Imports
Easy
Check how import, from ... import and aliases work in Python.
Python · Libraries & Files
#modules#imports
10 questions · ~5 min
Not started
Start
2
math & random
Easy
Rounding, powers and square roots with math, and what the random functions can return.
Python · Libraries & Files
#math#random#standard-library
10 questions · ~5 min
Not started
Start
3
File Reading & Writing
Medium
Open, write, append and read text files with the with statement and the right mode.
Python · Libraries & Files
#files#with-statement
10 questions · ~6 min
Not started
Start
4
datetime
Medium
Build, format, parse and do arithmetic with dates and times using the datetime module.
Python · Libraries & Files
#datetime#standard-library
10 questions · ~6 min
Not started
Start
5
collections
Hard
Use Counter, defaultdict, deque and namedtuple, and know their surprising behaviours.
Python · Libraries & Files
#collections#standard-library
10 questions · ~8 min
Not started
Start
1
Python Interview Questions for Freshers
Easy
The classic first-round Python questions on types, mutability, functions and lists.
Python · Python Interview Questions
#interview#basics
10 questions · ~5 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
3
Tricky Python Questions
Hard
Real Python gotchas that catch even experienced developers in interviews.
Python · Python Interview Questions
#gotchas#interview
10 questions · ~8 min
Not started
Start
4
Python OOP Interview Questions
Medium
Classes, inheritance, super(), name mangling and abstract classes as interviewers ask about them.
Python · Python Interview Questions
#oop#interview
10 questions · ~6 min
Not started
Start
5
Python Coding Interview Questions
Hard
Time complexity, choosing the right data structure and classic coding-round patterns in Python.
Python · Python Interview Questions
#algorithms#complexity#interview
10 questions · ~8 min
Not started
Start
1
Type Hints
Medium
Write and read Python type hints, and know what they do and don't do at run time.
Python · Advanced Python
#typing#type-hints
10 questions · ~6 min
Not started
Start
2
Dataclasses & Enums
Medium
Use @dataclass to skip boilerplate and Enum to name fixed sets of values.
Python · Advanced Python
#dataclasses#enum
10 questions · ~6 min
Not started
Start
3
Context Managers & with
Medium
Understand what with really does, and write your own context managers.
Python · Advanced Python
#context-managers#with-statement
10 questions · ~6 min
Not started
Start
4
Regular Expressions (re)
Medium
Search, extract, split and replace text with Python's re module.
Python · Advanced Python
#regex#strings
10 questions · ~6 min
Not started
Start
5
asyncio Basics
Hard
Coroutines, await, gather and tasks, and how the asyncio event loop runs them.
Python · Advanced Python
#asyncio#async-await
10 questions · ~8 min
Not started
Start
1
let, const & var
Easy
Know when to use
let, const or var and how each one is scoped.
JavaScript · JavaScript Basics
#variables#scope
10 questions · ~5 min
Not started
Start
2
Types & typeof
Easy
Learn JavaScript's built-in types and the surprises in what
typeof reports.
JavaScript · JavaScript Basics
#types#typeof
10 questions · ~5 min
Not started
Start
3
Operators & Type Coercion
Medium
Predict what happens when JavaScript operators mix strings, numbers and booleans.
JavaScript · JavaScript Basics
#coercion#operators
10 questions · ~6 min
Not started
Start
4
Strings & Template Literals
Easy
Build strings with template literals and use the most common string methods.
JavaScript · JavaScript Basics
#strings#template-literals
10 questions · ~5 min
Not started
Start
5
== vs ===
Medium
See exactly when loose
== and strict === give different answers.
JavaScript · JavaScript Basics
#equality#coercion
10 questions · ~6 min
Not started
Start
1
Functions & Arrow Functions
Easy
Write and read function declarations, function expressions and arrow functions.
JavaScript · Functions & Scope
#functions#arrow-functions
10 questions · ~5 min
Not started
Start
2
Default & Rest Parameters
Easy
Give parameters default values and collect extra arguments with rest parameters.
JavaScript · Functions & Scope
#functions#parameters
10 questions · ~5 min
Not started
Start
3
Scope & Hoisting
Medium
Predict what happens when variables and functions are used before their declaration.
JavaScript · Functions & Scope
#scope#hoisting
10 questions · ~6 min
Not started
Start
4
Closures
Hard
Understand how functions remember the variables around them, a favorite interview topic.
JavaScript · Functions & Scope
#closures#interview
10 questions · ~8 min
Not started
Start
5
this, call, apply & bind
Hard
Predict what
this points to and control it with call, apply and bind.
JavaScript · Functions & Scope
#this#interview
10 questions · ~8 min
Not started
Start
1
map, filter & reduce
Medium
Predict what
map, filter, reduce and their friends return, including the classic callback traps.
JavaScript · Arrays & Objects
#arrays#array-methods
10 questions · ~6 min
Not started
Start
2
Sorting Gotchas
Medium
Learn why
[10, 1, 5].sort() surprises people and how to sort numbers, strings and objects correctly.
JavaScript · Arrays & Objects
#arrays#sorting#gotchas
10 questions · ~6 min
Not started
Start
3
Objects & Copying
Medium
Understand references, shallow and deep copies, and why changing a copy can change the original.
JavaScript · Arrays & Objects
#objects#copying
10 questions · ~6 min
Not started
Start
4
Destructuring & Spread
Easy
Pull values out of arrays and objects and spread them into new ones.
JavaScript · Arrays & Objects
#destructuring#spread
10 questions · ~5 min
Not started
Start
5
Map & Set
Easy
Use
Map for key-value data and Set for unique values, and know how they differ from plain objects and arrays.
JavaScript · Arrays & Objects
#map#set
10 questions · ~5 min
Not started
Start
1
The Event Loop
Hard
Predict the exact order of synchronous code, microtasks and timers, the classic interview question.
JavaScript · Asynchronous JavaScript
#event-loop#interview
10 questions · ~8 min
Not started
Start
2
Promises
Medium
Check how promises settle, how values flow through
.then() chains and where .catch() and .finally() fit.
JavaScript · Asynchronous JavaScript
#promises#then-chains
10 questions · ~6 min
Not started
Start
3
async/await
Medium
Read and write
async functions, and spot the missing await and forEach traps.
JavaScript · Asynchronous JavaScript
#async-await#promises
10 questions · ~6 min
Not started
Start
4
Async Error Handling
Medium
Catch errors from promises and
async functions in the right place, and avoid the ones that slip through.
JavaScript · Asynchronous JavaScript
#promises#errors
10 questions · ~6 min
Not started
Start
5
Promise.all, allSettled, race & any
Medium
Pick the right way to wait for many promises and predict what each combinator returns.
JavaScript · Asynchronous JavaScript
#promises#concurrency
10 questions · ~6 min
Not started
Start
1
Prototypes
Hard
Follow the prototype chain to see where JavaScript finds a property and what happens when you write to one.
JavaScript · Objects, Prototypes & Classes
#prototypes#oop
10 questions · ~8 min
Not started
Start
2
Classes & Inheritance
Medium
Practice JavaScript classes, extends, super and the rules about this inside methods.
JavaScript · Objects, Prototypes & Classes
#classes#oop
10 questions · ~6 min
Not started
Start
3
Getters, Setters & static
Medium
Computed properties with get and set, plus static fields and methods that belong to the class itself.
JavaScript · Objects, Prototypes & Classes
#classes#getters-setters
10 questions · ~6 min
Not started
Start
4
JSON
Easy
Turn objects into JSON text and back, and learn what gets lost on the way.
JavaScript · Objects, Prototypes & Classes
#json#serialization
10 questions · ~5 min
Not started
Start
5
Optional Chaining & ??
Easy
Read nested values safely with ?. and pick defaults with ?? without losing 0 or empty strings.
JavaScript · Objects, Prototypes & Classes
#operators#modern-js
10 questions · ~5 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
2
Tricky JavaScript Questions
Hard
The JavaScript gotchas that trip up even experienced developers in interviews.
JavaScript · JavaScript Interview Questions
#gotchas#interview
10 questions · ~8 min
Not started
Start
3
Closures in Loops
Hard
The classic interview puzzle of functions created inside loops, with var, let and every fix in between.
JavaScript · JavaScript Interview Questions
#closures#interview
10 questions · ~8 min
Not started
Start
4
JavaScript: Find the Bug
Hard
Each snippet has a real-world bug. Work out what it actually does and how to fix it.
JavaScript · JavaScript Interview Questions
#debugging#interview
10 questions · ~8 min
Not started
Start
5
Modern JavaScript (ES2020+)
Medium
Newer features you are expected to know, from at() and Object.groupBy to structuredClone and BigInt.
JavaScript · JavaScript Interview Questions
#modern-js#es2020
10 questions · ~6 min
Not started
Start
1
Primitives & Variables
Easy
Check how Java stores numbers, characters and booleans in its primitive types.
Java · Java Basics
#types#variables
10 questions · ~5 min
Not started
Start
2
Operators & Integer Division
Easy
Predict what Java's arithmetic, increment and logical operators really produce.
Java · Java Basics
#operators#arithmetic
10 questions · ~5 min
Not started
Start
3
Strings & String Methods
Easy
Check how Java strings compare, slice and behave as immutable objects.
Java · Java Basics
#strings#string-methods
10 questions · ~5 min
Not started
Start
4
Type Casting
Medium
Know when Java converts types for you, when you need a cast and what a cast can lose.
Java · Java Basics
#casting#types
10 questions · ~6 min
Not started
Start
5
if, switch & Loops
Easy
Trace Java's if statements, switch and loops and predict what they print.
Java · Java Basics
#loops#conditions
10 questions · ~5 min
Not started
Start
1
Classes & Constructors
Easy
Check how Java creates objects, runs constructors and shares references.
Java · Object-Oriented Java
#oop#classes
10 questions · ~5 min
Not started
Start
2
static & final
Medium
Know what belongs to the class, what belongs to each object and what can never change.
Java · Object-Oriented Java
#oop#static
10 questions · ~6 min
Not started
Start
3
Inheritance & Polymorphism
Medium
Predict which method runs when a subclass hides behind a parent reference.
Java · Object-Oriented Java
#oop#inheritance#polymorphism
10 questions · ~6 min
Not started
Start
4
Abstract Classes & Interfaces
Medium
Know when to use an abstract class, when to use an interface and what each one allows.
Java · Object-Oriented Java
#oop#interfaces#abstract-classes
10 questions · ~6 min
Not started
Start
5
equals() & hashCode()
Hard
Master the equals/hashCode contract and the HashSet and HashMap bugs that break it.
Java · Object-Oriented Java
#oop#interview
10 questions · ~8 min
Not started
Start
1
String Pool & Immutability
Medium
Know when two Java strings are the same object, why
== lies and why strings never change.
Java · Strings, Arrays & Wrappers
#strings#interview
10 questions · ~6 min
Not started
Start
2
StringBuilder
Easy
Build and edit text efficiently with Java's mutable StringBuilder.
Java · Strings, Arrays & Wrappers
#strings#stringbuilder
10 questions · ~5 min
Not started
Start
3
Arrays
Easy
Create, read, copy and compare Java arrays without the usual beginner surprises.
Java · Strings, Arrays & Wrappers
#arrays#references
10 questions · ~5 min
Not started
Start
4
Autoboxing & Wrapper Classes
Hard
Catch the Integer cache, null unboxing and other autoboxing traps before they reach production.
Java · Strings, Arrays & Wrappers
#wrappers#gotchas
10 questions · ~8 min
Not started
Start
5
Method Overloading
Medium
Predict which overloaded Java method gets called with widening, boxing, varargs and null.
Java · Strings, Arrays & Wrappers
#methods#overloading
10 questions · ~6 min
Not started
Start
1
ArrayList
Easy
Add, read, replace and remove elements in a Java ArrayList and avoid the immutable-list traps.
Java · Java Collections
#collections#list
10 questions · ~5 min
Not started
Start
2
HashMap
Medium
Store, update and look up key-value pairs in a Java HashMap and avoid the null and hashCode traps.
Java · Java Collections
#collections#map
10 questions · ~6 min
Not started
Start
3
HashSet
Medium
Keep unique values in Java sets and understand how equals and hashCode decide what a duplicate is.
Java · Java Collections
#collections#set
10 questions · ~6 min
Not started
Start
4
Iterators & ConcurrentModificationException
Hard
Remove elements while looping without ConcurrentModificationException, skipped items or surprises.
Java · Java Collections
#collections#gotchas
10 questions · ~8 min
Not started
Start
5
Comparable & Comparator
Medium
Sort Java objects by natural order or custom rules with Comparable, Comparator and its helper methods.
Java · Java Collections
#sorting#comparator
10 questions · ~6 min
Not started
Start
1
Checked vs Unchecked Exceptions
Medium
Know which Java exceptions the compiler forces you to handle and which ones it lets through.
Java · Exceptions & Modern Java
#exceptions#checked-exceptions
10 questions · ~6 min
Not started
Start
2
try, catch & finally
Medium
Trace exactly what runs, and in which order, when Java code throws, catches and cleans up.
Java · Exceptions & Modern Java
#exceptions#finally
10 questions · ~6 min
Not started
Start
3
Generics
Hard
Get past the tricky parts of Java generics, from type erasure to wildcards and raw types.
Java · Exceptions & Modern Java
#generics#type-safety
10 questions · ~8 min
Not started
Start
4
Lambdas & Streams
Medium
Read and predict Java stream pipelines, from filter and map to collectors and laziness.
Java · Exceptions & Modern Java
#streams#lambdas
10 questions · ~6 min
Not started
Start
5
Records, var & switch Expressions
Medium
Check your Java 17 basics with records, local variable type inference and the new switch.
Java · Exceptions & Modern Java
#modern-java#records
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
2
Is Java Pass by Value?
Hard
Settle the classic interview question with code that shows what a method can and cannot change.
Java · Java Interview Questions
#interview#references
10 questions · ~8 min
Not started
Start
3
Tricky Java Questions
Hard
Real Java gotchas from interviews, each one a short program that does not do what it seems to.
Java · Java Interview Questions
#gotchas#interview
10 questions · ~8 min
Not started
Start
4
Static vs Instance
Medium
Know what belongs to the class and what belongs to each object, a favorite Java interview topic.
Java · Java Interview Questions
#oop#interview
10 questions · ~6 min
Not started
Start
5
Java: Find the Bug
Hard
Spot the bug in short Java programs that compile fine but do the wrong thing.
Java · Java Interview Questions
#debugging#interview
10 questions · ~8 min
Not started
Start
1
Data Types & sizeof
Easy
Check what you know about C's basic types, their sizes and what sizeof really measures.
C · C Basics
#types#sizeof
10 questions · ~5 min
Not started
Start
2
printf & scanf
Easy
Format output with printf and read input safely with scanf.
C · C Basics
#io#formatting
10 questions · ~5 min
Not started
Start
3
Operators & Integer Division
Easy
Predict arithmetic results in C, from integer division and % to ++ and precedence.
C · C Basics
#operators#integer-division
10 questions · ~5 min
Not started
Start
4
Type Casting & Integer Promotion
Medium
See how C converts between types, from explicit casts to the hidden promotions in every expression.
C · C Basics
#casting#gotchas
10 questions · ~6 min
Not started
Start
5
if, switch & Loops
Easy
Trace if, switch, for, while and do-while in C, including switch fall-through.
C · C Basics
#loops#conditions#switch
10 questions · ~5 min
Not started
Start
1
Functions & Prototypes
Easy
Define, declare and call C functions, and know why prototypes matter.
C · Functions & Scope
#functions#prototypes
10 questions · ~5 min
Not started
Start
2
Pass by Value & Pointers
Medium
Understand why C functions get copies, and how pointers let them change the caller's variables.
C · Functions & Scope
#functions#pointers
10 questions · ~6 min
Not started
Start
3
Recursion
Medium
Trace recursive C functions, from factorial and Fibonacci to the order of work around the call.
C · Functions & Scope
#recursion#functions
10 questions · ~6 min
Not started
Start
4
static & Storage Classes
Hard
Master static locals, internal linkage, extern and register, the C storage classes interviewers love.
C · Functions & Scope
#storage-classes#static
10 questions · ~8 min
Not started
Start
5
Scope & Lifetime
Medium
Know where each C variable can be used and how long it lives, from blocks to globals.
C · Functions & Scope
#scope#lifetime
10 questions · ~6 min
Not started
Start
1
Arrays
Easy
Declare, initialize, loop over and pass C arrays without surprises.
C · Arrays & Strings
#arrays#basics
10 questions · ~5 min
Not started
Start
2
Strings & the Null Terminator
Medium
See how C stores text as char arrays ending in
'\0', and what that means for size and printing.
C · Arrays & Strings
#strings#null-terminator
10 questions · ~6 min
Not started
Start
3
string.h Functions
Medium
Use
strlen, strcpy, strcat, strcmp, strchr and friends correctly, and know their traps.
C · Arrays & Strings
#strings#string-h
10 questions · ~6 min
Not started
Start
4
2D Arrays
Medium
Index, initialize, size and pass two-dimensional arrays in C.
C · Arrays & Strings
#arrays#2d-arrays
10 questions · ~6 min
Not started
Start
5
Buffer Overflows & Bounds
Hard
Spot out-of-bounds reads and writes in C, and the habits and tools that prevent them.
C · Arrays & Strings
#security#arrays
10 questions · ~8 min
Not started
Start
1
Pointer Basics
Easy
Take addresses with
&, follow them with * and change variables through pointers.
C · Pointers
#pointers#basics
10 questions · ~5 min
Not started
Start
2
Pointer Arithmetic
Medium
Move pointers through arrays with
+, -, ++ and subtraction, and read *p++ correctly.
C · Pointers
#pointers#pointer-arithmetic
10 questions · ~6 min
Not started
Start
3
Pointers & Arrays
Medium
See how array names turn into pointers, where they do not, and why
a[i] equals *(a + i).
C · Pointers
#pointers#arrays
10 questions · ~6 min
Not started
Start
4
Pointer to Pointer
Hard
Use
int ** to change a caller's pointer, build dynamic tables and walk arrays of strings.
C · Pointers
#pointers#double-pointers
10 questions · ~8 min
Not started
Start
5
Function Pointers
Hard
Store functions in variables and arrays, pass them as callbacks and read their declarations.
C · Pointers
#pointers#functions
10 questions · ~8 min
Not started
Start
1
malloc, calloc & free
Medium
Allocate, resize and release heap memory in C without losing track of it.
C · Memory & Structs
#memory#heap
10 questions · ~6 min
Not started
Start
2
Memory Bugs
Hard
Spot leaks, double frees, use after free and other heap bugs in short C programs.
C · Memory & Structs
#memory#debugging
10 questions · ~8 min
Not started
Start
3
Structs & typedef
Easy
Group related data with structs, initialise them and give them short names with typedef.
C · Memory & Structs
#structs#typedef
10 questions · ~5 min
Not started
Start
4
Unions & Enums
Medium
Name your constants with enums and share storage between members with unions.
C · Memory & Structs
#unions#enums
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
Tricky C Questions
Hard
Real C gotchas from interviews, where the obvious answer is wrong.
C · C Interview Questions
#gotchas#interview
10 questions · ~8 min
Not started
Start
3
Preprocessor & Macros
Medium
Predict macro expansions and avoid the classic
C · C Interview Questions
#macros#preprocessor
10 questions · ~6 min
Not started
Start
4
Undefined Behavior
Hard
Recognise undefined behaviour in C and understand why the compiler may do anything.
C · C Interview Questions
#undefined-behavior#interview
10 questions · ~8 min
Not started
Start
5
C: Find the Bug
Hard
Read short C programs with a real bug, predict what they do and name the fix.
C · C Interview Questions
#debugging#interview
10 questions · ~8 min
Not started
Start
1
SELECT & WHERE
Easy
Pick the columns you want and keep only the rows that match a condition.
SQL · SQL Basics
#select#filtering
10 questions · ~5 min
Not started
Start
2
ORDER BY & LIMIT
Easy
Sort query results and keep only the first few rows.
SQL · SQL Basics
#sorting#select
10 questions · ~5 min
Not started
Start
3
DISTINCT
Easy
Remove duplicate rows from a result and count unique values.
SQL · SQL Basics
#select#duplicates
10 questions · ~5 min
Not started
Start
4
LIKE, IN & BETWEEN
Easy
Filter rows with text patterns, lists of values and ranges.
SQL · SQL Basics
#filtering#patterns
10 questions · ~5 min
Not started
Start
5
NULL Values
Medium
Learn how SQL treats missing values in comparisons, calculations and filters.
SQL · SQL Basics
#null#filtering
10 questions · ~6 min
Not started
Start
1
COUNT, SUM, AVG, MIN & MAX
Easy
Turn many rows into one number with the five core aggregate functions.
SQL · Aggregates & GROUP BY
#aggregates#select
10 questions · ~5 min
Not started
Start
2
GROUP BY
Medium
Split rows into groups and calculate a total, count or average for each one.
SQL · Aggregates & GROUP BY
#group-by#aggregates
10 questions · ~6 min
Not started
Start
3
HAVING
Medium
Filter groups by their totals, counts or averages after GROUP BY.
SQL · Aggregates & GROUP BY
#having#group-by
10 questions · ~6 min
Not started
Start
4
COUNT(*) vs COUNT(column)
Medium
Know exactly what each form of COUNT counts, and why NULL changes the answer.
SQL · Aggregates & GROUP BY
#aggregates#null
10 questions · ~6 min
Not started
Start
5
Aggregates & NULL
Medium
See how SUM, AVG, MIN and MAX skip NULL and what they return when nothing is left.
SQL · Aggregates & GROUP BY
#aggregates#null
10 questions · ~6 min
Not started
Start
1
INNER JOIN
Easy
Match rows from two tables with INNER JOIN and predict which rows come out.
SQL · SQL Joins
#joins#inner-join
10 questions · ~5 min
Not started
Start
2
LEFT JOIN
Medium
Keep every row of the left table with LEFT JOIN and handle the NULLs it creates.
SQL · SQL Joins
#joins#left-join
10 questions · ~6 min
Not started
Start
3
Self Join
Hard
Join a table to itself to read hierarchies, compare rows and find pairs.
SQL · SQL Joins
#joins#self-join
10 questions · ~8 min
Not started
Start
4
Join Pitfalls
Hard
Catch the join mistakes that silently duplicate rows, lose rows or inflate totals.
SQL · SQL Joins
#joins#gotchas
10 questions · ~8 min
Not started
Start
5
UNION & CROSS JOIN
Medium
Stack query results with UNION and UNION ALL and build every combination with CROSS JOIN.
SQL · SQL Joins
#union#joins
10 questions · ~6 min
Not started
Start
1
Subqueries
Medium
Put a query inside a query and predict what scalar, IN, derived-table and correlated subqueries return.
SQL · Subqueries & Window Functions
#subqueries#correlated-subqueries
10 questions · ~6 min
Not started
Start
2
EXISTS vs IN
Medium
Choose between EXISTS and IN, and avoid the NOT IN trap that returns nothing when a NULL sneaks in.
SQL · Subqueries & Window Functions
#subqueries#null-handling
10 questions · ~6 min
Not started
Start
3
Common Table Expressions (WITH)
Medium
Name intermediate results with WITH and generate rows or walk hierarchies with recursive CTEs.
SQL · Subqueries & Window Functions
#cte#recursive-cte
10 questions · ~6 min
Not started
Start
4
ROW_NUMBER, RANK & DENSE_RANK
Hard
Number and rank rows with window functions and know exactly how each one treats ties.
SQL · Subqueries & Window Functions
#window-functions#ranking
10 questions · ~8 min
Not started
Start
5
Running Totals, LAG & LEAD
Hard
Build running totals, moving averages and row-to-row comparisons with window frames, LAG and LEAD.
SQL · Subqueries & Window Functions
#window-functions#running-totals
10 questions · ~8 min
Not started
Start
1
INSERT, UPDATE & DELETE
Easy
Add, change and remove rows with INSERT, UPDATE and DELETE, and avoid the classic missing-WHERE mistake.
SQL · Changing Data & Database Design
#dml#crud
10 questions · ~5 min
Not started
Start
2
Constraints & Keys
Medium
Know what NOT NULL, UNIQUE, CHECK, PRIMARY KEY and FOREIGN KEY reject, and how SQLite, MySQL and PostgreSQL differ.
SQL · Changing Data & Database Design
#constraints#keys
10 questions · ~6 min
Not started
Start
3
Transactions & ACID
Medium
Group changes with BEGIN, COMMIT, ROLLBACK and savepoints, and know what each ACID property promises.
SQL · Changing Data & Database Design
#transactions#acid
10 questions · ~6 min
Not started
Start
4
Indexes
Medium
Learn what indexes speed up, what they cost and why some queries cannot use them.
SQL · Changing Data & Database Design
#indexes#performance
10 questions · ~6 min
Not started
Start
5
Normalization (1NF, 2NF, 3NF)
Medium
Spot tables that break 1NF, 2NF or 3NF, the anomalies they cause and how to split them.
SQL · Changing Data & Database Design
#design#normalization
10 questions · ~6 min
Not started
Start
1
Classic SQL Interview Queries
Hard
Solve the queries every SQL interview asks, like second highest salary, duplicates and top N per group.
SQL · SQL Interview Questions
#interview#queries
10 questions · ~8 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
3
Tricky NULL Questions
Hard
Master the NULL traps interviewers love, from NOT IN and three-valued logic to aggregates and sorting.
SQL · SQL Interview Questions
#null#gotchas
10 questions · ~8 min
Not started
Start
4
Query Performance
Medium
Recognise slow query patterns and the rewrites that fix them, from N+1 queries to deep OFFSET pagination.
SQL · SQL Interview Questions
#performance#indexes
10 questions · ~6 min
Not started
Start
5
SQL: Find the Bug
Hard
Find the bugs in queries that run without errors but return the wrong answer, and in ones that do not run at all.
SQL · SQL Interview Questions
#debugging#interview
10 questions · ~8 min
Not started
Start
1
Document Structure & DOCTYPE
Easy
Check how an HTML page is put together, from the DOCTYPE to the head and body.
HTML & CSS · HTML Basics
#structure#html-basics
10 questions · ~5 min
Not started
Start
2
Text & Headings
Easy
Pick the right element for headings, emphasis, quotes and line breaks.
HTML & CSS · HTML Basics
#text#html-basics
10 questions · ~5 min
Not started
Start
3
Links & Images
Easy
Write links and images that work, load well and make sense to every user.
HTML & CSS · HTML Basics
#links#images
10 questions · ~5 min
Not started
Start
4
Lists & Tables
Easy
Choose the right list type and build tables that are clear and accessible.
HTML & CSS · HTML Basics
#lists#tables
10 questions · ~5 min
Not started
Start
5
Semantic HTML
Medium
Use the elements that say what content is, not just how it looks.
HTML & CSS · HTML Basics
#semantics#accessibility
10 questions · ~6 min
Not started
Start
1
Form Elements
Easy
Learn how forms send data and which control fits each kind of input.
HTML & CSS · HTML Forms & Accessibility
#forms#html-basics
10 questions · ~5 min
Not started
Start
2
Input Types & Validation
Medium
Use the right input types and built-in validation, and know their limits.
HTML & CSS · HTML Forms & Accessibility
#forms#validation
10 questions · ~6 min
Not started
Start
3
Labels & ARIA
Medium
Give every control an accessible name and use ARIA only where HTML falls short.
HTML & CSS · HTML Forms & Accessibility
#accessibility#aria
10 questions · ~6 min
Not started
Start
4
Audio, Video & iframe
Easy
Embed audio, video and other pages with the right attributes.
HTML & CSS · HTML Forms & Accessibility
#media#iframe
10 questions · ~5 min
Not started
Start
5
Meta Tags & SEO
Medium
Write the head tags that control mobile layout, search results and social previews.
HTML & CSS · HTML Forms & Accessibility
#meta#seo
10 questions · ~6 min
Not started
Start
1
CSS Selectors
Easy
Match the right elements with type, class, id, attribute and combinator selectors.
HTML & CSS · CSS Basics
#selectors#combinators#pseudo-classes
10 questions · ~5 min
Not started
Start
2
Specificity & the Cascade
Hard
Work out which CSS rule wins when several match, from specificity to !important and layers.
HTML & CSS · CSS Basics
#specificity#cascade#inheritance
10 questions · ~8 min
Not started
Start
3
The Box Model
Medium
Compute element sizes from content, padding, border and margin, and predict margin collapse.
HTML & CSS · CSS Basics
#box-model#box-sizing#margin-collapse
10 questions · ~6 min
Not started
Start
4
Units & Colors
Easy
Convert between px, em, rem, %, vw and vh, and read hex, rgb and hsl colors.
HTML & CSS · CSS Basics
#units#colors
10 questions · ~5 min
Not started
Start
5
display & position
Medium
Predict how block, inline, inline-block and none behave, and where positioned elements end up.
HTML & CSS · CSS Basics
#display#position
10 questions · ~6 min
Not started
Start
1
Flexbox
Medium
Predict how flex items grow, shrink, wrap and align inside a flex container.
HTML & CSS · CSS Layout
#flexbox#layout
10 questions · ~6 min
Not started
Start
2
CSS Grid
Medium
Size grid tracks with fr, gaps and minmax, and place items by lines and areas.
HTML & CSS · CSS Layout
#grid#layout
10 questions · ~6 min
Not started
Start
3
Responsive Design & Media Queries
Medium
Build layouts that adapt to the screen with media queries, fluid units and container queries.
HTML & CSS · CSS Layout
#responsive#media-queries
10 questions · ~6 min
Not started
Start
4
z-index & Stacking Contexts
Hard
Find out why a z-index of 9999 still ends up behind, and how stacking contexts decide what is on top.
HTML & CSS · CSS Layout
#z-index#stacking-context#position
10 questions · ~8 min
Not started
Start
5
Centering Things
Easy
Pick the right way to center text, blocks and boxes horizontally and vertically.
HTML & CSS · CSS Layout
#layout#centering#flexbox
10 questions · ~5 min
Not started
Start
1
Pseudo-classes & Pseudo-elements
Medium
Pick the right pseudo-class or pseudo-element and predict what it matches.
HTML & CSS · Advanced CSS
#pseudo-classes#selectors#specificity
10 questions · ~6 min
Not started
Start
2
Transitions & Animations
Medium
Make things move with transitions and keyframes, and avoid the common traps.
HTML & CSS · Advanced CSS
#animations#transitions#performance
10 questions · ~6 min
Not started
Start
3
Custom Properties (CSS Variables)
Medium
Define, scope and use CSS variables, including fallbacks and the invalid value trap.
HTML & CSS · Advanced CSS
#variables#cascade#theming
10 questions · ~6 min
Not started
Start
4
Transforms
Easy
Move, rotate, scale and skew elements with CSS transforms.
HTML & CSS · Advanced CSS
#transforms#positioning
10 questions · ~5 min
Not started
Start
5
Modern CSS
Hard
Test yourself on :has(), container queries, nesting, clamp(), aspect-ratio and logical properties.
HTML & CSS · Advanced CSS
#modern-css#selectors#responsive-design
10 questions · ~8 min
Not started
Start
1
HTML Interview Questions
Medium
Answer the HTML questions that come up again and again in front-end interviews.
HTML & CSS · HTML & CSS Interview Questions
#interview#html#semantics
10 questions · ~6 min
Not started
Start
2
CSS Interview Questions
Medium
Practice the CSS questions interviewers ask about the box model, specificity, units and visibility.
HTML & CSS · HTML & CSS Interview Questions
#interview#css#box-model
10 questions · ~6 min
Not started
Start
3
Tricky CSS Questions
Hard
Real CSS gotchas about stacking contexts, margins, percentages and sticky positioning.
HTML & CSS · HTML & CSS Interview Questions
#gotchas#css#stacking-context
10 questions · ~8 min
Not started
Start
4
Web Accessibility Questions
Medium
Answer interview-style questions about alt text, ARIA, focus and color contrast.
HTML & CSS · HTML & CSS Interview Questions
#accessibility#aria#interview
10 questions · ~6 min
Not started
Start
5
HTML & CSS: Find the Bug
Hard
Spot why each small HTML or CSS snippet does not do what its author wanted.
HTML & CSS · HTML & CSS Interview Questions
#debugging#html#css
10 questions · ~8 min
Not started
Start
1
What Is AI?
Easy
Check the core ideas behind the term "artificial intelligence" without the hype.
AI & Machine Learning · AI Fundamentals
#ai-basics#concepts
10 questions · ~5 min
Not started
Start
2
AI vs Machine Learning vs Deep Learning
Easy
Sort out how AI, machine learning, deep learning and generative AI fit inside each other.
AI & Machine Learning · AI Fundamentals
#ai-basics#machine-learning
10 questions · ~5 min
Not started
Start
3
Search & Problem Solving
Medium
Reason about BFS, DFS, A*, heuristics and minimax, the classic AI ways to find a solution.
AI & Machine Learning · AI Fundamentals
#search#algorithms
10 questions · ~6 min
Not started
Start
4
AI in Everyday Life
Easy
Spot where AI runs in apps you use every day and what kind of task it is doing.
AI & Machine Learning · AI Fundamentals
#applications#ai-basics
10 questions · ~5 min
Not started
Start
5
AI Ethics & Bias
Medium
Spot where bias comes from, how fairness is measured and what responsible AI looks like in practice.
AI & Machine Learning · AI Fundamentals
#ethics#bias
10 questions · ~6 min
Not started
Start
1
Supervised vs Unsupervised Learning
Easy
Tell supervised, unsupervised and reinforcement learning apart from real problem descriptions.
AI & Machine Learning · Machine Learning Basics
#machine-learning#supervised
10 questions · ~5 min
Not started
Start
2
Training, Validation & Test Sets
Medium
Split data the right way and avoid the leaks that make models look better than they are.
AI & Machine Learning · Machine Learning Basics
#data-splits#machine-learning
10 questions · ~6 min
Not started
Start
3
Overfitting & Underfitting
Medium
Diagnose overfitting and underfitting from scores and curves, and pick the right fix.
AI & Machine Learning · Machine Learning Basics
#overfitting#interview
10 questions · ~6 min
Not started
Start
4
Features & Labels
Easy
Name the features and the label in real datasets and prepare them for a model.
AI & Machine Learning · Machine Learning Basics
#features#data
10 questions · ~5 min
Not started
Start
5
Classic ML Algorithms
Medium
Know how linear and logistic regression, k-NN, decision trees and k-means work and when to use each.
AI & Machine Learning · Machine Learning Basics
#algorithms#interview
10 questions · ~6 min
Not started
Start
1
Accuracy, Precision & Recall
Medium
Compute accuracy, precision, recall and F1 from small counts and pick the right metric for the job.
AI & Machine Learning · Model Evaluation
#metrics#interview
10 questions · ~6 min
Not started
Start
2
Confusion Matrix
Medium
Read binary and multi-class confusion matrices and pull every metric out of them.
AI & Machine Learning · Model Evaluation
#metrics#classification
10 questions · ~6 min
Not started
Start
3
ROC Curve & AUC
Hard
Understand what the ROC curve plots, what AUC really measures and where it misleads.
AI & Machine Learning · Model Evaluation
#metrics#roc-auc
10 questions · ~8 min
Not started
Start
4
Cross-Validation
Medium
Use k-fold, stratified, grouped and time-based splits correctly and avoid data leakage.
AI & Machine Learning · Model Evaluation
#validation#interview
10 questions · ~6 min
Not started
Start
5
Regression Metrics
Medium
Compute MAE, MSE, RMSE and R² by hand and know how outliers and units affect each one.
AI & Machine Learning · Model Evaluation
#metrics#regression
10 questions · ~6 min
Not started
Start
1
Neurons & Activation Functions
Easy
Learn what a single neuron computes and how ReLU, sigmoid, tanh and softmax differ.
AI & Machine Learning · Neural Networks & Deep Learning
#neural-networks#activations
10 questions · ~5 min
Not started
Start
2
Forward Pass & Loss Functions
Medium
Follow data through a layer, count parameters and compute softmax and cross-entropy by hand.
AI & Machine Learning · Neural Networks & Deep Learning
#neural-networks#loss
10 questions · ~6 min
Not started
Start
3
Backpropagation & Gradient Descent
Hard
Apply the chain rule, run gradient descent steps by hand and explain why training succeeds or fails.
AI & Machine Learning · Neural Networks & Deep Learning
#backpropagation#gradient-descent#interview
10 questions · ~8 min
Not started
Start
4
Convolutional Neural Networks (CNNs)
Medium
Calculate convolution output sizes and parameter counts and understand pooling and padding.
AI & Machine Learning · Neural Networks & Deep Learning
#cnn#computer-vision
10 questions · ~6 min
Not started
Start
5
Training Deep Networks
Hard
Diagnose and fix real training problems with learning rates, dropout, batch norm and early stopping.
AI & Machine Learning · Neural Networks & Deep Learning
#regularization#optimization
10 questions · ~8 min
Not started
Start
1
Tokenization & Embeddings
Medium
Learn how text becomes tokens and tokens become vectors that capture meaning.
AI & Machine Learning · NLP, Transformers & LLMs
#nlp#tokenization
10 questions · ~6 min
Not started
Start
2
The Attention Mechanism
Hard
Queries, keys, values, softmax and the sqrt(d) scaling at the heart of every transformer.
AI & Machine Learning · NLP, Transformers & LLMs
#attention#transformers
10 questions · ~8 min
Not started
Start
3
Transformer Architecture
Hard
Encoders, decoders, positional encoding, causal masks and multi-head attention, interview style.
AI & Machine Learning · NLP, Transformers & LLMs
#transformers#interview
10 questions · ~8 min
Not started
Start
4
How LLMs Generate Text
Medium
Next-token prediction, logits, context windows and the difference between greedy decoding and sampling.
AI & Machine Learning · NLP, Transformers & LLMs
#llm#text-generation
10 questions · ~6 min
Not started
Start
5
Fine-Tuning & RAG
Medium
When to fine-tune, when to retrieve, and the details that make retrieval-augmented generation work.
AI & Machine Learning · NLP, Transformers & LLMs
#llm#rag
10 questions · ~6 min
Not started
Start
1
Prompt Engineering
Easy
Practical habits that make AI chat models give clearer, more useful answers.
AI & Machine Learning · Generative AI & Prompting
#prompting#llm
10 questions · ~5 min
Not started
Start
2
Hallucinations & Grounding
Medium
Why AI models make things up and how grounding and verification reduce it.
AI & Machine Learning · Generative AI & Prompting
#llm#hallucinations
10 questions · ~6 min
Not started
Start
3
Temperature, Top-k & Top-p
Medium
How temperature, top-k and top-p shape which token a model picks next.
AI & Machine Learning · Generative AI & Prompting
#sampling#llm
10 questions · ~6 min
Not started
Start
4
Diffusion & Image Models
Medium
How text-to-image models turn noise into pictures, and what their settings control.
AI & Machine Learning · Generative AI & Prompting
#diffusion#image-generation
10 questions · ~6 min
Not started
Start
5
Using AI APIs Safely
Medium
Protect keys, data and users when you build features on top of AI APIs.
AI & Machine Learning · Generative AI & Prompting
#ai-safety#security
10 questions · ~6 min
Not started
Start
1
NumPy Arrays
Easy
Create, index, slice and reshape NumPy arrays and know how they differ from Python lists.
AI & Machine Learning · Data Science with Python
#numpy#arrays
10 questions · ~5 min
Not started
Start
2
NumPy Broadcasting & Vectorization
Medium
Predict the shapes and values NumPy produces when arrays of different shapes meet.
AI & Machine Learning · Data Science with Python
#numpy#broadcasting
10 questions · ~6 min
Not started
Start
3
Pandas DataFrames
Easy
Select, filter and sort pandas DataFrames and read what each operation returns.
AI & Machine Learning · Data Science with Python
#pandas#dataframes
10 questions · ~5 min
Not started
Start
4
Pandas groupby & merge
Medium
Aggregate with groupby, broadcast group results with transform and join tables with merge.
AI & Machine Learning · Data Science with Python
#pandas#groupby
10 questions · ~6 min
Not started
Start
5
Data Cleaning with Pandas
Medium
Find and fix missing values, duplicates, messy strings and wrong types before training a model.
AI & Machine Learning · Data Science with Python
#pandas#data-cleaning
10 questions · ~6 min
Not started
Start
1
Mean, Median & Variance
Easy
Compute and interpret the mean, median, mode, variance and standard deviation of small datasets.
AI & Machine Learning · Statistics & Probability for ML
#statistics#descriptive
10 questions · ~5 min
Not started
Start
2
Probability Basics
Easy
Work with complements, independent events, the addition rule and conditional probability.
AI & Machine Learning · Statistics & Probability for ML
#probability#fundamentals
10 questions · ~5 min
Not started
Start
3
Probability Distributions
Medium
Pick the right distribution for a situation and compute its mean, variance and key probabilities.
AI & Machine Learning · Statistics & Probability for ML
#distributions#statistics
10 questions · ~6 min
Not started
Start
4
Correlation vs Causation
Easy
Read correlation coefficients and tell when a relationship in data does or does not mean cause and effect.
AI & Machine Learning · Statistics & Probability for ML
#statistics#correlation
10 questions · ~5 min
Not started
Start
5
Bayes' Theorem
Hard
Update probabilities with new evidence and avoid the base rate traps that catch most people.
AI & Machine Learning · Statistics & Probability for ML
#probability#bayes#interview
10 questions · ~8 min
Not started
Start
No quiz matches. Try another word or tag.
Popular this week
- 1 Type Conversion MediumPython · Python Basics#casting#gotchas
- 2 String Formatting MediumPython · Strings#f-strings#formatting
- 3 Immutable Strings MediumPython · Strings#immutability#output-prediction
- 4 While Loops MediumPython · Control Flow#loops#while
- 5 break, continue & loop else MediumPython · Control Flow#loops#output-prediction
Weekly XP
resets MondayNo XP yet this week. Finish a quiz to be the first!
Only signed-in players who show up on leaderboards (Profile settings).