Syntax Analyser - Compilers Questions and Answers - Sanfoundry PDF

Title Syntax Analyser - Compilers Questions and Answers - Sanfoundry
Author code with joey
Course Compiler Construction
Institution Government College University Faisalabad
Pages 7
File Size 267.8 KB
File Type PDF
Total Downloads 97
Total Views 162

Summary

Download Syntax Analyser - Compilers Questions and Answers - Sanfoundry PDF


Description

3/11/2021

Syntax Analyser - Compilers Questions and Answers - Sanfoundry



Compilers Questions and Answers – Syntax Analyser – 1 « Prev

Next »

This set of Compilers Multiple Choice Questions & Answers (MCQs) focuses on “Syntax Analyser – 1”. 1. Which a) First c) Third d) None of the mentioned View Answer Answer: b Explanation: It is Second Phase Of Compiler after Lexical Analyzer.



https://www.sanfoundry.com/compilers-questions-answers-syntax-analyser-1/

1/7

3/11/2021

Syntax Analyser - Compilers Questions and Answers - Sanfoundry

2. is also known as ___________ a) Hierarchical Analysis b) Hierarchical Parsing c) None of the mentioned

View Answer Answer: d Explanation: It is also called as Hierarchical Analysis or Parsing. 3.

of source Program into Grammatical Production.

a) b) False View Answer Answer: a Explanation: It Groups Tokens of source Program into Grammatical Production. 4. From where it takes its input from? a) Lexical analyser b) Syntactic Analyser c) Semantic Analyser d) None of the mentioned View Answer



https://www.sanfoundry.com/compilers-questions-answers-syntax-analyser-1/

2/7

3/11/2021

Syntax Analyser - Compilers Questions and Answers - Sanfoundry

b) False View Answer Answer: a Explanation: Parsers are expected to parse the whole code even if some errors exist in the program. advertisement

What is Linux Linux Beginner Tutorial

6. a) Syntax

is a formal description of _______________

b) Semantics d) Library View Answer Answer: c Explanation: The grammar clearly indicates which type of structure does a program has. 7. Which of these is not true about the Symbol Table? a) All the labels of the instructions are symbols

https://www.sanfoundry.com/compilers-questions-answers-syntax-analyser-1/



3/7

3/11/2021

Syntax Analyser - Compilers Questions and Answers - Sanfoundry

d) Created during pass 1 View Answer Answer: c Explanation: The Symbol table does not ever perform the processing of the assembler derivative. 8. a) Instruction formats

are Machine-Dependent?

b) Addressing modes c) Program relocation

View Answer Answer: d Explanation: All of these options are features of assembler which are machine dependent. 9. a) Logical Error c) Both Logical and Syntax Error d) Not Logical and Syntax Error View Answer Answer: b Explanation: No compiler can ever check logical errors. advertisement



https://www.sanfoundry.com/compilers-questions-answers-syntax-analyser-1/

4/7

3/11/2021

10.

Syntax Analyser - Compilers Questions and Answers - Sanfoundry

was made up of ______________

a) Transistor b) Vacuum tubes c) Chips

View Answer Answer: d Explanation: It is the only way to increase its throughput. Sanfoundry Global Education & Learning Series – Compilers. To practice all areas of Compilers, here is complete set of 1000+ Multiple Choice Questions and Answers. Participate in the Sanfoundry Certication contest to get free Certicate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs! Telegram | Youtube | LinkedIn | Instagram | Facebook | Twitter | Pinterest « Prev - Compilers Questions and Answers – Lexical Analyser – 2 » Next - Compilers Questions and Answers – Syntax Analyser – 2 advertisement



https://www.sanfoundry.com/compilers-questions-answers-syntax-analyser-1/

5/7

3/11/2021

Syntax Analyser - Compilers Questions and Answers - Sanfoundry

3. C# Programming Examples on Functions 4. Home 5. Javascript Questions and Answers 6. LISP Questions and Answers 7. Analytical Instrumentation Questions and Answers 8. MATLAB Questions and Answers 9. C# Programming Examples on Inheritance 10. Compilers Questions and Answers – SDT Schemes to Specify Translation of various Programming Language Construct – 1 11. Compilers Questions and Answers – The NFA with epsilon-moves to the DFA-2 12. Compilers Questions and Answers – The NFA with epsilon – Moves – 1 13. Compilers Questions and Answers – Top-Down Parsing – 1 14. Compilers Questions and Answers – Cross Compiler – 1 15. Compilers Questions and Answers – Bottom-Up Parsing-1 16. Compilers Questions and Answers – Handle of Right sentinel Grammar – 1 17. Compilers Questions and Answers – Implementation of the Translation Specied by SyntaxDirected Denitions – 1 18. Compilers Questions and Answers – Data Structure for Representing Parsing Table – 1 19. Compilers Questions and Answers 20. Compilers Questions and Answers – Syntax-Directed Denitions and Translations – 2 advertisement

Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CT

https://www.sanfoundry.com/compilers-questions-answers-syntax-analyser-1/



6/7

3/11/2021

Syntax Analyser - Compilers Questions and Answers - Sanfoundry

Advanced C Programming, SAN Storage Technologies, SCSI Internals & Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him @ LinkedIn

Subscribe Sanfoundry Newsletter and Posts Name*

Email*

Subscribe

About | Certications | Internships | Jobs | Privacy Policy | Terms | Copyright | Contact













© 2011-2021 Sanfoundry. All Rights Reserved.



https://www.sanfoundry.com/compilers-questions-answers-syntax-analyser-1/

7/7...


Similar Free PDFs