This document contains 15 questions about macros, linkers, and loaders for a Computer Networks assignment. The questions cover macro definitions and calls, macro expansion algorithms, different types of macro parameters, nested macro calls, macro processors, expansion time variables, writing macros to evaluate expressions and clear memory, REPT and IRP statements, program relocation, EXTERN and ENTRY statements, components of object modules, and self-relocating programs and types of loaders.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
32 views1 page
SSCD CH 02 Assignments
This document contains 15 questions about macros, linkers, and loaders for a Computer Networks assignment. The questions cover macro definitions and calls, macro expansion algorithms, different types of macro parameters, nested macro calls, macro processors, expansion time variables, writing macros to evaluate expressions and clear memory, REPT and IRP statements, program relocation, EXTERN and ENTRY statements, components of object modules, and self-relocating programs and types of loaders.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
Tatytasaheb Kore Institute of Engineering and Technology, Warananagar
(An Autonomous Institute)
Department of Computer Science and Engineering Class: TY BTECH CSE (Year 2023-24) Subject Name: Computer Networks Subject Code: CSE502 Assignment Questions
UNIT II: MACROS, LINKERS AND LOADERS
Q. 1. What is Macro? Explain Macro call and Macro Definition with example Q 2. Explain Following i. Lexical Substitution ii. Semantic Expansion
Q. 3 Write and explain algorithm for macro expansion
Q. 4. Elaborate with examples a. Positional Parameters b. Keyword Parameters c. Default Parameters Q.5. Write a note on nested macro calls Q.6. Describe following macro processors AIF and AGO with examples Q.7. What are expansion time variables? How they are used in sematic expansion? Q.8. Write a macro which takes A, B, C as actual parameters in macro call and evaluates expression A-B+C. Q.9. Write and explain a macro using an expansion time loop to clear consecutive memory words. Q.10. Explain REPT and IRP statements with examples Q. 11. Define program relocation and describe process of performing relocation Q. 12. Explain EXTERN and ENTRY statements with example Q. 13. Write and explain components of Object Module with an example Q.14. Describe Self relocating Programs Q. 15. Define and explain type of loaders