Q: 1 ORDBMS is an:
Extension of OODBMS
Extension of RDBMS
Any of the above
All of the above
[ Option B ]
An ORDBMS (Object-Relational Database Management System) combines the features of relational databases with object-oriented concepts. It is called an extension of RDBMS because it is built on the relational model and adds object-oriented features to it.
Q: 2 Advantages of a distributed database include:
Sharing data
Autonomy
Availability
All of the above
[ Option D ]
A distributed database stores data across multiple locations but appears as a single database to users.
Q: 3 Which is not a type of NoSQL?
CouchDB
MongoDB
HBase
QBase
[ Option D ]
NoSQL (Not Only SQL) databases are non-relational databases designed to handle large volumes of unstructured or semi-structured data. They are categorized into different types based on their data models: document-based, key-value, column-family, and graph databases.
| NoSQL Database | Type | Description |
|---|---|---|
| MongoDB | Document-Oriented | Stores data in BSON (Binary JSON), flexible schema, widely used in web apps and analytics for its scalability and flexibility. |
| CouchDB | Document-Oriented | JSON-based documents, supports replication and offline storage. It is good for distributed applications. |
| HBase | Column-Family | Handles very large datasets across clusters, modeled after Bigtable, It is used in big data. |
| Redis | Key-Value | In-memory database, extremely fast and used for caching, session management, real-time analytics. |
| Cassandra | Column-Family | Highly scalable and fault-tolerant, ideal for big data and real-time applications. |
| Neo4j | Graph | Stores data as nodes and relationships, excellent for social networks, recommendations, and network analysis. |
| DynamoDB | Key-Value / Document | Fully managed by AWS (Amazon Web Services) scalable, low-latency access. It is supports both key-value and document models. |
Q: 4 In which type of Database Management System is information distributed across different sites?
OODBMS
RDBMS
DDBMS
None of these
[ Option C ]
A Distributed Database Management System (DDBMS) stores and manages data at multiple physical locations called sites, but presents it to users as a single logical database. This improves data availability, reliability, and performance.
Q: 5 Scalability in a database refers to the ability of a system to:
Be modified, expanded, or downsized easily to meet changing requirements
Share data across the enterprise so that more users can access more data
Maintain consistent standards for data names, formats, and documentation
Remain independent of how physical data is stored and maintained
[ Option A ]
Scalability means the ability of a system to grow or shrink in capacity such as handling more users, more data, or higher workload without major redesign.
Q: 6 In Object-Relational Data Models, which of the following is true about attributes of tuples?
Only scalar atomic value attributes are allowed.
Only string value attributes are allowed.
Attributes of complex types including nested relation are allowed.
Only Boolean value attributes are allowed.
[ Option C ]
In Object-Relational Data Models (ORDM), the traditional relational restriction that each attribute must be atomic is relaxed. Tuples can have attributes of complex types, such as nested relations, arrays, or objects. This allows the database to better model real-world entities and relationships while retaining relational principles.
Q: 7 What are the maximum number of spanning trees (Tn) possible for a complete graph K5 on 5 vertices?
100
20
200
125
[ Option D ]
A spanning tree of a graph is a tree that connects all the vertices without forming any cycle.
For a complete graph Kn ,where every vertex is connected to every other vertex, the number of possible spanning trees is given by Cayley’s formula, Tn=nn−2.
Here, n = 5 so, T5=55−2 = 53 = 125.
Thank you so much for taking the time to read my Computer Science MCQs section carefully. Your support and interest mean a lot, and I truly appreciate you being part of this journey. Stay connected for more insights and updates! If you'd like to explore more tutorials and insights, check out my YouTube channel.
Don’t forget to subscribe and stay connected for future updates.