Quick Revision

GK One-Line Question & Answer

15541+ short questions with short answers, covering every category and sub-category on the site — no long articles to scroll through. Good for a fast recap before an exam, or a few minutes of daily practice.

DBMS → Concurrency Control 3

Pipelines can be executed in
2
click to copy
Cursor that reflects the changes made to the database table even after the result set is returned
dynamic
click to copy
Which of the following has “all-or-none” property?
atomicity
click to copy

DBMS → Deadlock 3

In a                    the system makes repeated requests for tuples from the operation at the top of the pipeline.
demand-driven pipeline
click to copy
Consider a schema R(A, B, C, D) and functional dependencies A -> B and C -> D. Then the decomposition of R into R1 (A, B) and R2(C, D) is
not dependency preserving and not lossless join
click to copy
The property of a transaction that persists all the crashes is
durability
click to copy

DBMS → Database Security 3

In a                            operations do not wait for requests to produce tuples, but instead generate the tuples eagerly.
producer-driven pipeline
click to copy
Which one of the following statements about normal forms is FALSE?
lossless, dependency-preserving decomposition into bcnf is always possible
click to copy
                     states that only valid data will be written to the database.
consistency
click to copy

DBMS → PL/SQL 3

Each operation in a demand-driven pipeline can be implemented as an          that provides the following functions: open(), next(), and close().
iterator
click to copy
Which of the following is TRUE?
every relation in bcnf is also in 3nf
click to copy
Transaction processing is associated with everything below except
confirming an action or triggering a response
click to copy

DBMS → Introduction to DBMS 2

The iterator maintains the                      of its execution in between calls so that successive next() requests receive successive result tuples.
state
click to copy
The relation EMPDT1 is defined with attributes empcode(unique), name, street, city, state, and pincode. For any pincode, there is only one city and state. Also, for any given street, city and state, there is just one pincode. In normalization terms EMPDT1 is a relation in
2nf and hence also in 1nf
click to copy

DBMS → Database Architecture 2

Tuples are generated                        in producer-driven pipelining, they are generated                  on demand, in demand- driven pipelining.
eagerly, lazily
click to copy
                               is a procedural extension of Oracle – SQL that offers language constructs similar to those in imperative programming languages.
pl/sql
click to copy

DBMS → Data Models 2

When two inputs that we desire to pipeline into the join are not already sorted it is the                            technique.
double-pipelined join
click to copy
                       combines the data manipulating power of SQL with the data processing power of Procedural languages.
pl/sql
click to copy

DBMS → ER Model 2

Which of the following is/are false for RAW mode of FOR XML?
binary base32 returns the binary data in base32-encoded format
click to copy
                               has made PL/SQL code run faster without requiring any additional work on the part of the programmer.
oracle
click to copy

DBMS → Relational Model 2

                       refers to the ability of the system to recover committed transaction updates if either the system or the storage media fails.
durability
click to copy
A line of PL/SQL text contains groups of characters known as
lexical units
click to copy

DBMS → Normalization 2

You have a column that will only contain values from 0 to 256. What is the most economical data type to use for the column?
smallint
click to copy
We use                              name PL/SQL program objects and units.
identifiers
click to copy

DBMS → Functional Dependency 2

Problems occurs if we don’t implement a proper locking strategy
phantom reads
click to copy
A                                        is an explicit numeric, character, string or Boolean value not represented by an identifier.
literals
click to copy

DBMS → SQL Basics 2

Which of the following fixed database roles can add or remove user IDs?
db_accessadmin
click to copy
If no header is specified, the block is said to be an                                PL/SQL block.
anonymous
click to copy

DBMS → DDL Commands 2

Which of the following pair of regular
(ab)* and a*b*
click to copy
                                   is a sequence of zero or more characters enclosed by single quotes.
string literal
click to copy

DBMS → DML Commands 2

Which feature converts row data to a column for better analytical view?
pivot
click to copy
In                                the management of the password for the account can be handled outside of oracle such as operating system.
operating system authentication
click to copy

DBMS → Joins 2

What is the default “SORT” order for a SQL?
ascending
click to copy
In                                  of Oracle, the database administrator creates a user account in the database for each user who needs access.
database authentication
click to copy

DBMS → Views 2

How inserting data through stored procedure do reduces network traffic and increase database performance?
the execution plan is stored in the cache after it was executed the first time
click to copy
Consider money is transferred from (1)account-A to account-B and (2) account-B to account-A. Which of the following form a transaction?
both 1 and 2 individually
click to copy

DBMS → Indexes 2

Stored procedures are safe from SQL injection attacks
TRUE
click to copy
A transaction is delimited by statements (or function calls) of the form                      
begin transaction and end transaction
click to copy

DBMS → Transactions 2

Which of the following connection type supports application role permissions and password encryption?
ole db and odbc
click to copy
Identify the characteristics of transactions
all of the mentioned
click to copy