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
  1. string, numeric

  2. numeric, string

  3. character, string

  4. indexed, string

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

Student names consist of text characters and must be stored in string arrays to preserve the text format. Prices represent numerical values and are stored in numeric arrays for arithmetic operations. This distinction is fundamental in programming - strings for text, numbers for calculations.

Multiple choice
  1. varray

  2. nested table

  3. record

  4. index-by tables

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

A PL/SQL record is a group of related data items. For example, the data about a student like roll no., name, date of birth are logically related to each other but have different types. A record containing a field for each item lets the user treat the data as a logical unit. Thus, making it easier to organise and represent. The syntax for creating a record is

type type_name is record (fielddeclaration1,fielddeclaration2...); 

Multiple choice
  1. Trigger <!--?xml:namespace prefix = o /--><o:p></o:p>

  2. Procedure <o:p></o:p>

  3. Function <o:p></o:p>

  4. Package <o:p></o:p>

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

A package is a collection of related PL/SQL objects like procedures, functions and triggers created as a single unit. It is used to store related objects in a single file. A package has two parts - Package specification and package body. The specification part contains the declaration of procedure, functions and triggers whereas the body part contains the actual implementation or code of all the subprogram declared in specification part.

Multiple choice
  1. Proxy archived log backups

  2. Instance creation

  3. Parameter files

  4. Recover

  5. Redo log files

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

When any changes are made to the database such as updates to data or creating or dropping database objects, the changes are recorded to the redo log files first.