CSE 511 Week 1 Exam Questions With
Verified And Updated Answers
What is the role of a relationship in a database? - answer✔It connects two entities.
Which of the following can be an entity name in a database?
- Gender
- Student
- First Name
- Age - answer✔Student can be an entity name because it is an object with multiple
characteristics, such as name, address, phone number, etc.
What is required in order to use the cartesian product operator on two relations? - answer✔It
can be applied to any two relations without a requirement.
Consider two relations A and B in a database. Relation A has 5 rows and relation B has 3 rows.
How many rows are produced if we apply the cartesian product operation to A and B? -
answer✔15 b/c The number of rows created by the cartesian product is found by multiplying
the number of rows in each relation. The new table should have the columns of BOTH previous
tables
Which mathematical operator must be used in order to display information about students who
are majoring in Computer Science but not in Electrical Engineering? - answer✔Difference
Which statement about the selection operator is true? - answer✔It filters certain tuples in a
relation based on given criteria.
Which mathematical operator must be used in order to display information about students who
are majoring in both Computer Science and Electrical Engineering? - answer✔Intersection
Which mathematical operation must be completed before the ϴ-Join operation? -
answer✔Cartesian Product
1|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 $7.99. You're not tied to anything after your purchase.