OS

OpenStem

@openstem · Joined Jul 2026
7420 public items8 groups
Content7420Groups8
Quiz5 questions
In which phase do setImmediate() callbacks run?
AThe timers phaseBThe check phaseCThe close callbacks phaseDThere is no dedicated phase for it
Software

Software · L1 · Node.js: Event Loop & Modules Check

@openstem
Software · L1 · Node.js: Event Loop & Modules Check
Quiz5 questions
What is the correct order of steps when loading a fresh HTTPS page?
ATLS handshake, DNS lookup, TCP handshake, HTTP requestBDNS lookup, TCP handshake, TLS handshake, HTTP requestCHTTP request, DNS lookup, TCP handshake, TLS handshakeDTCP handshake, HTTP request, DNS lookup, TLS handshake
Software

Software · L1 · Networking & HTTP: Request Anatomy Check

@openstem
Software · L1 · Networking & HTTP: Request Anatomy Check
Quiz5 questions
Which state is a process in while it waits for a disk read to complete?
ABlockedBRunningCReadyDTerminated
Software

Software · L1 · Operating Systems: The Process Lifecycle

@openstem
Software · L1 · Operating Systems: The Process Lifecycle
Quiz5 questions
Why is `counter++` unsafe when called from two threads without synchronization?
AIt is really three steps (read, add, write) that can interleave between threadsBThe `++` operator doesn't exist in most languagesCIntegers can't be shared between threadsDIt only fails on single-core machines
Software

Software · L1 · Concurrency: Protecting Shared State

@openstem
Software · L1 · Concurrency: Protecting Shared State
Quiz5 questions
Why must the server hash the incoming password before comparing it, rather than storing and comparing plaintext?
AHashing makes login fasterBIf the database leaks, hashed passwords can't be immediately used, unlike plaintextCHashing is required by HTTPSDIt lets users log in without a password
Software

Software · L1 · Security & Auth: Login & Session Flow

@openstem
Software · L1 · Security & Auth: Login & Session Flow
Quiz5 questions
What does `docker build` produce?
AA running containerBA local imageCA registry accountDA Dockerfile
Software

Software · L1 · Docker & Kubernetes: Image Build & Deploy Lifecycle

@openstem
Software · L1 · Docker & Kubernetes: Image Build & Deploy Lifecycle
Quiz5 questions
Why must you see the test fail (Red) before writing the implementation?
AIt's a formality with no practical benefitBIt proves the test actually exercises the intended behavior and would catch a regressionCFailing tests run fasterDGreen-phase code doesn't compile without it
Software

Software · L1 · Testing: The Red-Green-Refactor Cycle

@openstem
Software · L1 · Testing: The Red-Green-Refactor Cycle
Quiz5 questions
An object has 8 optional constructor parameters. Which pattern fits best?
ABuilderBSingletonCPrototypeDFactory Method
Software

Software · L1 · Design Patterns: Choosing a Creational Pattern

@openstem
Software · L1 · Design Patterns: Choosing a Creational Pattern
Quiz5 questions
What is the first major thing SpringApplication.run() creates?
AThe ApplicationContextBThe embedded Tomcat serverCA CommandLineRunner beanDThe application.properties file
Software

Software · L1 · Spring Boot: Application Lifecycle & Logging

@openstem
Software · L1 · Spring Boot: Application Lifecycle & Logging
Quiz5 questions
What is pubspec.yaml?
AThe project manifest declaring its name, SDK constraint, and dependenciesBA compiled binary produced by dart buildCA file that stores runtime log outputDThe entry-point Dart source file
Software

Software · L1 · Dart: Packages & Tooling

@openstem
Software · L1 · Dart: Packages & Tooling
Quiz5 questions
Where do you set an app-wide color scheme and typography in a Flutter app?
AIn a ThemeData passed to MaterialApp's `theme` parameterBIn every individual widget's constructorCIn the pubspec.yaml fileDIn a global CSS file
Software

Software · L1 · Flutter: Styling & Theming

@openstem
Software · L1 · Flutter: Styling & Theming
Quiz5 questions
Where is a file placed at public/favicon.ico served from?
A/favicon.ico, at the site rootB/public/favicon.icoCIt is not served; public/ is build-onlyD/app/favicon.ico
Software

Software · L1 · Next.js: Images, Fonts & Assets

@openstem
Software · L1 · Next.js: Images, Fonts & Assets
Quiz5 questions
What runs first when a request arrives at a Nest application?
AMiddlewareBGuardsCPipesDThe route handler
Software

Software · L1 · NestJS: Architecture & Routing Check

@openstem
Software · L1 · NestJS: Architecture & Routing Check
Quiz5 questions
What is the main benefit of embedding related data as a subdocument?
AOne read retrieves the parent and its related data togetherBIt removes the 16MB document size limitCIt always uses less disk spaceDIt avoids needing an _id field
Software

Software · L1 · MongoDB: Schema Design — Embedding vs Referencing

@openstem
Software · L1 · MongoDB: Schema Design — Embedding vs Referencing
Quiz5 questions
What does to_tsvector() do?
AConverts text into normalized, stemmed lexemesBDeletes a text columnCConverts text into JSONBDEncrypts a text value
Software

Software · L1 · PostgreSQL: Full-Text Search

@openstem
Software · L1 · PostgreSQL: Full-Text Search
Quiz5 questions
Which AWS storage service is object storage accessed over HTTP?
AAmazon S3BAmazon EBSCAmazon EFSDAmazon RDS
Software

Software · L1 · AWS: Storage Options Compared

@openstem
Software · L1 · AWS: Storage Options Compared
Quiz5 questions
Which GCP service is object storage accessed over HTTP?
ACloud StorageBPersistent DiskCFilestoreDCloud SQL
Software

Software · L1 · Google Cloud: Storage & Database Options

@openstem
Software · L1 · Google Cloud: Storage & Database Options
Quiz5 questions
Which command must run first in a new Terraform working directory?
Aterraform applyBterraform initCterraform destroyDterraform plan
Software

Software · L1 · Terraform: The Core Workflow

@openstem
Software · L1 · Terraform: The Core Workflow
Quiz3 questions
What does this Scratch-style code do? repeat 3 times: move forward 10 steps
AMoves forward 10 steps onceBMoves forward 3 stepsCMoves forward 30 steps in total (10 each time, 3 times)DDoes nothing
Software

Software · L2 · Loops, Conditionals, and Variables

@openstem
Software · L2 · Loops, Conditionals, and Variables
Quiz2 questions
Binary uses only two digits. Which two?
A1 and 2B0 and 1C0 and 9DA and B
Software

Software · L2 · Binary and the Internet

@openstem
Software · L2 · Binary and the Internet
Quiz5 questions
What does this log?
AA, B, C, DBA, D, C, BCA, D, B, CDD, C, B, A
Software

Software · L2 · JavaScript: Event Loop Order

@openstem
Software · L2 · JavaScript: Event Loop Order
Quiz5 questions
Which utility type would you use to build a PATCH request body where every field of User is optional?
ARequired<User>BPartial<User>CReadonly<User>DPick<User, never>
Software

Software · L2 · TypeScript: Utility Types

@openstem
Software · L2 · TypeScript: Utility Types
Quiz5 questions
You want to add `Point.from_tuple((3, 4))` as an alternative way to build a Point. Which decorator fits?
A@staticmethodB@classmethodC@propertyDNo decorator — use a plain instance method
Software

Software · L2 · Python: classmethod vs staticmethod vs Instance Method

@openstem
Software · L2 · Python: classmethod vs staticmethod vs Instance Method
Quiz5 questions
When does a useEffect's cleanup function run?
AOnly when the component unmountsBBefore the effect re-runs (deps changed) and on unmountCImmediately before the render phase startsDIt never runs automatically
Software

Software · L2 · React: Hooks & Effects Check

@openstem
Software · L2 · React: Hooks & Effects Check
Quiz5 questions
Which traversal is the natural choice for shortest path in an unweighted graph?
ABFSBDFSCIn-order traversalDBinary search
Software

Software · L2 · Data Structures & Algos: Graph Traversal

@openstem
Software · L2 · Data Structures & Algos: Graph Traversal
Quiz5 questions
Which caching strategy gives the strongest consistency between cache and database?
AWrite-throughBWrite-backCCache-aside with a long TTLDNo caching at all is more consistent
Software

Software · L2 · System Design: Choosing a Cache Strategy

@openstem
Software · L2 · System Design: Choosing a Cache Strategy
Quiz5 questions
Which isolation level prevents dirty, non-repeatable, and phantom reads?
ARead UncommittedBRead CommittedCRepeatable ReadDSerializable
Software

Software · L2 · SQL: Isolation Levels & Locking

@openstem
Software · L2 · SQL: Isolation Levels & Locking
Quiz5 questions
What does the `=======` marker separate inside a conflicted file?
ATwo unrelated filesBYour current branch's version from the incoming branch's versionCStaged changes from unstaged changesDCommit messages from diffs
Software

Software · L2 · Git & Dev Workflow: Resolving a Merge Conflict

@openstem
Software · L2 · Git & Dev Workflow: Resolving a Merge Conflict
Quiz5 questions
Multiple goroutines need exclusive access to a shared in-memory counter. What's the simplest fit?
AAn unbuffered channelBsync.MutexCsync.WaitGroupDselect
Software

Software · L2 · Go: Concurrency Primitives

@openstem
Software · L2 · Go: Concurrency Primitives
Quiz5 questions
A function looks up a key that may or may not be in a HashMap. What's the idiomatic return type?
AResult<V, E>BOption<V>CV, and panic! if missingDbool
Software

Software · L2 · Rust: Option, Result, and panic!

@openstem
Software · L2 · Rust: Option, Result, and panic!

We use privacy-friendly product analytics (no session recording, PII masked) to improve OpenStem. Load analytics? Privacy Policy