You are on page 1of 4

GLS UNIVERSITY

IMSCIT SEM-VI

ASSIGNMENT-1

RUTU DESAI

A04-201801619010004

Unit-1

Q-1 Fill in the blanks

1. Teleprinter is an example of Line editor.

2. In Screen editors, it is very easy to use mouse pointer.

3. Basically there are 5 types of editors.

4. The address sensitive portions within the code is managed by shared library by adjusting external
references.

5. Notepad is a kind of Text editors.

6. Sed editor in unix is a kind of Stream editor.

7. Token is a sequence of characters that represent lexical unit, which matches with the pattern , such as
keywords, operators, identifiers etc.

8. Debuggers can’t catch logical errors present in the program.

9. Pattern describes the rule that the lexemes of a token takes. It is the structure that must be matched
by Strings.True

10. Parse tree is generated in Syntax Analysis phases of compiler.

Q-2 True or False

1. White spaces, tabs and comments are removed in lexical analysis phase of compiler.T

2. Symbol table is an important data structure created and maintained by compilers in order to store
information about the occurrence of various entities such as variable names , function names, objects,
classes, interfaces, etc.T
3. Linker combines all the object files produced by the compiler.T

4. The linker needs to produce error message if some external reference could not be resolved after
consulting all object modules and libraries.F

5. Wordpad is not a text editor.F

6. Debugging means locating or removing bugs i.e. faults in the program.T

7. Breakpoints are the points in the program at which the programmer wishes to suspend normal
execution T of the program and perform other tasks.T

8. Error handling is not one of the criteria for judging the quality of the compiler.F
GLS UNIVERSITY

IMSCIT SEM-VI

ASSIGNMENT-2

RUTU DESAI

A04-201801619010004

Unit-2

Q-1 Fill in the blanks

1. Assembler is the tool to convert an assembly language program into the machine language
one,understandable by the processor that executes it.

2. MOT stands for Machine Opcode Table

3. START is a Pseudo-op instruction.

4. System Software is the heart of the program.

5. DS stands for Data Symbol

6. RESQ stands for Reserve a Quadword

7. Assembler directives will give direction to assembler.

8. END indicates that code is ended and it will not take any value.

9. When code is not continuous LC will indicate which is our next instruction

10. There are Two passes of Assembler.

11. In given instruction if used variable is undefined then the situation is called Uninitialized Variable

12. Coff stands for Common object file format

Q-2 True or False

1. The assembly may be done manually aptly named as “Hand Assembly”.T

2. SS is machine opcode instruction.T

3. SI is 6 byte register in memory.F

4. Lexical analysis and Syntax analysis maintains symbol table.T


5. RX is 2 byte register in memory.F

6. LC is Left counter.F

7. // is used to display comments in assembly language. F

8. Symbol table are of three types.T

9. Intel HEX is a file format that conveys binary information in ASCII text form.T

You might also like