CSE 511 Week 1-4 Questions And Accurate Answers
100% Correct
CSE 511 Week 1
What is the purpose 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 the name of an entity because it's an object with several
characteristics, such as the name, address, phone number, etc.
What does one need for the cartesian product operator to be applied to two relations? -
ANSWER There is no need for anything, it can be applied to any two relations.
Consider two relations A and B in a database. Relation A contains 5 rows and relation B
contains 3 rows. How many rows does the cartesian product operation produce if
applied 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 contain the columns of BOTH previous tables
What is the name of the mathematical operator that would be utilized to show the list of
students who are majoring in Computer Science but not in Electrical Engineering? -
ANSWER Difference
, What does the statement regarding the selection operator state is its characteristic? -
ANSWER It filters some tuples in a relation based on given criteria.
Which of the following mathematical operator needs to be applied to present details on
the students majoring in Computer Science AND Electrical Engineering? - ANSWER
Intersection
Which one of the following mathematical operations has to be executed prior to the
execution of the ϴ-Join? - ANSWER Cartesian Product
Which of the following functions necessitates the use of a database management
application since spreadsheet applications cannot carry it out? - ANSWER Create
multiple user types
What does establish a relationship between two entities in the database? - ANSWER
Relationship
What is the name of the operation used for joining two relations? - ANSWER Theta
(unsure)
Which operator should be used to show students majoring in Mathematics or Physics? -
ANSWER Union
Which one of the following two operators has to be necessarily used after another? -
ANSWER Cartesian Product, ϴ-Join
What does the DISTINCT command do in a SQL query? - ANSWER To remove duplicate
rows
What is a specific query that retrieves data from one or more tables? - ANSWER View
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 Easton. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $17.99. You're not tied to anything after your purchase.