Python application that applies concepts of generators in Python.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
  • create a Python application that applies concepts of generators in Python.
  • Scenario: You are to create an application that simulates the functions of an online registration form for a workshop. The user will be able to enter multiple names into the registration list. The names will be entered in the format of "Lastname, Firstname". Once the user is satisfied, they can then choose to stop entering names into the registration list. After registration is done, each of the attendees to the workshop will be assigned a schedule based on their last name.
  • The schedule of the workshops based on the last names are as follows:
    • FIRST BATCH: Last names from M-S
      • SCHEDULE: Monday, 10:30 am - 4:30 pm, Room M308
    • SECOND BATCH: Last names from G-L
      • SCHEDULE: Wednesday, 1:30 pm - 7:30 pm, Room M307
    • THIRD BATCH: Last names from A-F
      • SCHEDULE: Thursday, 8:30 am - 2:30 pm, Room M305
    • FOURTH BATCH: Last names from T-Z
      • SCHEDULE: Friday, 3:30 pm - 9:30 pm, Room M306
  • The application will automatically print out the schedule and the list of users under that specific schedule after the user has entered the names. In other words, the outputs will be organized based on the 4 given schedules of the workshop. Based on the last name of each entry, a user will be placed under one of the workshop schedules.
  • The application must make use of generators in the source code. How you implement this is up to you, as long as you are applying the concepts of generators to achieve the requirements of the activity. 
Welcome and thank you for your interest in our workshop!
Please enter the names of the participants who would like to join the workshop.
Kindly use the format LASTNAME, FIRSTNAME when entering the names.
Type 'stop' to stop adding to the registration list.
Hanbal, Ibrahim
Schultz, Arooj
Potter, Zubair
Coulson, Grace
Gilliam, Hashim
Graham, Daria
Guzman, Arisha
Carty, Savanna
Pena, Izzie
Nieves, Calista
Flowers, Mysha
Worthington, Zakariya
Nicholson, Kaif
Tatcher, Julien
Sherman, Miya
Rosales, Donald
Medina, Kellan
Wills, Jeffery
Briggs, Lianne
stop
Thank you for registering for our event! Here are the schedules for all participants!
Transcribed Image Text:Welcome and thank you for your interest in our workshop! Please enter the names of the participants who would like to join the workshop. Kindly use the format LASTNAME, FIRSTNAME when entering the names. Type 'stop' to stop adding to the registration list. Hanbal, Ibrahim Schultz, Arooj Potter, Zubair Coulson, Grace Gilliam, Hashim Graham, Daria Guzman, Arisha Carty, Savanna Pena, Izzie Nieves, Calista Flowers, Mysha Worthington, Zakariya Nicholson, Kaif Tatcher, Julien Sherman, Miya Rosales, Donald Medina, Kellan Wills, Jeffery Briggs, Lianne stop Thank you for registering for our event! Here are the schedules for all participants!
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY