KUMRAGURU COLLEGE OF TECHNOLOGY Department of Information Technology U07CS402 – System Software Unit – I PartPart-A 1. Define System Software. 2. What is indexed addressing? 3. Define Instruction formats. 4. List out the registers used in SIC std machine and specify the usage of registers. 5. What is Condition code? When is it set? 6. List out different types of data that can be used in SIC std machine. 7. Give the format of instruction used in SIC std Machine. 8. List out the registers used in SIC / XE machine and specify the usage of registers. 9. List out different types of data that can be used in SIC / XE machine. 10. List out different types of instructions used in SIC / XE machine. 11. What is addressing mode? 12. List out any 5 system software.
Copyright 2009 All Rights Reserved. itkct.blogspot.com
13. Give the format of floating point data used in SIC /XE. 14. What is effective address? 15. How do you calculate the target address in PC relative addressing mode instruction? 16. How do you calculate the target address in base relative addressing mode instruction? 17. How do you calculate the target address in indexed addressing mode instruction? 18. What is immediate addressing mode instruction? 19. What addressing mode can not be used with immediate or indirect addressing modes? 20. Write a program to transfer an integer data from a memory location to another location. 21. Write a program to transfer a character data from a memory location to another location. 22. Write a program to transfer a string from a memory location to another location. 23. Write a program to add integer data. 24. Write a program to test and read data from input device. 25. Write a program to transfer data to output device 26. What is assembler directive? 27. Give some examples to assembler directives. 28. What is the difference between BYTE and RESB? 29. What is the difference between WORD and RESW? 30. Is there any instruction in SIC std machine to transfer data from register to register directly?
Copyright 2009 All Rights Reserved. itkct.blogspot.com
31. Is there any instruction in SIC std machine to transfer data from memory location to another memory location directly? 32. List out some input output instructions used in SIC. 33. Give some examples for format 2 instructions used in SIC XE. 34. What is the value of e in format 4 instructions? 35. Specify the range of displacement used in PC relative instruction? 36. Specify the range of displacement used in base relative instruction? 37. List out some format 1 instructions. 38. What is the size of address filed in format 4 instructions? 39. What is the size of address mode filed in the instructions used in SIC std machine? 40. In which addressing mode # is used to specify immediate value? 41. What is the size of Accumulator used in SIC XE machine? 42. What is the size of Floating point register used in SIC XE machine? 43. What is the size of address field in format 2 instruction? 44. List out different addressing modes used in SIC XE. 45. State the following statements are true or false a). There is no memory-to-memory move instruction in SIC/XE machine. b). TIX always adds 1 to register X. c). Assembler directive WORD always allocates only 1 word size memory location.
Copyright 2009 All Rights Reserved. itkct.blogspot.com
d). Assembler directive BYTE always allocates 1 byte of memory location alone. e). Most of the system software are machine dependent.
PartPart-B 46. Explain the architecture of SIC machine 47. Describe the SIC/XE machine architecture 48. Write the sequence of instructions in SIC & SIC/XE for the exercise problems 1 to 13 given in page number 40 in the text book
Copyright 2009 All Rights Reserved. itkct.blogspot.com
Unit – II PartPart-A
1. Define Assembler. 2. What is assembler directive? 3. What is the use of assembler directive START? 4. What is the use of assembler directive END? 5. What is forward reference? 6. What is Object program? 7. Give the format of Object program. 8. Specify the format of Header record. 9. Specify the format of Text record. 10. Specify the format of End record. 11. What is Symbol table? When is it created? 12. OPTAB is usually organized as ________________.
Copyright 2009 All Rights Reserved. itkct.blogspot.com
13. What is pass1? 14. What is intermediate file? 15. What is pass2? 16. List out the facts that have to be considered during the design of assembler. 17. What is relocation? 18. What is relocatable program? 19. What is modification record? 20. What is the use of assembler directive BASE? 21. What is the of assembler directive EQU and USE? 22. What is ORG? 23. What is LTORG? 24. What is literal? 25. What is the difference between literal and immediate value specified in instruction? 26. What is literal pool? 27. State the following true or false. i). One ALP program can have any number of literal pools. ii). One ALP program can have any number of program blocks. iii).One ALP program can have any number of control sections.
Copyright 2009 All Rights Reserved. itkct.blogspot.com
iv).For each program block separate location counter is maintained. v). Program blocks can be loaded and executed separately. vi).Assembler directive NOBASE informs to assembler that the content of base register can no longer be relied upon for addressing. vii). Length of address field that has to be modified is specified in terms of half bytes in modification record. 28. How to do specify a literal in an instruction? 29. What is Literal table? 30. List out 2 different types of expressions that can be used in ALP instructions. 31. What is absolute expression? 32. What is relative expression? 33. List out some features that are not closely related to machine architecture. 34. What is program block? 35. What is default program block? 36. What is program block table? 37. What is control section? 38. What is the difference between program block and control section? 39. What is external symbol? 40. What is the use of assembler directives EXTDEF and EXTREF?
Copyright 2009 All Rights Reserved. itkct.blogspot.com
41. Specify the format of Define record. 42. Specify the format of Refer record. 43. What is load and go assembler? 44. List out two types of one pass assemblers. 45. What is multi pass assembler?
PartPart-B 46.
What is an assembler directive? Explain any six assembler directives.
47.
Explain the algorithm and data structures for implementing pass1 of an assembler
48.
Explain the algorithm and data structures for implementing pass2 of an assembler
49.
Explain about i)Header record ii)Text record iii) END record iv) Modification record
50.
Illustrate with an example the program linking process in an assembly program that consists of multiple control sections
51. Explain the implementation of one-pass assembler with an example 52. Explain about the implementation of multi-pass assembler with an example
Copyright 2009 All Rights Reserved. itkct.blogspot.com
53. Write notes on MASM assembler 54. Write the object code for the exercise problem 2 of section 2.1 55. Write the object code for the exercise problem 3 of section 2.2
Unit – III PartPart-A
1. What is linker? 2. What is loader? 3. Define relocation. 4. What is absolute loader? 5. What is bootstrap loader? 6. What is binding? 7. What is the disadvantage of absolute loader? 8. What is relocation bit?
Copyright 2009 All Rights Reserved. itkct.blogspot.com
9. What is bit mask? 10. What is automatic library search? 11. What is unresolved external reference? 12. What is the used of NOCALL directive? 13. What is the difference between linking loader and relocatable loader? 14. What is dynamic linking? 15. Give example to linkage editor. 16. Give example to run time linker. 17. List out the modules of output of sunOS linker.
PartPart-B
18.
Write and explain the implementation of absolute loader
19.
Explain the function of relocating loaders with an example
20.
With an example illustrate the linking and relocation operation
21.
Explain the algorithm and data structures for pass1 & pass 2 of a linking loader
Copyright 2009 All Rights Reserved. itkct.blogspot.com
with an example
22.
Write short notes on
23. Automatic library search 24. Linkage editors 25. Dynamic linking with an example 26. MSDOS linker
Copyright 2009 All Rights Reserved. itkct.blogspot.com
UNIT – IV PartPart-A 1. What is linker? 2. What is loader? 3. Define relocation. 4. What is absolute loader? 5. What is bootstrap loader? 6. What is binding? 7. What is the disadvantage of absolute loader? 8. What is relocation bit? 9. What is bit mask? 10. What is automatic library search? 11. What is unresolved external reference? 12. What is the used of NOCALL directive? 13. What is the difference between linking loader and relocatable loader? 14. What is dynamic linking? 15. Give example to linkage editor.
Copyright 2009 All Rights Reserved. itkct.blogspot.com
16. Give example to run time linker. 17. List out the modules of output of sunOS linker.
PartPart-B 18. Explain the algorithm for a one-pass macro processor with an example 19. Explain about 20. Concatenation of macro parameters 21. Generation of unique labels 22. conditional macro expansion with an example 23. macro –time looping parameters 24. Keyword macro parameters 25. Recursive macro expansion 26. MASM macro processor 27. ANSI C macro language
Copyright 2009 All Rights Reserved. itkct.blogspot.com
UNIT – V PartPart-A 1. What is user interface? 2. What is text editor? 3. What is document? 4. What is traveling in text editor? 5. What is formatting? 6. What is the use of conceptual model? 7. What is line editor? 8. What is screen editor? 9. What is interaction language? 10. What is locator? 11. What is data tablet? 12. What is puck? 13. What is command language processor? 14. What is editing component?
Copyright 2009 All Rights Reserved. itkct.blogspot.com
15. What is editing filter? 16. What is the use of current viewing pointer? 17. What is viewing filter? 18. What is viewing buffer? 19. How do you map viewing buffer to a window? 20. What is gait? 21. What is interactive debugging system? 22. List out user interface criteria.
PartPart-B 23. Discuss in detail about the interactive text editing systems 24. Discuss in detail about the interactive debugging systems
Copyright 2009 All Rights Reserved. itkct.blogspot.com