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 packaged enterprise solutions
  1. To provide data security at the application level

  2. To insulate the ABAP/4 developer from the database

  3. To connect to the operating system

  4. to connect to kernel

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

The Data Dictionary in SAP ABAP provides data consistency and data security at the application level by enforcing data definitions, relationships, and constraints. It insulates ABAP developers from underlying database differences, handles the connection to the database (not OS or kernel directly), and ensures data integrity through centralized metadata management.

Multiple choice technology enterprise content management
  1. Content Server

  2. Application Server

  3. Database Server

  4. Content or Application Server

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

SCS (Site Creation Services) Source in Documentum is installed on the Content Server. The Content Server handles content storage, management, and the SCS services for web publishing. Application Servers handle client requests, and Database Servers store metadata, but SCS Source specifically runs on the Content Server.

Multiple choice technology mainframe
  1. 15 Levels, 1000 Segments, 255 Fields.

  2. 25 Levels, 100 Segments,255 Fields.

  3. 15 Levels, 255 Segments, 1000 Fields.

  4. 25 Levels, 255 Segments, 1000 Fields.

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

IMS databases have specific structural limits: maximum 15 levels in the hierarchy, 255 segment types, and 1000 fields per segment. These constraints ensure database performance and manageability. Option C correctly states these limits, while other options incorrectly mix up the numbers.

Multiple choice technology mainframe
  1. L

  2. IR

  3. I

  4. LS

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

PROCOPT L loads new databases, I inserts segments, and R replaces existing segments. The LS option combines Insert and Replace capabilities, allowing both adding new data and updating existing records. This dual functionality makes LS the correct choice when you need both insert and replace operations.

Multiple choice technology platforms and products
  1. /data/data/<package_name>/databases

  2. /data/<package_name>/databases

  3. /data/data/databases

  4. None of above

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

Android stores SQLite databases in the app-specific directory /data/data//databases/. This path includes the package name to ensure each app's databases are isolated and secure. The databases directory is automatically created by the Android system for each app's private data storage.

Multiple choice technology platforms and products
  1. Call OpenOrCreateDatabase()

  2. Call getReadableDatabase()

  3. Call getWriteableDatabase()

  4. None of above

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

While SQLiteOpenHelper is the recommended way to manage database creation and versioning, you can directly call openOrCreateDatabase() method available on the Context class to create or open a database without using SQLiteOpenHelper. However, this approach lacks automatic version management and upgrade helpers.

Multiple choice technology platforms and products
  1. Compact C Library

  2. C++ Library

  3. Java Library

  4. None of above

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

SQLite3 in Android is implemented as a compact C library that's included as part of the Android software stack. This is correct - SQLite is written in C and embedded into Android through JNI (Java Native Interface). It's not a Java library or C++ library.

Multiple choice technology platforms and products
  1. Content Provider

  2. Intent

  3. SQLite Database

  4. None of above

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

When data doesn't need to be shared between applications, you can use SQLite database directly without implementing a ContentProvider. ContentProviders add overhead and are only necessary for cross-app data sharing.

Multiple choice technology platforms and products
  1. Files

  2. Database

  3. Android Properties

  4. Both a & b above

  5. a, b and c above

  6. None of above

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

Android provides multiple mechanisms for sharing persistent data between processes: Files (shared via file system or FileProvider), SQLite databases (via ContentProvider), and Android Properties (SharedPreferences - though primarily intra-app, can be made accessible). All three represent valid persistent data storage mechanisms.

Multiple choice technology platforms and products
  1. Adding new records

  2. Adding new values to existing records

  3. Batch updating existing records

  4. Both a & b above

  5. a, b and c above

  6. None of above

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

Content providers support multiple modification operations: insert() for adding new records, bulkInsert() for batch insertion, update() for modifying existing records (including batch updates), and delete() for removal. The statement correctly identifies that content providers can be modified by adding records, adding values to existing records, and batch updating.

Multiple choice technology databases
  1. specify large pct free

  2. specify large pct used

  3. specify large initial & next sizes

  4. specify small initrans

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

PCTFREE specifies the percentage of space reserved in each block for row expansion. Specifying a large PCTFREE prevents row migration by ensuring sufficient space remains for updates that increase row size. PCTUSED controls when blocks return to free list, INITTRANS controls concurrent transaction slots, and storage sizes affect allocation not migration.

Multiple choice technology databases
  1. catalog.sql

  2. sql.bsq

  3. catproc.sql

  4. dictionary.sql

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

The sql.bsq script creates the data dictionary base tables during database creation. This script contains the fundamental CREATE TABLE statements for dictionary objects. catalog.sql creates views, catproc.sql creates PL/SQL packages, and dictionary.sql is not a standard Oracle script.

Multiple choice technology
  1. xml

  2. mdb

  3. dat

  4. binary

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

IIS 6.0 stores its configuration in an XML file called 'metabase.xml' located in the %SystemRoot%\system32\inetsrv\ directory. Unlike earlier versions of IIS that used a binary metabase format, IIS 6.0 made the configuration human-readable and editable XML. This was a significant improvement for administration and backup/recovery. Note that IIS 7.0 and later moved to a different configuration system using .config XML files instead.