T/F: The CHAR data type represents a variable string of characters Answer -
False
Match the transaction behavior to the described situation. A program is adding
a penalty fee to an account that is below $1000 while another program is
adding $2000 to the same account Answer - Prevent conflicts between
concurrent transactions
Databases must ensure that transactions that access the same data at the
same time do not produce a conflict. The fee is not added if the $2000 is added
to the account first.
Maxima and minima usually depend on business rules Answer - True
Although some maxima and minima are universal, most depend on business
rules and are determined during interviews and document review
Refer to the following database requirements, and match the term with the
example:
All exams belong to a course. A course must exist before course exams are
created. When a course is deleted, course exams are also deleted. Courses are
always part of an academic department. We set up academic departments in
the database before we add courses.
Ex: Course and AcademicDepartment Answer - Master Entity
T/F: Some time data types include time zone Answer - True
TIMESTAMP usually includes time zone. DATE does not include time zone.
Details vary by database system
,T/F: Analysis considers details of a specific database Answer - False
T/F: A binary data type stores data as a exact copy of computer memory
Answer - True
A value stored in binary format is an exact copy of computer memory. With
other data types (i.e. decimal) the database often converts the computer
memory ot a different format
T/F: SQL is a general-purpose programming language Answer - False
SQL was specifically designs for database queries and lacks many features
needed for programming applications
Which role uses an application to query a database and generate a report?
Answer - Database users
T/F: Entities, relationships, and attribute keys always map directly to tables,
foreign keys, and columns, respectively Answer - False
In the logical design phase, entities, relationships and attributes usually
become tables, foreign keys, and columns. Sometimes, however, an entity splits
into several tables, several entities merge into one table, and relationships and
attributes become tables
If the Department column is designated NOT NULL, what happens when a user
attempts to insert a new employee without a department value? Answer - The
database rejects the insert
What are the components of a column? Answer - Name and data type
A column ha both a name and data type. The name and data type are specified
in the SQL when a table is created
, We track the grade point average & telephone number for all students. We also
track the phone number for faculty & administrative staff. Faculty have an
academic ranking, like "Assistant Professor" or "Adjunct Professor".
Administrative staff are either hourly or salaried, which we call employment
status.
The requirements are modeled as a supertype entity Person with subtypes
Student, Faculty, & Administrator.
Which entity does GradePointAverage belong to? Answer - Student
Which role is responsible for defining the detailed database design? Answer -
Database designer
Database designers are responsible for the database design, deciding how data
should be orgnized for quick access
Refer to the following database requirements, and match the term with the
example:
All exams belong to a course. A course must exist before course exams are
created. When a course is deleted, course exams are also deleted. Courses are
always part of an academic department. We set up academic departments in
the database before we add courses.
Ex. AcademicDepartment Answer - Independent Entity
A table is depicted in: Answer - A table diagram
Identification of entities, relationships, and attributes precedes documentation
Answer - Usually
Usually, database designeds identify entities, relationships, and attributes
before documentation. However, the steps are iterative. Additional identifiation
often takes place after names, synonyms, and descriptions are documented.
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 EvaTee. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $18.99. You're not tied to anything after your purchase.