← All Web Development Flashcard Decks

Frameworks Flashcards

7 cards from real Web Development practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Frameworks flashcards as text
  1. What is the virtual DOM in React, and what problem does it solve?

    Answer: An in-memory representation of the UI that minimizes expensive direct DOM manipulations

    The virtual DOM is a lightweight in-memory copy of the real DOM that React uses to batch and minimize direct DOM updates for better performance.

  2. In Django, what is the purpose of the `migrations` directory in an app?

    Answer: Contains files that track and apply changes to database schema over time

    Django migration files record schema changes so they can be applied consistently across different environments and tracked in version control.

  3. Which Vue.js Composition API function is equivalent to the Options API's `computed` property?

    Answer: computed()

    The computed() function in the Composition API creates a reactive reference whose value is derived from other reactive state, just like Options API computed properties.

  4. What is the main architectural pattern used by Angular?

    Answer: Component-based with MVC influences

    Angular uses a component-based architecture with strong MVC influences, where components serve as controllers that connect templates (views) to services (models).

  5. In React, what is prop drilling and how is it typically solved?

    Answer: Passing props through many intermediate components; solved with Context API or state management

    Prop drilling occurs when data must pass through many component layers; the Context API or libraries like Redux solve this by providing global state access.

  6. What does Rails' 'Convention over Configuration' principle mean?

    Answer: Developers follow framework defaults to avoid boilerplate configuration

    Convention over Configuration means Rails assumes sensible defaults (file naming, folder structure, database columns) so developers write less explicit configuration.

  7. Which Next.js rendering strategy fetches data on every request and is never cached?

    Answer: Server-Side Rendering (SSR) with getServerSideProps

    getServerSideProps runs on every request, making it true SSR—ideal for pages that need real-time data but unsuitable for high-traffic pages due to server load.

How this page was made: written with AI tools. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Not reviewed by a subject-matter expert. Editorial policy