Question
Angles of a triangle are in the ratio 4 : 6 : 8. Find
the measure of the middle angle of the triangle.Solution
Let the measure of the angles of the given triangle be '4x°', '6x°', and '8x°', respectively. Sum of angles of a triangle = 4x + 6x + 8x = 180° So, x = (180°/18) = 10° Therefore, the middle angle of the triangle = 6x = 6 × 10° = 60° Hence, option b.
Which of the following is TRUE about symbol tables?
In a compiler, lexical analysis is responsible for:
In a Syntax-Directed Definition (SDD), attributes are associated with:
Dynamic memory allocation (e.g., using `malloc` or `new`) typically occurs in which part of the runtime memory?
Which of the following is the first phase of a compiler?
Which of the following tasks is NOT performed during lexical analysis?
Common Subexpression Elimination (CSE) is an optimization technique that:
Which of the following is the first phase of a compiler?
A "parser" is primarily responsible for which phase of compilation?
Which of these is a bottom-up parser?