Question
Find the largest number which should replace 'x' in the
number 5736x2, to make the number divisible by 4.Solution
For a number to be divisible by 4, the last two digits of the number should be divisible by 4. Last two digits of the number are 'x2'. 'x2' is divisible by 4, when x = 0 or 2 or 4 or 6 or 8. Therefore, the largest value of 'x' such that the given number is divisible by 4 is 8.
Which of the following is the first phase of a compiler?
The surface area of tape is ________ the surface area of a disk.
In LR parsing, what does the term "shift" mean?
Which of the following is a technique used in code optimization?
An S-attributed SDD (Syntax-Directed Definition) is one where:
Which of the following is a correct way to declare and initialize a pointer to an integer in C?
Which technique is used to handle left recursion in a grammar?
The primary role of the parser is to:
Which of the following tasks is NOT performed during lexical analysis?
Which phase of a compiler is responsible for creating a stream of tokens from the input source code?