Gate 2018

Duration: 4 min

This video lesson is available to enrolled students.

Return to /learn/BIHAR-POLYTECHNIC-LECTURER-COMPUTER-SCIENCE/paper-1-database-management-systems/normalization-1nf-bcnf/third-normal-form-3nf/asset-gate-2018-3310 after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. Discrete Mathematics: Permutation, Combination and Probability / क्रमचय, संचय एवं प्रायिकता, Set Theory, Relations, Functions, Propositional and Predicate Logic, Graph Theory, Group Theory
  2. Digital Logic: Digital Systems & Boolean Basics, Boolean Expression, Boolean Minimization, Logic Gates & Hardware, Combinational Circuit, Sequential Circuits, Number System, Number Representation, Floating Point Rep
  3. Computer Organization and Architecture: Basics of COA, Programming the Basic Computer, Cache Memory Organization, Input Output Organisation, Instr Formats & Modes, Register Transfer and Microoperations, Control Unit Design, Pipelining, Multiprocessors
  4. Programming: Language Design, C Fundamentals, Control Flow, Functions, Arrays & Pointers, Storage Classes, Structures & Enums, DMA, Macros, Scoping & File Handling, OOPS with C++
  5. Data Structures: Introduction to DS, Array, Linked List, Stack, Queue, Tree, Graphs, Hashing
  6. Algorithms: Algorithm Analysis, Time Complexity Analysis, Sorting Algorithms, Greedy Algorithms, Dynamic Programming, Minimum Spanning Trees, Shortest Path Algos, Advanced Algorithms
  7. Theory of Computation: Grammar, Regular Language Properties, Moore & Mealy Machines, Turing Machines
  8. Compiler Design: Intro to Compilers, Lexical Analysis, Grammar & CFG, Syntax Analysis: Top-Down, Syntax Analysis: Bottom-Up, Semantic Analysis & SDT, Intermediate Code Gen, Code Optimization, Run Time Environment, Introduction to TOC, Deterministic FA (DFA), Non-Deterministic FA, Regular Expressions, Pushdown Automata & CFG, Complexity Theory
  9. Operating Systems: Introduction to OS, Process Management, CPU Scheduling, Process Synchronization, Threads & Process Creation, Deadlock, Memory Management, Virtual Memory, Disc Scheduling, File Management, Unix OS, Linux OS, Security
  10. Database Management Systems: Basics of DBMS, ER Diagram, Relational Model & Functional Dependencies, Keys & Integrity Constraints, Normalization (1NF - BCNF), Decomposition Properties & 4NF, File Organization & Indexing, Relational Algebra, SQL, Relational Calculus, Transaction Management, Concurrency Control, ORDBMS, NoSQL
  11. Computer Networks: Introduction to CN, Data Communication, DLL: Access Control, DLL: Flow Control, DLL: Error Control, DLL: Framing, Data Link Layer - Ethernet, Net Layer: IPv4 & Proto, Net Layer: IP Addressing, Net Layer:Routing Protocol, Transport Layer Services, TL: Congestion & UDP, Application Layer, Hardware basics, Network Security
AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

The video analyzes a GATE 2018 question asking to identify a relational schema that is in 3NF but not in BCNF. The instructor reviews four schemas: Registration with set-valued courses, Registration with email, Registration with marks and grade, and Registration with credit. He evaluates primary keys and functional dependencies for each. He determines that Schema I violates 1NF due to multi-valued attributes. He finds Schema II satisfies 3NF but fails BCNF due to a dependency on a non-superkey. He identifies Schema III as violating 3NF due to transitive dependency. He identifies Schema IV as violating 2NF due to partial dependency. The final conclusion points to Schema II as the correct answer.

Chapters

  1. 0:00 – 2:00 00:00-02:00

    The instructor begins by reading the problem statement visible on the slide: "Which one of the relational schemas above is in 3NF but not in BCNF?" He starts with Schema I: Registration (rollno, courses). He points out that the attribute 'courses' is a set-valued attribute. This typically violates First Normal Form (1NF). Although he briefly writes "BCNF" next to it, he dismisses it. He then shifts focus to Schema II: Registration (rollno, courseid, email). He identifies the primary key as the composite key (rollno, courseid). He lists the non-trivial functional dependencies: rollno, courseid -> email and email -> rollno. On the whiteboard, he writes (Rno, Cid) and (Cid, Email). He explains that while this schema satisfies 3NF conditions, the dependency email -> rollno violates BCNF because email is not a superkey. He marks "Schema 2" with a checkmark.

  2. 2:00 – 3:37 02:00-03:37

    Continuing the analysis, the instructor examines Schema III: Registration (rollno, courseid, marks, grade). He identifies the primary key as (rollno, courseid) and notes the dependencies rollno, courseid -> marks, grade and marks -> grade. He draws arrows to visualize the transitive dependency where marks determines grade. Since marks is a non-prime attribute determining another non-prime attribute, he labels this schema as "2NF", indicating it fails 3NF. Next, he analyzes Schema IV: Registration (rollno, courseid, credit). He identifies the primary key as (rollno, courseid) and lists dependencies rollno, courseid -> credit and courseid -> credit. He points out that courseid -> credit is a partial dependency because courseid is a proper subset of the primary key. He labels this schema "1NF". Finally, he confirms that Schema 2 is the only one satisfying the condition of being in 3NF but not BCNF.

The lecture demonstrates a methodical approach to database normalization problems by evaluating functional dependencies against normal form definitions. The instructor uses visual aids like arrows and handwritten notes to track keys and dependencies, effectively ruling out schemas that violate lower normal forms (1NF, 2NF) or BCNF constraints. The key takeaway is distinguishing between partial dependencies (violating 2NF), transitive dependencies (violating 3NF), and dependencies on non-superkeys (violating BCNF). The final conclusion reinforces that Schema 2 is the correct answer because it has a transitive dependency on a non-prime attribute (3NF) but also a dependency on a non-superkey (BCNF violation).

Loading lesson…