CSE 511 Midterm Review Exam Questions
With Verified And Updated Answers
Which database type is most commonly used to efficiently store unstructured data?
a) Relational database
b)Hadoop
c) NoSQL database
d) Spark - answer✔NoSQL database
In which level of abstraction the logical structure of data is defined?
a) Conceptual Schema
b) External Schema(View)
c) Physical Schema
d) Filesystem Schema - answer✔Conceptual Schema
In the above ER diagram the Works_In relationship is uniquely identified by which entities?
a) did
b) Departments
c) ssn
d) Employees - answer✔Departments
Employees
Which of the following scenario perfectly matches the above ER diagram?
a) Departments can be managed by at most one employee
b) Departments can be managed by all employees
ALL RIGHTS RESERVED.
c)Some employees can manage all departments
d) No departments can be managed by any employee - answer✔Department can be managed
by at most one employee
A weak entity can be identified uniquely only by considering the primary key of owner entity.
True or False? - answer✔True
Suppose there are two tables with names cse_majors (Computer science majors) and
eee_majors(Electrical Engineering majors) with same schema {id, name, class}.
Statement: List the student details for computer science majors who are not electrical
engineering double majors.
For the above statement what is relational algebraic expression below?
a) cse_majors x eee_majors
b) cse_majors U eee_majors
c) cse_majors ^ eee_majors
d) cse_majors - eee_majors - answer✔cse_majors - eee_majors
Table A: 4 tuples
Table B: 3 tuples
How many tuples will result from Cartesian product A x B?
a) 7
b) 12
c) 4
d) 3 - answer✔12
Which of the following will eliminate duplicate items in the target list?
a) FROM
b) SELECT
c) WHERE
d) DISTINCT - answer✔DISTINCT
To sort the result data, which SQL term is used?
2|Page
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller TheStar. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.49. You're not tied to anything after your purchase.