GATE (Graduate Aptitude Test in Engineering) Computer Science: Questions 914 - 915 of 2080

Access detailed explanations (illustrated with images and videos) to 2080 questions. Access all new questions- tracking exam pattern and syllabus. View the complete topic-wise distribution of questions. Unlimited Access, Unlimited Time, on Unlimited Devices!

View Sample Explanation or View Features.

Rs. 550.00 -OR-

How to register? Already Subscribed?

Question 914

Appeared in Year: 2017 (UGC-NET)

Question

Match List-Ⅰ List-Ⅱ▾

Match the description of several parts of a classic optimizing compiler in List – I, with names of those parts in List – II: (November Paper II)

List-Ⅰ (Parts of a Classic Optimizing Compiler)List-Ⅱ (Names Ofparts)
(A)

A part of a compiler that takes as input a stream of words along with their associated syntactic categories.

(i)

Parser

(B)

A part of a compiler that understand the meaning of variable names and other symbols and checks that they are used in ways consistent with their definitions.

(ii)

Optimizer

(C)

A part of a compiler that is responsible for recognizing syntax.

(iii)

Scanner

(D)

An IR-to-IR transformer that tries to improve the IR program in some way (Intermediate Representation) .

(iv)

Semantic Analysis

Choices

Choice (4)Response
  • (A)
  • (B)
  • (C)
  • (D)

a.

  • (i)
  • (iii)
  • (ii)
  • (iv)

b.

  • (iii)
  • (iv)
  • (i)
  • (ii)

c.

  • (i)
  • (iii)
  • (iv)
  • (ii)

d.

  • (ii)
  • (iii)
  • (iv)
  • (i)

Question 915

Question

MCQ▾

Consider the following left associative operators in decreasing order of precedence:

– Subtraction (highest precedence)

⚹ Multiplication

$ Exponentiation (lowest precedence)

What is the result of the following expression?

Choices

Choice (4)Response

a.

1372

b.

512

c.

64

d.

Developed by: