Question
Four numbers have been given, out of which three are
alike in a certain way and one is different. Select the one that is different.Solution
The logic followed here is as follows: Sum of digit is even. 4653 β 4 + 6 + 5 + 3 = 18 4733 β 4 + 7 + 3 + 3 = 17 6873 β 6 + 8 + 7 + 3 = 24 6853 β 6 + 8 + 5 + 3 = 22
An "activation record" (or stack frame) is created for each function call and typically contains:
Which of these is a bottom-up parser?
Which of the following is NOT a type of intermediate code?
In computer architecture, what is the role of the control unit in a CPU?
Which optimization is performed after intermediate code generation?
Which memory allocation strategy is used for global variables and static variables, where memory is allocated once at compile time and remains throughou...
Which of the following is the first phase of a compiler?
In a Syntax-Directed Definition (SDD), attributes are associated with:
Which of the following techniques is used to ensure that a database design eliminates redundant data?
An S-attributed SDD (Syntax-Directed Definition) is one where: