SlideShare a Scribd company logo
1 of 6
Unit-1 : System Software & Unit-2 : Language Processors
1. What is System software/program? [GTU,BE-CE,Dec-2014] [DEC- 2015]
2. Define Language Processor. List various phases of a language processor. Explain roles of
phases of Language Processor.[GTU,BE-CE,Dec-2014][DEC-2015][May-2016]
3. Explain Symbol table and Mnemonics table with suitable example.[GTU, BE-CE, June-
2013][DEC-2015]
4. Briefly explain the tasks performed by analysis and synthesis phases of simple assembly
schemes.[GTU,BE-CE,June-2013] [GTU,BE-CE,May-2014]
5. Explain various suitable data structures for the symbol table. Explain how one can
organize Symbol table using Linear Data Structure.[May-2016]
6. Compare Problem oriented and Procedure oriented languages.[GTU,BE-CE,May-
2014][DEC- 2015]
7. Explain various types of Language Processors.
8. Differentiate passes and phases of complier. Explain in brief syntax analysis
phase.[GTU,BE-CE,May-2015]
9. Explain following : a) Semantic Gap b) Specification Gap c) Execution Gap[DEC-
2015]
10. Explain the various stages of the life cycle of a source program with a neat diagram.[DEC-
2015]
11. Explain language processing activities [DEC-2015]
12. Compare user-centric view and system-centric view of system software[May-2016]
Unit-3 : Assembler
1. What are advanced assembler directives? Explain any two with suitable example.[GTU,
BE-CE,June-2013] [GTU,BE-CE,May-2015] [GTU,BE-CE,Dec-2014][DEC-
2015][MAY-2016]
2. Write difference between one pass and two pass assembler.[GTU,BE-CE,June-2013]
3. Explain the complete working of first pass of the double pass assembler along with the
data structure used.
4. Compare Variant I and Variant II of intermediate code generation for assembler.
[GTU, BE-CE, Dec 2013] [GTU,BE-CE,May-2015]
5. Explain two pass assembler. Explain how forward references are handled in two pass.
[GTU,BE-CE,May-2015]
6. Explain the data structure of single pass assembler.[GTU,BE-CE,May-2015]
7. Explain use of various data structures (tables) needed in PASS I of the assembler. Also
give details of their fields. [GTU,BE-CE,Dec-2014]
8. Define forward references. How it can be solved using back-patching? Explain with
example. [GTU,BE-CE,May-2014][DEC-2015]
9. Explain assembly scheme with suitable example.
10. Show content of symbol table at the end of pass-one of an assembler.
11. Explain the role of Mnemonic Opcode Table, Symbol Table, Literal Table and POOL
Table in assembling process of assembly language program.
12. Compare and Contrast the following:
(i) macro call and function call
(ii) macro preprocessor and macro assembler[GTU,BE-CE,May-2015]
13. Which are the different assembly language statements? Explain each of them with suitable
example.
Unit-4: Macro & Macro Processors
1. Draw a flow chart and explain simple one pass macro processor.[May-2016]
2. What is macro in programming language? Write an algorithm for macro definition.
3. Explain advanced macro programming facilities. Give examples. [GTU,BE-CE,Dec-
2014][DEC-2015]
4. Define a macro taking starting location and N as parameters to find summation of all N
numbers stored at locations starting from starting location. The result is to be stored at
starting location.
5. Illustrate expansion of nested macro calls by giving example. [GTU,BE-CE,Dec-2014]
6. Define Lexical and Semantic Expansion. Write a macro which takes A,B, C and D as
parameters and calculates A*B+C*D in AREG.
7. What is macro-preprocessor? Explain steps of macro-preprocessor design.[GTU,BECE,
June-2013][GTU,BE-CE,May-2015] [GTU,BE-CE,Dec-2014][DEC-2015]
8. Explain macro expansion in details.[GTU,BE-CE,June-2013][GTU,BE-CE,May-2015]
9. Define a macro taking A and B as parameters to compute A = A * B + B * B + A + B.
10. Define two macros of your choice to illustrate nested calls to these macros. Also show their
corresponding expansion. [DEC-2015]
11. Explain use and field of following tables of macro. KPDTAB, MDT, EVTAB, SSTAB[May-
2016]
12. Explain various data structures of Macro definition processing with example.
[GTU, BE-CE, Dec 2013]
13. Explain following facilities for expansion time loop with example.
(i) REPT statement
(ii) IRP statement[GTU,BE-CE,Dec-2014][May-2016]
14. Compare the features of subroutine and macros with respect to following.
(iii)Execution speed
(iv) Processing requirement by assembler.
(v) Flexibility and generality
Unit-5: Linkers & Loaders
1. Describe in detail how relocation and linking is performed. Explain with Example.[DEC-
2015]
2. What is Overlay? Explain the execution of an overlay structured program.
3. Explain Absolute Loader with example. [GTU,BE-CE,May-2014] [GTU,BE-CE,May-
2015][DEC-2015][May-2016]
4. Explain design of a linker by addressing issues of relocation and linking. [GTU,BECE,
May-2015]
5. Explain BSS loader with example.
6. Explain object module of the program.
7. Explain self-relocating program and overlay structured program. [GTU,BE-CE,May-
2015][May-2016]
8. What is program relocation? How relocation is performed by linker. Explain with
example. [GTU,BE-CE,May-2014][May-2016]
9. Explain linking and loading in MS DOS. [GTU,BE-CE,May-2014]
10. Explain dynamic linking. Draw the flaw chart for dynamic linking.
11. Write an algorithm for first pass of a linker.
12. Draw flow chart of “program linking”.
13. Explain relocation and linking requirements in segmented addressing with suitable
example.[GTU,BE-CE,June-2013]
14. In brief explain relocating loader. [May-2016]
Unit-6: Scanning & Parsing
1. Explain types of grammars.[GTU,BE-CE, Dec 2013][GTU,BE-CE,May-
2014][GTU,BE-CE,Dec-2014] [DEC- 2015][May-2016]
2. Explain Left recursion, Left factoring and backtracking in top down parsing.
3. Explain left factoring by giving example.
4. Explain recursive descent parsing algorithm.[DEC-2015][May-2016]
5. Compare top-down and bottom-up parser.[GTU,BE-CE,June-2013]
6. Explain recursive decent parser with suitable example. Also state its drawbacks.
[GTU,BE-CE,June-2013]
7. Write operator precedence table for arithmetic operators “+”, “*”, “-”, “/”.
[GTU,BE-CE,June-2013]
8. Parse following expression using the table. id * id + id * id
9. Write algorithm for operator precedence parsing and explain with example.[GTU,BECE,
Dec 2013]
10. Explain working of LL (1) parser. Parse following string: id + id - (id * id ).
11. Write complete grammar for an arithmetic expression containing operators „+‟, „–„, „*‟,
„$‟ using recursive specification and Backus Naur Form (BNF) where „$‟ is
exponentiation operator.[GTU,BE-CE,June-2013]
12. Build a DFA for following regular expression.
(a | b)*aab#.
13. A language consists of all strings of a‟s and b‟s which ends with b and does not contain
aa. Write regular expression for the language.
14. Perform left-factoring on the following grammar.
S = i E t S e S | i E t S | a
E = b
15. Given the Grammar, evaluate the string id-id*id using shift reduce parser.
E-> E – E
E -> E * E
E -> id
16. Construct LL (1) parsing table for following grammar.
E TE‟
E‟ +TE‟ | Є
T FT‟
T‟ *FT‟ | Є
[GTU, BE-CE, May-2015]
17. Write a regular expression for a language containing a binary string which does not contain
two consecutive 0s or two consecutive 1s anywhere. [DEC-2015]
18. Construct NFA and DFA for following regular expression:
(0 | 1)*001# [DEC-2015]
19. Given following expression: x = -a * b + -a * b
Write three address codes for the expression.
Optimize the three address code if it is possible to do so.
Give triple implementation for the three address code of the expression. [May-2016]
Unit-7: Compiler
1. Explain methods for accessing non local variables.
2. Explain Memory allocation models.
3. List and compare various techniques for dynamic memory allocation.
4. Give example(s) of errors detected by first three phases of compiler.
5. Explain different code optimization techniques. [GTU,BE-CE,May-2014]
6. What is meant by optimizing transformations? Explain any three with suitable example.
[GTU, BE-CE, June-2013] [GTU,BE-CE,May-2014][DEC-2015]
7. What are the issues in code generation in relation to compilation of expression? Explain
each issue in brief.
[GTU, BE-CE, June-2013]
8. Discuss parameters for Activation Records.
9. Explain triple and quadruple representation with example.
10. Explain memory allocation in block structured language.
11. What is interpreter? Explain benefits of interpreter. Compare interpreter and compiler.[DEC-
2015]
Unit-8: Interpreter & Debugger
1. Explain functioning of interpreter.
2. Define the following terms.
(i) Handle
(ii) Program Relocation
(iii) literals
(iv) forward Reference
(v) System Program
(vi) Language Processor
(vii) Operator Grammar
(viii) Pass
(ix) Frequency reduction
(x) triples
[GTU, BE-CE, Dec 2013] [GTU, BE-CE, May-2014]
3. Define following terms:
(i) Assembler
(ii) Macro
(iii)Parsing
[GTU,BE-CE,June-2013]
4. Explain following.
(i) Execution Gap (iii) Phases of Compiler
(ii) Interpreter (iv) Language Migrator
5. Explain following terms with suitable example.
(i) Expansion time variable (iii) Semantic Expansion
(ii) Positional parameter (iv) Macro Preprocessor[GTU,BE-CE,May-
2015][May-2016]
6. What is interpreter? Explain pure & impure interpreters [May-2016]
6. Fill in the Blanks.
1. A macro is a unit of specification for _________________________through expansion.
2. Macro definition is enclosed between a __________________ statement and
a__________________ statement.
3. A _______________________________ is designed to hold the names of all macro
defined in a program.
4. An ___________________________ counter is maintained to count the number of nested
macro calls.
5. A _____________________bridges an execution gap to the machine language of a
computer system.
(i) Detranslator
(ii) Preprocessor
(iii)Language translator
[GTU,BE-CE,June-2013]
6. A _____________________bridges the specification gap between two programming
languages.
(i) Interpreter
(ii) Language Migrator
(iii)Compiler
[GTU, BE-CE, June-2013]
7. _____________________ is designed to hold the value of formal parameters during
expansion of macro call.
(i) Actual Parameter Table
(ii) Macro Name Table
(iii)Expansion time variable table
[GTU, BE-CE, June-2013][GTU, BE-CE, May-2014]
8. Syntax analysis processes the string of tokens built by _______________ to determine
the statement class.
(i) Semantic Analysis
(ii) Lexical Analysis
(iii)Itself
[GTU, BE-CE, June-2013]
9. A lexical expansion is typically employed to replace occurrence of formal parameters by
corresponding actual parameters.
(State True/False)
10. Default specification of parameters is useful in situations where a parameter has the
different value in most calls.
(State True/False)
11. Macro definition table is maintained to hold value of sequencing symbols. (State
True/False)

More Related Content

What's hot

Fundamental design concepts
Fundamental design conceptsFundamental design concepts
Fundamental design conceptssrijavel
 
Software Testing and Quality Assurance (Error, Bug, Fault)
Software Testing and Quality Assurance (Error, Bug, Fault)Software Testing and Quality Assurance (Error, Bug, Fault)
Software Testing and Quality Assurance (Error, Bug, Fault)Yogesh Late
 
Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)ShudipPal
 
Problem solving using Computer
Problem solving using ComputerProblem solving using Computer
Problem solving using ComputerDavid Livingston J
 
Chapter 1 2 - some size factors
Chapter 1   2 - some size factorsChapter 1   2 - some size factors
Chapter 1 2 - some size factorsNancyBeaulah_R
 
Debuggers in system software
Debuggers in system softwareDebuggers in system software
Debuggers in system softwaregayathri ravi
 
Quality and productivity factors
Quality and productivity factorsQuality and productivity factors
Quality and productivity factorsNancyBeaulah_R
 
Software project estimation
Software project estimationSoftware project estimation
Software project estimationinayat khan
 
Delphi cost estimation model
Delphi cost estimation modelDelphi cost estimation model
Delphi cost estimation modelShashwat Shriparv
 
Software Development Software development process
Software Development Software development processSoftware Development Software development process
Software Development Software development processimtiazalijoono
 
Programming Fundamentals lecture 1
Programming Fundamentals lecture 1Programming Fundamentals lecture 1
Programming Fundamentals lecture 1REHAN IJAZ
 
Real time and distributed design
Real time and distributed designReal time and distributed design
Real time and distributed designpriyapavi96
 
Summer Training Project On C++
Summer Training Project On  C++Summer Training Project On  C++
Summer Training Project On C++KAUSHAL KUMAR JHA
 

What's hot (20)

Fundamental design concepts
Fundamental design conceptsFundamental design concepts
Fundamental design concepts
 
Language processors
Language processorsLanguage processors
Language processors
 
Software Engineering
Software EngineeringSoftware Engineering
Software Engineering
 
Software Testing and Quality Assurance (Error, Bug, Fault)
Software Testing and Quality Assurance (Error, Bug, Fault)Software Testing and Quality Assurance (Error, Bug, Fault)
Software Testing and Quality Assurance (Error, Bug, Fault)
 
Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)
 
Software Engineering
Software EngineeringSoftware Engineering
Software Engineering
 
Problem solving using Computer
Problem solving using ComputerProblem solving using Computer
Problem solving using Computer
 
Chapter 1 2 - some size factors
Chapter 1   2 - some size factorsChapter 1   2 - some size factors
Chapter 1 2 - some size factors
 
Debuggers in system software
Debuggers in system softwareDebuggers in system software
Debuggers in system software
 
Quality and productivity factors
Quality and productivity factorsQuality and productivity factors
Quality and productivity factors
 
Importance of software engineering
Importance of software engineeringImportance of software engineering
Importance of software engineering
 
Software project estimation
Software project estimationSoftware project estimation
Software project estimation
 
Delphi cost estimation model
Delphi cost estimation modelDelphi cost estimation model
Delphi cost estimation model
 
Software Development Software development process
Software Development Software development processSoftware Development Software development process
Software Development Software development process
 
Programming Fundamentals lecture 1
Programming Fundamentals lecture 1Programming Fundamentals lecture 1
Programming Fundamentals lecture 1
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process Models
 
Real time and distributed design
Real time and distributed designReal time and distributed design
Real time and distributed design
 
Software Engineering
Software EngineeringSoftware Engineering
Software Engineering
 
Summer Training Project On C++
Summer Training Project On  C++Summer Training Project On  C++
Summer Training Project On C++
 

Viewers also liked

Macro expansion techinical_report
Macro expansion techinical_reportMacro expansion techinical_report
Macro expansion techinical_reportSandun Perera
 
Introdução ao editor de texto Word
Introdução ao editor de texto WordIntrodução ao editor de texto Word
Introdução ao editor de texto WordDaniel Brandão
 
Cp0675 03 may-2012-rm04
Cp0675 03 may-2012-rm04Cp0675 03 may-2012-rm04
Cp0675 03 may-2012-rm04Parth Mudgal
 
what is compiler and five phases of compiler
what is compiler and five phases of compilerwhat is compiler and five phases of compiler
what is compiler and five phases of compileradilmehmood93
 
Phases of the Compiler - Systems Programming
Phases of the Compiler - Systems ProgrammingPhases of the Compiler - Systems Programming
Phases of the Compiler - Systems ProgrammingMukesh Tekwani
 
phases of compiler-analysis phase
phases of compiler-analysis phasephases of compiler-analysis phase
phases of compiler-analysis phaseSuyash Srivastava
 

Viewers also liked (11)

Macro expansion techinical_report
Macro expansion techinical_reportMacro expansion techinical_report
Macro expansion techinical_report
 
Introdução ao editor de texto Word
Introdução ao editor de texto WordIntrodução ao editor de texto Word
Introdução ao editor de texto Word
 
Cp0675 03 may-2012-rm04
Cp0675 03 may-2012-rm04Cp0675 03 may-2012-rm04
Cp0675 03 may-2012-rm04
 
Ss4
Ss4Ss4
Ss4
 
Vi editor
Vi   editorVi   editor
Vi editor
 
Pass 1 flowchart
Pass 1 flowchartPass 1 flowchart
Pass 1 flowchart
 
Macro
MacroMacro
Macro
 
what is compiler and five phases of compiler
what is compiler and five phases of compilerwhat is compiler and five phases of compiler
what is compiler and five phases of compiler
 
Phases of Compiler
Phases of CompilerPhases of Compiler
Phases of Compiler
 
Phases of the Compiler - Systems Programming
Phases of the Compiler - Systems ProgrammingPhases of the Compiler - Systems Programming
Phases of the Compiler - Systems Programming
 
phases of compiler-analysis phase
phases of compiler-analysis phasephases of compiler-analysis phase
phases of compiler-analysis phase
 

Similar to IMP questions for System programming for GTU

A Program Transformation Technique To Support AOP Within C Template
A Program Transformation Technique To Support AOP Within C   TemplateA Program Transformation Technique To Support AOP Within C   Template
A Program Transformation Technique To Support AOP Within C TemplateCrystal Sanchez
 
Compiler gate question key
Compiler gate question keyCompiler gate question key
Compiler gate question keyArthyR3
 
Core .NET Framework 4.0 Enhancements
Core .NET Framework 4.0 EnhancementsCore .NET Framework 4.0 Enhancements
Core .NET Framework 4.0 EnhancementsRobert MacLean
 
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
C notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit orderC notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit order
C notes by m v b reddy(gitam)imp notes all units notes 5 unit orderMalikireddy Bramhananda Reddy
 
SMU BCA FALL / SUMMER - 2013 SOLVED ASSIGNMENTS
SMU BCA FALL / SUMMER - 2013 SOLVED ASSIGNMENTSSMU BCA FALL / SUMMER - 2013 SOLVED ASSIGNMENTS
SMU BCA FALL / SUMMER - 2013 SOLVED ASSIGNMENTSsmumbahelp
 
Pune University MCA [Management] 2020-Sample Questions
Pune University MCA [Management] 2020-Sample QuestionsPune University MCA [Management] 2020-Sample Questions
Pune University MCA [Management] 2020-Sample Questionsshailendrashinde9
 
Notes of c programming 1st unit BCA I SEM
Notes of c programming  1st unit BCA I SEMNotes of c programming  1st unit BCA I SEM
Notes of c programming 1st unit BCA I SEMMansi Tyagi
 
FDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.docFDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.docjaba kumar
 
IDP_Project_2nd_Presentation_PPT Template.ppt
IDP_Project_2nd_Presentation_PPT Template.pptIDP_Project_2nd_Presentation_PPT Template.ppt
IDP_Project_2nd_Presentation_PPT Template.pptAryanPatel959700
 
Vtu cs 7th_sem_question_papers
Vtu cs 7th_sem_question_papersVtu cs 7th_sem_question_papers
Vtu cs 7th_sem_question_papersmegharajk
 
Computer systems architecture assignment/tutorialoutlet
Computer systems architecture assignment/tutorialoutletComputer systems architecture assignment/tutorialoutlet
Computer systems architecture assignment/tutorialoutletPittock
 
Question 1Using Powerpoint, Word, Visio or any other graphical e.docx
Question 1Using Powerpoint, Word, Visio or any other graphical e.docxQuestion 1Using Powerpoint, Word, Visio or any other graphical e.docx
Question 1Using Powerpoint, Word, Visio or any other graphical e.docxIRESH3
 
.NET 4 Demystified - Sandeep Joshi
.NET 4 Demystified - Sandeep Joshi.NET 4 Demystified - Sandeep Joshi
.NET 4 Demystified - Sandeep JoshiSpiffy
 

Similar to IMP questions for System programming for GTU (20)

A Program Transformation Technique To Support AOP Within C Template
A Program Transformation Technique To Support AOP Within C   TemplateA Program Transformation Technique To Support AOP Within C   Template
A Program Transformation Technique To Support AOP Within C Template
 
Compiler gate question key
Compiler gate question keyCompiler gate question key
Compiler gate question key
 
Cs 6456-oop faq
Cs 6456-oop faqCs 6456-oop faq
Cs 6456-oop faq
 
Core .NET Framework 4.0 Enhancements
Core .NET Framework 4.0 EnhancementsCore .NET Framework 4.0 Enhancements
Core .NET Framework 4.0 Enhancements
 
C AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDYC AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDY
 
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
C notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit orderC notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit order
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
 
Ppc 2 m and 16m
Ppc 2 m and 16mPpc 2 m and 16m
Ppc 2 m and 16m
 
SMU BCA FALL / SUMMER - 2013 SOLVED ASSIGNMENTS
SMU BCA FALL / SUMMER - 2013 SOLVED ASSIGNMENTSSMU BCA FALL / SUMMER - 2013 SOLVED ASSIGNMENTS
SMU BCA FALL / SUMMER - 2013 SOLVED ASSIGNMENTS
 
Pune University MCA [Management] 2020-Sample Questions
Pune University MCA [Management] 2020-Sample QuestionsPune University MCA [Management] 2020-Sample Questions
Pune University MCA [Management] 2020-Sample Questions
 
Notes of c programming 1st unit BCA I SEM
Notes of c programming  1st unit BCA I SEMNotes of c programming  1st unit BCA I SEM
Notes of c programming 1st unit BCA I SEM
 
Paper
PaperPaper
Paper
 
FDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.docFDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.doc
 
IDP_Project_2nd_Presentation_PPT Template.ppt
IDP_Project_2nd_Presentation_PPT Template.pptIDP_Project_2nd_Presentation_PPT Template.ppt
IDP_Project_2nd_Presentation_PPT Template.ppt
 
Vtu cs 7th_sem_question_papers
Vtu cs 7th_sem_question_papersVtu cs 7th_sem_question_papers
Vtu cs 7th_sem_question_papers
 
2013-June: 5th Semester CSE / ISE Question Papers
2013-June: 5th  Semester CSE / ISE Question Papers2013-June: 5th  Semester CSE / ISE Question Papers
2013-June: 5th Semester CSE / ISE Question Papers
 
5th Semester CS / IS (2013-June) Question Papers
5th Semester CS / IS (2013-June) Question Papers5th Semester CS / IS (2013-June) Question Papers
5th Semester CS / IS (2013-June) Question Papers
 
Computer systems architecture assignment/tutorialoutlet
Computer systems architecture assignment/tutorialoutletComputer systems architecture assignment/tutorialoutlet
Computer systems architecture assignment/tutorialoutlet
 
Question 1Using Powerpoint, Word, Visio or any other graphical e.docx
Question 1Using Powerpoint, Word, Visio or any other graphical e.docxQuestion 1Using Powerpoint, Word, Visio or any other graphical e.docx
Question 1Using Powerpoint, Word, Visio or any other graphical e.docx
 
Be 2008-it
Be 2008-itBe 2008-it
Be 2008-it
 
.NET 4 Demystified - Sandeep Joshi
.NET 4 Demystified - Sandeep Joshi.NET 4 Demystified - Sandeep Joshi
.NET 4 Demystified - Sandeep Joshi
 

Recently uploaded

『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书rnrncn29
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Sumanth A
 
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfPaper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfNainaShrivastava14
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
OOP concepts -in-Python programming language
OOP concepts -in-Python programming languageOOP concepts -in-Python programming language
OOP concepts -in-Python programming languageSmritiSharma901052
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfalene1
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solidnamansinghjarodiya
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSsandhya757531
 
Immutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfImmutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfDrew Moseley
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingBootNeck1
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Romil Mishra
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Coursebim.edu.pl
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Communityprachaibot
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communicationpanditadesh123
 

Recently uploaded (20)

『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
 
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfPaper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
OOP concepts -in-Python programming language
OOP concepts -in-Python programming languageOOP concepts -in-Python programming language
OOP concepts -in-Python programming language
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
 
Designing pile caps according to ACI 318-19.pptx
Designing pile caps according to ACI 318-19.pptxDesigning pile caps according to ACI 318-19.pptx
Designing pile caps according to ACI 318-19.pptx
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solid
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
 
Immutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfImmutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdf
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Course
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Community
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communication
 

IMP questions for System programming for GTU

  • 1. Unit-1 : System Software & Unit-2 : Language Processors 1. What is System software/program? [GTU,BE-CE,Dec-2014] [DEC- 2015] 2. Define Language Processor. List various phases of a language processor. Explain roles of phases of Language Processor.[GTU,BE-CE,Dec-2014][DEC-2015][May-2016] 3. Explain Symbol table and Mnemonics table with suitable example.[GTU, BE-CE, June- 2013][DEC-2015] 4. Briefly explain the tasks performed by analysis and synthesis phases of simple assembly schemes.[GTU,BE-CE,June-2013] [GTU,BE-CE,May-2014] 5. Explain various suitable data structures for the symbol table. Explain how one can organize Symbol table using Linear Data Structure.[May-2016] 6. Compare Problem oriented and Procedure oriented languages.[GTU,BE-CE,May- 2014][DEC- 2015] 7. Explain various types of Language Processors. 8. Differentiate passes and phases of complier. Explain in brief syntax analysis phase.[GTU,BE-CE,May-2015] 9. Explain following : a) Semantic Gap b) Specification Gap c) Execution Gap[DEC- 2015] 10. Explain the various stages of the life cycle of a source program with a neat diagram.[DEC- 2015] 11. Explain language processing activities [DEC-2015] 12. Compare user-centric view and system-centric view of system software[May-2016] Unit-3 : Assembler 1. What are advanced assembler directives? Explain any two with suitable example.[GTU, BE-CE,June-2013] [GTU,BE-CE,May-2015] [GTU,BE-CE,Dec-2014][DEC- 2015][MAY-2016] 2. Write difference between one pass and two pass assembler.[GTU,BE-CE,June-2013] 3. Explain the complete working of first pass of the double pass assembler along with the data structure used. 4. Compare Variant I and Variant II of intermediate code generation for assembler. [GTU, BE-CE, Dec 2013] [GTU,BE-CE,May-2015] 5. Explain two pass assembler. Explain how forward references are handled in two pass. [GTU,BE-CE,May-2015] 6. Explain the data structure of single pass assembler.[GTU,BE-CE,May-2015] 7. Explain use of various data structures (tables) needed in PASS I of the assembler. Also give details of their fields. [GTU,BE-CE,Dec-2014] 8. Define forward references. How it can be solved using back-patching? Explain with example. [GTU,BE-CE,May-2014][DEC-2015] 9. Explain assembly scheme with suitable example. 10. Show content of symbol table at the end of pass-one of an assembler.
  • 2. 11. Explain the role of Mnemonic Opcode Table, Symbol Table, Literal Table and POOL Table in assembling process of assembly language program. 12. Compare and Contrast the following: (i) macro call and function call (ii) macro preprocessor and macro assembler[GTU,BE-CE,May-2015] 13. Which are the different assembly language statements? Explain each of them with suitable example. Unit-4: Macro & Macro Processors 1. Draw a flow chart and explain simple one pass macro processor.[May-2016] 2. What is macro in programming language? Write an algorithm for macro definition. 3. Explain advanced macro programming facilities. Give examples. [GTU,BE-CE,Dec- 2014][DEC-2015] 4. Define a macro taking starting location and N as parameters to find summation of all N numbers stored at locations starting from starting location. The result is to be stored at starting location. 5. Illustrate expansion of nested macro calls by giving example. [GTU,BE-CE,Dec-2014] 6. Define Lexical and Semantic Expansion. Write a macro which takes A,B, C and D as parameters and calculates A*B+C*D in AREG. 7. What is macro-preprocessor? Explain steps of macro-preprocessor design.[GTU,BECE, June-2013][GTU,BE-CE,May-2015] [GTU,BE-CE,Dec-2014][DEC-2015] 8. Explain macro expansion in details.[GTU,BE-CE,June-2013][GTU,BE-CE,May-2015] 9. Define a macro taking A and B as parameters to compute A = A * B + B * B + A + B. 10. Define two macros of your choice to illustrate nested calls to these macros. Also show their corresponding expansion. [DEC-2015] 11. Explain use and field of following tables of macro. KPDTAB, MDT, EVTAB, SSTAB[May- 2016] 12. Explain various data structures of Macro definition processing with example. [GTU, BE-CE, Dec 2013] 13. Explain following facilities for expansion time loop with example. (i) REPT statement (ii) IRP statement[GTU,BE-CE,Dec-2014][May-2016] 14. Compare the features of subroutine and macros with respect to following. (iii)Execution speed (iv) Processing requirement by assembler. (v) Flexibility and generality
  • 3. Unit-5: Linkers & Loaders 1. Describe in detail how relocation and linking is performed. Explain with Example.[DEC- 2015] 2. What is Overlay? Explain the execution of an overlay structured program. 3. Explain Absolute Loader with example. [GTU,BE-CE,May-2014] [GTU,BE-CE,May- 2015][DEC-2015][May-2016] 4. Explain design of a linker by addressing issues of relocation and linking. [GTU,BECE, May-2015] 5. Explain BSS loader with example. 6. Explain object module of the program. 7. Explain self-relocating program and overlay structured program. [GTU,BE-CE,May- 2015][May-2016] 8. What is program relocation? How relocation is performed by linker. Explain with example. [GTU,BE-CE,May-2014][May-2016] 9. Explain linking and loading in MS DOS. [GTU,BE-CE,May-2014] 10. Explain dynamic linking. Draw the flaw chart for dynamic linking. 11. Write an algorithm for first pass of a linker. 12. Draw flow chart of “program linking”. 13. Explain relocation and linking requirements in segmented addressing with suitable example.[GTU,BE-CE,June-2013] 14. In brief explain relocating loader. [May-2016] Unit-6: Scanning & Parsing 1. Explain types of grammars.[GTU,BE-CE, Dec 2013][GTU,BE-CE,May- 2014][GTU,BE-CE,Dec-2014] [DEC- 2015][May-2016] 2. Explain Left recursion, Left factoring and backtracking in top down parsing. 3. Explain left factoring by giving example. 4. Explain recursive descent parsing algorithm.[DEC-2015][May-2016] 5. Compare top-down and bottom-up parser.[GTU,BE-CE,June-2013] 6. Explain recursive decent parser with suitable example. Also state its drawbacks. [GTU,BE-CE,June-2013] 7. Write operator precedence table for arithmetic operators “+”, “*”, “-”, “/”. [GTU,BE-CE,June-2013] 8. Parse following expression using the table. id * id + id * id 9. Write algorithm for operator precedence parsing and explain with example.[GTU,BECE, Dec 2013] 10. Explain working of LL (1) parser. Parse following string: id + id - (id * id ).
  • 4. 11. Write complete grammar for an arithmetic expression containing operators „+‟, „–„, „*‟, „$‟ using recursive specification and Backus Naur Form (BNF) where „$‟ is exponentiation operator.[GTU,BE-CE,June-2013] 12. Build a DFA for following regular expression. (a | b)*aab#. 13. A language consists of all strings of a‟s and b‟s which ends with b and does not contain aa. Write regular expression for the language. 14. Perform left-factoring on the following grammar. S = i E t S e S | i E t S | a E = b 15. Given the Grammar, evaluate the string id-id*id using shift reduce parser. E-> E – E E -> E * E E -> id 16. Construct LL (1) parsing table for following grammar. E TE‟ E‟ +TE‟ | Є T FT‟ T‟ *FT‟ | Є [GTU, BE-CE, May-2015] 17. Write a regular expression for a language containing a binary string which does not contain two consecutive 0s or two consecutive 1s anywhere. [DEC-2015] 18. Construct NFA and DFA for following regular expression: (0 | 1)*001# [DEC-2015] 19. Given following expression: x = -a * b + -a * b Write three address codes for the expression. Optimize the three address code if it is possible to do so. Give triple implementation for the three address code of the expression. [May-2016] Unit-7: Compiler 1. Explain methods for accessing non local variables. 2. Explain Memory allocation models. 3. List and compare various techniques for dynamic memory allocation. 4. Give example(s) of errors detected by first three phases of compiler. 5. Explain different code optimization techniques. [GTU,BE-CE,May-2014] 6. What is meant by optimizing transformations? Explain any three with suitable example. [GTU, BE-CE, June-2013] [GTU,BE-CE,May-2014][DEC-2015] 7. What are the issues in code generation in relation to compilation of expression? Explain each issue in brief. [GTU, BE-CE, June-2013] 8. Discuss parameters for Activation Records. 9. Explain triple and quadruple representation with example.
  • 5. 10. Explain memory allocation in block structured language. 11. What is interpreter? Explain benefits of interpreter. Compare interpreter and compiler.[DEC- 2015] Unit-8: Interpreter & Debugger 1. Explain functioning of interpreter. 2. Define the following terms. (i) Handle (ii) Program Relocation (iii) literals (iv) forward Reference (v) System Program (vi) Language Processor (vii) Operator Grammar (viii) Pass (ix) Frequency reduction (x) triples [GTU, BE-CE, Dec 2013] [GTU, BE-CE, May-2014] 3. Define following terms: (i) Assembler (ii) Macro (iii)Parsing [GTU,BE-CE,June-2013] 4. Explain following. (i) Execution Gap (iii) Phases of Compiler (ii) Interpreter (iv) Language Migrator 5. Explain following terms with suitable example. (i) Expansion time variable (iii) Semantic Expansion (ii) Positional parameter (iv) Macro Preprocessor[GTU,BE-CE,May- 2015][May-2016] 6. What is interpreter? Explain pure & impure interpreters [May-2016] 6. Fill in the Blanks. 1. A macro is a unit of specification for _________________________through expansion. 2. Macro definition is enclosed between a __________________ statement and a__________________ statement. 3. A _______________________________ is designed to hold the names of all macro defined in a program. 4. An ___________________________ counter is maintained to count the number of nested macro calls. 5. A _____________________bridges an execution gap to the machine language of a computer system.
  • 6. (i) Detranslator (ii) Preprocessor (iii)Language translator [GTU,BE-CE,June-2013] 6. A _____________________bridges the specification gap between two programming languages. (i) Interpreter (ii) Language Migrator (iii)Compiler [GTU, BE-CE, June-2013] 7. _____________________ is designed to hold the value of formal parameters during expansion of macro call. (i) Actual Parameter Table (ii) Macro Name Table (iii)Expansion time variable table [GTU, BE-CE, June-2013][GTU, BE-CE, May-2014] 8. Syntax analysis processes the string of tokens built by _______________ to determine the statement class. (i) Semantic Analysis (ii) Lexical Analysis (iii)Itself [GTU, BE-CE, June-2013] 9. A lexical expansion is typically employed to replace occurrence of formal parameters by corresponding actual parameters. (State True/False) 10. Default specification of parameters is useful in situations where a parameter has the different value in most calls. (State True/False) 11. Macro definition table is maintained to hold value of sequencing symbols. (State True/False)