write the Z-Notation for these statements. -The set of all customers that did not book a class yet, which customers are in this set. -Set of all Courses with the type Yoga that are booked by a customer. Which courses are in this set. -Predicate that evaluates to true if there is a customer who booked at least 2 classes. Is this true or false?
write the Z-Notation for these statements. -The set of all customers that did not book a class yet, which customers are in this set. -Set of all Courses with the type Yoga that are booked by a customer. Which courses are in this set. -Predicate that evaluates to true if there is a customer who booked at least 2 classes. Is this true or false?
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
write the Z-Notation for these statements.
-The set of all customers that did not book a class yet, which customers are in this set.
-Set of all Courses with the type Yoga that are booked by a customer. Which courses
are in this set.
-Predicate that evaluates to true if there is a customer who booked at least 2 classes.
Is this true or false?
Example of Z-Notation:
∀t : Trainer • ∃c : course • (t,c) ∈Teaches

Transcribed Image Text:Teaches association between Owner/Teacher and Course
Gym Owner: Owner
name = GymOwner
email = gymowner@gym.com
password=gymowner
Trainer 1: Trainer
name Trainer1
email trainer1@gym.com
password = trainer1
credit - 3
Trainer 2: Trainer
name Trainer2
email trainer2@gym.com
password = trainer2
credit = 2
Wrestling : Course
time = 2
type = Wrestling
id = 1
private=false
Boxing: Course
time = 2
type = Boxing
id = 2
private = false
Weightlifting Course
time = 2
type
id=3
private = false
Weightlifting
Yogal: Course
time = 3
type = Yoga
id = 4
private = true
Yoga2: Course
time = 4
type = Yoga
id = 5
private = false
Customer 1: Customer
name Customer1
email= customer1@gym.com
password
customer1
classcredit
class credit - 0
Customer 2: Customer
name Customer2
email customer2@gym.com
password = customer2
classcredit
class credit = 1
Customer 3: Customer
name Customer3
email customer3@gym.com
password customer
classcredit
class credit = 4
Customer 4: Customer
name Customer4
email = customer4@gym.com
password = customer4
classcredit
class credit = 5
Customer 5: Customer
name Customer5
email customer5@gym.com
password customer5
classcredit
class credit 1
Customer 6: Customer
name Customer6
email customer6@gym.com
customer6
password
classcredit
class credit = 10
Customer 7: Customer
name Customer7
email customer7@gym.com
customer7
password
classcredit
class credit = 2
Books association between Course and Customer
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education