
Class Activity

Quiz
•
Information Technology (IT)
•
University
•
Easy
Nurul Aziz
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following criteria is least relevant when selecting a language for a safety-critical embedded system?
Reliability
Efficiency
Readability
Writability
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following language criteria are directly related to runtime behavior? (Select two)
Portability
Efficiency
Reliability
Writability
Answer explanation
Explanation: Efficiency refers to runtime performance; reliability involves behavior under various runtime conditions.
3.
REORDER QUESTION
1 min • 1 pt
Rearrange the stages of the compilation process in the correct order:
1. Code Generation
2. Lexical Analysis
3. Intermediate Code Generation
4. Optimization
5. Semantic Analysis
Code Generation
Semantic Analysis
Lexical Analysis
Intermediate Code Generation
Optimization
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Language X is highly readable but has poor reliability. Language Y has moderate readability and high reliability.
Which is more suitable for a financial transaction system?
Language X
Language Y
Answer explanation
Reliability is crucial in financial systems to avoid unexpected crashes or incorrect behavior.
5.
DROPDOWN QUESTION
1 min • 1 pt
Match the feature with how it improves writability and reliability in a programming language.
Strong type inference - (a)
Real-time error hints - (b)
6.
DRAW QUESTION
3 mins • 1 pt
Draw a parse tree using the Backus-Naur Form (BNF) grammar for the following expression:
(a + b) * (c + d)
Assume standard operator precedence and associativity: parentheses first, then addition, then multiplication.

Answer explanation
*
/ \
+ +
/ \ / \
a b c d
7.
CLASSIFICATION QUESTION
3 mins • 1 pt
Organize these characteristics into the correct semantic timing category.
Drag each item to either Static or Dynamic Semantic.
Groups:
(a) Static Semantic
,
(b) Dynamic Semantic
Evaluated during execution
Type checking
Use of types and naming rules
Checked at compile-time
Affects runtime behavior
Use of undeclared variables
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Quiz on Lexical and Syntax Analysis

Quiz
•
University
10 questions
PL1 - Ch1

Quiz
•
University
15 questions
ICT G7 Chapter 2.2 Direct Data Entry Devices

Quiz
•
7th Grade - University
15 questions
NLP TI

Quiz
•
University
12 questions
TcP252_k32_FQ1

Quiz
•
University
15 questions
Introduction to Programming

Quiz
•
University
9 questions
Understanding Tokenization in Language Models

Quiz
•
University
10 questions
แบบทดสอบ Unit D

Quiz
•
4th Grade - University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade