Flashcard trong bộ này (49)

Đang tìm...
  • 1

    What is the NAAC accreditation status of Geethanjali College of Engineering and Technology?


    A+ Grade

    accreditation college
  • 2

    Which B.Tech programs are accredited by the NBA at Geethanjali College of Engineering and Technology?


    • CSE
    • EEE
    • ECE
    accreditation engineering
  • 3

    What is the official status of Geethanjali College of Engineering and Technology regarding governance?


    Autonomous

    college
  • 4

    In which district is Geethanjali College of Engineering and Technology located?


    Medchal District

    location
  • 5

    What is the pin code for the location of Geethanjali College of Engineering and Technology?


    501301

    location
  • 6

    Who is the faculty member from the CSE-AIML department listed on the document?


    S. Rajashekhar Reddy, Assistant Professor

    faculty
  • 7

    What key concepts are introduced in the study of the relational model?


    • Integrity constraints
    • Querying relational data
    • Logical database design
    • Introduction to views
    • Relational algebra
    • Tuple relational calculus
    • Domain relational calculus
    database relational-model
  • 8

    Which three formal languages are primarily used for querying data in the relational model?


    • Relational Algebra
    • Tuple relational Calculus
    • Domain relational calculus
    database queries
  • 9

    What are the primary issues addressed during schema refinement?


    • Redundancy
    • Problems caused by decomposition
    database schema
  • 10

    Name the specific normal forms studied in the context of schema refinement.


    • First Normal Form (1NF)
    • Second Normal Form (2NF)
    • Third Normal Form (3NF)
    • Boyce-Codd Normal Form (BCNF)
    • Fourth Normal Form (4NF)
    • Fifth Normal Form (5NF)
    database normalization
  • 11

    What types of dependencies are reasoned about during schema refinement?


    • Functional dependencies
    • Multivalued dependencies
    database dependencies
  • 12

    What is the critical property required when decomposing a database table to ensure no information is lost?


    Lossless join decomposition

    database decomposition
  • 13

    What is the primary reason the relational model is widely used for commercial data processing?


    It is simple, which eases the job of the programmer compared to earlier models like the network or hierarchical model.

    database relational-model
  • 14

    How is a relational database structured?


    It consists of a collection of tables, each assigned a unique name.

    database structure
  • 15

    How are instructors uniquely identified in the instructor relation table?


    They are identified by the value in the ID column.

    database instructor
  • 16

    How are courses uniquely identified in the course relation table?


    They are identified by the value in the course_id column.

    database course
  • 17

    In a database table, what does a single row represent?


    A row represents a relationship among a set of values.

    database row
  • 18

    To which mathematical concept does a database table correspond?


    A table corresponds to the mathematical concept of a relation.

    database math relation
  • 19

    In the relational model, what do the terms relation, tuple, and attribute refer to?


    • Relation: A table
    • Tuple: A row
    • Attribute: A column
    database modeling
  • 20

    Why is the order of tuples in a relation considered irrelevant?


    Because a relation is defined as a set of tuples.

    database tuples
  • 21

    What is the domain of an attribute in a relation?


    The set of all permitted values for that attribute.

    database domain
  • 22

    What does a null value signify in a database?


    That the value is unknown or does not exist.

    database null
  • 23

    How does a database schema relate to programming-language concepts?


    It corresponds to the notion of a type definition, while a relation corresponds to the notion of a variable.

    database schema
  • 24

    What defines a super key in a relation?


    A set of one or more attributes that, taken collectively, allow for the unique identification of a tuple in the relation.

    database keys
  • 25

    What is a candidate key?


    A minimal superkey, which is a superkey for which no proper subset is also a superkey.

    database keys
  • 26

    Define a super key in a database relation.


    A super key is an attribute or a set of attributes that uniquely identifies all attributes in a relation.

    databases keys
  • 27

    What is the subset relationship between candidate keys and super keys?


    All candidate keys are super keys, but not all super keys are candidate keys.

    databases keys
  • 28

    How do super keys and candidate keys differ in terms of their attribute content?


    Super keys can contain extra attributes, while candidate keys contain only the necessary attributes for unique identification.

    databases keys
  • 29

    What is the primary key in a database schema?


    A primary key is a candidate key chosen by the database designer as the principal means of identifying tuples within a relation.

    databases keys
  • 30

    What is a foreign key?


    A foreign key is an attribute in one relation that acts as the primary key of another relation, used for referencing.

    databases keys
  • 31

    Define a referential integrity constraint.


    A referential integrity constraint requires that the values appearing in specified attributes of any tuple in the referencing relation must also appear in specified attributes of at least one tuple in the referenced relation.

    databases constraints
  • 32

    What is the distinction between procedural and nonprocedural query languages?


    In a procedural language, the user specifies a sequence of operations to compute the result. In a nonprocedural language, the user describes the desired result without specifying the procedure to obtain it.

    databases query-languages
  • 33

    Classify the following as procedural or nonprocedural: relational algebra, tuple relational calculus, and domain relational calculus.


    • Relational algebra: Procedural
    • Tuple relational calculus: Nonprocedural
    • Domain relational calculus: Nonprocedural
    databases relational-algebra
  • 34

    What is a key property of relational operations regarding their input and output?


    Relational operations take either a single relation or a pair of relations as input and always produce a single relation as their result.

    databases relational-operations
  • 35

    What does the join operation accomplish in a relational database?


    The join operation allows the combination of two relations by merging pairs of tuples, one from each relation, into a single tuple.

    databases relational-operations
  • 36

    According to the university database schema diagram, which tables are linked to the instructor table?


    The instructor table is linked to the following: - department - teaches - advisor

    databases schema
  • 37

    Based on the provided schema, which table contains information about the building and capacity?


    The classroom table.

    databases schema
  • 38

    What is the primary difference between a natural join and a Cartesian product operation?


    A natural join matches tuples with the same values on common attribute names, while a Cartesian product combines all possible pairs of tuples from two relations regardless of attribute values.

    databases relational-algebra
  • 39

    What is the difference between a relation schema and an instance of a relation?


    The schema refers to the logical design, while an instance refers to the actual contents of the relation at a specific point in time.

    databases definitions
  • 40

    Define the terms superkey and candidate key in a relational database.


    • Superkey: A set of one or more attributes whose values uniquely identify tuples in a relation.
    • Candidate key: A minimal superkey, meaning none of its proper subsets is a superkey.
    databases keys
  • 41

    What is a schema diagram?


    A pictorial depiction of a database schema that shows the relations, their attributes, and their primary and foreign key constraints.

    databases design
  • 42

    What is the difference between unary and binary operations in relational algebra?


    • Unary operations: Operate on exactly one relation (e.g., select, project, rename).
    • Binary operations: Operate on pairs of relations (e.g., union, set difference, Cartesian product, natural join, intersection).
    databases relational-algebra
  • 43

    What is the purpose of integrity constraints in a database?


    To ensure that changes made by authorized users do not result in a loss of data consistency and to guard against accidental damage to the database.

    databases integrity
  • 44

    What are the two main requirements for a set of attributes to function as a primary key?


    • The attributes must be unique.
    • The attributes must be non-null.
    database sql integrity
  • 45

    What is the function of the not null constraint in database design?


    It prohibits the insertion of a null value for a specific attribute within a relation.

    database sql integrity
  • 46

    What does the unique constraint signify for a set of attributes?


    It indicates that the attributes form a candidate key, meaning no two tuples in the relation can have the same values for those attributes.

    database sql integrity
  • 47

    What is the purpose of the check(P) clause in a relation declaration?


    It specifies a predicate \(P\) that must be satisfied by every tuple in the relation.

    database sql integrity
  • 48

    What condition is guaranteed by referential integrity?


    It ensures that a value appearing for a specific set of attributes in one relation also appears in another relation.

    database sql integrity
  • 49

    What command is used to add an integrity constraint to an existing relation?


    alter table table-name add constraint

    database sql commands