Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

viva cum quiz

Total questions: 55

Worksheet time: 27mins

Name
Class
Date
1.

What is the primary purpose of a file system?

a)

To encrypt data on storage devices

b)

To provide a user interface for applications

c)

To increase the speed of data retrieval

d)

The primary purpose of a file system is to manage and organize data on storage devices.

2.

How does a DBMS manage data compared to a file system?

a)

A DBMS only stores data in a single file format without any structure.

b)

A DBMS provides structured data management, supports complex queries, and ensures data integrity, while a file system offers unstructured data storage with limited management capabilities.

c)

A DBMS does not provide any data integrity features compared to a file system.

d)

A file system is more efficient for handling complex queries than a DBMS.

3.

What are the advantages of using a DBMS over a file system?

a)

Increased data duplication

b)

Advantages of using a DBMS over a file system include improved data integrity, enhanced security, support for concurrent access, reduced data redundancy, and better data management capabilities.

c)

Limited user access control

d)

Slower data retrieval speeds

4.

Can a file system support concurrent access? Why or why not?

a)

Yes, but only if the file system is not in use by any other process.

b)

No, a file system cannot support concurrent access due to data corruption risks.

c)

No, concurrent access is only possible with cloud storage solutions.

d)

Yes, a file system can support concurrent access.

5.

What is data redundancy, and how is it handled in a DBMS?

a)

Data redundancy is the process of deleting duplicate data from a database.

b)

Data redundancy is the efficient use of storage in a database.

c)

Data redundancy is the unnecessary duplication of data in a database, handled in a DBMS through normalization and integrity constraints.

d)

Data redundancy is managed by increasing the size of the database without constraints.

6.

Explain the concept of normalization in databases.

a)

Normalization is the process of deleting all data from a database.

b)

Normalization in databases is the process of organizing data to reduce redundancy and improve data integrity.

c)

Normalization is a method to encrypt sensitive data in databases.

d)

Normalization increases data redundancy for better performance.

7.

What types of data models are commonly used in DBMS?

a)

Hierarchical, Network, Relational, Object-Oriented

b)

Key-Value

c)

Flat File

d)

Document Store

8.

How do file systems and DBMS handle data integrity?

a)

File systems rely solely on encryption; DBMSs use only indexing.

b)

File systems use checksums and journaling; DBMSs use constraints, transactions, and validation rules.

c)

File systems do not require any integrity checks; DBMSs use only backups.

d)

File systems and DBMSs both use only manual data entry for integrity.

9.

What is the role of SQL in a DBMS?

a)

SQL is a programming language for creating operating systems.

b)

SQL is used for designing user interfaces in a DBMS.

c)

SQL is primarily used for hardware management in a DBMS.

d)

SQL is the language used to manage and manipulate data in a DBMS.

10.

In what scenarios would you prefer a file system over a DBMS?

a)

When dealing with simple data storage needs, large binary files, performance-critical applications, or minimal data integrity requirements.

b)

For applications requiring high data integrity and consistency

c)

When needing complex queries and relationships between data

d)

When managing structured data with frequent updates

11.

What is a Database Management System (DBMS)?

a)

A software application that manages databases

b)

A computer hardware component used for data storage

c)

A programming language for creating databases

d)

A network protocol for database communication

12.

Which of the following is not a function of a DBMS?

a)

Data storage

b)

Data retrieval

c)

Data manipulation

d)

Data transmission

13.

What is the primary purpose of a DBMS?

a)

To store and manage data efficiently

b)

To analyze and visualize data

c)

To create data backups

d)

To secure data from unauthorized access

14.

Which of the following is an advantage of using a DBMS?

a)

Reduced data redundancy

b)

Increased data security

c)

Improved data integrity

d)

All of the above

15.

Which data model is commonly used in modern DBMS?

a)

Hierarchical model

b)

Network model

c)

Relational model

d)

Object-oriented model

16.

What is the key difference between a Flat File System and a DBMS?

a)

Flat File System stores data in a single file, while a DBMS stores data in multiple interconnected files.

b)

Flat File System is faster in data retrieval than a DBMS.

c)

Flat File System uses a relational data model, while a DBMS uses a hierarchical data model.

d)

Flat File System can only handle small amounts of data, while a DBMS can handle large amounts of data.

17.

Which of the following is a disadvantage of using a Flat File System compared to a DBMS?

a)

Limited data storage capacity

b)

Slower data retrieval and updates

c)

Lack of data security and integrity mechanisms

d)

All of the above

18.

In a Flat File System, data redundancy refers to:

a)

The ability to store multiple copies of the same file

b)

The repetition of the same data within a single file

c)

The inability to store data in separate files

d)

The lack of data indexing capabilities

19.

Which of the following best describes the scalability of a Flat File System compared to a DBMS?

a)

Flat File System is more scalable than a DBMS.

b)

DBMS is more scalable than a Flat File System.

c)

Flat File System and DBMS have similar scalability.

d)

Neither Flat File System nor DBMS are scalable.

20.

Which of the following is a characteristic feature of a DBMS that is not present in a Flat File System?

a)

Ability to enforce data integrity constraints

b)

Support for complex data relationships

c)

Concurrent access and multi-user capabilities

d)

All of the above

21.
Which language is used to develop and manage databases?
a)
sql
b)
java
c)
html
d)
dbms
22.
A database does NOT consist of .........
a)
field
b)
table
c)
character
d)
report
23.

The columns in a database are called:

a)

Records

b)

Fields

c)

Primary key

d)

Foreign key

24.

The rows in a database are called:

a)

Records

b)

Fields

c)

Attribute

d)

Coloum

25.

What is used to grant a user account access to a database?

a)

permission

b)

right

c)

password

d)

encryption key

26.

Aarav is learning about databases in his computer science class. Which of the following are the properties of entities?

a)

Attribute

b)

Group

c)

Table

d)

All of above

27.

In a class project, Dia is learning about E-R diagrams and wonders how generalization is represented.

a)

Ellipse

b)

Dashed ellipse

c)

Rectangle

d)

Triangle

28.
For the following two ENTITIES, which is the appropriate relationship:
DOCTOR / PATIENT
a)
One to One
b)
One to Many
c)
Many to Many
29.
For the following two ENTITIES, which is the appropriate relationship:
SIM CARD / PHONE NUMBER
a)
One to One
b)
One to Many
c)
Many to Many
30.

In a school database, information about a student is stored in attributes.

a)

True

b)

False

31.

In a classroom setting, Aisha is trying to identify what entity type is represented in the given diagram. What entity type is used in the given diagram?

a)

STUDENT

b)

DOCTOR

c)

EMPLOYEE

d)

COURSE

32.

Akhil is studying the concept of relationships in databases. The degree of a

relationship type is the number of participating _________.

a)

Role

b)

Entity Type

c)

Attribute

d)

Instance

33.

In a classroom, the process of designing sub-grouping within a student entity set called as

a)

abstraction

b)

isolation

c)

generalisation

d)

specialisation

34.

Which would NOT likely be an attribute of an entity called “Student”?

a)

Age

b)

Student identification number

c)

Class room number

d)

Home phone

e)

Gender

35.

In a classroom, the teacher explains that this symbol indicates _____ relationship between students' participation in group projects.

a)

zero or one
zero or one

b)

zero or many

c)

one or many

d)

many to many

36.

Which of the following attributes can use to form composite attributes in a student database? [select all that apply]

a)

Name

b)

Address

c)

Total

d)

Age

37.

Mira has a collection of books, and she wants to categorize them. She realizes that a single valued attribute can only store______ values

a)

Atomic values

b)

Non atomic values

c)

More than one value

d)

None of above

38.

In a school, which of the following is considered a derived attribute for a student?

a)

Phone Number

b)

Name

c)

Age

d)

Date of Birth

39.

Aditi has a pet dog named Max. Max can only have one owner, but Aditi can take care of many pets at the same time. Which mapping cardinality holds?

a)

One to one

b)

One to Many

c)

Many to Many

d)

Many to One

40.

Prisha's project on Week Entity Set Dependent on_____

a)

Identifying Entity Set

b)

Relationship set

c)

week Relationship Set

d)

None of Above

41.

Aarush is working on a project that involves database design. He needs to understand which attribute is used to uniquely identify a weak entity in his design.

a)

Descriptive Attribute

b)

Discriminator

c)

Composite Attribute

d)

Identifying Attribute

42.

In a database for a school, the attribute of a relationship set that connects students to their courses is called_______

a)

Descriptive Attribute

b)

Strong Attribute

c)

Discriminator

d)

Multivalued attribute

43.

Aarav is studying the ER data model, which contains ______ basic concepts

a)

Generalization

b)

Entity Set

c)

Relationship Set

d)

Attribute

44.

In a database design class, Avani is learning about different types of relationships in an Entity-Relationship model. Which of the following is NOT a type of relationship that she has studied?

a)

One to One

b)

One to Many

c)

Many to One

d)

Single to Multiple

45.

In a classroom project, Tisha is designing an E-R diagram for a school database. Which shape should she use to represent a student entity?

a)

Circle

b)

Rectangle

c)

Diamond

d)

Triangle

46.

In a school database, what is the purpose of a foreign key when linking students to their respective classes?

a)

To uniquely identify a student record

b)

To establish a relationship between students and classes

c)

To store multiple values for a student

d)

To define the primary key for the class

47.

In a database, what is the main function of a primary key?

a)

To link tables together

b)

To uniquely identify each record in a table

c)

To store multiple values in a single field

d)

To define relationships between entities

48.

Which of the following best describes a many-to-many relationship in a database?

a)

Each record in one table can relate to multiple records in another table

b)

Each record in one table can relate to only one record in another table

c)

Each record in both tables can relate to only one record in the other table

d)

Each record in both tables can relate to multiple records in the other table

49.

In an E-R diagram, which shape is typically used to represent a relationship?

a)

Circle

b)

Rectangle

c)

Diamond

d)

Triangle

50.

Consider the following relations: Employee(EmpID, Name, DeptID) Department(DeptID, DeptName, Location) Which SQL query returns the names of employees working in the same department as 'Amit'?

a)

SELECT Name FROM Employee WHERE DeptID = (SELECT DeptID FROM Employee WHERE Name = 'Amit');

b)

SELECT Name FROM Employee WHERE EXISTS (SELECT * FROM Employee WHERE Name = 'Amit' AND DeptID = DeptID);

c)

SELECT Name FROM Employee WHERE DeptID IN (SELECT DeptID FROM Department WHERE Name = 'Amit');

d)

SELECT Name FROM Employee WHERE Name != 'Amit' AND DeptID = 'Amit';

51.

Consider the following FDs on relation R(A, B, C, D): F = {A -> BC, B -> C, A -> B, AB -> C, AC -> D} What is the minimal cover for F?

a)

{A -> B, A -> C, AC -> D}

b)

{A -> B, B -> C, AC -> D}

c)

{A -> B, A -> C, C -> D}

d)

{A -> B, A -> C, A -> D}

52.

Given relation R(A, B, C, D, E), and FDs: F = {A -> B, B -> C, C -> D, D -> E}, What is the closure of A+?

a)

{A, B, C, D}

b)

{A, B, C, D, E}

c)

{A, B, C}

d)

{A, C, D, E}

53.

Given relation R(A, B, C, D) and FDs: F = {A -> B, B -> C, C -> A, AD -> B, CD -> A} Which of the following is not a superkey?

a)

{A, D}

b)

{C, D}

c)

{B, D}

d)

{D, A, B}

54.

Let R(A, B, C, D) be a relation with FDs: F = {A -> BC, B -> D, C -> A}. Find the candidate key(s).

a)

A

b)

C

c)

B

d)

AB

55.

The data model which describes how the data is actually stored is

a)

internal model

b)

external model

c)

logical model

d)

none of these