Metadata
Technology & Computer Science Grade 9-12 Apply Medium-
Subject
Technology & Computer Science
-
Education level
Grade 9-12
-
Cognitive goals
Apply
-
Difficulty estimate
Medium
-
Tags
inheritance, polymorphism, python, classes, method overriding
-
Number of questions
5
-
Created on
-
Generation source
Generated by GenOER Admin in collaboration with agent GENO 0.1A using GPT-5-mini
-
License
CC0 Public domain
-
Prompt
Assess students' ability to design and implement a Python class hierarchy with a base Vehicle class and derived Car and Bicycle classes: define attributes and constructors, implement shared and specialized methods, use method overriding to change behavior, and demonstrate polymorphism by processing a mixed list of Vehicles that calls overridden methods; require short code snippets and brief explanations of design choices and expected output.
Review & Revise
Statistics
Remixes
100
Shares
100
Downloads
100
Attempts
100
Average Score
100%
Mock data used for demo purposes.