Module checkpoint

Inheritance, polymorphism and parameterised classes knowledge check

Answer every question from your current understanding. After submission, compare your reasoning with the explanation and revisit any weak concept.

5 QuestionsOne Answer eachImmediate ScoreDetailed Explanations
Read→Reason→Select→Review
Question 1 of 5What decides which body runs when a virtual method is called through a base handle?
Question 2 of 5Where must super.new() appear in a derived constructor?
Question 3 of 5What happens when $cast(derived_h, base_h) is called as a function and the object is not the derived type?
Question 4 of 5What is required of a class derived from a virtual class with a pure virtual method?
Question 5 of 5Why can fifo_model#(byte,8) and fifo_model#(int,16) handles not be assigned to each other?

Review every selection before submitting. You can retry after reading the explanations.