Discussion
A basic block is
Answer: C
Correct answer: a maximal sequence of instructions entered only at its first
A basic block is a straight-line sequence with one entry, at the top, and one exit, at the bottom - no branch enters part-way and none leaves except at the end.
That property is what makes it the unit of local optimisation: within a block, execution is guaranteed to run from first instruction to last, so the compiler can reason about the sequence without considering alternative paths. "Maximal" matters, the block being extended until a branch or a label forces a boundary.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development