DBMS interview questions

176 questions. Tap “Show answer” to check yourself.

Advertisement
  1. Which of the following is a procedural language?

    1. Relational algebra
    2. Query language
    3. Tuple relational calculus
    4. Domain relational calculus
    Show answer

    A. Relational algebra

  2. A database management system

    1. Allows simultaneous access to multiple files
    2. Can do more than a record management system
    3. Is a collection of programs for managing data into a single file
    4. Both a and b
    Show answer

    D. Both a and b

  3. Which of the following types of tables constraints will prevent the entry of duplicate rows?

    1. Primary keys
    2. Foreign keys
    3. Unique keys
    4. Candidate keys
    Show answer

    A. Primary keys

  4. Which of the following is/are the primary features of a DBMS?

    1. To provide an environment that is congenial to user
    2. To store the information
    3. To retrieve information
    4. All of the above
    Show answer

    D. All of the above

  5. In a relational model, relations are termed as

    1. Rows
    2. Tables
    3. Attributes
    4. Tuples
    Show answer

    B. Tables

  6. DBMS helps to achieve

    1. Data independence
    2. More redundancy
    3. Centralised manner to control of data
    4. Both a and c
    Show answer

    D. Both a and c

  7. The most popular commercial DBMS is

    1. Oracle
    2. MySQL
    3. Microsoft Access
    4. Microsoft SQL Server
    Show answer

    A. Oracle

  8. Which of the following is a set of one or more attributes taken collectively to uniquely identify a record?

    1. Foreign key
    2. Super key
    3. Sub key
    4. Candidate key
    Show answer

    B. Super key

  9. A _____ consists of a collection of interrelated data and a collection of programs to access that data.

    1. DBA
    2. DBMS
    3. Schema
    4. Database
    Show answer

    B. DBMS

  10. The ____ provides a set of operations that take one or more relations as input and return a relation as an output.

    1. Relation flow
    2. Scheme diagram
    3. Relational algebra
    4. Schematic representation
    Show answer

    C. Relational algebra

  11. The feature that database allows to access only certain records in database is

    1. Tables
    2. Reports
    3. Forms
    4. Query
    Show answer

    D. Query

  12. The most commonly used operation in relational algebra for projecting a set of tuple from a relation is

    1. Union
    2. Select
    3. Projection
    4. Join
    Show answer

    B. Select

  13. Advertisement
  14. In E-R diagram, relationship is represented by

    1. Diamond shaped
    2. Dashed shaped
    3. Ellipse shaped
    4. Rectangle shaped
  15. The _____ operation allows the combining of two relations by merging pairs of tubles, one from each relation, into a single tuple.

    1. Intersection
    2. Union
    3. Join
    4. Select
    Show answer

    C. Join

  16. A _____ is an abstract model that describes how the data are organised and represented.

    1. Database
    2. Schema
    3. Instances
    4. Data model
    Show answer

    D. Data model

  17. _____ describe what is in database fields.

    1. Field names
    2. Field definitions
    3. Field markers
    4. Structures
    Show answer

    A. Field names

  18. In an E-R diagrams, ellipses represents

    1. Attributes
    2. Link between attributes and entity sets
    3. Relation among entity set
    4. Entity set
    Show answer

    A. Attributes

  19. A _____ is a property of the entire relation rather than of the individual tuples in which each tuple is unique.

    1. Key
    2. Rows
    3. Attribute
    4. Fields
    Show answer

    A. Key

  20. In a relational modes, a cardinality is termed as

    1. Number of constraints
    2. Number of tables
    3. Number of attributes
    4. Number of tubles
    Show answer

    D. Number of tubles

  21. Which of the following is not a type of database?

    1. Relational
    2. Hierarchical
    3. Network
    4. Transition
    Show answer

    D. Transition

  22. Which command creates and initializes one or more memory variables?

    1. RELEASE
    2. KEEP
    3. STORE
    4. UPDATE
    Show answer

    C. STORE

  23. Report generators are used to

    1. Store data input by a user
    2. Retrieve information from files
  24. The logical data structure with a one-to-many relationship is a

    1. Tree
    2. Chain
    3. Network
    4. All of these
    Show answer

    A. Tree

  25. In a database, related fields are grouped to

    1. File
    2. Bank
    3. Menu
    4. Data record
    Show answer

    D. Data record

  26. Advertisement
  27. The database environment has all the following components except

    1. Database administrator
    2. Database
    3. Users
    4. Separate files
    Show answer

    D. Separate files

  28. Which database handles full text data, image, audio and video?

    1. Multimedia database
    2. Video on demand database
    3. Graphics database
    4. Transaction database
    Show answer

    A. Multimedia database

  29. The distinguishable parts of a record are called

    1. Fields
    2. Files
    3. Data
    4. All of these
    Show answer

    A. Fields

  30. The command to convert a numeric number to characters is

    1. STR ()
    2. CHR ()
    3. ASC ()
    4. All of these
    Show answer

    A. STR ()

  31. Which normal form is considered adequate for normal relational database design?

    1. 2 NF
    2. 3 NF
    3. 4 NF
    4. 5 NF
    Show answer

    B. 3 NF

  32. One approach to standardizing storing of data is

    1. CODASYL specifications
    2. Structured programming
    3. MIS
    4. None of these
    Show answer

    A. CODASYL specifications

Advertisement