Want to Know the Answers to NPTEL Compiler Design Assignment 01? This article will tell you the answer to the National Programme on Technology Enhanced Learning (NPTEL) Course “Compiler Design”. So read the complete article carefully.
About the Course: Compiler Design
Compilers have become part and parcel of today’s computer systems. They are responsible for making the user’s computing requirements, specified as a piece of program, understandable to the underlying machine. These tools work as interfaces between the entities of two different domains – the human being and the machine. The actual process involved in this transformation is quite complex.
Automata Theory provides the base of the course on which several automated tools can be designed to be used at various phases of a compiler. Advances in computer architecture, memory management, and operating systems provide the compiler designer large number of options to try out for efficient code generation.
CRITERIA TO GET A CERTIFICATE
Average assignment score = 25% of the average of best 8 assignments out of the total 12 assignments given in the course.
Exam score = 75% of the proctored certification exam score out of 100
Final score = Average assignment score + Exam score
YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF THE AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100.
The certificate will have your name, photograph, and score in the final exam with the breakup. It will have the logos of NPTEL and IIT Roorkee. It will be e-verifiable at nptel.ac.in/noc.
Compiler Design Assignment 01 Answers
Question 01 of 11
What role does intermediate code play?
A. Retargeting code
B. Program analysis
C. Code optimization
D. Code check
A. Retargeting code
Question 02 of 11
What is the name of the phase in which the compiler scans the input sequence?
A. lexical analysis
B. output scanner
C. structural analysis
D. syntax analysis
A. lexical analysis
Question 03 of 11
Which computer program takes a high-level language and translates it to assembly language?
A. Linker
B. Assembler
C. Compiler
D. Interpreter
C. Compiler
Compiler Design Assignment 01 Answers
Question 04 of 11
Compiler helps in debugging via
A. Printing variable values
B. Slower execution of the program
C. Additional code embedding
D. None of the above options
C. Additional code embedding
Question 05 of 11
Most of the programming language follows
A. dynamic scoping
B. static scoping
C. both static and dynamic scoping
D. Neither static nor dynamic scoping
B. static scoping
Question 06 of 11
Which temporary variables must be allocated for the best code execution speed?
A. CPU registers
B. Swap space
C. Main Memory
D. None of the above options
A. CPU registers
Question 07 of 11
What is the name of the syntax analysis output?
A. Key tree
B. binary tree
C. parse tree
D. sparse tree
C. parse tree
Question 08 of 11
Converting a hardware description into actual circuitry is known as
A. HDL compilation
B. Circuit compilation
C. Silicon compilation
D. None of the other options
C. Silicon compilation
Compiler Design Assignment 01 Answers
Question 09 of 11
What are the results of the lexical analysis phase?
A. tokens
B. keyword
C. symbols
D. None of the above options
A.
Question 10 of 11
Which of the following is a result of a compiler?
A. Error messages
B. Warnings
C. Target code
D. All of the above options
D. All of the above options
Question 11 of 11
Loops are the major targets for optimization since
A. Loop body is repeated several times
B. Condition check takes exceedingly large time
C. Loop may goto infinite execution
D. None of the other options
A. Loop body is repeated several times
That’s All Guys! Hope you Like the Article.
That It Guys, in this article I have told you about the Answers to Compiler Design Assignment 01.
Disclaimer: We do not claim 100% surety of answers, these answers are based on our sole knowledge, and by posting these answers we are just trying to help students, so we urge do your assignment on your own.
if you have any suggestions then comment below or contact us at admin@thetodayblog.com
If you found this article Interesting and helpful, don’t forget to share it with your friends to get this information.
READ ALSO:
NPTEL Air Pollution and Control ASSIGNMENT 01 ANSWERS
NPTEL Data Analytics with Python Assignment 01 Answers
ENGINEERING DRAWING AND COMPUTER GRAPHICS ASSIGNMENT 01 ANSWERS
PROGRAMMING IN JAVA ASSIGNMENT 01 ANSWERS
Don’t forget to share it with your friends.
Don’t forget to share it with your friends.
24 thoughts on “Compiler Design Assignment 01 Answers | January 2022 | NPTEL | Week 01 | The Today Blog”