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
A
Correct answer
Explanation
Tables store data, views are virtual tables derived from queries, and indexes improve query performance - all are fundamental database objects in Oracle. The question contains a typo ('incexes' instead of 'indexes') but the meaning is clear and the statement is correct.
-
Programming technique
-
Automatically used in all prpgramme
-
PL/SQL compiler directive
-
All of the above
C
Correct answer
Explanation
AUTONOMOUS_TRANSACTION is a pragma (compiler directive) in PL/SQL that marks a routine as an autonomous transaction. This allows the routine to execute independently of the main transaction - it can commit or rollback without affecting the parent transaction's state. It's a PRAGMA directive, not a programming technique or automatic feature.
A
Correct answer
Explanation
In SAP environments using an Oracle database, the default listener port is often configured as 1527. This differs from the standard Oracle default of 1521 to avoid conflicts and follow SAP's specific installation standards.
-
Roles
-
Sequences
-
Synonyms
-
Index
D
Correct answer
Explanation
An index is a database object specifically designed to improve query performance by creating a data structure that allows faster data retrieval without scanning the entire table. Roles manage security permissions, sequences generate unique numeric values, and synonyms provide alternate names for objects.
-
Hierarchical
-
Relational
-
Object Relational
-
Network
C
Correct answer
Explanation
Object-Relational database systems extend the relational model by allowing PL/SQL programs (methods) to be stored as part of object type definitions. Hierarchical and Network are older database models, while pure Relational databases don't support embedding executable code in objects.
-
binary data up to 4 gigabytes
-
character data up to 4 gigabytes
-
a hexadecimal string representing the unique address of a row in its table
-
raw binary data of variable length up to 2 gigabytes
C
Correct answer
Explanation
The ROWID is a pseudo-column that represents the unique physical address of a row within an Oracle database. It is typically displayed as a base-64 or hexadecimal string and provides the fastest way to access a specific row.
A
Correct answer
Explanation
Oracle's DATE data type stores century information along with year, month, day, hours, minutes, and seconds. The DATE type uses 7 bytes internally and includes full date precision including century.
-
Credit Card Numbers cannot be stored in database
-
Credit Card numbers can be stored in database but not in plain text
-
Avoid storing credit card numbers if not necessary
-
Option 1 AND Option 3
-
Opion 2 AND Opion 3
-
None of above
E
Correct answer
Explanation
To comply with security standards like PCI-DSS, applications should avoid storing credit card numbers unless absolutely necessary. If storage is required, they must never be stored in plain text and must be encrypted.
B
Correct answer
Explanation
Relational databases use logical relationships through foreign keys and references, NOT physical pointers. The entire point of the relational model is to abstract away physical storage details - tables are related logically through key values, not memory addresses or physical pointers. Network databases or hierarchical databases use physical pointers, which is what the relational model was designed to avoid.
-
restrict data access
-
easy maintainance of complex queries
-
fast access
-
data independence
C
Correct answer
Explanation
Views are not designed for performance optimization - they often add overhead. View features include: restricting data access (security), simplifying complex query maintenance, and providing data independence (shielding users from schema changes). Fast access is not a view feature.
-
restrict data access
-
fast access
-
easy maintainance for complex queries
-
data independence
B
Correct answer
Explanation
Views provide security by restricting data access, simplify maintenance of complex queries, and offer data independence by isolating users from base table schema changes. Views are NOT performance tools - they add overhead, so 'fast access' is NOT a view feature. This question is a duplicate of 131269.
-
Differences
-
Similarities
-
Shared properties
-
Relationships
D
Correct answer
Explanation
Business objects define and manage the RELATIONSHIPS between Business Components (linking them through joins and definitions). They don't track differences, similarities, or shared properties - those are component-level concerns.
-
a) Access
-
b) Sybase
-
c) Microsoft SQL Server
-
d) Oracle
-
e) Paradox
C,D
Correct answer
Explanation
HP Quality Center 9.2 officially supports enterprise-grade databases, specifically Microsoft SQL Server and Oracle, for storing project repository data. Access, Sybase, and Paradox are not supported databases for this version.
-
dbmobld.sql
-
utlsampl.sql
-
autoextend.sql
-
whocan.sql
B
Correct answer
Explanation
In Oracle databases, utlsampl.sql is the standard script that creates the SCOTT/TIGER demonstration schema and its objects (tables like EMP, DEPT). These users are sample schemas owned by the database for learning and testing purposes.