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
-
Ordinary tables are stored with all rows in no particular order.
-
In ordinary tables, rows of the table are stored in different segments.
-
In partitioned tables, rows of the table are stored in one segment.
-
All of the above
-
Both (1) and (2)
A
Correct answer
Explanation
Ordinary tables have no partition in their structures so they don't have any particular keys also. Hence their order is not maintained.
-
In Application architecture, client application is also responsible for data processing.
-
Oracle database provides better performance to its client applications.
-
Oracle database provides better concurrency and data integrity.
-
Client applications are not dependent on the physical location of the data.
-
None of the above
A
Correct answer
Explanation
Client application is not responsible for data processing rather it is responsible for request input from the user and data form the server.
-
System Global Area (SGA) has no direct access from the clients.
-
System Global Area (SGA) is a called a shared memory segment.
-
The dictionary cache in SGA caches Oracle own internal information.
-
None of the above
-
Both (1) and (3)
D
Correct answer
Explanation
All are the true statements.
-
The log buffer is responsible for records all the changes made to the buffer cache.
-
The log buffer is a part of SGA (System Global Area).
-
The serve process makes an entry to log buffer to execute the SQL statements.
-
The log buffer is not responsible to redo the changes in case of a recovery process.
-
None of the above
D
Correct answer
Explanation
This is a false statement as log buffer records all changes made to buffer cache and these changes can be done again in the recovery process.
-
It is used to store log records for recovery process.
-
Log writer is responsible for writing the redo log buffer to the redo log files.
-
The typical size of log writer is up to a few hundred kilobytes.
-
All of the above
-
Both (1) and (2)
B
Correct answer
Explanation
Log writer is a background process and is responsible for writing the redo log buffer to redo log files.
-
Multitier Architecture contains one or more application servers.
-
An application server acts as an interface between clients and multiple database servers.
-
Multitier architecture enables application server to validate the credentials of a client, such as a web browser.
-
All of the above
-
Both (1) and (3)
D
Correct answer
Explanation
All these are the correct statements.
-
Oracle instance is a major component in the Oracle database server.
-
Oracle instance is a set of memory and process structures.
-
It is responsible for translating SQL calls given by the client.
-
Oracle instance may exist without being associated with an Oracle database.
-
None of the above
E
Correct answer
Explanation
All of the above are the true statements.
-
CREATE TABLE DBEmp_backup.emp_backup FROM emp
-
SELECT emp.* INTO emp_backup IN DBEmp_backup.mdb FROM emp
-
CREATE TABLE emp_backup IN DBEmp_backup.mdb FROM emp
-
None of these
B
Correct answer
Explanation
The SELECT...INTO statement is the correct SQL syntax to create a new table in another database from existing data. Options A and C use invalid CREATE TABLE syntax (no FROM clause in this context).
-
Data Dictionary Language
-
Data Definition language
-
Data Declaration Language
-
None of these
B
Correct answer
Explanation
DDL stands for Data Definition Language, the subset of SQL commands that define database structures (CREATE, DROP, ALTER). DML manipulates data, DCL controls permissions, and TCL manages transactions.
-
fortran language
-
scientific applications
-
binary coding
-
none of these
B
Correct answer
Explanation
Matrices are widely used to organize data for business applications like financial modeling, inventory management, and scientific applications including physics simulations, statistical analysis, and engineering calculations. Their grid structure efficiently represents multi-dimensional data and transformations.
-
MAtDB: a model organism database for Arabidopsis
-
BLAST: A comprehensive database for the study of human genetics and molecular biology
-
PROSITE: First secondary database developed
-
Entrez: An information retrieval tool of NCBI GenBank
-
DDBJ: A biological database that collects DNA sequences
B
Correct answer
Explanation
Basic Local Alignment Search Tool (BLAST) is an algorithm for comparing primary biological sequence information.
-
1, 2 and 3
-
1, 3 and 5
-
2, 3 and 4
-
2, 4 and 5
-
3, 4 and 5
A
Correct answer
Explanation
The International Nucleotide Sequence Database Collaboration (INSDC) consists of a joint effort to collect and disseminate databases containing DNA and RNA sequences. It consists of the following databases: DNA Data Bank of Japan (Japan), GenBank (USA) and the European Nucleotide Archive (UK).
-
JDBC API
-
JDBC driver manager
-
JDBC-ODBC bridge
-
JDBC URL
-
excuteQuery()
A
Correct answer
Explanation
It helps you to write java applications that manage the activities such as connecting to a data source, sending queries, updating statements to the database etc....
-
Events
-
Instance pooling
-
TX_BEAN_MANAGED
-
TX_REQUIRES_NEW
-
TX_REQUIRED
D
Correct answer
Explanation
In this mode of the transaction management provided by EJB, the bean always starts a new transaction even if a transaction is already in progress.
-
Stack
-
Queue
-
Linked list
-
Query
-
Data structure
D
Correct answer
Explanation
This option is correct because a query is a request for information from a database.