Question 7 You are given a list of courses that are currently available in BRACU that looks like the following: courses = ['CSE110','CSE111','MAT620','CSE520','EI 61','CSE650','MAT510']. All courses till 400 level (499) are for the undergraduate students whereas any courses above 500 are for the graduate c masters students. Write a python program that creates a dictionary from the above list where the ke will be each department name (CSE,EEE,MAT for the above example) ar their values will be a dictionary of two keys Undergraduate Courses and Graduate Courses. Each key will have courses that fall in Undergraduate and Graduate level respectively.

Database Systems: Design, Implementation, & Management
11th Edition
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Chapter10: Transaction Management And Concurrency Control
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

7.

Question 7
You are given a list of courses that are
currently available in BRACU that looks like
the following:
courses =
['CSE110','CSE111','MAT620','CSE520','EEE3
61','CSE650','MAT510'].
All courses till 400 level (499) are for the
undergraduate students whereas any
courses above 500 are for the graduate or
masters students.
Write a python program that creates a
dictionary from the above list where the keys
will be each department name
(CSE,EEE,MAT for the above example) and
their values will be a dictionary of two keys -
Undergraduate Courses and Graduate
Courses.
Each key will have courses that fall in
Undergraduate and Graduate level
respectively.
Transcribed Image Text:Question 7 You are given a list of courses that are currently available in BRACU that looks like the following: courses = ['CSE110','CSE111','MAT620','CSE520','EEE3 61','CSE650','MAT510']. All courses till 400 level (499) are for the undergraduate students whereas any courses above 500 are for the graduate or masters students. Write a python program that creates a dictionary from the above list where the keys will be each department name (CSE,EEE,MAT for the above example) and their values will be a dictionary of two keys - Undergraduate Courses and Graduate Courses. Each key will have courses that fall in Undergraduate and Graduate level respectively.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Types of Database Architectures
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning