You are on page 1of 3

UNIT –I Questions Bank

1. Explain the different Components of System Software?

2. What do you mean by System programming? Explain the components of system

programming?

3. Give the databases used by pass-1 and pass-2 of assembler?

4. Explain the design of two pass assembler?

5. Write a short note on assembler and its type?

6. Explain the terms:

a. Assembler

b. Compiler

c. Microprocessor

d. Interpreter

e. Loader

f. Debugger

7. Write an algorithm for second pass Assembler

8. Write a short note on Advance assembler directives?

9. Define Assembler Directives. Explain ORIGIN, EQU and LTORG with example.

10. Discuss with example what is forward reference? How it is handled in single pass

assembler.
UNIT –II Questions Bank
1. Explain macro definition, macro call, macro expansion and nested macro calls with

example?

2. What are the different language processing activities involved in language processor?

3. Explain macro call within macro definition with suitable example?

4. Give the database required for the two pass microprocessor?

5. Explain the use of MNT and MDT in the algorithm for single pass macro definition

within macro?

Compiler

1. What are different phases of complier? Explain in details?

2. What do you understand by grammar? Explain the use of Terminal and Non-Terminal in

representing grammar.

3. Why lexical and syntax analyzer are separated out?

4. What is parsing? Explain LEX and YACC in brief?

5. Explain top down parsing in details with suitable example? What type of grammar

required by this parser?

6. What is the need for code optimization? Explain various code optimization techniques.

7. Differentiate between Compiler and Interpreter.

8. Explain terms Lexeme, Pattern and Token.

9. What is interpreter? Explain various components of interpreter?

10. What is Syntax Error? Give suitable example.

11. Write regular expressions to recognize following:

a. Signed and Unsigned integer numbers.


b. Identifiers.

c. Few keywords in “C” program.

d. Relational Operator.

You might also like