FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download GTU BE/B.Tech 2019 Winter 5th Sem New 2150708 System Programming Question Paper

Download GTU (Gujarat Technological University) BE/BTech (Bachelor of Engineering / Bachelor of Technology) 2019 Winter 5th Sem New 2150708 System Programming Previous Question Paper

This post was last modified on 20 February 2020

GTU BE/B.Tech 2019 Winter Question Papers || Gujarat Technological University


FirstRanker.com

GUJARAT TECHNOLOGICAL UNIVERSITY

BE - SEMESTER- V (New) EXAMINATION — WINTER 2019

--- Content provided by‍ FirstRanker.com ---

Subject Code: 2150708

Subject Name: System Programming

Time: 10:30 AM TO 01:00 PM

Instructions:

  1. Attempt all questions.
  2. --- Content provided by​ FirstRanker.com ---

  3. Make suitable assumptions wherever necessary.
  4. Figures to the right indicate full marks.

Date: 21/11/2019

Total Marks: 70

Q.1 (a) What are the advantages and disadvantages of procedure oriented language? 03

--- Content provided by⁠ FirstRanker.com ---

(b) Define following terms:- 04

  1. System Software
  2. Semantic gap
  3. Specification gap
  4. Execution gap
  5. --- Content provided by‍ FirstRanker.com ---

(c) Explain the various stages of the life cycle of a source program with a neat diagram. 07

Q.2 (a) Give examples of language processors. 03

(b) Difference between one pass and two pass assembler. 04

(c) Consider the following assembly language program and explain role of OPTAB,SYMTAB,LITTAB,POOLTAB with its contents. 07


--- Content provided by⁠ FirstRanker.com ---

START 300
MOVER AREG, ‘=5’
MOVEM AREG,R1
AGAIN MOVER AREG,R1
MOVER CREG,R2

--- Content provided by⁠ FirstRanker.com ---

ADD CREG,=’I”
BC ANY,TERM
LTORG
=5
=1

--- Content provided by⁠ FirstRanker.com ---

TERM SUB AREG,=1"
BC LT,DOWN
LAST STOP
ORIGIN LOOP+2
MULT CREG,R2

--- Content provided by‍ FirstRanker.com ---

ORIGIN LAST+1
R1 DS 1
DOWN EQU LOOP
R2 DS 1
END

OR

--- Content provided by‍ FirstRanker.com ---

(c) List out various assembler directives. Explain any three in detail. 07

Q.3 (a) Write definition of :- 03

  1. Macro expansion
  2. Lexical expansion

(b) Illustrate expansion of nested macro calls by giving example. 04

--- Content provided by⁠ FirstRanker.com ---

(c) Explain macro expansion in detail. 07

OR

Q.3 (a) Draw figure of macro preprocessor. 03

(b) Explain positional parameters, keyword parameters and default value parameters for macro. 04

(c) What are advanced macro programming facilitates? Explain with example. 07

--- Content provided by FirstRanker.com ---

Q.4 (a) What is backtracking? 03

(b) Difference between Top Down parser and Bottom Up parser. 04

(c) What is program relocation? How relocation is performed by linker. Explain with example. 07

OR

Q.4 (a) Explain lexical analysis of language processor. 03

--- Content provided by​ FirstRanker.com ---

(b) List and explain various types of grammar. 04

(c) What is overlay? Explain the execution of an overlay structured program. 07

Q.5 (a) Why translators are needed? 03

(b) Write example of recursive macros. 04

(c) Consider the grammar E > E—E 07

--- Content provided by‍ FirstRanker.com ---

E>E*E

E->id

Perform Shift-Reduce parsing of the input string “id1-id2*id3”

OR

Q.5 (a) What is analysis and synthesis part of compilation? 03

--- Content provided by‌ FirstRanker.com ---

(b) Describe ambiguity in grammar specification. 04

(c) Define simple phrase and handle. Using handle and simple phrase trace the bottom up parsing algorithm. 07

Grammar is: E>T+E|T-E|T

T>T*V|T/V|V

V->a|b|c|d

--- Content provided by‌ FirstRanker.com ---

String is: a—b*c+d



This download link is referred from the post: GTU BE/B.Tech 2019 Winter Question Papers || Gujarat Technological University

--- Content provided by‍ FirstRanker.com ---