ðŸ‡ŪðŸ‡ģ UGC NET Computer Science · subject

UGC NET Computer Science Database Management Systems Syllabus

The Database Management Systems syllabus for UGC NET Computer Science in full: 8 chapters and 51 topics, every one listed below, plus 53 Database Management Systems flashcards with answers.

8Chapters
51Topics
53Flashcards

Database Management Systems syllabus: all 8 chapters

Expand any chapter to see its topics and sub-topics.

  1. Database System Concepts and Architecture

    4 topics
    • Data Models, Schemas, and Instances
    • Three-Schema Architecture and Data Independence
    • Database Languages and Interfaces
    • Centralized and Client/Server Architectures for DBMS
  2. Data Modeling

    5 topics
    • Entity-Relationship Diagram
    • Relational Model - Constraints, Languages, Design, and Programming
    • Relational Database Schemas, Update Operations and Dealing with Constraint Violations
    • Relational Algebra and Relational Calculus
    • Codd Rules
  3. SQL

    4 topics
    • Data Definition and Data Types
    • Constraints, Queries, Insert, Delete, and Update Statements
    • Views, Stored Procedures and Functions
    • Database Triggers, SQL Injection
  4. Normalization for Relational Databases

    7 topics
    • Functional Dependencies and Normalization
    • Algorithms for Query Processing and Optimization
    • Transaction Processing
    • Concurrency Control Techniques
    • Database Recovery Techniques
    • Object and Object-Relational Databases
    • Database Security and Authorization
  5. Enhanced Data Models

    8 topics
    • Temporal Database Concepts
    • Multimedia Databases
    • Deductive Databases
    • XML and Internet Databases
    • Mobile Databases
    • Geographic Information Systems
    • Genome Data Management
    • Distributed Databases and Client-Server Architectures
  6. Data Warehousing and Data Mining

    14 topics
    • Data Modeling for Data Warehouses
    • Concept Hierarchy, OLAP and OLTP
    • Association Rules
    • Classification
    • Clustering
    • Regression
    • Support Vector Machine
    • K-Nearest Neighbour
    • Hidden Markov Model
    • Summarization
    • Dependency Modeling
    • Link Analysis
    • Sequencing Analysis
    • Social Network Analysis
  7. Big Data Systems

    5 topics
    • Big Data Characteristics
    • Types of Big Data
    • Big Data Architecture
    • Introduction to Map-Reduce and Hadoop
    • Distributed File System, HDFS
  8. NOSQL

    4 topics
    • NOSQL and Query Optimization
    • Different NOSQL Products, Querying and Managing NOSQL
    • Indexing and Ordering Data Sets
    • NOSQL in Cloud

UGC NET Computer Science Database Management Systems flashcards — 53 questions with answers

  1. In DBMS terminology, what is a data model?

    A collection of concepts used to describe the structure of a database — its data types, relationships, and constraints — together with the basic operations and behavior allowed on the data.

  2. Distinguish between a database schema and a database instance (state).

    The schema is the description/structure of the database (defined at design time and rarely changes); an instance/state is the actual data stored at a particular moment, which changes with every update.

  3. What are the three levels of the ANSI/SPARC three-schema architecture?

    Internal level (physical storage details via the internal schema), conceptual level (overall logical structure for the whole community), and external/view level (individual user views via external schemas).

  4. Define logical and physical data independence in the three-schema architecture.

    Logical data independence: ability to change the conceptual schema without altering external schemas/applications. Physical data independence: ability to change the internal (physical) schema without altering the conceptual schema.

  5. What is the difference between a DDL and a DML in database languages?

    DDL (Data Definition Language) defines schemas (CREATE, ALTER, DROP); DML (Data Manipulation Language) retrieves and modifies data (SELECT, INSERT, UPDATE, DELETE). High-level DML is declarative/set-oriented; low-level is record-at-a-time (procedural).

  6. Compare centralized and client/server DBMS architectures.

    Centralized: all DBMS functionality, application, and UI run on one machine. Client/server: functionality is split — clients handle UI/application logic and send requests to a server that manages the database, enabling distribution and scalability.

  7. In an ER diagram, what notation distinguishes an entity, attribute, relationship, and key attribute?

    Entity = rectangle, attribute = oval (underlined oval for a key attribute), relationship = diamond, multivalued attribute = double oval, derived attribute = dashed oval, weak entity = double rectangle.

  8. What is a weak entity type and what is its identifying (partial) key?

    A weak entity has no key attribute of its own; it depends on an identifying (owner) entity through an identifying relationship. Its partial key combined with the owner's key forms its full identifier.

  9. What do cardinality ratios 1:1, 1:N, and M:N mean in a binary relationship?

    They specify the maximum number of relationship instances an entity can participate in: 1:1 (one-to-one), 1:N (one-to-many), and M:N (many-to-many).

  10. Differentiate total and partial participation constraints in an ER model.

    Total participation (existence dependency, shown by a double line) means every entity instance must participate in the relationship; partial participation (single line) means participation is optional.

  11. In the relational model, define relation, tuple, attribute, and domain.

    A relation is a table; a tuple is a row; an attribute is a named column; a domain is the set of atomic permissible values for an attribute.

  12. State the entity integrity and referential integrity constraints.

    Entity integrity: no primary key attribute may be NULL. Referential integrity: a foreign key value must either match an existing primary key value in the referenced relation or be NULL.

  13. Differentiate superkey, candidate key, and primary key.

    A superkey uniquely identifies tuples (may have extra attributes); a candidate key is a minimal superkey; the primary key is the chosen candidate key used as the main identifier.

  14. What constraint-violation handling options exist for a referential integrity violation on delete/update?

    RESTRICT/NO ACTION (reject), CASCADE (propagate the delete/update), and SET NULL or SET DEFAULT for the referencing foreign key values.

  15. List the basic operations of relational algebra.

    Unary: SELECT (σ), PROJECT (π), RENAME (ρ). Set: UNION (∊), INTERSECTION (âˆĐ), DIFFERENCE (−), CARTESIAN PRODUCT (×). Plus JOIN (⋈), DIVISION (÷), and aggregate/grouping.

  16. How does relational calculus differ from relational algebra?

    Relational algebra is procedural (specifies how to compute the result via operations); relational calculus is declarative/non-procedural (specifies what is wanted). Calculus comes in tuple (TRC) and domain (DRC) forms.

  17. What is a natural join and how does it differ from a theta join?

    A natural join (⋈) joins on equality of all common-named attributes and removes the duplicate column; a theta join joins on an arbitrary condition (Îļ) and keeps both columns of the joined attributes.

  18. State three of Codd's 12 rules for a fully relational DBMS.

    Examples: Rule 0 (Foundation) — must manage data relationally; Information rule — all data represented as values in tables; Guaranteed access rule — every value accessible via table name + primary key + column; Systematic NULL handling rule.

  19. What is the difference between the CHAR and VARCHAR SQL data types?

    CHAR(n) is fixed-length, padded with spaces to n characters; VARCHAR(n) is variable-length up to n characters, storing only the actual string and using storage more efficiently.

  20. In SQL, what is the difference between the DELETE and TRUNCATE statements?

    DELETE is a DML command that removes rows (optionally with WHERE) and can be rolled back, logging each row; TRUNCATE is a DDL command that quickly removes all rows, resets storage, and generally cannot be rolled back.

Show the other 33 Database Management Systems flashcards
  1. What is a database view, and what is a materialized view?

    A view is a virtual table defined by a stored query, computed on demand. A materialized view physically stores the query result and must be refreshed to stay current.

  2. Differentiate a stored procedure from a user-defined function in SQL.

    A function must return a value and can be used inside SQL expressions/queries, typically without side effects; a stored procedure performs actions, may return zero or many results via output params, and is invoked with CALL/EXECUTE.

  3. What is a database trigger and what are its main timing/event options?

    A trigger is procedural code automatically executed in response to events (INSERT/UPDATE/DELETE), firing BEFORE or AFTER the event, at ROW or STATEMENT level, optionally with a WHEN condition.

  4. What is SQL injection and a primary defense against it?

    SQL injection is an attack where malicious SQL is inserted via unsanitized user input to alter a query. The primary defense is parameterized queries/prepared statements (plus input validation and least-privilege accounts).

  5. Define a functional dependency X → Y.

    X → Y holds if, for any two tuples that agree on the attribute set X, they must also agree on Y; i.e., X functionally determines Y (Y is dependent on X).

  6. State Armstrong's three inference axioms for functional dependencies.

    Reflexivity (if Y ⊆ X then X → Y), Augmentation (if X → Y then XZ → YZ), and Transitivity (if X → Y and Y → Z then X → Z).

  7. Give the conditions for 1NF, 2NF, and 3NF.

    1NF: all attribute values atomic (no repeating groups). 2NF: 1NF + no partial dependency of a non-prime attribute on part of a candidate key. 3NF: 2NF + no transitive dependency of a non-prime attribute on a candidate key.

  8. State the condition for Boyce-Codd Normal Form (BCNF).

    A relation is in BCNF if, for every nontrivial functional dependency X → Y, X is a superkey. BCNF is stricter than 3NF and removes anomalies 3NF may permit.

  9. Name common query optimization strategies used by a DBMS.

    Heuristic (rule-based) optimization — push selections/projections early; and cost-based optimization — estimate cost using statistics over alternative plans (access paths, join methods/orders) and choose the cheapest.

  10. What are the main algorithms for implementing a join in query processing?

    Nested-loop join, block nested-loop join, index nested-loop join, sort-merge join, and hash join.

  11. State the ACID properties of a transaction.

    Atomicity (all-or-nothing), Consistency (preserves integrity constraints), Isolation (concurrent transactions don't interfere), and Durability (committed changes survive failures).

  12. What are the states in a transaction's life cycle?

    Active, Partially Committed, Committed, Failed, and Aborted (terminated).

  13. What is a schedule, and what makes it conflict-serializable?

    A schedule is an interleaved order of operations of concurrent transactions. It is conflict-serializable if it can be transformed into a serial schedule by swapping non-conflicting adjacent operations — testable via an acyclic precedence (conflict) graph.

  14. What is the two-phase locking (2PL) protocol?

    A concurrency-control protocol where each transaction acquires all locks in a growing phase and releases locks only in a shrinking phase (no lock acquired after the first release), which guarantees conflict serializability.

  15. What problems do concurrency-control techniques prevent?

    The lost update problem, the dirty read (temporary/uncommitted dependency) problem, the unrepeatable read problem, and the incorrect summary (phantom) problem.

  16. Compare deadlock prevention schemes wait-die and wound-wait.

    Both use timestamps. Wait-die: an older transaction waits for a younger one, a younger one requesting an older's lock dies (non-preemptive). Wound-wait: an older transaction preempts (wounds) a younger one, a younger one waits (preemptive).

  17. Differentiate deferred and immediate database update recovery techniques.

    Deferred update: changes are written to the database only after commit (no UNDO needed, only REDO). Immediate update: changes may be written before commit, requiring both UNDO and REDO using the log.

  18. What is the write-ahead logging (WAL) protocol?

    Before any data page modification is written to disk, the corresponding log (UNDO) record must first be forced to stable storage, and the commit log record must be written before commit completes — ensuring atomicity/durability.

  19. What is a checkpoint in database recovery?

    A point at which the DBMS flushes buffers/log to disk and records a checkpoint marker, limiting the amount of log that must be scanned during recovery to transactions active at or after the checkpoint.

  20. How do object-oriented databases differ from object-relational databases?

    OODBs store objects natively with identity, inheritance, and methods using an object data model. ORDBs extend the relational model with object features (user-defined types, inheritance, references) while retaining SQL and tables.

  21. What is the difference between authentication and authorization in database security?

    Authentication verifies a user's identity (who you are); authorization (via GRANT/REVOKE privileges) determines what operations/data that identity is permitted to access.

  22. Compare Discretionary (DAC) and Mandatory (MAC) access control in databases.

    DAC grants/revokes privileges at the owner's discretion (GRANT/REVOKE). MAC enforces system-wide security classes/clearances (e.g., Bell-LaPadula) preventing flow from higher to lower classifications.

  23. What are valid time and transaction time in a temporal database?

    Valid time is the period during which a fact is true in the real world; transaction time is the period during which the fact was stored as current in the database. A bitemporal database records both.

  24. What is a deductive database and which language is associated with it?

    A deductive database can derive new facts (rules) from stored facts using logic. It typically uses Datalog (a Prolog-like declarative rule language) with facts and rules to infer intensional data.

  25. What role does XML play in internet databases, and how is XML data queried?

    XML provides a self-describing, hierarchical, platform-independent format for exchanging semi-structured data over the web; it is queried/navigated using XPath and XQuery (with XSLT for transformation).

  26. What are the key characteristics (the Vs) of Big Data?

    Volume (scale), Velocity (speed of generation/processing), Variety (structured, semi-structured, unstructured), Veracity (uncertainty/quality), and Value.

  27. What are the two phases of the MapReduce programming model?

    Map: processes input key-value pairs to produce intermediate key-value pairs. Reduce: aggregates all intermediate values grouped by key to produce the final output (with a shuffle/sort between the phases).

  28. In HDFS, what are the roles of the NameNode and DataNode?

    The NameNode is the master that manages the filesystem namespace and metadata (block locations); DataNodes are workers that store the actual data blocks and serve read/write requests. Blocks are replicated (default 3x) for fault tolerance.

  29. Differentiate OLTP and OLAP systems.

    OLTP: transaction-oriented, many short read/write operations, normalized schema, current data, day-to-day operations. OLAP: analysis-oriented, complex read-mostly queries, denormalized/star schema, historical aggregated data for decision support.

  30. Differentiate star schema and snowflake schema in data warehouse modeling.

    Star schema: a central fact table linked to denormalized dimension tables (simple, fast queries). Snowflake schema: dimension tables are normalized into sub-dimensions (less redundancy, more joins).

  31. In association rule mining, define support, confidence, and lift.

    Support(X) = fraction of transactions containing X. Confidence(X→Y) = support(X∩Y)/support(X). Lift(X→Y) = confidence/support(Y); lift > 1 indicates positive correlation. The Apriori algorithm uses these to find frequent itemsets.

  32. Contrast supervised classification, regression, and unsupervised clustering in data mining.

    Classification predicts a discrete categorical label from labeled data; regression predicts a continuous numeric value from labeled data; clustering groups unlabeled data into natural groups by similarity (no predefined labels).

  33. How do the k-Nearest Neighbour and Support Vector Machine classifiers work?

    kNN is a lazy, instance-based method classifying a point by the majority class of its k nearest neighbours. SVM finds the optimal separating hyperplane that maximizes the margin between classes, using kernels for non-linear boundaries.

UGC NET Computer Science Database Management Systems FAQ

What is in the UGC NET Computer Science Database Management Systems syllabus?

UGC NET Computer Science Database Management Systems is split into 8 chapters: Database System Concepts and Architecture, Data Modeling, SQL, Normalization for Relational Databases, Enhanced Data Models, Data Warehousing and Data Mining, Big Data Systems and NOSQL. Together they contain 51 topics.

How many chapters are in UGC NET Computer Science Database Management Systems?

8 chapters, containing 51 topics. The largest chapter is Data Warehousing and Data Mining, with 14 topics.

Are there flashcards for UGC NET Computer Science Database Management Systems?

Yes — a 53-card Database Management Systems deck, printed in full in the flashcards section of this page and available in the Examius app with spaced repetition. The free plan covers one exam of your choice, including its flashcards; Examius Pro, a one-time purchase, unlocks every other exam and deck.