πŸ—„οΈ

Database Management System MCQs

749+ questions with answers

251

A relation is in ____________ if an attribute of a composite key is dependent on an attribute of other composite key.

a 2NF
b 3NF
c BCNF
d 1NF
Medium
View Details β†’
252

What are the desirable properties of a decomposition

a Partition constraint
b Dependency preservation
c Redundancy
d Security
Medium
View Details β†’
253

R (A,B,C,D) is a relation. Which of the following does not have a lossless join dependency preserving BCNF decomposition?

a A->B, B->CD
b A->B, B->C, C->D
c AB->C, C->AD
d A->BCD
Medium
View Details β†’
254

The algorithm that takes a set of dependencies and adds one schema at a time, instead of decomposing the initial schema repeatedly is

a BCNF algorithm
b 2NF algorithm
c 3NF synthesis algorithm
d 1NF algorithm
Medium
View Details β†’
255

Which normal form is considered adequate for normal relational database design?

a 2NF
b 5NF
c 4NF
d 3NF
Medium
View Details β†’
256

Relation R with an associated set of functional dependencies, F, is decomposed into BCNF. The redundancy (arising out of functional dependencies) in the resulting set of relations is

a Zero
b More than zero but less than that of an equivalent 3NF decomposition
c Proportional to the size of F+
d Indeterminate
Medium
View Details β†’
257

A table has fields F1, F2, F3, F4, and F5, with the following functional dependencies: F1->F3 F2->F4 (F1,F2)->F5

a 1NF
b 2NF
c 3NF
d None of the mentioned
Medium
View Details β†’
258

Let R(A,B,C,D,E,P,G) be a relational schema in which the following FDs are known to hold: AB->CD DE->P C->E P->C B->G

a in BCNF
b in 3NF, but not in BCNF
c in 2NF, but not in 3NF
d not in 2NF
Medium
View Details β†’
259

The normal form which satisfies multivalued dependencies and which is in BCNF is

a 4 NF
b 3 NF
c 2 NF
d All of the mentioned
Medium
View Details β†’
260

Which of the following is a tuple-generating dependencies?

a Functional dependency
b Equality-generating dependencies
c Multivalued dependencies
d Non-functional dependency
Medium
View Details β†’
261

The main task carried out in the __________ is to remove repeating attributes to separate tables.

a First Normal Form
b Second Normal Form
c Third Normal Form
d Fourth Normal Form
Medium
View Details β†’
262

Which of the normal form is based on multivalued dependencies?

a First
b Second
c Third
d Fourth
Medium
View Details β†’
263

Which forms has a relation that possesses data about an individual entity?

a 2NF
b 3NF
c 4NF
d 5NF
Medium
View Details β†’
264

If a multivalued dependency holds and is not implied by the corresponding functional dependency, it usually arises from one of the following sources.

a A many-to-many relationship set
b A multivalued attribute of an entity set
c A one-to-many relationship set
d Both A many-to-many relationship set and A multivalued attribute of an entity set
Medium
View Details β†’
265

In which of the following, a separate schema is created consisting of that attribute and the primary key of the entity set.

a A many-to-many relationship set
b A multivalued attribute of an entity set
c A one-to-many relationship set
d None of the mentioned
Medium
View Details β†’
266

Fifth Normal form is concerned with

a Functional dependency
b Multivalued dependency
c Join dependency
d Domain-key
Medium
View Details β†’
267

In 2NF

a No functional dependencies (FDs) exist
b No multivalued dependencies (MVDs) exist
c No partial FDs exist
d No partial MVDs exist
Medium
View Details β†’
268

_____________ can help us detect poor E-R design.

a Database Design Process
b E-R Design Process
c Relational scheme
d Functional dependencies
Medium
View Details β†’
269

If a multivalued dependency holds and is not implied by the corresponding functional dependency, it usually arises from one of the following sources.

a A many-to-many relationship set
b A multivalued attribute of an entity set
c A one-to-many relationship set
d Both A many-to-many relationship set and A multivalued attribute of an entity set
Medium
View Details β†’
270

Which of the following has each related entity set has its own schema and there is an additional schema for the relationship set.

a A many-to-many relationship set
b A multivalued attribute of an entity set
c A one-to-many relationship set
d All of the mentioned
Medium
View Details β†’
271

In which of the following, a separate schema is created consisting of that attribute and the primary key of the entity set.

a A many-to-many relationship set
b A multivalued attribute of an entity set
c A one-to-many relationship set
d All of the mentioned
Medium
View Details β†’
272

Suppose the user finds the usage of room number and phone number in a relational schema there is confusion.This is reduced by

a Unique-role assumption
b Unique-key assignment
c Role intergral assignment
d None of the mentioned
Medium
View Details β†’
273

Designers use which of the following to tune the performance of systems to support time-critical operations?

a Denormalization
b Redundant optimization
c Optimization
d Realization
Medium
View Details β†’
274

In the schema (dept name, size) we have relations total inst 2007, total inst 2008. Which dependency have lead to this relation ?

a Dept name, year->size
b Year->size
c Dept name->size
d Size->year
Medium
View Details β†’
275

Relation dept year(dept name, total inst 2007, total inst 2008, total inst 2009). Here the only functional dependencies are from dept name to the other attributes. This relation is in

a Fourth NF
b BCNF
c Third NF
d Second NF
Medium
View Details β†’
276

Thus a _______ of course data gives the values of all attributes, such as title and department, of all courses at a particular point in time.

a Instance
b Snapshot
c Both Instance and Snapshot
d All of the mentioned
Medium
View Details β†’
277

Representations such as the in the dept year relation, with one column for each value of an attribute, are called _______ they are widely used in spreadsheets and reports and in data analysis tools.

a Cross-tabs
b Snapshot
c Both Cross-tabs and Snapshot
d All of the mentioned
Medium
View Details β†’
278

An approach to website design with the emphasis on converting visitors to outcomes required by the owner is referred to as:

a Web usability
b Persuasion
c Web accessibility
d None of the mentioned
Medium
View Details β†’
279

A method of modelling and describing user tasks for an interactive application is referred to as:

a Customer journey
b Primary persona
c Use case
d Web design persona
Medium
View Details β†’
280

Information architecture influences:

a Answer choice
b Site structure
c Labeling
d Navigation design
Medium
View Details β†’
281

Also known as schematics, a way of illustrating the layout of an individual webpage is a:

a Wireframe
b Sitemap
c Card sorting
d Blueprint
Medium
View Details β†’
282

A graphical or text depiction of the relationship between different groups of content on a website is referred to as a:

a Wireframe
b Blueprint
c Sitemap
d Card sorting
Medium
View Details β†’
283

Blueprints are intended to:

a Prototype of the screen layout showing navigation and main design elements
b Show the grouping of pages and user journeys
c Indicate the structure of a site during site design and as a user feature
d Prototype typical customer journeys or clickstreams through a website
Medium
View Details β†’
284

Which of the following occupies boot record of hard and floppy disks and activated during computer startup?

a Worm
b Boot sector virus
c Macro virus
d Virus
Medium
View Details β†’
285

A graphical or text depiction of the relationship between different groups of content on a website is a:

a Page template
b Wireframe
c Site map
d Cascading style sheet (CSS)
Medium
View Details β†’
286

Which of the following is a description of information organization schemes?

a Minimising the number of clicks needed to access relevant content
b Providing an overall design to a site consistent with the positioning of the products and services
c The menu options chosen to group and categorize information
d Providing specific content and services appropriate to different audience members
Medium
View Details β†’
287

Which of the following is a valid uniform resource locator?

a http://www.acm.org/sigmod
b www.google.com
c www.ann.in
d http:/www.acm.org/sigmod/
Medium
View Details β†’
288

http://www.google.com/search?q=silberschatz In the above URL which one is the argument which is used for processing of the URL?

a google
b google.com
c search
d q=silberschatz
Medium
View Details β†’
289

HTTP defines two ways in which values entered by a user at the browser can be sent to the Web server. The _____ method encodes the values as part of the URL.

a Post
b Get
c Read
d Argument
Medium
View Details β†’
290

A __________ is a program running on the server machine, which accepts requests from a Web browser and sends back results in the form of HTML documents.

a HTML
b HTTP
c Web Server
d Web browser
Medium
View Details β†’
291

The application program typically communicates with a database server, through ___________ or other protocols, in order to get or store data.

a JDBC
b ODBC
c All of the mentioned
d None of the mentioned
Medium
View Details β†’
292

This extra information is usually maintained in the form of a _________ at the client.

a Cookie
b History
c Remainder
d None of the mentioned
Medium
View Details β†’
293

Html code contains:

a Tags
b Attributes
c Elements
d All of the mentioned
Medium
View Details β†’
294

Html document must always be saved with:

a .html
b .htm
c .doc
d Both .html & .htm
Medium
View Details β†’
295

How many levels of headings are in html:

a 2
b 7
c 6
d 4
Medium
View Details β†’
296

The Java __________ specification defines an application programming interface for communication between the Web server and the application program.

a Servlet
b Server
c Program
d Randomize
Medium
View Details β†’
297

The doGet() method in the example extracts values of the parameter’s type and number by using __________

a request.getParameter()
b request.setParameter()
c responce.getParameter()
d responce.getAttribute()
Medium
View Details β†’
298

How many JDBC driver types does Sun define?

a One
b Two
c Three
d Four
Medium
View Details β†’
299

Which JDBC driver Type(s) can be used in either applet or servlet code?

a Both Type 1 and Type 2
b Both Type 1 and Type 3
c Both Type 3 and Type 4
d Type 4 only
Medium
View Details β†’
300

What MySQL property is used to create a surrogate key in MySQL?

a UNIQUE
b SEQUENCE
c AUTO_INCREMENT
d None of the mentioned
Medium
View Details β†’