Aspire Faculty ID #17539 · Topic: UGC NET Computer Science August 2024 (Paper II) · Just now
UGC NET Computer Science August 2024 (Paper II)

Which of the following tasks could be attained using syntax trees in compiler design ?

(A) Type Checking
(B) Code Generation
(C) Code Optimization
(D) Error Handling

Choose the correct answer from the options given below :

Solution

Syntax trees (Abstract Syntax Tree – AST) are used in later compiler phases.


(A) Type Checking → Done using syntax tree ✔


(B) Code Generation → Uses syntax tree ✔


(C) Code Optimization → Uses syntax tree representation ✔


(D) Error Handling → Mainly done during lexical / syntax analysis ✘


Thus correct tasks:


(A), (B), (C)

Previous 10 Questions — UGC NET Computer Science August 2024 (Paper II)

Nearest first
1
Which of the following best describes the structure of a relational database ?
Topic: UGC NET Computer Science August 2024 (Paper II)
2
Which of the following is correct way to declare a functional pointer in C ?
Topic: UGC NET Computer Science August 2024 (Paper II)
3
Match List - I with List - II. List - I (Queries) List - II (Probability) (A) A bag contains 6 white and…
Topic: UGC NET Computer Science August 2024 (Paper II)
4
Match List - I with List - II. List - I (Recurrence Relations)List - II (Complexity)  (A) $T(n)=2T(n/2)+…
Topic: UGC NET Computer Science August 2024 (Paper II)
5
Arrange the following steps of Feature Driven Development (FDD) process in the correct sequence :(A) Develop an overall…
Topic: UGC NET Computer Science August 2024 (Paper II)
6
Which of the following statements are TRUE about Process Control Block (PCB) ?(A) The PCB contains information about th…
Topic: UGC NET Computer Science August 2024 (Paper II)
7
Match List - I with List - II. List - I (operating system concepts)List - II (characteristics)  (A) Pagi…
Topic: UGC NET Computer Science August 2024 (Paper II)
8
Select the Sorting Algorithms that are stable.(A) Quick Sort(B) Bubble Sort(C) Insertion Sort(D) Merge Sort(E) Shell So…
Topic: UGC NET Computer Science August 2024 (Paper II)
9
Arrange the following steps of file handling in C in the correct order :(A) Close the file(B) Read from or write to the…
Topic: UGC NET Computer Science August 2024 (Paper II)
10
Consider the three-way handshaking process followed during TCP connection establishment between two hosts A and B. Let …
Topic: UGC NET Computer Science August 2024 (Paper II)

Next 10 Questions — UGC NET Computer Science August 2024 (Paper II)

Ascending by ID
1
Given a project with an estimated effort of 1500 person-hours and a team of 5 people, how many days will it take to com…
Topic: UGC NET Computer Science August 2024 (Paper II)
2
Consider the following C code :#include<stdio.h>int temp = 0;int fun(int x, int y){    int z;  &nb…
Topic: UGC NET Computer Science August 2024 (Paper II)
3
Let $P$ be “It is hot day” and $q$ be “The temperature is $48^\circ C$”. Write in simple sentences the meaning of $\neg…
Topic: UGC NET Computer Science August 2024 (Paper II)
4
Let $L(x,y)$ be the statement “$x$ loves $y$” where the domain for both $x$ and $y$ consists of all people in the world…
Topic: UGC NET Computer Science August 2024 (Paper II)
5
Consider the following relations on ${1,2,3,4}$. Which of the following relations are reflexive ?(A) $R_1={(1,1),(1,2),…
Topic: UGC NET Computer Science August 2024 (Paper II)
6
Fifth normal form is concerned with :
Topic: UGC NET Computer Science August 2024 (Paper II)
7
A coin is tossed successively three times. Find the Probability $(P)$, Event $(E)$, Sample space $(S)$ of getting exact…
Topic: UGC NET Computer Science August 2024 (Paper II)
8
Consider the given number $(45)_y$ where $y$ is the base of the number. Some of the possible values of $y$ are given be…
Topic: UGC NET Computer Science August 2024 (Paper II)
9
Match List - I with List - II. List - IList - II  (A) HTML (I) Allow for dynamic and interactive we…
Topic: UGC NET Computer Science August 2024 (Paper II)
10
Arrange the following stages of parsing in the correct order as they typically occur in the compilation process.(A) Lex…
Topic: UGC NET Computer Science August 2024 (Paper II)
Ask Your Question or Put Your Review.

loading...