Computer Knowledge

Database Management Systems

5,344 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 architecture
  1. Application can be isolated from the database and the only connection to it is using the ORM framework and a JDBC driver.

  2. Manageability of a Java application increases.

  3. They perform faster than direct JDBC connections.

  4. ORM supports same level of data access as SQL.

  5. ORM does little to improve developer productivity.

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

ORM frameworks isolate applications from database-specific code by providing a persistence layer that uses only the ORM framework and JDBC. This isolation improves manageability by centralizing data access logic and reducing scattered SQL. However, ORM introduces overhead and is typically slower than well-optimized direct JDBC. ORM also cannot match SQL's full power for complex queries and database-specific features. ORM significantly improves developer productivity by reducing boilerplate code.

Multiple choice technology architecture
  1. Application can be isolated from the database and the only connection to it is using the ORM framework and a JDBC driver.

  2. Developer productivity increases.

  3. Performance will be slower than direct JDBC connections.

  4. Application maintainance may be a problem.

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

Using less-established open-source ORM frameworks creates maintenance risks: limited documentation, smaller community support, potential abandonment, and fewer developers familiar with the framework. This contrasts with mature frameworks like Hibernate that have widespread adoption. Performance may actually improve over JDBC due to caching, so that's not the main disadvantage.

Multiple choice technology programming languages
  1. Domain

  2. Field name

  3. Data type

  4. Data element

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

The Domain defines the complete technical characteristics: data type, length, decimal places, and output format. The data element provides semantic description (field labels) but references the Domain for technical definition. Field name is just an identifier.

Multiple choice technology web technology
  1. Container Managed Transactions

  2. Bean Managed Transactions

  3. Container Transactions

  4. Bean Transactions

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

The betting scenario requires complex transaction logic spanning multiple independent events (sports matches) with conditional payouts based on partial success. Bean Managed Transactions give you programmatic control over transaction boundaries, allowing you to handle distributed commits and custom rollback logic. Container Managed Transactions work best for simple, localized transactions where the container can manage the lifecycle automatically.

Multiple choice technology platforms and products
  1. ODBC

  2. OLEDB

  3. Both ODBC and OLEDB

  4. None of the above

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

OLEDB provides a single programmatic interface for accessing diverse data sources including relational databases, spreadsheets, and other data providers. ODBC is limited primarily to relational databases and doesn't offer the same universal interface capability.

Multiple choice technology programming languages
  1. password

  2. user ID

  3. database name

  4. database host

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

The mysql_connect() function accepts three parameters: database host, username, and password. Database name is NOT a parameter of mysql_connect() - you must select the database separately using mysql_select_db() after establishing the connection. Therefore, option C (database name) is the correct answer as the parameter that is NOT accepted.

Multiple choice technology
  1. True

  2. False

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

Crystal Reports supports creating reports that pull data from multiple databases and data sources simultaneously. You can add multiple database connections within a single report and even link or combine data from different sources in one report layout.

Multiple choice technology security
  1. When you need to record a particular login sequence

  2. When a particular application process flow needs to be recorded

  3. When you need to configure the in session parameter

  4. When you need to manually explore the application

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

Multi-step operations record complex application flows like multi-page forms, wizards, or complete user journeys. A login sequence is just one part of a flow, session parameters are configured differently, and manual exploration doesn't require recording.

Multiple choice technology security
  1. When a login sequence needs to be recorded

  2. When a particular application flow needs to be recorded

  3. When in session parameter needs to be defined

  4. When you need to test only a part of your application

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

Multi-step operations are used when a complete application process flow needs to be recorded (like checkout, registration, etc.). Login sequences are part of flows, in-session parameters are separate configurations, and testing part of an application is done through other settings.

Multiple choice technology web technology
  1. online analyis processing

  2. online analytical processing

  3. online add processing

  4. none

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

OLAP stands for Online Analytical Processing, a technology used for multidimensional analysis of business data. It enables complex queries and aggregations on large historical datasets in data warehouses, unlike OLTP which handles day-to-day transactions.

Multiple choice technology web technology
  1. relational database management system

  2. rational data management system

  3. real data management system

  4. real database money system

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

RDBMS stands for Relational Database Management System, a system for managing relational databases based on the relational model. Other options are incorrect terms or definitions that do not represent the industry-standard acronym expansion.

Multiple choice technology platforms and products
  1. relational modelling

  2. network modelling

  3. real time modelling

  4. dimensional modelling

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

Data warehousing is built on dimensional modeling, which organizes data into facts (quantitative measurements) and dimensions (descriptive attributes). This star or snowflake schema structure optimizes query performance for analytical processing rather than transactional efficiency.