Cramster.com - Homework Solutions, Lecture Notes, Exams, and Free Online Homework Help
Sign Up Now! Login Customer Support
McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Problem Solved.
    Home    
    Homework Help    
   Answer Board   
    Resources (Beta)    
   
Member's Topic Headline:

DBMS MCQs will be rated immediatly

Know the answer? Have a better solution? Share it.
Get Help Now.
View homework problems
explained for free!
Member Testimonials

Question:

Advertisement:

Answer | Ask New Question | Customize Profile | Leaderboards | 
FAQ

Member's Avatar

Scholar
Karma Points: 208
Respect (100%):
Date Posted: 7/21/2008 10:21:37 AM  Status: Closed
DBMS MCQs will be rated immediatly
Course Textbook Chapter Problem
N/A DBMS N/A N/A
Question Details:
Request

kindly only give the anwer of such parts in which you are sure.
 

Question
 
 

1 - Table (relation) size reduces due to ______________.

 

  1. Horizontal Partitioning
  2. Vertical Partitioning
  3. Query Optimization
  4. Replication

 

 

2 – Consider the following relation,

Relation-X (stId, sName, sAdr, sPhone, cgpa, prName, school, mtMrks, mtSubs, clgName,intMarks, intSubs, dClg, bMarks, bSubs)

 

R1 (stId, sName, sAdr, sPhone, cgpa, prName)

R2 (sId, school, mtMrks, mtSubs, clgName, intMarks, intSubs, dClg, bMarks,

bSubs)

 

Which type of partitioning is performed on Relation-X?

 

a.       Horizontal Partitioning

b.      Vertical Partitioning

c.       Replication

d.      None of above

 

 

3 - If we place records from different tables in adjacent ____________, it would increase efficiency of a database.

 

  1. Physical location
  2. Table
  3. Form
  4. empty location

 

 

4 - Truncate command response time is ______ as compared to Delete command.

 

a.       Poor

b.      Same

c.       Better

d.      Worst

 

 

5 - The following SQL statement reflects as _________ in relational algebra.

 

Select * from relation1;

 

  1. Projection Statement
  2. Selection Statement

 

 

6 - The following SQL statement reflects as ______________ in relational algebra.

 

Select * from relation1 where a = b;

 

  1. Projection Statement
  2. Selection Statement

 

 

7 - Consider the two relations,

Supplier (S_no, S_name, Contact_No, Address) and

Supply (S_no, Item_no).

 

Which of the following statements give(s) a list of supplier names supplying the item with Item_no ‘555’?

 

  1. SELECT S_name FROM Supplier WHERE Item_no=’555’
  2. SELECT S_name FROM Supplier, Supply WHERE Supplier.S_no=Supply.S_no AND Item_no=’555’
  3. SELECT S_name FROM Supplier WHERE S_no EXISTS (SELECT S_no FROM Supply WHERE Item_no=’555’)
  4. SELECT S_name FROM Supplier WHERE S_name EXISTS (SELECT S_name FROM Supply WHERE Item_no='555')

 

 

8 - Consider a table named “emp” having fields Empname, EmpID, Age, salary.

Which of the following is true if the following SQL statement tries to execute?

 

SELECT *

FROM emp

WHERE Empname=’ALI’;

 

  1. The statement has a syntax error
  2. The statement only displays the EmpID of those employees whose name is ALI
  3. The statement displays the entire fields from emp in which the Empname is ALI
  4. The statement must have an ORDERBY clause

 

 

9 - Consider a table named “emp” having fields Empname, EmpID, Age, salary.

Which of the following is true if the following SQL statement tries to execute?

 

SELECT *

FROM emp

WHERE Empname=’ALI’

ORDERBY Age;

 

  1. The statement displays the entire fields from emp in which the Empname is ALI in ascending order of their age
  2. The statement has a syntax error
  3. The statement displays the entire fields from emp in which the Empname is ALI in any order
  4. The statement displays the entire fields from emp in which the Empname is ALI in descending order of their age

 

 

10 - Which of the following syntax of the functions in SQL is used to add column values?

 

  1. COUNT(*)
  2. COUNT(expression)
  3. SUM(expression)
  4. MAX(expression)

Answers:

Member's Avatar

Pupil
Karma Points: 64
Date Posted: 7/21/2008 2:29:48 PM  Status: Live
Asker's Rating: Lifesaver   
Response:
 
 
 

A

Quiz [Lecture 23 - 31]

 

* All questions are mandatory.

 

 

1 - Table (relation) size reduces due to ______________.

 

  1. Horizontal Partitioning
  2. Vertical Partitioning
  3. Query Optimization
  4. Replication

 

 

2 – Consider the following relation,

Relation-X (stId, sName, sAdr, sPhone, cgpa, prName, school, mtMrks, mtSubs, clgName,intMarks, intSubs, dClg, bMarks, bSubs)

 

R1 (stId, sName, sAdr, sPhone, cgpa, prName)

R2 (sId, school, mtMrks, mtSubs, clgName, intMarks, intSubs, dClg, bMarks,

bSubs)

 

Which type of partitioning is performed on Relation-X?

 

a.       Horizontal Partitioning

b.      Vertical Partitioning

c.       Replication

d.      None of above

 

 

3 - If we place records from different tables in adjacent ____________, it would increase efficiency of a database.

 

  1. Physical location
  2. Table
  3. Form
  4. empty location

 

 

4 - Truncate command response time is ______ as compared to Delete command.

 

a.       Poor

b.      Same

c.       Better

d.      Worst

 

 

5 - The following SQL statement reflects as _________ in relational algebra.

 

Select * from relation1;

 

  1. Projection Statement
  2. Selection Statement

 

 

6 - The following SQL statement reflects as ______________ in relational algebra.

 

Select * from relation1 where a = b;

 

  1. Projection Statement
  2. Selection Statement

 

 

7 - Consider the two relations,

Supplier (S_no, S_name, Contact_No, Address) and

Supply (S_no, Item_no).

 

Which of the following statements give(s) a list of supplier names supplying the item with Item_no ‘555’?

 

  1. SELECT S_name FROM Supplier WHERE Item_no=’555’
  2. SELECT S_name FROM Supplier, Supply WHERE Supplier.S_no=Supply.S_no AND Item_no=’555’
  3. SELECT S_name FROM Supplier WHERE S_no EXISTS (SELECT S_no FROM Supply WHERE Item_no=’555’)
  4. SELECT S_name FROM Supplier WHERE S_name EXISTS (SELECT S_name FROM Supply WHERE Item_no='555')

 

 

8 - Consider a table named “emp” having fields Empname, EmpID, Age, salary.

Which of the following is true if the following SQL statement tries to execute?

 

SELECT *

FROM emp

WHERE Empname=’ALI’;

 

  1. The statement has a syntax error
  2. The statement only displays the EmpID of those employees whose name is ALI
  3. The statement displays the entire fields from emp in which the Empname is ALI
  4. The statement must have an ORDERBY clause

 

 

9 - Consider a table named “emp” having fields Empname, EmpID, Age, salary.

Which of the following is true if the following SQL statement tries to execute?

 

SELECT *

FROM emp

WHERE Empname=’ALI’

ORDERBY Age;

 

  1. The statement displays the entire fields from emp in which the Empname is ALI in ascending order of their age
  2. The statement has a syntax error
  3. The statement displays the entire fields from emp in which the Empname is ALI in any order
  4. The statement displays the entire fields from emp in which the Empname is ALI in descending order of their age

 

 

10 - Which of the following syntax of the functions in SQL is used to add column values?

 

  1. COUNT(*)
  2. COUNT(expression)
  3. SUM(expression)
  4. MAX(expression)

 

 

sailingbreez's Comment:
Faiza thanks a lot,




By reading or posting messages on these forums, you are agreeing to the Answer Board's Terms of Service and Conduct (TSC).


About Cramster | Terms of Use | Privacy Policy | Contact Us | Press Room | Site Map | Support | Anti-Cheating Policy

Cramster.com is not affiliated with any publisher. Book covers, title and author names appear for reference only.
Copyright © 2008 Cramster, Inc.