Write the Z-Notation for these statements. Please type your answers. -Predicate evaluating to true if a specific course with the id X (use X as placeholder for an actual ID) is not yet fully booked. For which courses would this evaluate to true? -Predicate that evaluates to true if a customer with name Y (use that as placeholder for an actual name) is already signed up for a courseID X. -There exists a customer that is signed up for a course from every trainer. Example of Z-Notation: ∀t : Trainer • ∃c : course • (t,c) ∈Teaches
Write the Z-Notation for these statements. Please type your answers. -Predicate evaluating to true if a specific course with the id X (use X as placeholder for an actual ID) is not yet fully booked. For which courses would this evaluate to true? -Predicate that evaluates to true if a customer with name Y (use that as placeholder for an actual name) is already signed up for a courseID X. -There exists a customer that is signed up for a course from every trainer. Example of Z-Notation: ∀t : Trainer • ∃c : course • (t,c) ∈Teaches
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. Please type your answers.
-Predicate evaluating to true if a specific course with the id X (use X as placeholder for an actual ID) is not yet fully booked. For which courses would this evaluate to true?
-Predicate that evaluates to true if a customer with name Y (use that as placeholder for an actual name) is already signed up for a courseID X.
-There exists a customer that is signed up for a course from every trainer.
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.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

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