Admin
Quiz Builder
Pick knowledge questions, set mode and timer, copy a shareable link.
all
easy
medium
hard
|
✓ Selected
all
javascript
typescript
tailwind
react
html
css
nodejs
postgresql
prisma
python
architecture
nextjs
devops
all
single
multi
boolean
fill
order
snippet
match
hotspot
output
Select all (350)
Which keyword declares a block-scoped variable that cannot be reassigned?
easy
javascript · single
Preview
What does `typeof null` return in JavaScript?
easy
javascript · single
Preview
What is the result of `[] == false`?
medium
javascript · single
Preview
Which method creates a new array with the results of calling a function on every element?
medium
javascript · single
Preview
What is printed? ```js console.log(typeof (() => {})); ```
hard
javascript · single
Preview
Which of the following are falsy values in JavaScript? (select all)
easy
javascript · multi
Preview
Which array methods mutate the original array? (select all)
medium
javascript · multi
Preview
Which statements about Promises are correct? (select all)
medium
javascript · multi
Preview
JavaScript's main execution model is single-threaded with an event loop.
easy
javascript · boolean
Preview
`==` and `===` always produce the same result for any pair of values.
medium
javascript · boolean
Preview
`const` prevents mutation of object properties.
easy
javascript · boolean
Preview
What keyword is used to declare a function that always returns a Promise and allows `await` inside?
easy
javascript · fill
Preview
Complete: `JSON.____(obj)` converts a JavaScript value to a JSON string.
medium
javascript · fill
Preview
After `let x;` runs with no initializer, what is the value of `x`? (one word)
easy
javascript · fill
Preview
Order these from earliest to latest in the event loop:
medium
javascript · order
Preview
Order the typical steps to handle a successful async fetch of JSON:
easy
javascript · order
Preview
Which snippet correctly checks if a value is a non-null object (not an array)?
medium
javascript · snippet
Preview
Which snippet correctly deep-clones a plain JSON-safe object (no functions/dates/maps)?
easy
javascript · snippet
Preview
Match each array method to what it returns.
easy
javascript · match
Preview
Match each operator / construct to its primary use.
medium
javascript · match
Preview
Click the line that throws at runtime.
medium
javascript · hotspot
Preview
Click the line that causes a Temporal Dead Zone ReferenceError.
hard
javascript · hotspot
Preview
What is logged?
easy
javascript · output
Preview
What is logged?
medium
javascript · output
Preview
What is logged?
hard
javascript · output
Preview
What does `Array.isArray([])` return?
easy
javascript · single
Preview
What is the difference between `null` and `undefined`?
medium
javascript · single
Preview
Which create a new array without mutating the original? (select all)
medium
javascript · multi
Preview
Template literals use backticks and can embed expressions with `${...}`.
easy
javascript · boolean
Preview
What is logged?
medium
javascript · output
Preview
What is logged (three values, space-separated)?
easy
javascript · output
Preview
What is logged?
medium
javascript · output
Preview
Order these from earliest to latest in the event loop:
medium
javascript · order
Preview
Click the line that throws at runtime.
easy
javascript · hotspot
Preview
What is logged?
medium
javascript · output
Preview
Order the logged labels from earliest to latest. ```js console.log("S"); Promise.resolve() .then(() => { console.log("M1"); return Promise.resolve(); }) .then(() => console.log("M2")); setTimeout(() => console.log("T"), 0); ```
hard
javascript · order
Preview
Click the line that causes a Temporal Dead Zone ReferenceError.
medium
javascript · hotspot
Preview
What is logged (three values, space-separated)?
hard
javascript · output
Preview
Click the line that mutates the original `nums` array.
medium
javascript · hotspot
Preview
Order the typical steps to handle a successful async fetch of JSON:
easy
javascript · order
Preview
Order the logged labels from earliest to latest. ```js console.log("1"); setTimeout(() => console.log("2"), 0); queueMicrotask(() => console.log("3")); Promise.resolve().then(() => console.log("4")); console.log("5"); ```
medium
javascript · order
Preview
Order the logged labels from earliest to latest. ```js console.log("A"); setTimeout(() => console.log("B"), 0); Promise.resolve() .then(() => { console.log("C"); setTimeout(() => console.log("D"), 0); return Promise.resolve(); }) .then(() => { console.log("E"); }); console.log("F"); ```
hard
javascript · order
Preview
Order the logged labels from earliest to latest. ```js setTimeout(() => console.log("T1"), 0); Promise.resolve().then(() => { console.log("P1"); setTimeout(() => console.log("T2"), 0); Promise.resolve().then(() => console.log("P2")); }); console.log("S"); ```
hard
javascript · order
Preview
Click the line that throws at runtime.
easy
javascript · hotspot
Preview
Click the line that throws at runtime.
medium
javascript · hotspot
Preview
Click the line that throws at runtime.
medium
javascript · hotspot
Preview
Click the line that is invalid (await outside an async function).
medium
javascript · hotspot
Preview
Click the line that throws at runtime.
hard
javascript · hotspot
Preview
What does TypeScript primarily add on top of JavaScript?
easy
typescript · single
Preview
Which annotation correctly types a string variable?
easy
typescript · single
Preview
What is the difference between `interface` and `type` aliases for object shapes?
medium
typescript · single
Preview
What does the `?` mean in `function f(x?: number)`?
medium
typescript · single
Preview
What is a discriminated union useful for?
hard
typescript · single
Preview
Which are valid TypeScript primitive type keywords? (select all)
easy
typescript · multi
Preview
Which utility types are built into TypeScript? (select all)
medium
typescript · multi
Preview
Which statements about `any` vs `unknown` are true? (select all)
medium
typescript · multi
Preview
Type annotations are erased when TypeScript is compiled to JavaScript.
easy
typescript · boolean
Preview
`enum` values always exist only at compile time and never appear in the emitted JavaScript.
medium
typescript · boolean
Preview
A variable typed as `string | null` can be passed where a plain `string` is required without narrowing.
easy
typescript · boolean
Preview
What keyword defines a named object shape that can be implemented by a class?
easy
typescript · fill
Preview
Complete the utility: `ReadonlyArray<string>` is roughly equivalent to `____ string[]` (modifier + type).
medium
typescript · fill
Preview
What operator asserts a more specific type (use carefully): `value ____ HTMLElement`?
medium
typescript · fill
Preview
Order the steps of a typical TypeScript build pipeline:
medium
typescript · order
Preview
Order these from most permissive to most precise typing of an unknown JSON field:
hard
typescript · order
Preview
Which snippet correctly types a function that returns a number?
easy
typescript · snippet
Preview
Which snippet correctly defines a readonly tuple of two numbers?
medium
typescript · snippet
Preview
Match each TypeScript concept to its meaning.
easy
typescript · match
Preview
Match each utility type to its effect.
medium
typescript · match
Preview
Click the line that is a type error (strict mode).
medium
typescript · hotspot
Preview
Click the line that incorrectly uses a type assertion in a way that hides a real mismatch risk.
hard
typescript · hotspot
Preview
After compilation, what runtime type does this have? ```ts const x: number = 42; console.log(typeof x); ```
easy
typescript · output
Preview
What is the **annotated** type of `v`? (write the alias name or the union)
medium
typescript · output
Preview
What does `satisfies` do (TS 4.9+)?
hard
typescript · single
Preview
What does `Readonly<T>` do?
easy
typescript · single
Preview
What is a type guard?
medium
typescript · single
Preview
Which are valid ways to express an optional property on an object type? (select all)
medium
typescript · multi
Preview
Generics let you write reusable functions/types that work with multiple types while preserving type info.
easy
typescript · boolean
Preview
What operator extracts the property names of a type as a string union? `type Keys = ____ User;`
medium
typescript · fill
Preview
Click the line that is a type error (excess property check).
medium
typescript · hotspot
Preview
Click the line that is a type error under strict null checks.
medium
typescript · hotspot
Preview
Click the line that is a type error (wrong generic constraint usage).
hard
typescript · hotspot
Preview
Which snippet correctly narrows `value` to `string` before calling `.toUpperCase()`?
medium
typescript · snippet
Preview
Which utility correctly builds a type with only `id` and `email` from `User`?
medium
typescript · snippet
Preview
Order the typical steps to safely use an `unknown` JSON value:
medium
typescript · order
Preview
What is logged at runtime?
medium
typescript · output
Preview
What is the `never` type mainly used for?
medium
typescript · single
Preview
What does `Record<string, number>` describe?
easy
typescript · single
Preview
Which widen or erase type information at compile time? (select all)
medium
typescript · multi
Preview
`interface` declarations with the same name in the same scope merge their members.
easy
typescript · boolean
Preview
Complete: `type NoName = ____<User, "name">` removes the `name` property from `User`.
medium
typescript · fill
Preview
What is Tailwind CSS primarily?
easy
tailwind · single
Preview
Which class sets `display: flex`?
easy
tailwind · single
Preview
What does `md:flex` mean?
medium
tailwind · single
Preview
Which pair correctly adds horizontal padding of 1rem (assuming default spacing scale)?
medium
tailwind · single
Preview
In Tailwind v4, how are styles commonly configured compared to classic v3 `tailwind.config.js`?
hard
tailwind · single
Preview
Which classes affect text styling? (select all)
easy
tailwind · multi
Preview
Which are valid state/variant prefixes in Tailwind? (select all)
medium
tailwind · multi
Preview
Which utilities help with flex layout? (select all)
medium
tailwind · multi
Preview
Tailwind is mobile-first: unprefixed utilities apply to all sizes, and `md:` styles apply from the md breakpoint up.
easy
tailwind · boolean
Preview
You must write a custom CSS file for every button color; utilities cannot style background colors.
medium
tailwind · boolean
Preview
`hidden` sets `display: none`.
easy
tailwind · boolean
Preview
What class makes an element a CSS Grid container?
easy
tailwind · fill
Preview
What class sets `width: 100%`?
medium
tailwind · fill
Preview
Complete the class for medium screens and up: `____:text-lg` (breakpoint prefix only).
medium
tailwind · fill
Preview
A common authoring habit is layout → spacing → typography. Order these class groups that way (note: class order in HTML does not change utility CSS priority):
medium
tailwind · order
Preview
Order the responsive prefixes from smallest breakpoint to largest (default Tailwind screens):
easy
tailwind · order
Preview
Which markup correctly centers a flex child horizontally and vertically in a full-height box?
easy
tailwind · snippet
Preview
Which snippet applies a hover background change correctly?
medium
tailwind · snippet
Preview
Match each utility to its CSS effect.
easy
tailwind · match
Preview
Match each class to its purpose.
medium
tailwind · match
Preview
Click the line with an invalid / non-standard Tailwind class for horizontal margin auto centering.
medium
tailwind · hotspot
Preview
Click the line where a conflicting pair likely fights for the same property (last in CSS generation wins, not source order of classes).
hard
tailwind · hotspot
Preview
Which CSS property does `font-bold` primarily set? (answer the property name)
easy
tailwind · output
Preview
What CSS does `flex-1` roughly correspond to? Type the main declaration value or shorthand people associate (e.g. `1 1 0%` or `flex: 1`).
medium
tailwind · output
Preview
What does the `group` / `group-hover:` pattern enable?
hard
tailwind · single
Preview
What does a React component typically return?
easy
react · single
Preview
Which hook holds state in a function component?
easy
react · single
Preview
When does `useEffect(() => { ... }, [])` run?
medium
react · single
Preview
What is the correct way to update state based on the previous value?
medium
react · single
Preview
Why are list keys important when rendering arrays?
hard
react · single
Preview
Which are valid React hooks? (select all)
easy
react · multi
Preview
Which are Rules of Hooks? (select all)
medium
react · multi
Preview
Which props/patterns help pass data downward? (select all)
medium
react · multi
Preview
React state updates may be asynchronous / batched; reading state immediately after setState may show the old value.
easy
react · boolean
Preview
Mutating state in place (e.g. `array.push` then `setArray(array)`) is the recommended way to update arrays.
medium
react · boolean
Preview
JSX expressions go inside curly braces, e.g. `<h1>{title}</h1>`.
easy
react · boolean
Preview
What prop name passes a click handler to a button in React?
easy
react · fill
Preview
Which hook returns a mutable ref object whose `.current` persists across renders without causing re-renders?
medium
react · fill
Preview
Complete: `const [value, setValue] = ____(initial);`
medium
react · fill
Preview
Order a typical data-fetch effect lifecycle for a mounted component:
medium
react · order
Preview
Order the basic steps to lift state up:
easy
react · order
Preview
Which snippet correctly renders a list of names?
easy
react · snippet
Preview
Which snippet correctly cleans up a subscription in `useEffect`?
medium
react · snippet
Preview
Match each hook to its primary use.
easy
react · match
Preview
Match each term to its meaning.
medium
react · match
Preview
Click the line that violates the Rules of Hooks.
medium
react · hotspot
Preview
Click the line that mutates state incorrectly.
hard
react · hotspot
Preview
After the first click, what count is shown? (type the number)
easy
react · output
Preview
How many times does `console.log` run on mount in React 18 Strict Mode (development)?
medium
react · output
Preview
What is the main purpose of React Context?
hard
react · single
Preview
What is the correct way to pass a string prop in JSX?
easy
react · single
Preview
When should you typically add a value to a `useEffect` dependency array?
medium
react · single
Preview
Which are good reasons to extract a custom hook? (select all)
medium
react · multi
Preview
In React, props should be treated as read-only by the child component.
easy
react · boolean
Preview
Which snippet correctly derives UI from state without storing redundant state?
medium
react · snippet
Preview
What does HTML stand for?
easy
html · single
Preview
Which element is the correct way to create a top-level page heading?
easy
html · single
Preview
Which attribute provides alternative text for an image?
medium
html · single
Preview
What is the difference between `<div>` and `<section>`?
medium
html · single
Preview
Which element associates a text label with a form control for accessibility?
hard
html · single
Preview
Which are valid HTML5 semantic elements? (select all)
easy
html · multi
Preview
Which input types are valid in HTML5? (select all)
medium
html · multi
Preview
Which attributes improve link/image accessibility or behavior? (select all)
medium
html · multi
Preview
The `<title>` element belongs in the document `<head>`.
easy
html · boolean
Preview
Block-level elements like `<p>` may legally contain other `<p>` elements nested inside.
medium
html · boolean
Preview
`<img>` is a void (empty) element and does not use a closing tag.
easy
html · boolean
Preview
What attribute on `<a>` specifies the destination URL?
easy
html · fill
Preview
Which element embeds a self-contained composition like a diagram with optional caption (`<figcaption>`)?
medium
html · fill
Preview
What is the root element of an HTML document?
easy
html · fill
Preview
Order these document skeleton pieces from outermost / earliest to innermost body content:
easy
html · order
Preview
Order a typical accessible form field structure:
medium
html · order
Preview
Which snippet correctly links to an external stylesheet?
easy
html · snippet
Preview
Which snippet is the more accessible button for an action (not navigation)?
medium
html · snippet
Preview
Match each element to its purpose.
easy
html · match
Preview
Match each attribute to its role.
medium
html · match
Preview
Click the line with an accessibility problem for the image.
medium
html · hotspot
Preview
Click the line that should use a semantic landmark instead of a generic container for primary navigation.
hard
html · hotspot
Preview
What visible text does this produce? (type the text only)
easy
html · output
Preview
How many list items will render?
medium
html · output
Preview
What does the `defer` attribute on a `<script>` tag do?
hard
html · single
Preview
What does CSS stand for?
easy
css · single
Preview
Which property changes text color?
easy
css · single
Preview
In the box model, which area sits outside the border?
medium
css · single
Preview
What does `display: flex` primarily enable on a container?
medium
css · single
Preview
Which selector has the highest specificity among these?
hard
css · single
Preview
Which are valid CSS length units? (select all)
easy
css · multi
Preview
Which properties participate in the standard CSS box model size of an element? (select all)
medium
css · multi
Preview
Which are valid ways to center a **block-level box** horizontally? (select all)
medium
css · multi
Preview
Classes can be reused on many elements; IDs should be unique in a document.
easy
css · boolean
Preview
`position: absolute` elements are always positioned relative to the viewport.
medium
css · boolean
Preview
Media queries can apply styles based on viewport width (e.g. `@media (min-width: 768px)`).
easy
css · boolean
Preview
What property sets the space between an element's border and its content?
easy
css · fill
Preview
Complete: `box-sizing: ____;` makes width/height include padding and border.
medium
css · fill
Preview
What pseudo-class styles a link while the pointer is over it? (include the colon, e.g. `:name`)
medium
css · fill
Preview
Order these style origins from lowest to highest priority (simplified cascade):
medium
css · order
Preview
Order these box-model layers from outermost to innermost:
easy
css · order
Preview
Which snippet correctly selects all paragraphs inside elements with class `card`?
easy
css · snippet
Preview
Which snippet correctly creates a 3-column CSS Grid?
medium
css · snippet
Preview
Match each property to what it controls.
easy
css · match
Preview
Match each Flexbox property to its role.
medium
css · match
Preview
Click the declaration that is invalid / will be ignored.
medium
css · hotspot
Preview
Click the rule that fails to apply a class selector (typo / wrong combinator intent).
hard
css · hotspot
Preview
What color is the text? Answer with the color keyword.
easy
css · output
Preview
With default `box-sizing: content-box`, what is the total width in px of this box? (number only)
medium
css · output
Preview
What is the main purpose of CSS custom properties (variables)?
hard
css · single
Preview
What is Node.js primarily?
easy
nodejs · single
Preview
Which object provides the command-line arguments in a Node process?
easy
nodejs · single
Preview
What does `require` load in CommonJS?
medium
nodejs · single
Preview
Which core module is used to create an HTTP server without Express?
medium
nodejs · single
Preview
What is the Event Loop's role in Node?
hard
nodejs · single
Preview
Which are Node.js core modules? (select all)
easy
nodejs · multi
Preview
Which statements about `package.json` are true? (select all)
medium
nodejs · multi
Preview
Which are appropriate for reading environment configuration? (select all)
medium
nodejs · multi
Preview
Node.js can run JavaScript on the server without a web browser.
easy
nodejs · boolean
Preview
`fs.readFileSync` is non-blocking and never stalls the event loop.
medium
nodejs · boolean
Preview
`npm install` reads package.json / lockfile to install dependencies.
easy
nodejs · boolean
Preview
What global object is used to exit the process with a status code, e.g. `____.exit(1)`?
easy
nodejs · fill
Preview
Which core module joins path segments in a cross-platform way? (`const path = require('____')`)
medium
nodejs · fill
Preview
Express (and many apps) use which HTTP method name for reading a resource by URL? (common REST verb)
medium
nodejs · fill
Preview
Order the steps to handle a JSON POST body in a simple Express-style API:
medium
nodejs · order
Preview
Order a typical project bootstrap:
easy
nodejs · order
Preview
Which snippet correctly creates a minimal HTTP server that responds with Hello?
easy
nodejs · snippet
Preview
Which snippet correctly reads a file asynchronously with promises?
medium
nodejs · snippet
Preview
Match each module/API to its use.
easy
nodejs · match
Preview
Match each HTTP status code to a typical meaning.
medium
nodejs · match
Preview
Click the line that blocks the event loop during a request handler.
medium
nodejs · hotspot
Preview
Click the line that leaks a secret if this file is committed to git.
hard
nodejs · hotspot
Preview
What is logged?
easy
nodejs · output
Preview
What is printed?
medium
nodejs · output
Preview
What is middleware in Express?
hard
nodejs · single
Preview
Which clause filters rows before grouping?
easy
postgresql · single
Preview
Which clause sorts query results?
easy
postgresql · single
Preview
What does an INNER JOIN return?
medium
postgresql · single
Preview
What is the primary purpose of a primary key?
medium
postgresql · single
Preview
What is the main purpose of a standard (non-unique) index on a column used in WHERE clauses?
medium
postgresql · single
Preview
Which operator performs case-insensitive pattern matching in PostgreSQL?
medium
postgresql · single
Preview
Which statements about NULL are true? (select all)
medium
postgresql · multi
Preview
Which features can enforce relationships between tables? (select all)
medium
postgresql · multi
Preview
Which statements about JSONB operators are true? (select all)
hard
postgresql · multi
Preview
`LIMIT 10` restricts a query result to at most ten rows.
easy
postgresql · boolean
Preview
`COUNT(column_name)` counts NULL values in that column.
medium
postgresql · boolean
Preview
Changes made after BEGIN become permanent only when COMMIT succeeds.
medium
postgresql · boolean
Preview
Complete the query to return only rows where `active` is true: `SELECT * FROM users ____ active = true;`
easy
postgresql · fill
Preview
Which command ends a transaction and keeps its changes? `____;`
medium
postgresql · fill
Preview
Add the clause that returns inserted columns: `INSERT INTO users (email) VALUES ('a@example.com') ____ id;`
medium
postgresql · fill
Preview
Order these common clauses in a SELECT query:
medium
postgresql · order
Preview
Order a successful transaction that creates an account and a profile:
medium
postgresql · order
Preview
Which query correctly returns the five newest posts?
easy
postgresql · snippet
Preview
Which query counts orders for each customer?
hard
postgresql · snippet
Preview
Match each SQL term to its role.
easy
postgresql · match
Preview
Match each aggregate expression to what it counts.
medium
postgresql · match
Preview
Click the line that correctly filters rows with no manager.
medium
postgresql · hotspot
Preview
Click the line that extracts the JSONB `name` field as text.
hard
postgresql · hotspot
Preview
What value does this query return?
easy
postgresql · output
Preview
What value does this query return?
medium
postgresql · output
Preview
Which datasource provider value configures Prisma for PostgreSQL?
easy
prisma · single
Preview
What does `@id` mark on a Prisma model field?
easy
prisma · single
Preview
Which scalar type is appropriate for a required email address in a Prisma model?
medium
prisma · single
Preview
When querying one user by its unique email, which Prisma Client method fits?
medium
prisma · single
Preview
Which option loads a post's related author with a Prisma query?
medium
prisma · single
Preview
What is the main purpose of `prisma migrate dev` during development?
hard
prisma · single
Preview
Which field declarations add constraints or defaults? (select all)
medium
prisma · multi
Preview
Which statements about Prisma query options are true? (select all)
medium
prisma · multi
Preview
Which statements about relations are true? (select all)
hard
prisma · multi
Preview
`@unique` prevents two records from storing the same non-null value for that field.
easy
prisma · boolean
Preview
`findMany` returns an array (not a single object), even when its `where` clause filters by a unique field.
medium
prisma · boolean
Preview
`prisma db push` is designed to create migration history files for each schema change.
hard
prisma · boolean
Preview
Complete the field attribute that makes email unique: `email String @____`
easy
prisma · fill
Preview
Complete the query option that filters active users: `prisma.user.findMany({ ____: { active: true } })`
medium
prisma · fill
Preview
Which Client method inserts one record? `prisma.user.____({ data: { email: 'a@example.com' } })`
medium
prisma · fill
Preview
Order the usual Prisma 7 steps after adding a model field that needs a tracked development migration:
medium
prisma · order
Preview
Order the parts of a Prisma Client update call:
medium
prisma · order
Preview
Which model correctly gives `User` an integer primary key and unique email?
easy
prisma · snippet
Preview
Which query returns published posts and includes each post's author?
hard
prisma · snippet
Preview
Match each Prisma Client method to its usual job.
easy
prisma · match
Preview
Match each schema feature to its effect.
medium
prisma · match
Preview
Click the line that declares the foreign key scalar for the Post-to-User relation.
medium
prisma · hotspot
Preview
Click the line that configures cascading deletes from a user to related posts.
hard
prisma · hotspot
Preview
What number is logged?
easy
prisma · output
Preview
What number is logged?
medium
prisma · output
Preview
Which built-in type is immutable?
easy
python · single
Preview
Which value means “no value” in Python?
easy
python · single
Preview
Which expression compares whether two variables refer to the same object?
medium
python · single
Preview
Which collection stores key-value pairs?
easy
python · single
Preview
What does `items[1:4]` return for a list?
medium
python · single
Preview
Why is `def add(item, items=[]): ...` usually risky?
medium
python · single
Preview
What does `enumerate(names)` provide while looping?
easy
python · single
Preview
Which call sorts users by their `age` key without changing the original list?
medium
python · single
Preview
Which string method removes whitespace from both ends of a string?
easy
python · single
Preview
For repeated membership checks in a large collection of unique values, which is usually the better fit?
medium
python · single
Preview
Which values are falsy in Python? (select all)
easy
python · multi
Preview
Which statements about function parameters are true? (select all)
medium
python · multi
Preview
Which are common ways to handle an expected exception? (select all)
medium
python · multi
Preview
Which statements about imports are correct? (select all)
medium
python · multi
Preview
`None == False` evaluates to `True` in Python.
easy
python · boolean
Preview
A `with open(...) as file:` block closes the file when the block exits, even if an exception occurs.
easy
python · boolean
Preview
Looking up a value by key in a dictionary is usually faster than scanning a list for a matching value.
medium
python · boolean
Preview
Complete the f-string: `message = f"Hello, {____}!"`
easy
python · fill
Preview
Complete: `for left, right in ____([1, 2], ['a', 'b']):`
easy
python · fill
Preview
Complete the safe mutable-default pattern: `def add(item, items=____):`
medium
python · fill
Preview
In an instance method, the conventional first parameter is named `____`.
easy
python · fill
Preview
Order the usual steps for reading a text file safely:
easy
python · order
Preview
Order these parts of a targeted exception flow:
medium
python · order
Preview
Which snippet builds a list of squares for the even numbers in `numbers`?
easy
python · snippet
Preview
Which snippet correctly appends to a new list on every call when the caller leaves `items` out?
medium
python · snippet
Preview
Which snippet builds a dictionary counting each word in `words`?
medium
python · snippet
Preview
Match each collection to its main characteristic.
easy
python · match
Preview
Match each tool to its usual loop use.
medium
python · match
Preview
Click the line that raises a `KeyError` when `user` has no `email` key.
medium
python · hotspot
Preview
What does this print?
medium
python · output
Preview
What sits in front of multiple app instances to distribute incoming traffic?
easy
architecture · single
Preview
What is the main job of a reverse proxy in a typical web stack?
easy
architecture · single
Preview
A CDN caches responses closer to users to reduce latency and origin load.
easy
architecture · boolean
Preview
On a CDN cache miss, what does the origin server do?
medium
architecture · single
Preview
In a common production request path, what sits between the client and the app?
medium
architecture · single
Preview
Which are benefits of horizontal scaling? (select all)
medium
architecture · multi
Preview
What does vertical scaling usually mean?
easy
architecture · single
Preview
Match each component to its primary role.
medium
architecture · match
Preview
Order these hops for a typical web request (first → last).
medium
architecture · order
Preview
Why cache responses near the edge (CDN/browser)?
medium
architecture · single
Preview
Sticky sessions are always required when using a load balancer.
medium
architecture · boolean
Preview
What do load-balancer health checks primarily enable?
hard
architecture · single
Preview
What is a primary tradeoff of a monolith versus many small services?
medium
architecture · single
Preview
What does CDN stand for? (three words)
medium
architecture · fill
Preview
Which problem is classically hardest about caching?
hard
architecture · single
Preview
Which belong on a typical web request-path diagram? (select all)
medium
architecture · multi
Preview
When are retries of the same POST request safest?
hard
architecture · single
Preview
In a standard deployment, a reverse proxy faces clients and forwards to app processes behind it.
easy
architecture · boolean
Preview
Where does Next.js middleware typically run in the request flow?
easy
nextjs · single
Preview
What is a main benefit of React Server Components in the App Router?
easy
nextjs · single
Preview
A file that uses useState must be a Client Component (typically with "use client").
easy
nextjs · boolean
Preview
What are Route Handlers primarily for in the App Router?
medium
nextjs · single
Preview
What is special about environment variables prefixed with NEXT_PUBLIC_?
medium
nextjs · single
Preview
Which values should stay server-only (not NEXT_PUBLIC_)? (select all)
medium
nextjs · multi
Preview
Match each Next.js piece to its role.
medium
nextjs · match
Preview
Order a typical App Router data path (first → last).
medium
nextjs · order
Preview
In Next.js caching discussions, what does revalidate generally control?
medium
nextjs · single
Preview
Every App Router page is always fully static at build time.
medium
nextjs · boolean
Preview
Shipping a database password in NEXT_PUBLIC_DATABASE_URL is:
hard
nextjs · single
Preview
Edge middleware is usually the best place for which kind of work?
medium
nextjs · single
Preview
What directive string marks a Client Component file? (two words, quoted form optional)
easy
nextjs · fill
Preview
Where does a fetch inside a Server Component run?
hard
nextjs · single
Preview
Which are plausible Next.js production deployment shapes? (select all)
medium
nextjs · multi
Preview
Route Handlers can serve as a small HTTP API inside a Next.js app.
easy
nextjs · boolean
Preview
What does CI primarily focus on?
easy
devops · single
Preview
What does CD usually refer to in DevOps conversations?
easy
devops · single
Preview
Containers package an application with its dependencies for consistent runtime environments.
easy
devops · boolean
Preview
Order a simple CI/CD flow (first → last).
medium
devops · order
Preview
Why put nginx/Caddy (or similar) in front of a Node app?
medium
devops · single
Preview
Match each observability signal to what it usually answers.
medium
devops · match
Preview
What is the core idea of blue-green deployment?
medium
devops · single
Preview
A rolling deploy always updates every instance at the exact same instant.
medium
devops · boolean
Preview
What is the purpose of a readiness probe?
medium
devops · single
Preview
Which should live in env/secret config rather than committed source? (select all)
medium
devops · multi
Preview
What is a risk if blue and green share one destructive migration path incorrectly?
hard
devops · single
Preview
A good build artifact should be:
easy
devops · single
Preview
Servers you never SSH-mutate, replacing them with new images instead, are often called _____ infrastructure.
medium
devops · fill
Preview
Compared to a VM, a container typically:
medium
devops · single
Preview
Which traits make a good health check? (select all)
hard
devops · multi
Preview
In small setups, the app often listens on an internal port while a reverse proxy handles public HTTPS.
easy
devops · boolean
Preview