StarkSeek
EventsJobs
Sign in

Menu

Practice

  • DSA sheetsProblem sheets by topic and company
  • AptitudeNewQuant, logic, data and verbal, with fresh questions
  • SQLNew400 interview-style SQL problems with checked solutions
  • CS fundamentalsNewOS, DBMS, networks and OOP, with labs you can run
  • Skill tracksProject-based learning in 12 domains

Interview prep

  • Mock interviewAIPractise with an AI interviewer by voice
  • Code ComprehensionNewRead, fix and explain real code with an AI assistant
  • EventsHackathons, workshops, meetups and contests
  • JobsOpen roles from companies hiring through StarkSeek

Pricing

  • MembershipsCompare plans and what each includes
  • Add-ons and creditsExtra credits when you need more
  • Rewards store

For Companies

  • Hire talentAssess real work, read the evidence behind every score and decide with your team
  • Host an eventHackathons, coding contests, workshops and meetups, with certificates and a live leaderboard
Sign in
CS fundamentals/Databases/Functional dependencies and normal forms

Databases

Functional dependencies and normal forms

Closure, candidate keys and 1NF to BCNF, which exist to remove redundancy and update anomalies.

Open the labPractise this topic

In two minutes

One idea to a line

  1. 1

    The closure of a set X is everything X determines using the dependencies. X is a superkey exactly when its closure is all attributes.

  2. 2

    2NF: no non-prime attribute depends on part of a candidate key. 3NF: for every dependency X → A, X is a superkey or A is prime. BCNF: for every dependency, X is a superkey.

  3. 3

    Every BCNF relation is in 3NF, and every 3NF relation is in 2NF. A relation with only single-attribute keys is always in 2NF.

  4. 4

    Decomposition into 3NF can always be lossless and dependency preserving. BCNF can always be lossless but may lose a dependency.

  5. 5

    A prime attribute is one that belongs to some candidate key.

Slips people make here

Interviewers know them too

  • Checking only the first candidate key when finding prime attributes.

  • Applying the dependencies once instead of until the closure stops growing.

  • Saying 3NF means "no transitive dependency" without the prime attribute exception.

Your practice here

Not started

10 written questions, and 3 kinds of calculation that change every time

No answers yet

Normalisation labType a relation and its dependencies: closures, candidate keys and the highest normal form, with the dependency that breaks the next one.Open

Get product updates

New tracks and events, straight to your inbox.

StarkSeek

Learn by building real projects, practise interview-level DSA, and apply to roles from hiring teams.

Platform

  • Learning tracks
  • Practice problems
  • Aptitude
  • SQL practice
  • CS fundamentals
  • Mock interviews
  • Code Comprehension
  • Events

Resources

  • Host an event
  • For companies
  • Certificates
  • Rewards store
  • Pricing
  • Add-ons
  • Blog

Company

  • Careers
  • Contact us
  • Privacy policy
  • Terms of service

Support

  • contact@starkseek.com
  • community@starkseek.comEvents and organizers
  • partner@starkseek.comCompanies and partnerships

© 2026 StarkSeek. A product of NOKATI LLP.

Recognized by