Answered step by step
Verified Expert Solution
Question
1 Approved Answer
in python Question 1 (10 points): Course information Write a program that creates a dictionary containing course numbers and the room numbers of the rooms
in python Question 1 (10 points): Course information Write a program that creates a dictionary containing course numbers and the room numbers of the rooms where the courses meet. The dictionary should have the following key-value pairs: Course Number (key) Room Number (value) CS101 13004 CS102 4501 CS103 INT110 1244 CM241 6755 The program should also create a dictionary containing course numbers and the names of the instructors that teach each course. The dictionary should have the following key-value pairs: Course Number key) CS101 CS102 CS103 NT110 CM241 Instructor (value) Haynes Alvarado Rich Burke Lee The program should also create a dictionary containing course numbers and the meeting times of each course. The dictionary should have the following key-value pairs: Course Number (key) Meeting Time (value) CS101 18:00 am 19:00 a.m. CS102 CS103 10:00 am NT110 11:00 a.m. CM241 1:00p.m. The program should let the user enter a course number, then it should display the course's room number, instructor, and meeting time. Otherwise, display invalid course number. Please see the run samples below. Sample run 1 Enter a course number: CS101 The details for course CS101 are: Room: 3004 Instructor: Haynes Time: 8:00 am Sample run 2 Enter a course number: CS201 CS201 is an invalid course number. Question 1 (10 points): Course information Write a program that creates a dictionary containing course numbers and the room numbers of the rooms where the courses meet. The dictionary should have the following key-value pairs: Course Number (key) Room Number (value) CS101 13004 CS102 4501 CS103 INT110 1244 CM241 6755 The program should also create a dictionary containing course numbers and the names of the instructors that teach each course. The dictionary should have the following key-value pairs: Course Number key) CS101 CS102 CS103 NT110 CM241 Instructor (value) Haynes Alvarado Rich Burke Lee The program should also create a dictionary containing course numbers and the meeting times of each course. The dictionary should have the following key-value pairs: Course Number (key) Meeting Time (value) CS101 18:00 am 19:00 a.m. CS102 CS103 10:00 am NT110 11:00 a.m. CM241 1:00p.m. The program should let the user enter a course number, then it should display the course's room number, instructor, and meeting time. Otherwise, display invalid course number. Please see the run samples below. Sample run 1 Enter a course number: CS101 The details for course CS101 are: Room: 3004 Instructor: Haynes Time: 8:00 am Sample run 2 Enter a course number: CS201 CS201 is an invalid course number
in python
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started