Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  Compiler Design  >  Test: Code Optimization - Computer Science Engineering (CSE) MCQ

Test: Code Optimization - Computer Science Engineering (CSE) MCQ


Test Description

10 Questions MCQ Test Compiler Design - Test: Code Optimization

Test: Code Optimization for Computer Science Engineering (CSE) 2024 is part of Compiler Design preparation. The Test: Code Optimization questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: Code Optimization MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Code Optimization below.
Solutions of Test: Code Optimization questions in English are available as part of our Compiler Design for Computer Science Engineering (CSE) & Test: Code Optimization solutions in Hindi for Compiler Design course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: Code Optimization | 10 questions in 10 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study Compiler Design for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
Test: Code Optimization - Question 1

Compiler can diagnose

Detailed Solution for Test: Code Optimization - Question 1

Only syntactical errors can be detected by the compiler.

Test: Code Optimization - Question 2

A simple two-pass assembler does which of the following in the first pass?

Detailed Solution for Test: Code Optimization - Question 2

A two-pass assembler. Each pass scans the program, the first pass generates the symbol table and the second pass generates the machine code…

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: Code Optimization - Question 3

A system program that set-up an executable program in main memory ready for execution is

Detailed Solution for Test: Code Optimization - Question 3

A loader is the part of an operating system that is responsible for loading programs and libraries. It is important that with the starting of a program, as it places programs into memory and executes it.

Test: Code Optimization - Question 4

A compiler is a program that

Detailed Solution for Test: Code Optimization - Question 4

A compiler is a computer program (or set of programs) that transforms source code written in a programming language (the source language) into another computer language (the target language, often having a binary form known as object code).

Test: Code Optimization - Question 5

A programmer by mistake writes multiplication instead of division, such error can be detected by a/an

Detailed Solution for Test: Code Optimization - Question 5

No Logical errors can’t be detected.

Test: Code Optimization - Question 6

 The computer language generally translated to pseudo-code is

Detailed Solution for Test: Code Optimization - Question 6

 An assembly language (or assembler language) is a low-level programming language for a computer, or other programmable device, in which there is a very strong (generally one-to-one) correspondence between the language and the architecture’s machine code instructions.

Test: Code Optimization - Question 7

A system program that combines separately compiled modules of a program into a form suitable for execution is

Detailed Solution for Test: Code Optimization - Question 7

A loader which combines the functions of a relocating loader with the ability to combine a number of program segments that have been independently compiled into an executable program.

Test: Code Optimization - Question 8

 In which way a macro processor for assembly language can be implemented?

Detailed Solution for Test: Code Optimization - Question 8

A general-purpose macro processor or general purpose preprocessor is a macro …designed for string manipulation, macro definition.

Test: Code Optimization - Question 9

Resolution of externally defined symbols is performed by

Detailed Solution for Test: Code Optimization - Question 9

 A linker or link editor is a computer program that takes one or more object files generated by a compiler and combines them into a single executable file, library file, or another object file.

Test: Code Optimization - Question 10

A shift reduce parser carries out the actions specified within braces immediately after reducing with the corresponding rule of grammar S—-> xxW ( PRINT “1”) S—-> y { print ” 2 ” } W—-> Sz { print ” 3 ” )

What is the translation of xxxxyzz using the syntax directed translation scheme described by the above rules ?

Detailed Solution for Test: Code Optimization - Question 10

 

 

26 videos|66 docs|30 tests
Information about Test: Code Optimization Page
In this test you can find the Exam questions for Test: Code Optimization solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Code Optimization, EduRev gives you an ample number of Online tests for practice

Top Courses for Computer Science Engineering (CSE)

26 videos|66 docs|30 tests
Download as PDF

Top Courses for Computer Science Engineering (CSE)