How To Exam?

a knowledge trading engine...


Thapar University 2006 B.E Computer Science Computer System Software - Question Paper

Thursday, 18 April 2013 10:25Web


Thapar Institute of Engineering & Technology
B.Tech CS (4th Year)
MidTerm exam
CS012 (Computer System Software)



Thapar Institute of Engineering & Technology, Patiala Computer Science & Engineering Department B.E. (Computer Engineering) 4th Year]- Semester

Mid Semester Test-2 Course Code : CS 012    Date : 09.12.2006

Course Name : Computer System Software    Time Allowed : 3 Hr.

Instructor : Deepak Garg    Max. Marks : 36

Note: All Questions are compulsory. Attempt the parts of the question at one place. Tables should be

clearly made with proper structure. Check your Answer sheets on 11.12.2006 (Monday) in L204

What you understand by a memory manager in an Operating System. What arc various memory management schemes? Explain any five of them with figures and examples giving all details.

1


a)What    you understand by code optimization phase of compiler? Explain various techniques of code optimization?

1.5*6


b)    W'hat is a conditional breakpoint in a debugger?

c)    Find the space required for entire page table, given that

the virtual space is 4G bytes (1G = 10A9 )

each page size is 4k

each page table entry is 4 bytes

d)    Explain the following instruction SVC

TIO

1C

e)    What you understand by absolute loaders. Explain.

f)    What is dynamic linking. Give its pros and cons.

a)What    are linkage conventions using a save area. Discuss the assembly code while calling a function and while returning from a function to link both the modules.

b)    Solve the macro processor part of the EDIT program given at the back and make

1+1+1

1.5+1.5


(i)    MNT

(ii)    ALA

(iii)    MDT

Also expand the program that will be used for the linker part.

c)    Solve the Linker part and make the RLDJESD for both the programs EDIT & LINK given in the back. The output of these programs is to be combined by using a GEST assuming the program EDIT is starting at memory location 60 in the main memory and the program LINK start immediately after the first program with a double w'ord alignment.__

Make the assembler tables for the output from the linker part after you get a single linked module

a)

(i)

ST

(ii)

LT

(iii)

BT

(iv)

MOT

(V)

POT

b) Convert the program using IBM 370 assembler and write the machine code in the hexadecimal code format. Assume the hex code of everv Instruction to be 1C.

MACRO

MACPRO

&ABC.&DEF

GBLA

&GHI

AR

&ABC.&DEF

A

3.JKL

&GH1

SETA

9

NC

MNO,PQR

CR

&ABC.&GHI

D

&DEF,STU

MACLINK

5

LR

8,11

MEND

MACRO

MACLINK

&XYZ

LCLA

&GHI

GBLA

&STU

OR

L&XYZ

&GHI

SETA

7

&STU

SETA

8

SR

&GHL&GHI

ST

EDIT

START

EXTRN

WIFI

ENTRY

WIN

BALR

15,0

USING

M5

VW

EQU

10

SL

8,=F12

CH

I2,=H9

MACPRO

3.4

MV1

WIN,9

LTORG

DROP

15

DS

0D

JKL

DC

5X4C\BM000I000

MNO

DC

CCOMPUTER

PQR

DC

D34

-

WIN

DC

A(WIFI+WIN)*A(W1N-EDIT)

END

LINK

START

EXTRN

EDIT

ENTRY

WIFI, TFT

TEN

EQU

10

SLR

TEN, 10

TFT

MR

6,TEN

LCR

4,7

XR

6,9

NR

TEN, 11

WIFI

DC

A(TFT-EDIT-LINK+WIFI),A(EDIT)

END







Attachment:

( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Thapar University 2006 B.E Computer Science Computer System Software - Question Paper