Gate Exam

In a compiler, keywords of a language are recognized during option
(A) parsing of the program
(B) the code generation
(C) the lexical analysis of the program
(D) dataflow analysis

Read Solution (Total 1)

Gate Other Question

Consider a hypothetical processor with an instruction of type LW R1, 20(R2), which during execution reads a 32-bit word from memory and stores it in a 32-bit register R1. The effective address of the memory location is obtained by the addition of constant 20 and the contents of register R2. Which of the following best reflects the addressing mode implemented by this instruction for the operand in memory?
option
(A) Immediate Addressing
(B) Register Addressing
(C) Register Indirect Scaled Addressing
(D) Base Indexed Addressing
A layer-4 firewall (a device that can look at all protocol headers up to the
transport layer) CANNOT
(A) block entire HTTP traffic during 9:00PM and 5:00AM
(B) block all ICMP traffic
(C) stop incoming traffic from a specific IP address but allow outgoing traffic to
the same IP address
(D) block TCP traffic from a specific user on a multi-user system during 9:00PM
and 5:00AM