Q. What is the role of an ER model in distributed databases?
A.
To define the physical storage of data
B.
To represent the logical structure of the database
C.
To manage user access and permissions
D.
To optimize query performance
Show solution
Solution
The ER model represents the logical structure of the database, which is essential for designing distributed databases.
Correct Answer:
B
— To represent the logical structure of the database
Learn More →
Q. What is the role of an index in a database?
A.
To store XML data
B.
To speed up data retrieval
C.
To enforce data integrity
D.
To manage transactions
Show solution
Solution
An index is used to speed up data retrieval operations on a database table.
Correct Answer:
B
— To speed up data retrieval
Learn More →
Q. What is the role of attributes in an ER model?
A.
To define relationships
B.
To provide additional information about entities
C.
To serve as primary keys
D.
To represent constraints
Show solution
Solution
Attributes provide additional information about entities in an ER model.
Correct Answer:
B
— To provide additional information about entities
Learn More →
Q. What is the role of indexing in a data warehouse?
A.
To ensure data integrity
B.
To speed up query performance
C.
To normalize data
D.
To manage user access
Show solution
Solution
Indexing in a data warehouse is used to speed up query performance by allowing faster data retrieval.
Correct Answer:
B
— To speed up query performance
Learn More →
Q. What is the role of Java Server Pages (JSP) in web applications?
A.
To manage database connections
B.
To create dynamic web content
C.
To handle server-side scripting
D.
To store data in a database
Show solution
Solution
Java Server Pages (JSP) are used to create dynamic web content by embedding Java code in HTML pages.
Correct Answer:
B
— To create dynamic web content
Learn More →
Q. What is the role of the client in a client-server database architecture?
A.
To store the database
B.
To send requests to the server
C.
To manage transactions
D.
To perform data backups
Show solution
Solution
The role of the client in a client-server database architecture is to send requests to the server.
Correct Answer:
B
— To send requests to the server
Learn More →
Q. What is the role of the DataSet in ADO.NET when working with XML?
A.
To execute SQL commands
B.
To provide a disconnected data architecture
C.
To manage database connections
D.
To perform data validation
Show solution
Solution
The DataSet provides a disconnected data architecture, allowing data to be manipulated without a constant connection to the database.
Correct Answer:
B
— To provide a disconnected data architecture
Learn More →
Q. What is the significance of the 'Schema' in XML when used with ADO.NET?
A.
It defines the structure of the XML data
B.
It improves the performance of data access
C.
It is used to encrypt XML data
D.
It allows for data compression
Show solution
Solution
The schema defines the structure of the XML data, ensuring that the data adheres to a specific format.
Correct Answer:
A
— It defines the structure of the XML data
Learn More →
Q. What role does a data mart play in a data warehousing environment?
A.
It serves as a backup for the data warehouse
B.
It is a subset of the data warehouse focused on a specific business area
C.
It is used for data extraction only
D.
It combines data from multiple data warehouses
Show solution
Solution
A data mart is a subset of a data warehouse that is tailored to the needs of a specific business area or department.
Correct Answer:
B
— It is a subset of the data warehouse focused on a specific business area
Learn More →
Q. What SQL command is used to retrieve data from a database?
A.
SELECT
B.
GET
C.
FETCH
D.
RETRIEVE
Show solution
Solution
The SELECT command is used to retrieve data from a database in SQL.
Correct Answer:
A
— SELECT
Learn More →
Q. Which ADO.NET class is primarily used to manipulate XML data in a DataSet?
A.
XmlDocument
B.
DataTable
C.
DataRelation
D.
XmlSchema
Show solution
Solution
The DataTable class is used to manipulate XML data within a DataSet, representing a single table of in-memory data.
Correct Answer:
B
— DataTable
Learn More →
Q. Which ADO.NET component is used to execute SQL commands?
A.
DataAdapter
B.
DataReader
C.
Command
D.
Connection
Show solution
Solution
The Command object in ADO.NET is used to execute SQL commands against a database.
Correct Answer:
C
— Command
Learn More →
Q. Which ADO.NET component is used to read XML data?
A.
DataReader
B.
DataSet
C.
DataAdapter
D.
XmlReader
Show solution
Solution
XmlReader is specifically designed to read XML data in a forward-only, read-only manner.
Correct Answer:
D
— XmlReader
Learn More →
Q. Which architecture is commonly used in a client-server database environment?
A.
Two-tier architecture
B.
Three-tier architecture
C.
N-tier architecture
D.
Monolithic architecture
Show solution
Solution
Three-tier architecture is commonly used in a client-server database environment, separating the presentation, application logic, and data storage layers.
Correct Answer:
B
— Three-tier architecture
Learn More →
Q. Which architecture is commonly used in a client-server database system?
A.
Two-tier architecture
B.
Three-tier architecture
C.
N-tier architecture
D.
All of the above
Show solution
Solution
All of the above architectures can be used in client-server database systems, depending on the complexity and requirements of the application.
Correct Answer:
D
— All of the above
Learn More →
Q. Which architecture is commonly used in a DBMS?
A.
Two-Tier Architecture
B.
Three-Tier Architecture
C.
Client-Server Architecture
D.
All of the above
Show solution
Solution
All of the above architectures are commonly used in a DBMS to separate the user interface, application logic, and data storage.
Correct Answer:
D
— All of the above
Learn More →
Q. Which architecture is commonly used in DBMS?
A.
Single-tier architecture
B.
Two-tier architecture
C.
Three-tier architecture
D.
All of the above
Show solution
Solution
All of the above architectures (single-tier, two-tier, and three-tier) are commonly used in Database Management Systems.
Correct Answer:
D
— All of the above
Learn More →
Q. Which architecture is commonly used in modern DBMS?
A.
Single-tier architecture
B.
Two-tier architecture
C.
Three-tier architecture
D.
Four-tier architecture
Show solution
Solution
The three-tier architecture is commonly used in modern DBMS, separating the user interface, application logic, and database management.
Correct Answer:
C
— Three-tier architecture
Learn More →
Q. Which component of a DBMS is responsible for data storage?
A.
Query Processor
B.
Storage Manager
C.
Transaction Manager
D.
Data Dictionary
Show solution
Solution
The Storage Manager is the component of a DBMS responsible for data storage, managing how data is stored and retrieved.
Correct Answer:
B
— Storage Manager
Learn More →
Q. Which component of a DBMS is responsible for managing data storage?
A.
Query Processor
B.
Storage Manager
C.
Transaction Manager
D.
Buffer Manager
Show solution
Solution
The Storage Manager is responsible for managing data storage in a DBMS.
Correct Answer:
B
— Storage Manager
Learn More →
Q. Which concurrency control method is commonly used in data warehousing?
A.
Pessimistic locking
B.
Optimistic locking
C.
Two-phase locking
D.
Timestamp ordering
Show solution
Solution
Optimistic locking is often used in data warehousing environments where read operations are more frequent than write operations.
Correct Answer:
B
— Optimistic locking
Learn More →
Q. Which concurrency control method uses timestamps to manage transactions?
A.
Two-Phase Locking
B.
Optimistic Concurrency Control
C.
Pessimistic Concurrency Control
D.
Timestamp Ordering
Show solution
Solution
Timestamp Ordering is a concurrency control method that uses timestamps to manage transactions.
Correct Answer:
D
— Timestamp Ordering
Learn More →
Q. Which indexing method allows for faster retrieval of data?
A.
Sequential Indexing
B.
Hash Indexing
C.
B-Tree Indexing
D.
Bitmap Indexing
Show solution
Solution
B-Tree Indexing allows for faster retrieval of data due to its balanced tree structure.
Correct Answer:
C
— B-Tree Indexing
Learn More →
Q. Which isolation level in SQL Server 2000 allows dirty reads?
A.
Read Uncommitted
B.
Read Committed
C.
Repeatable Read
D.
Serializable
Show solution
Solution
The Read Uncommitted isolation level allows dirty reads in SQL Server 2000.
Correct Answer:
A
— Read Uncommitted
Learn More →
Q. Which method is used to load XML data into a DataSet in ADO.NET?
A.
LoadXml()
B.
ReadXml()
C.
ImportXml()
D.
FillXml()
Show solution
Solution
The ReadXml() method is used to load XML data into a DataSet.
Correct Answer:
B
— ReadXml()
Learn More →
Q. Which normal form addresses transitive dependencies?
A.
First Normal Form (1NF)
B.
Second Normal Form (2NF)
C.
Third Normal Form (3NF)
D.
Boyce-Codd Normal Form (BCNF)
Show solution
Solution
Third Normal Form (3NF) addresses transitive dependencies by ensuring that non-key attributes are not dependent on other non-key attributes.
Correct Answer:
C
— Third Normal Form (3NF)
Learn More →
Q. Which normal form eliminates transitive dependencies?
A.
First Normal Form (1NF)
B.
Second Normal Form (2NF)
C.
Third Normal Form (3NF)
D.
Boyce-Codd Normal Form (BCNF)
Show solution
Solution
The Third Normal Form (3NF) eliminates transitive dependencies in a relational database.
Correct Answer:
C
— Third Normal Form (3NF)
Learn More →
Q. Which normal form is achieved when a relation is in 3NF and every determinant is a candidate key?
A.
First Normal Form (1NF)
B.
Second Normal Form (2NF)
C.
Third Normal Form (3NF)
D.
Boyce-Codd Normal Form (BCNF)
Show solution
Solution
Boyce-Codd Normal Form (BCNF) is achieved when a relation is in 3NF and every determinant is a candidate key.
Correct Answer:
D
— Boyce-Codd Normal Form (BCNF)
Learn More →
Q. Which normal form is achieved when a table is in 3NF and every determinant is a candidate key?
A.
First Normal Form (1NF)
B.
Second Normal Form (2NF)
C.
Third Normal Form (3NF)
D.
Boyce-Codd Normal Form (BCNF)
Show solution
Solution
Boyce-Codd Normal Form (BCNF) is achieved when a table is in 3NF and every determinant is a candidate key.
Correct Answer:
D
— Boyce-Codd Normal Form (BCNF)
Learn More →
Q. Which normal form requires that a relation is in 1NF and has no partial dependencies?
A.
First Normal Form (1NF)
B.
Second Normal Form (2NF)
C.
Third Normal Form (3NF)
D.
Boyce-Codd Normal Form (BCNF)
Show solution
Solution
Second Normal Form (2NF) requires that a relation is in 1NF and has no partial dependencies on a composite primary key.
Correct Answer:
B
— Second Normal Form (2NF)
Learn More →
Showing 211 to 240 of 340 (12 Pages)