
Concept explainers
Define each of the following terms:
- entity type
- entity-relationship model
- entity instance
- Attribute
- relationship type
- strong entity type
- multivalued attribute
- associative entity
- cardinality constraint
- weak entity
- binary relationship
- derived attribute
- business rule

(a)
Definition of Entity type.
Explanation of Solution
Entity type can be defined as a set of entities which share some common characteristics, behavior and attributes.

(b)
Definition of Entity-relational model.
Explanation of Solution
Entity-relational model represents the logical relationship between the entities and attributes in the database for an organization. it helps in creating database easily and can be understood by all. E-R model can be expressed as entity-relationship diagram also called as (ERD diagram).

(c)
Definition of entity instance.
Explanation of Solution
Entity instance is single occurrence of entity type. Consider an example, suppose employee is an entity type which has many instances. Example of instances can be John, Jenny or any other employee.

(d)
Definition of attribute.
Explanation of Solution
Every entity instance or set has its own attributes. Attributes state the behavior and characteristics of the entity. consider an example of employee here employee is the entity set that consists of various attributes such as name, address, location, employee id, mobile number etc., which states the characteristics of the entity instance or set.

(e)
Definition of relationship type.
Explanation of Solution
Relationship type is the meaningful representation of data between the entity set. It is of four types:
i) one to one relationship: in this type of relationship, one record of the table is associated with one record of another table.
ii) one to many relationships: In this type of relationship, one record of first table can be associated with N numbers of records of the other table.
iii) many to one relationship: In this type of relationship, many or N number of records of the first table can be associated with one record of the other table.
iv) many to many relationshipsIn this type of relationship N number of records of first table can be associated with N numbers of records of the other table.

(f)
Definition of Strong entity type.
Explanation of Solution
Strong entity type: Strong entity is an entity which is not dependent on any other entity. For example, tire can be considered as an example of the strong entity as its existence does not depend on any vehicle entity set.

(g)
Definition of multi-valued attribute.
Explanation of Solution
Multivalued attributes are those which takes some values from the entity instance. For example, in the employee entity set address is a multi-value attribute it can hold the permanent and temporary address of the employee.

(h)
Definition of associative entity.
Explanation of Solution
Associative entity provides association between the given entity set or instance. An entity is associative only if it has all the entity set or instance involved in the many relationships. The result associative entity should be independent.

(i)
Definition of cardinality constraints.
Explanation of Solution
Cardinality constraints specify the number of elements associated with each other between the two tables. It can be of two types; minimum cardinality and maximum cardinality.

(j)
Definition of weak entity.
Explanation of Solution
Weak entity depends on another entity for its existence. And it has no importance or existence if the dependent entity does not exist. Example of weak entity can be room, as it depends on building and can exist only if there is any building.

(k)
Definition of Binary relationship.
Explanation of Solution
Binary relationship is used between the instances of two types and are among the most common types of relationship encountered. It supports three types of cardinalities:
i) one to one: consider an example of employee, each employee has its own parking area. Or we can say that the parking area is assigned to the employee.
ii) one to many: it indicates that one product is connected to others through a common product line.
iii) many to many: many students can do many courses and vice versa.

(l)
Definition of Derived attribute.
Explanation of Solution
Derived attribute can be calculated by using the related attributes. Suppose we must find the tenure of an employee, to find age, we need the date of birth and the date of joining of the employee. Thus, tenure of an employee is a derived attribute.

(m)
Definition of business rule.
Explanation of Solution
Business rules are used to provide direction to business and help to lead the progress of the business project. Some business rules are important as they provide logical schema. Database designers need to follow the business rules during the development of the database as per the directions provided by the honor of code. These rules are also used for maintaining the integrity and accuracy of data.
Want to see more full solutions like this?
Chapter 2 Solutions
Modern Database Management
Additional Engineering Textbook Solutions
SURVEY OF OPERATING SYSTEMS
Electric Circuits. (11th Edition)
Management Information Systems: Managing The Digital Firm (16th Edition)
Web Development and Design Foundations with HTML5 (8th Edition)
Degarmo's Materials And Processes In Manufacturing
Mechanics of Materials (10th Edition)
- What is the number of injective functions f from set {1,2,....,2n} to set {1,2,....,2n} so that f(x) >= x for all the 1<= x <= n?arrow_forwardIdeal MOSFET Current–Voltage Characteristics—NMOS Device and draw the circuitarrow_forward1. Create a Person.java file. Implement the public Person and Student classes in Person.java, including all the variables and methods in the UMLS. Person -name: String -street: String -city: String +Person(String name, String, street, String, city) +getName(): String +setName(String name): void +getStreet(): String +setStreet(String street): void +getCity(): String +setCity(String City): void +toString(): String Student -Id: int +Person(String name, String, street, String, city, int Id) +getId(): int +setId(int Id): void +toString(): String 2. Create a StudentTest.java file. Implement a public StudentTest class with a main method. In the main method, create one student object and print the object using System.out.println(). Your printing result must follow the example output: name: Mike, street: Morris Ave, city: Union, Id: 1000 Hint: You need to modify the toString methods in the Student class and Person class!arrow_forward
- 1) Apply the Paint Blue algorithm discussed in class to the following Finite Automata. a a a b b a COIS-3050H-R-W01-2025WI-COMB Formal Languages & Automata a b Show the status of the Finite Automata at the conclusion of the Paint Blue Algorithm (mark the visited states with an X and only include edges that have not been followed). 2) Use the pumping lemma to prove the following language is nonregular: L= {ab} = {abbb, aabbbbbb, aaabbbbbbbbb, ...}arrow_forward3) Find CFGs that for these regular languages over the alphabet Σ= {a, b}. Draw a Finite Automata e CFG. 1 COIS-3050H-R-W01-2025WI-COMB Formal anguages & Automata Is that contain the substring aba. (b) The language of all words that have an odd number letters and contains the string bb. (c) The language of all words that begin with the substring ba and contains an odd number of letters. 4) Convert the following FA into a PDA. a a S± b a a Ν Ꮓarrow_forwardCOIS-3050H-R-W01-2025WI-COMB Formal ministic PDA. Are the following words accepted by this Languages & Automata UI MIUSɩ that aTU I ed, indicate which state the PDA is in when the crash occurs. (a) aabbaa (b) aaabab (c) bababa Start (d) aaaabb A Accept Read₁ Push a (e) aaaaaa a b Read, Popi a a,b A Read₂ Accept A Pop₂arrow_forward
- 5) Eliminate the A-productions from the following CFG: Abc COIS-3050H-R-W01-2025WI-COMB Formal Languages & Automata BAabC C CaA | Bc | A 6) Convert the following CFG into CNF. S→ XYZ XaXbS | a |A YSbS | X | bb Z→ barrow_forwardNeed help answering these questions!1. Design a While loop that lets the user enter a number. The number should be multiplied by 10, and the result stored in a variable named product. The loop should iterate as long as the product contains a value less than 100. 2. Design a For loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 . . . 1000 3. Convert the While loop in the following code to a Do-While loop: Declare Integer x = 1 While x > 0 Display "Enter a number." Input x End Whilearrow_forwardNeed help with these:Design a While loop that lets the user enter a number. The number should be multiplied by 10, and the result stored in a variable named product. The loop should iterate as long as the product contains a value less than 100. 2. Design a For loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 . . . 1000 3. Convert the While loop in the following code to a Do-While loop: Declare Integer x = 1 While x > 0 Display "Enter a number." Input x End Whilearrow_forward
- Convert the While loop in the following code to a Do-While loop: Declare Integer x = 1 While x > 0 Display "Enter a number." Input x End Whilearrow_forwardPython - need help creating a python program that will sum the digits of a number entered by the user. For example if the user inputs the value 243 the program will output 9 because 2 + 4 + 3 = 9. The program should ask for a single integer from the user, it should then calculate the sum of all the digits of that number and output the result.arrow_forwardI need help with this in Python (with flowchart): Im creating a reverse guessing game. Then to choose a random number from 1 to 100 and the computer program will attempt to guess it, displaying the directions calculated or not. The guess will be displayed and the user will answer if it was correct or not. If correct, the game ends, if not then the computer asks if the guess was too high or too low. Finally inputting an answer and the computer generates a new guess within the proper range. Oh and to make sure the program doesnt guess outside of the ranges produced by the inputs of “too high” and “too low”. The program ending when the user guesses correctly or after the program takes 6 guesses. HELP ASAP!arrow_forward
- Database Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781305627482Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningFundamentals of Information SystemsComputer ScienceISBN:9781305082168Author:Ralph Stair, George ReynoldsPublisher:Cengage Learning
- Principles of Information Systems (MindTap Course...Computer ScienceISBN:9781285867168Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781285196145Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos CoronelPublisher:Cengage LearningPrinciples of Information Systems (MindTap Course...Computer ScienceISBN:9781305971776Author:Ralph Stair, George ReynoldsPublisher:Cengage Learning





