Computer Knowledge

Database Management Systems

5,543 Questions

Database Management Systems (DBMS) form the core framework for data storage, retrieval, and security in modern software applications. Concepts such as the E-R model, backup planning, SQL integration, and big data architecture are essential for computer knowledge sections. This hub offers a comprehensive set of practice questions to master DBMS fundamentals and advanced database operations.

E-R Model ConceptsBackup and RecoverySQL Server UpgradesJDBC and ODBCBig Data CharacteristicsData VirtualizationOracle Database

Database Management Systems Questions

Multiple choice technology
  1. In the master data table as an attribute

  2. In the transaction table as a new characteristic

  3. In the ODS to enhance performance

  4. In the fact table

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Frequently changing prices should be modeled as time-dependent transaction data, not static master data attributes. This preserves historical price accuracy and supports performance. The ODS (C) and fact table (D) are incorrect for this use case.

Multiple choice technology
  1. Key figures InfoObjects

  2. Characteristic InfoObjects

  3. Calculated key figures InfoObjects

  4. DIM IDs

Reveal answer Fill a bubble to check yourself
A,D Correct answer
Explanation

In data warehousing, fact tables contain key figures (metrics or measurements) and DIM IDs (foreign keys referencing dimension tables). The actual dimension attributes (Characteristics) live in dimension tables, not fact tables.

Multiple choice technology web technology
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Hibernate is indeed an Object-Relational Mapping (ORM) framework for Java that provides a bridge between object-oriented domain models and relational databases. It allows developers to work with Java objects instead of writing raw SQL queries, automatically handling the translation between objects and database records.

Multiple choice technology web technology
  1. Caching objects

  2. Pure relational

  3. Outer join fetching

  4. Lazy collection initialization

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

'Pure relational' is the odd one out because it refers to a pure database approach without ORM, while the other options (caching, outer join fetching, lazy collection initialization) are all Hibernate ORM performance optimization techniques. Hibernate is specifically about bridging the gap between objects and relational databases, not staying purely relational.

Multiple choice technology databases
  1. TSO

  2. IMC

  3. CICS

  4. None of the above

Reveal answer Fill a bubble to check yourself
A,C Correct answer
Explanation

DB2 for z/OS can be accessed from mainframe environments such as Time Sharing Option (TSO) and Customer Information Control System (CICS). These environments use attachment facilities to interact with the DB2 subsystem.

Multiple choice technology web technology
  1. Data Reader

  2. Data Table

  3. Dataset

  4. Data Row

Reveal answer Fill a bubble to check yourself
A,C Correct answer
Explanation

ADO.NET's fundamental objects are DataReader (connected, forward-only read) and Dataset (disconnected, in-memory cache). DataAdapter and DataRelation are supporting objects, while DataTable and DataRow are Dataset contents.

Multiple choice technology web technology
  1. SqlDataReader

  2. SqlConnection

  3. SqlCommand

  4. SqlClientPermissionAttribute

Reveal answer Fill a bubble to check yourself
A,B,C,D Correct answer
Explanation

In ADO.NET, SqlConnection establishes the connection, SqlCommand executes queries, and SqlDataReader retrieves the read-only stream of data from a SQL Server database. All of these classes are essential components of the System.Data.SqlClient namespace.

Multiple choice technology web technology
  1. The Physical Data Store

  2. The DataSet

  3. The Data Provider

  4. All the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

ADO.NET has three logical layers: Physical Data Store (database), DataSet (in-memory cache), and Data Provider (bridge between them - Connection, Command, DataAdapter, DataReader). All three layers are essential components.

Multiple choice technology web technology
  1. SqlConnection conn = new SqlConnection(

  2. SqlConnection conn=null; conn=new SqlConnection(

  3. SqlConnection conn = SqlConnection(

  4. All the above

Reveal answer Fill a bubble to check yourself
A,B Correct answer
Explanation

Option A shows the standard one-line declaration and instantiation of SqlConnection. Option B demonstrates two-step initialization: first declaring null, then assigning with new keyword. Both are valid C# syntax patterns. Option C is incorrect because it omits the 'new' keyword required for object instantiation.