Database Management Systems Mcqs

Page No. 11

Which of the following is the right syntax for the assertion?


aCreate assertion ‘assertion-name’ check ‘predicate’;


bCreate assertion check ‘predicate’ ‘assertion-name’;


cCreate assertions ‘predicates’;


dAll of the mentioned



Domain constraints, functional dependency and referential integrity are special forms of _________


aForeign key


bPrimary key


cAssertion


dReferential constraint


View Answer Assertion

Which of the following is used to delete the entries in the referenced table when the tuple is deleted in course table?


aDelete


bDelete cascade


cSet null


dAll of the mentioned


View Answer Delete cascade

Foreign key is the one in which the ________ of one relation is referenced in another relation.


aForeign key


bPrimary key


cPrimary key


dCheck constraint


View Answer Primary key

CREATE TABLE Manager(ID NUMERIC,Name VARCHAR(20),budget NUMERIC,Details VARCHAR(30));
Inorder to ensure that the value of budget is non-negative which of the following should be used?


aCheck(budget>0)


bCheck(budget<0)


cAlter(budget>0)


dAlter(budget<0)


View Answer Check(budget>0)

Which of the following is not an integrity constraint?


aNot null


bPositive


cUnique


dCheck ‘predicate’


View Answer Positive

To include integrity constraint in an existing relation use


aCreate table


bModify table


cAlter table


dDrop table


View Answer Alter table

Which of the following statements creates a new table temp instructor that has the same schema as an instructor.


acreate table temp_instructor;


bCreate table temp_instructor like instructor;


cCreate Table as temp_instructor;


dCreate table like temp_instructor;



In contemporary databases, the top level of the hierarchy consists of ______ each of which can contain _____


aCatalogs, schemas


bSchemas, catalogs


cEnvironment, schemas


dSchemas, Environment


View Answer Catalogs, schemas

Which of the following closely resembles Create view?


aCreate table . . .like


bCreate table . . . as


cWith data


dCreate view as


View Answer Create table . . . as

Goto Page No.

Page 11 of 101

Alphabetical MCQs Categories

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan