πŸ—„οΈ

Database Management System MCQs

749+ questions with answers

301

A JSP is transformed into a(n):

a Java applet
b Java servlet
c Either 1 or 2 above
d Neither 1 nor 2 above
Medium
View Details β†’
302

What programming language(s) or scripting language(s) does Java Server Pages (JSP) support?

a VBScript only
b Jscript only
c Java only
d All of the mentioned
Medium
View Details β†’
303

What is bytecode?

a Machine-specific code
b Java code
c Machine-independent code
d None of the mentioned
Medium
View Details β†’
304

Where is metadata stored in MySQL?

a In the MySQL database metadata
b In the MySQL database metasql
c In the MySQL database mysql
d None of the mentioned
Medium
View Details β†’
305

Which of the following is true for Seeheim model?

a Presentation is abstracted from dialogue and Application
b Presentation and Dialogue is abstracted from Application
c Presentation and Application is abstracted from Dialogue
d None of the mentioned
Medium
View Details β†’
306

Which of the unit operation is used in Model view controller?

a Is a Decomposition
b Part Whole Decomposition
c All of the mentioned
d None of the mentioned
Medium
View Details β†’
307

Memory address refers to the successive memory words and the machine is called as _______________

a word addressable
b byte addressable
c bit addressable
d Terra byte addressable
Medium
View Details β†’
308

Which layer deals which deals with user interaction is called _____________ layer.

a Business logic
b Presentation
c User interaction
d Data access
Medium
View Details β†’
309

The _____________ layer, which provides a high-level view of data and actions on data.

a Business logic
b Presentation
c User interaction
d Data access
Medium
View Details β†’
310

The ______________ layer, which provides the interface between the business-logic layer and the underlying database.

a Business logic
b Presentation
c User interaction
d Data access
Medium
View Details β†’
311

Which among the following are the functions that any system with a user interface must provide?

a Presentation
b Dialogue
c All of the mentioned
d None of the mentioned
Medium
View Details β†’
312

Which of the following is the main task accomplished by the user?

a Compose a document
b Create a spread sheet
c Send mail
d All of the mentioned
Medium
View Details β†’
313

What are the portability concerns founded in Seeheim model?

a Replacing the presentation toolkit
b Replacing the application toolkit
c Replacing the dialogue toolkit
d Replacing the presentation & application toolkit
Medium
View Details β†’
314

Which schema object instructs Oracle to connect to a remotely access an object of a database?

a Sequence
b Remote link
c Database link
d Data link
Medium
View Details β†’
315

DML changes are

a Insert
b Update
c Create
d Both Insert and Update
Medium
View Details β†’
316

Which of the following object types below cannot be replicated?

a Data
b Trigger
c View
d Sequence
Medium
View Details β†’
317

How to force a log switch?

a By using ALTER SYSTEM LOG
b By using ALTER SYSTEM SWITCH LOGFILE
c By using ALTER SYSTEM SWITCH LOGS
d By using ALTER SYS LOGFILES
Medium
View Details β†’
318

In the following query, which expression is evaluated first? SELECT id_number, (quantity - 100 / 0.15 - 35 * 20) FROM inventory

a 100 / 0.15
b quantity – 100
c 35*20
d 0.15-35
Medium
View Details β†’
319

The ORDER BY clause can only be used in

a SELECT queries
b INSERT queries
c GROUP BY queries
d HAVING queries
Medium
View Details β†’
320

What is the purpose of SMON background process?

a Performs crash recovery when a failed instance starts up again
b Performs recovery when a user process fails
c Writes redo log entries to disk
d None of the mentioned
Medium
View Details β†’
321

Which of the following queries are legal?

a SELECT deptno, count(deptno) FROM emp GROUP BY ename;
b SELECT deptno, count(deptno), job FROM emp GROUP BY deptno;
c SELECT deptno, avg(sal) FROM emp;
d SELECT deptno, avg(sal) FROM emp GROUP BY deptno;
Medium
View Details β†’
322

Which of the following queries displays the sum of all employee salaries for those employees not making commission, for each job, including only those sums greater than 2500?

a select job, sum(sal) from emp where sum(sal) > 2500 and comm is null;
b select job, sum(sal) from emp where comm is null group by job having sum(sal) > 2500;
c select job, sum(sal) from emp where sum(sal) > 2500 and comm is null group by job;
d select job, sum(sal) from emp group by job having sum(sal) > 2500 and comm is not null;
Medium
View Details β†’
323

The indirect change of the values of a variable in one module by another module is called

a Internal change
b Inter-module change
c Side effect
d Side-module update
Medium
View Details β†’
324

Which of the following data structure is not linear data structure?

a Arrays
b Linked lists
c Arrays & Linked lists
d None of the mentioned
Medium
View Details β†’
325

Which of the following data structure is linear data structure?

a Trees
b Graphs
c Arrays
d None of the mentioned
Medium
View Details β†’
326

Which of the following criterion is NOT written using the proper syntax?

a β€œHaris”
b <500
c NO VALUE
d Between #1/1/2000# and #12/31/2000#
Medium
View Details β†’
327

The operation of processing each element in the list is known as

a Sorting
b Merging
c Inserting
d Traversal
Medium
View Details β†’
328

Finding the location of the element with a given value is:

a Traversal
b Search
c Sort
d None of the mentioned
Medium
View Details β†’
329

Linked lists are best suited

a For relatively permanent collections of data
b For the size of the structure and the data in the structure are constantly changing
c All of the mentioned
d None of the mentioned
Medium
View Details β†’
330

Each array declaration need not give, implicitly or explicitly, the information about

a The name of array
b The data type of array
c The first data from the set to be stored
d The index set of the array
Medium
View Details β†’
331

The elements of an array are stored successively in memory cells because

a By this way computer can keep track only the address of the first element and the addresses of other elements can be ca
b The architecture of computer memory does not allow arrays to store other than serially
c All of the mentioned
d None of the mentioned
Medium
View Details β†’
332

In _________________ attacks, the attacker manages to get an application to execute an SQL query created by the attacker.

a SQL injection
b SQL
c Direct
d Application
Medium
View Details β†’
333

A Web site that allows users to enter text, such as a comment or a name, and then stores it and later display it to other users, is potentially vulnerable to a kind of attack called a ___________________ attack.

a Two-factor authentication
b Cross-site request forgery
c Cross-site scripting
d Cross-site scoring scripting
Medium
View Details β†’
334

_________ is an attack which forces an end user to execute unwanted actions on a web application in which he/she is currently authenticated.

a Two-factor authentication
b Cross-site request forgery
c Cross-site scripting
d Cross-site scoring scripting
Medium
View Details β†’
335

Many applications use _________________ where two independent factors are used to identify a user.

a Two-factor authentication
b Cross-site request forgery
c Cross-site scripting
d Cross-site scoring scripting
Medium
View Details β†’
336

Even with two-factor authentication, users may still be vulnerable to_____________attacks.

a Radiant
b Cross attack
c scripting
d Man-in-the-middle
Medium
View Details β†’
337

A single ______________ further allows the user to be authenticated once, and multiple applications can then verify the user’s identity through an authentication service without requiring reauthentication.

a OpenID
b Sign-on system
c Security Assertion Markup Language (SAML)
d Virtual Private Database (VPD)
Medium
View Details β†’
338

The __________ standard is an alternative for single sign-on across organizations, and has seen increasing acceptance in recent years.

a OpenID
b Single-site system
c Security Assertion Markup Language (SAML)
d Virtual Private Database (VPD)
Medium
View Details β†’
339

_______________ allows a system administrator to associate a function with a relation; the function returns a predicate that must be added to any query that uses the relation.

a OpenID
b Single-site system
c Security Assertion Markup Language (SAML)
d Virtual Private Database (VPD)
Medium
View Details β†’
340

VPD provides authorization at the level of specific tuples, or rows, of a relation, and is therefore said to be a _____________ mechanism.

a Row-level authorization
b Column-level authentication
c Row-type authentication
d Authorization security
Medium
View Details β†’
341

___________ is widely used today for protecting data in transit in a variety of applications such as data transfer on the Internet, and on cellular phone networks.

a Encryption
b Data mining
c Internet Security
d Architectural security
Medium
View Details β†’
342

In a database where the encryption is applied the data is cannot be handled by the unauthorised user without

a Encryption key
b Decryption key
c Primary key
d Authorised key
Medium
View Details β†’
343

Which of the following is not a property of good encryption technique?

a Relatively simple for authorized users to encrypt and decrypt data
b Decryption key is extremely difficult for an intruder to determine
c Encryption depends on a parameter of the algorithm called the encryption key
d None of the mentioned
Medium
View Details β†’
344

In which of the following encryption key is used to encrypt and decrypt the data?

a Public key
b Private key
c Symmetric key
d Asymmetric key
Medium
View Details β†’
345

Encryption of small values, such as identifiers or names, is made complicated by the possibility of __________

a Dictionary attacks
b Database attacks
c Minor attacks
d Random attacks
Medium
View Details β†’
346

Which one of the following uses a 128bit round key to encrypt the data using XOR and use it in reverse to decrypt it?

a Round key algorithm
b Public key algorithm
c Advanced Encryption Standard
d Asymmetric key algorithm
Medium
View Details β†’
347

Assymmetric Encryption: Why can a message encrypted with the Public Key only be decrypted with the receiver’s appropriate Private Key?

a Not true, the message can also be decrypted with the Public Key
b A so called β€œone way function with back door” is applied for the encryption
c The Public Key contains a special function which is used to encrypt the message and which can only be reversed by the approp
d The encrypted message contains the function for decryption which identifies the Private Key
Medium
View Details β†’
348

Which is the largest disadvantage of symmetric Encryption?

a More complex and therefore more time-consuming calculations
b Problem of the secure transmission of the Secret Key
c Less secure encryption function
d Isn’t used any more
Medium
View Details β†’
349

Which is the principle of the encryption using a key?

a The key indicates which function is used for encryption. Thereby it is more difficult to decrypt an intercepted message as the f
b The key contains the secret function for encryption including parameters. Only a password can activate the key
c All functions are public, only the key is secret. It contains the parameters used for the encryption resp. decryption
d The key prevents the user of having to reinstall the software at each change in technology or in the functions for encryption
Medium
View Details β†’
350

Which of the following is a physical storage media?

a Tape Storage
b Optical Storage
c Flash memory
d All of the mentioned
Medium
View Details β†’