Online MCQ Assignment Answer
QN1: Which of the following are the properties of entities?
a. Groups
b. Table
c. Attributes
d. Switchboards
Answer: c. AttributesAnswer
QN2: Rows of a relation are called
a. tuples
b. a relation row
c. a data structure
d. an entity
Answer: a. tuplesAnswer
QN3: Which clause is required in an SQL query for getting information from a database?
a. JOIN
b. ON
c. ORDER BY
d. SELECT
Answer: d. SELECTAnswer
QN4: Administrative supervision of database activities is responsibility of
a. Database administrator
b. DP Manager
c. DB Manager
d. None of above
Answer: a. Database administratorAnswer
QN5: By data security in DBMS we mean
a. preventing access to data
b. allowing access to data only to authorized users
c. preventing changing data
d. introducing integrity constraints
Answer: b. allowing access to data only to authorized usersAnswer
QN6: is preferred method for enforcing data integrity
a. Constraints
b. Stored Procedure
c. Triggers
d. Cursors
Answer: a. ConstraintsAnswer
QN7: Data item characteristics that are important in data management include
a. punctuation
b. language
c. spelling
d. width
Answer: d. widthAnswer
QN8: The number of tuples in a relation is called its .
a. Degree
b. Cardinality
c. Rows
d. Columns
Answer: b. CardinalityAnswer
QN9: The relational model feature is that there
a. is no need for primary key data
b. is much more data independence than some other database models
c. are explicit relationships among records
d. are tables with many dimensions
Answer: d. are tables with many dimensionsAnswer
QN10: Which property of the database must the connection object contain?
a. Location
b. Type
c. Query
d. Both 1 and 2
Answer: d. Both 1 and 2Answer
QN11: ..defines the structure of a relation which consists of a fixed set of attribute-domain pairs.
a. Instance
b. Schema
c. Program
d. Super Key
Answer: b. SchemaAnswer
QN12: is the process of organizing data into related tables.
a. Normalization
b. Generalization
c. Specialization
d. None of the above
Answer: a. NormalizationAnswer
QN13: The database schema is written in
a. HLL
b. DML
c. DDL
d. DCL
Answer: c. DDLAnswer
QN14: The candidate key is that you choose to identify each row uniquely is called
a. Alternate Key
b. Primary Key
c. Foreign Key
d. None of the above
Answer: b. Primary KeyAnswer
QN15: Database management systems are used to
a. eliminate data redundancy
b. establish relationships among records in different files
c. manage file access
d. none of above
Answer: a. eliminate data redundancyAnswer
QN16: Which two files are used during operation of the DBMS?
a. Query languages and utilities
b. DML and query language
c. Data dictionary and transaction log
d. Data dictionary and query language
Answer: c. Data dictionary and transaction logAnswer
QN17: DCL stands for
a. Data Control Language
b. Data Console Language
c. Data Console Level
d. Data Control Level
Answer: a. Data Control LanguageAnswer
QN18: The number of attributes in a relation is called its
a. Cardinality
b. Degree
c. Columns
d. Rows
Answer:b. DegreeAnswer
QN19: Fragmentation of a file system
a. Can always be prevented
b. occurs only is file is not used properly
c. Can be temporarily removed by compaction
d. None of above
Answer: a. Can always be preventedAnswer
QN20: The normalization process is:
a. used to remove redundant data
b. used to make the storage of data more efficient
c. not recommended for most databases
d. Both 1 and 2
Answer: d. Both 1 and 2Answer
QN21: “Given an attribute x, another attribute y is dependent on it, if for a given x”
a. there are many y values
b. there is only one value of y
c. there is one or more y values
d. there is none or one y value
Answer: b. there is only one value of yAnswer
QN22: Data integrity in a file based system may be lost because
a. the same variable may have different values in different files (b) (c) (d)
b. files are duplicated
c. unnecessary data is stored in files
d. redundant data is stored in files
Answer: a. the same variable may have different values in different files (b) (c) (d)Answer
QN23: Which command is used to set a link between two database files
a. JOIN
b. UPDATE
c. BROWSE
d. SET RELATION
Answer: d. SET RELATIONAnswer
QN24: Where is a single element of data stored?
a. Field
b. Record
c. Table
d. All of the above
Answer: a. FieldAnswer
QN25: Which are the two ways in which entities can participate in a relationship?
a. Passive and active
b. Total and partial
c. Simple and Complex
d. All of the above
Answer: b. Total and partialAnswer
QN26: Ascending order of data hierarchy is
a. bit->byte->record->field->file->database
b. bit->byte->field->record->file->database
c. byte->bit->field->record->file->database
d. byte->bit->field->file->record->database
Answer: b. bit->byte->field->record->file->databaseAnswer
QN27: The way a particular application views the data from the database that the application uses is a
a. module
b. relational model
c. schema
d. sub schema
Answer: d. sub schemaAnswer
QN28: Which is not a program that can create a database?
a. Access
b. MySQL
c. Oracle
d. All of the above can be used to create a database
Answer: d. All of the above can be used to create a databaseAnswer
QN29: The WHERE clause is used to restrict the number of ___ retrieved by an SQL statement.
a. fields
b. records
c. tables
d. Both 1 and 2
Answer: b. recordsAnswer
QN30: How many fields can be specified in the SELECT clause?
a. 0
b. 1
c. 2
d. As many as needed
Answer: d. As many as neededAnswer
QN31: “A Does not have a distinguishing attribute if its own and mostly are dependent entities, which are part of some another entity.”
a. Weak entity
b. Strong entity
c. Non attributes entity
d. Dependent entity
Answer: a. Weak entityAnswer
QN32: “The diagrams which are used to distribute files, libraries and tables across topology of hardware are called”
a. deployment diagrams
b. use case diagrams
c. sequence diagrams
d. collaboration diagrams
Answer: a. deployment diagramsAnswer
QN33: A foreign key:
a. has nothing to do with the primary key.
b. has different values than the primary key
c. is found in tables that don t have a primary key
d. is related to the primary key of a different table
Answer: d. is related to the primary key of a different tableAnswer
QN34: Which is a type of DBMS software
a. utilities
b. query language
c. report writer
d. All of above
Answer: d. All of aboveAnswer
QN35: Which is the symbol for selecting all the fields in a table?
a. @
b. #
c. ^
d. *
Answer: d. *Answer
QN36: By redundancy in a file based system we mean that
a. unnecessary data is stored
b. same data is duplicated in many files
c. data is unavailable
d. files have redundant data
Answer: b. same data is duplicated in many filesAnswer
QN37: ___is used to determine whether of a table contains duplicate rows.
a. Unique predicate
b. Like Predicate
c. Null predicate
d. In predicate
Answer: a. Unique predicateAnswer
QN38: A check pointing system is needed
a. to ensure system security
b. to recover from transient faults
c. to ensure system privacy
d. to ensure system integrity
Answer: b. to recover from transient faultsAnswer
QN39: Which is true about the primary key?
a. Every table should have a primary key
b. A primary key exclusively identifies each row in a table
c. A primary key can be made of multiple fields
d. All of the above
Answer: d. All of the aboveAnswer
QN40: To eliminate duplicate rows is used
a. NODUPLICATE
b. ELIMINATE
c. DISTINCT
d. None of these
Answer: a. NODUPLICATEAnswer