Navigation Menu
Home Blog Latest Notices
HAT Subject 2026 Compiler Construction Free Quiz 11
100% Free

HAT Subject 2026 Compiler Construction Free Quiz 11

Practice HAT Subject 2026 HEC Aptitude Test Computer Science MCQs from Compiler Construction. Get instant results with Explanation.

101. What is a closure?



102. What determines variable binding in lexical scoping?



103. What is a continuation?



104. What is tail recursion?



105. What are first-class functions?



106. When does a macro expand?



107. Which language uses templates?



108. What does generic programming allow?



109. What does type inference do?



110. What does a polymorphic function do?



← Back to Quiz Sets
Instructions: Select one answer per question (you may skip questions). After submitting, you will see your score, correct answers, and explanations.

📋 HAT Subject Entry Test Information

HAT Subject Test

Conducting Body: Higher Education Commission (HEC)
Frequency: Quarterly | Time: 120 Minutes
Negative Marking: No

⚡ Official Test Pattern (Total: 100 MCQs):

Merit Formula: There is no single HEC merit calculation formula for HAT Subject Test. Universities determine their own merit criteria. Common weightages include: 30% Academic + 50% HAT + 20% Interview (only where specified by the university)

Medical Colleges in Pakistan

Explore medical institutions city‑wise – public & private.

Browse All Medical Colleges →

❓ Frequently Asked Questions about HAT Subject

What is the subject breakdown for HAT Subject?

Computer Sciences (100 MCQs), Electrical Engineering (100 MCQs), Software Engineering (100 MCQs)

How many total MCQs are in HAT Subject?

100 MCQs

Who is the conducting body for HAT Subject?

Higher Education Commission (HEC)

What is the merit calculation formula for HAT Subject?

There is no single HEC merit calculation formula for HAT Subject Test. Universities determine their own merit criteria. Common weightages include: 30% Academic + 50% HAT + 20% Interview (only where specified by the university)

What is the exam duration for HAT Subject?

120 minutes