Computer System Architecture

441. By whom address of external function in the assembly source file supplied by ____________ when activated:

  1. Assembler
  2. Linker
  3. Machine
  4. Code

Correct answer: (B)
Linker

442. An ____________-o option is used for:

  1. Input file
  2. External file
  3. Output file
  4. None of these

Correct answer: (C)
Output file

443. The assembler translates ismorphically ____________ mapping from mnemonic in these statements to machine instructions:

  1. 1:1
  2. 2:1
  3. 3:3
  4. 4:1

Correct answer: (A)
1:1

444. Assembler works in ____________ phases:

  1. 1
  2. 3
  3. 2
  4. 4

Correct answer: (C)
2

445. The assembler in first pass reads the program to collect symbols defined with offsets in a table____________:

  1. Hash table
  2. Symbol table
  3. Both a& b
  4. None of these

Correct answer: (B)
Symbol table

446. In second pass, assembler creates ____________ in binary format for every instruction in program and then refers to the symbol table to giving every symbol an ____________ relating the segment.

  1. Code and program
  2. Program and instruction
  3. Code and offset
  4. All of these

Correct answer: (C)
Code and offset

447. which of the 2 files are created by the assembler:

  1. List and object file
  2. Link and object file
  3. Both a & b
  4. None of these

Correct answer: (A)
List and object file

448. In which code is object file is coded:

  1. Link code
  2. Decimal code
  3. Assembly code
  4. Binary code

Correct answer: (D)
Binary code

449. which type of errors are detected by the assembler:

  1. syntax error
  2. logical error
  3. run time error
  4. none of these

Correct answer: (A)
syntax error

450. MOVE AX BX in this LINES OF CODE what type of error is declared:

  1. Undeclared identifier MOVE
  2. undeclared identifier AX
  3. Accept as a command
  4. Not look in symbol table

Correct answer: (A)
Undeclared identifier MOVE

Page 45 of 75