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
-
Vertica
-
Sybase IQ
-
ParAccel
-
SAND
B
Correct answer
Explanation
Sybase IQ was the first column-oriented database management system to reach the data warehousing market, launching in the mid-1990s. Its columnar storage architecture was revolutionary for analytical queries and data warehousing workloads. Vertica and ParAccel came later, building on the columnar concept.
-
Petadata
-
Exadata
-
Megadb
-
OracleMPP
B
Correct answer
Explanation
Oracle Exadata is the data warehouse database platform developed in cooperation with HP, combining Oracle database software with HP hardware in an engineered system. Exadata uses smart storage scans and columnar compression for high performance. It was introduced as a game-changing data warehouse appliance.
-
Teradata
-
Netezza
-
DATAllegro
-
Sybase IQ
A,B,C
Correct answer
Explanation
Teradata, Netezza, and DATAllegro are all MPP (Massively Parallel Processing) database systems that distribute data and processing across multiple nodes for scalability. Teradata pioneered MPP architecture, Netezza used it in their appliance, and DATAllegro built an MPP data warehouse platform. Sybase IQ uses a columnar architecture but is not typically classified as MPP.
-
Yes
-
No
-
Only for uncataloged datasets
-
Only for cataloged datasets
C
Correct answer
Explanation
VOL=SER specifications are required for tape datasets only when they are not cataloged in the system catalog. For cataloged tape datasets, the system can locate the volume through the catalog entry. For uncataloged datasets, you must explicitly specify the volume serial. This is similar to disk datasets - cataloged ones don't need VOL=SER, but uncataloged ones do.
-
Start-of- selection
-
top-of -page
-
End-of- Selection.
-
End- of- page
C
Correct answer
Explanation
In SAP ABAP, when a program encounters a STOP statement, it triggers the End-of-Selection event. STOP immediately halts the current processing and jumps to the END-OF-SELECTION event block. This is different from termination events. Options A, B, and D are not the events triggered by STOP statement.
-
AT LAST
-
AT TOP
-
AT NEW OF
-
AT END
A
Correct answer
Explanation
AT LAST is a control break statement in report programming (like Ab Initio or COBOL). It triggers processing at the end of all data, after all records have been processed and all other control breaks (like AT NEW, AT END) have completed. Options B, C, and D are different types of control break statements but AT LAST is specifically for final end-of-data processing.
-
$mprjet
-
$mpjret
-
$mejret
-
None of the above
B
Correct answer
Explanation
In Ab Initio, the variable $mpjret (short for 'mp job return') is used to check the execution status of a graph. This variable contains the return code after running a graph using m_ui or air commands. A value of 0 typically indicates successful execution, while non-zero values indicate errors or warnings.
-
Type of users with access
-
Navigational vs. non navigational
-
Concurrent vs. non concurrent multiple program access
-
Support for single vs. multiple application languages
B
Correct answer
Explanation
Hierarchical DBMS require navigating through parent-child relationships to access data, while relational DBMS allow non-navigational access using SQL queries that reference data values directly. Both support concurrent access and multiple languages. User access control is not the defining difference.
-
30-MAR-00
-
31-MAR-00
-
15-MAR-00
-
THERE IS NO FUNCTION LIKE LAST_DAY
B
Correct answer
Explanation
The Oracle SQL function LAST_DAY() returns the last day of the month for any given date. Since March always has 31 days, LAST_DAY('15-MAR-00') correctly returns '31-MAR-00'. This function is useful for calculating month-end dates in financial and reporting applications.
-
Error generates
-
Temporary table is created with name "employee" and it get removed at the end of transaction.
-
similar to normally creating table.
-
created in database permenantly
B
Correct answer
Explanation
GLOBAL TEMPORARY TABLE creates a table structure visible to all sessions but data is private to each session and temporary. Unlike permanent tables (D), the data is not persisted. The table definition persists but data is automatically cleaned up either at transaction end or session end depending on ON COMMIT settings. The syntax shown is valid SQL (Oracle), so no error is generated (A is incorrect).
-
USER_COMMENTS
-
USER_ALL_COMMENTS
-
USER_TAB_ALL
-
USER_TAB_COMMENTS
D
Correct answer
Explanation
USER_TAB_COMMENTS is the Oracle data dictionary view that stores comments on tables and views owned by the current user. It contains columns for TABLE_NAME, TABLE_TYPE, and COMMENTS. The other options (USER_COMMENTS, USER_ALL_COMMENTS, USER_TAB_ALL) are not valid Oracle system views. Comments can be added using COMMENT ON TABLE table_name IS 'text'.
-
When trying to enter NULL value for P_Id then 100 will be placed there.
-
P_Id value starts from 1 and then it is auto incremented by value 1 upto 100.
-
Generates error as there is no constraint like "AUTO_GENERATE".
-
P_Id value starts from 100 and then it is auto incremented by value 1.
D
Correct answer
Explanation
In MySQL, the syntax AUTO_INCREMENT=100 at the column definition level (or table level depending on SQL dialect variations) is meant to set the initial value of the autoincrement sequence. The correct option identifies that values will start from 100 and increment by 1. Note that standard SQL dialects might require this at the table level, but in this context, option 4 is the intended correct answer.
A
Correct answer
Explanation
A dataset in database systems is a collection of data that is stored persistently, meaning it remains available after the session or program that created it ends. This persistence is a fundamental characteristic of datasets in databases, data warehouses, and similar systems.
-
Yes
-
No
-
1 & 2
-
None of the above
B
Correct answer
Explanation
Triggers execute within the transaction that fired them. They cannot issue independent COMMIT or ROLLBACK - these are controlled by the calling transaction context. Doing so would break atomicity.