A course_assignments table has (professor, course, room) where a professor can teach in multiple roo
A medium Data Modeling mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Data Modeling
- Difficulty
- medium
Interview Prompt
A course_assignments table has (professor, course, room) where a professor can teach in multiple rooms and multiple courses. A room determines the building. Extract building into a separate table to achieve BCNF.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your data modeling solution with real code execution
- Get instant feedback and a hire/no-hire decision