Skip to content

Subject

Programming & Coding

Test your programming knowledge with interactive coding quizzes covering Python, JavaScript, Java, C, C++, C#, TypeScript, PHP, Go and Rust. Each language has a beginner quiz on syntax, variables and data types, a code output quiz where you predict what a short program prints, and an intermediate quiz on functions, objects, error handling and the features that make the language unique. Practise for a coding interview, check your computer science fundamentals or learn a new language one question at a time, with a short explanation for every answer.

30 quizzes across 10 topics, including Python, JavaScript and Java.

Topics
10
Quizzes
30

Topics in Programming & Coding

10 topics · choose one to see its quizzes

  1. Python3 quizzes
  2. JavaScript3 quizzes
  3. Java3 quizzes
  4. C3 quizzes
  5. C++3 quizzes
  6. C#3 quizzes
  7. TypeScript3 quizzes
  8. PHP3 quizzes
  9. Go3 quizzes
  10. Rust3 quizzes
Every Programming & Coding quiz, by topic30 quizzes

30 quizzes

Programming & Coding quizzes

Programming & Coding · Rust

Rust Intermediate Quiz: Enums, Traits & Error Handling

A Rust traits and error handling quiz: Option and Result, the ? operator, enums with data, exhaustive matches, trait bounds, lifetimes and derive.

Hard difficulty15 questions~12 min
+150 XPPlay

Programming & Coding · Rust

Rust Code Quiz: Predict the Result

Rust borrowing and output questions: will it compile, and what will it print? Covers match, vectors, moves, mutable references, Option, Result and slices.

Medium difficulty15 questions~10 min
+120 XPPlay

Programming & Coding · Rust

Rust Basics Quiz: Variables, Types & Ownership

A Rust quiz for beginners: immutable bindings and let mut, shadowing, default types, ownership and moves, Copy types, clone(), borrowing and String.

Easy difficulty15 questions~8 min
+75 XPPlay

Programming & Coding · Go

Go Code Output Quiz: Predict the Result

Go output questions: predict what Go prints, from shared slice arrays, len and cap, range and defer to runes, value receivers, closures and shadowing.

Medium difficulty15 questions~10 min
+120 XPPlay

Programming & Coding · Go

Go Basics Quiz: Variables, Types & Functions

A Golang quiz for beginners: := and zero values, package main, func, multiple return values, the for loop, exported names, slices, maps and iota.

Easy difficulty15 questions~8 min
+75 XPPlay

Programming & Coding · PHP

PHP Intermediate Quiz: OOP, Arrays & Error Handling

A PHP OOP quiz: classes, constructor promotion, visibility, traits, static members, exceptions, namespaces, strict types, readonly and the nullsafe operator.

Hard difficulty15 questions~12 min
+150 XPPlay

Programming & Coding · PHP

PHP Code Output Quiz: Predict the Result

PHP output questions for PHP 8: loose comparisons, numeric strings, ??, foreach, array_map() and array_filter(), the spaceship operator, match and isset().

Medium difficulty15 questions~10 min
+120 XPPlay

Programming & Coding · PHP

PHP Basics Quiz: Variables, Types & Syntax

A PHP quiz for beginners: the <?php tag, $variables, echo, string concatenation, single versus double quotes, intdiv(), arrays, count() and strlen().

Easy difficulty15 questions~8 min
+75 XPPlay