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 mainframe
  1. SYSCHK DD statement

  2. CHCKPOINT DD statement

  3. CHKOUT DD statement

  4. CHECK or DD statement

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

SYSCHK is the DD statement in JCL used to specify the dataset where program checkpoints are stored for restart capability. The other options (CHCKPOINT, CHKOUT, CHECK) are not valid JCL DD statements for checkpoint storage.

Multiple choice technology web technology
  1. strings, numbers, BooBoos, and nulls

  2. strings, text, Booleans, and nulls

  3. strings, numbers, Booleans, and nulls

  4. strings, numbers, Booleans, and zeros

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

JavaScript has four basic primitive data types: strings (text), numbers (numeric values), Booleans (true/false), and null (absence of value). Option A has BooBoos (typo), Option B has text (not strings), and Option D has zeros (not null).

Multiple choice technology mainframe
  1. SYSCHK DD statement

  2. CHCKPOINT DD statement

  3. CHKOUT DD statement

  4. CHECK or DD statement

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

Program checkpoints for restart purposes are stored using the SYSCHK DD statement. SYSCHK defines the dataset(s) where checkpoint information is written during execution and read during restart. The other options (CHCKPOINT, CHKOUT, CHECK) are not valid JCL DD statement names for checkpoints. SYSCHK is the standard mechanism for checkpoint/restart functionality in batch jobs.

Multiple choice technology web technology
  1. strings, numbers, BooBoos, and nulls

  2. strings, text, Booleans, and nulls

  3. strings, numbers, Booleans, and nulls

  4. strings, numbers, Booleans, and zeros

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

In JavaScript, the fundamental primitive data types include strings, numbers, Booleans, and nulls. Other options contain fictitious types like 'BooBoos' or incorrect classifications like 'zeros'.

Multiple choice technology databases
  1. JDBC is an API to connect to relational-, object- and XML data sources

  2. JDBC stands for Java DataBase Connectivity

  3. JDBC is an API to access relational databases, spreadsheets and flat files

  4. JDBC is an API to bridge the object-relational mismatch between OO programs and relational

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

JDBC stands for Java Database Connectivity, so option B is correct. JDBC is primarily an API for accessing relational databases, but it can also work with tabular data sources like spreadsheets and flat files through the JDBC-ODBC bridge or specific drivers, making option C correct. Option A is incorrect because JDBC is specifically designed for relational and tabular data, not XML or arbitrary object databases. Option D describes ORM tools like Hibernate, not JDBC itself.

Multiple choice technology databases
  1. java.jdbc and javax.jdbc

  2. java.jdbc and java.jdbc.sql

  3. java.sql and javax.sql

  4. java.rdb and javax.rdb

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

The standard JDBC classes and interfaces are located in the core Java SE packages java.sql (for basic database access) and javax.sql (for advanced features like data sources and connection pooling).

Multiple choice technology databases
  1. Type 1 driver

  2. Type 2 driver

  3. Type 3 driver

  4. Type 4 driver

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

JDBC-ODBC Bridge Driver (Type 1) provides JDBC access through one or more ODBC drivers. It acts as a bridge between JDBC calls and ODBC drivers, essentially converting JDBC calls to ODBC calls. Type 2 uses native libraries, Type 3 is a middleware driver, and Type 4 is pure Java direct to database.

Multiple choice technology databases
  1. Type 1 driver

  2. Type 2 driver

  3. Type 3 driver

  4. Type 4 driver

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

Type 4 driver converts JDBC calls directly into the database's native network protocol, requiring no middleware or native libraries. It's a pure Java driver that communicates directly with the database. Type 1 uses ODBC, Type 2 uses native libraries, and Type 3 uses middleware.

Multiple choice technology databases
  1. A DataSource is the basic service for managing a set of JDBC drivers

  2. A DataSource is the Java representation of a physical data source

  3. A DataSource is a registry point for JNDI-services

  4. A DataSource is a factory of connections to a physical data source

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

A DataSource in JDBC is a factory object that provides connections to a physical data source. It offers advantages over DriverManager: connection pooling, distributed transaction support, and easier deployment configuration. It represents (is) the factory, not the source itself, a driver manager, or a JNDI registry point.

Multiple choice technology databases
  1. emctl start dbconsole

  2. start dbconsole

  3. dbconsole start

  4. emctl dbconsole start

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

The emctl utility is Oracle Enterprise Manager's command-line interface for managing the DB Console service. The correct syntax is 'emctl start dbconsole' which starts the web-based Enterprise Manager console for a specific database. Options B and C are incomplete commands missing the emctl prefix, while D has incorrect parameter order.

Multiple choice technology databases
  1. $ORACLE_HOME/sysman/install
  2. $ORACLE_HOME/install
  3. $ORACLE_HOME/rdbms/admin/install
  4. $ORACLE_HOME/dbs/install
Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Oracle Database installations, the default location for the portlist.ini file, which lists the ports assigned to various Oracle components, is the $ORACLE_HOME/install directory.

Multiple choice technology
  1. Frameset Properties

  2. Database properties

  3. Document Properties

  4. Navigator Properties

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

In Lotus Notes, the database launch option (including opening in a frameset) is specified in Database Properties under the 'Launch' tab. Frameset Properties controls display within the frameset, not what opens when the database launches. Document and Navigator Properties are unrelated.

Multiple choice technology databases
  1. Indexes

  2. Hints

  3. Tables

  4. Bitmaps

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

Partitioning is a database feature that divides large tables or indexes into smaller, more manageable pieces. Both indexes (A) and tables (C) can be partitioned in database systems like Oracle and MySQL. Bitmaps (D) are index structures, not partitionable objects themselves. Hints (B) are query directives, not database objects that get partitioned.