Top Banner
21

Cusat 6th Sem It Qustpaper

Mar 11, 2015

Download

Documents

Jinu Madhavan

Cusat 6th Sem It Qustpaper
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Cusat 6th Sem It Qustpaper
Page 2: Cusat 6th Sem It Qustpaper
Page 3: Cusat 6th Sem It Qustpaper
Page 4: Cusat 6th Sem It Qustpaper
Page 5: Cusat 6th Sem It Qustpaper
Page 6: Cusat 6th Sem It Qustpaper
Page 7: Cusat 6th Sem It Qustpaper
Page 8: Cusat 6th Sem It Qustpaper
Page 9: Cusat 6th Sem It Qustpaper
Page 10: Cusat 6th Sem It Qustpaper
Page 11: Cusat 6th Sem It Qustpaper
Page 12: Cusat 6th Sem It Qustpaper
Page 13: Cusat 6th Sem It Qustpaper

Interest Calculator

Principle :

Rate •

Year

SUBMIT RESET

Interest Calculator

Your Interest is Rs

OR(Turn Over)

BTS (C) — VI — 10 — 006 — N

B. Tech Degree VI Semester Examination, April 2010IT 602 INTERNET PROGRAMMING

(2006 Scheme)

Time : 3 Hours Maximum Marks : 100

PART - A(Answer ALL questions)

(8 x 5 = 40)

I. (a) Differentiate between internal DTD and external DTD with example.(b) Identify whether the following usage of elements are valid or invalid.

< ! ELEMENT drink EMPTY >< ? Xml version = "1.0" ? >< drink > tea < / drink >< ! ELEMENT academy (subject, * course, + school ? ) >

<? X ml version = "1.0" > <subject > I P </ subject ><? X ml version = "1.0" > <course > I T < / course >< ? X ml version = "1.0" > < c school > SHSS < / school >

(c) How to create a Link to a CGI script? Give suitable eg.Which function in Perl allows to display formatted data? Give suitable eg?Explain JApplet Life Cycle.Explain scripting elements used in JSP.Which are the three types of arrays used in PHP?

(h) Describe four methods to manage program flow in PHP.

PART — B(4 x 15 = 60)

Create a well formed and valid XML document for your resume. Includeelements containing personal identification, educational qualification, formeremployer details and special skills.

ORDifferentiate between default name space and explicit name space with necessaryexample.

Generate a CGI script for interest calculation, from the following form to generatethe given output :

Input

Output

Page 14: Cusat 6th Sem It Qustpaper

SUBMIT

Internet Explorer X

STUDENT DETAILS

ID

Name

Course

Duration

Institution ICI

IX.

2

How to send a item and multiple item of data to a CGI script? Explain withsuitable example.Describe various Javabean Scope.

ORCreate a table "Product" with fields data, quantity, price, manufactor using JSP anddisplay those items with price > 12,000

ID QTY PRICE MFR1000 10 12,000 IBS1400 50 100,000 ABC1500 20 14,000 IGM1700 40 3000 BIS

Generate a PHP script to create a page that allows the user to select a record then edit therecord and update the database.

ORGenerate a PHP script for following form and then submit button is clicked add data tothe "student table

***

Page 15: Cusat 6th Sem It Qustpaper
Page 16: Cusat 6th Sem It Qustpaper
Page 17: Cusat 6th Sem It Qustpaper

BTS (C) — VI — 10 — 009 — J

B. Tech Degree VI Semester Examination, April 2010IT 605 OBJECT ORIENTED MODELLING AND DESIGN

(2006 Scheme)

Time : 3 Hours Maximum Marks : 100

PART - A(Answer ALL questions)

(e)

With a suitable example explain an Actor and a Usecase.Briefly explain the various kinds of relationships in 00M.Explain how a usecase can be realized. Give an example.Describe about Activity, event of State.What are template classes? Explain.Distinguish a composite state with a submachine state. Give examples.Explain a deployment diagram and its purpose.Write a note on ADL.

(8 x 5 = 40)

PART — B(4 x 15 60)

II. (a) Briefly explain about UP architecture. (5)(b) With a suitable example give the necessary steps in usecase modelling. (10)

ORIII. Write notes on :

Usecase generalization (7)Actor generalization (4)

(iii) Packages. (4)

Explain the different interaction diagrams with suitable examples. (15)OR

(a) Comment on activity partitions. (6)( 3) With a suitable example explain a sequence diagram. (7)(c) What is a life line? (2)

VI. (a) Briefly explain design workflow. (5)(b) Explain interfaces and components. Give examples. (10)

ORVII. Explain a well formed design class and its characteristics. (15)

VIII. (a) Briefly explain the usage of OCL. (5)(b) Explain any four types of OCL expressions. Give examples. (10)

ORDC. What is Software Architecture? Explain the common Architectural Styles. (15)

***

Page 18: Cusat 6th Sem It Qustpaper
Page 19: Cusat 6th Sem It Qustpaper

OF SChc.

BTS(C) — V1-10 — 007 J

B. Tech Degree VI Semester Examination, April 2010CS/IT 603 OPERATING SYSTEMS

(2006 Scheme)

Time : 3 Hours Maximum Marks : 100

PART - A(Answer ALL questions)

(8 x 5 = 40)

I. a. Is busy waiting always less efficient (in terms of using processor time) than a blocking wait?Explain.What advantage is there in having different time-quantum sizes on different levels of amultilevel queuing system?What is external fragmentation? Describe a method for overcoming external fragmentation?What is Translation Look aside Buffer? Explain the steps involved in the page replacementafter a TLB miss?Compare Tree Structured Directories with Acyclic Graph Directories?Explain the steps in DMA transfer?Is it possible to have a deadlock involving only one process? Explain you answer.

h. Can a system detect that some of its processes are starving? If you answer "yes",explain how it can? If you answer "no", how the system can deal with starvationproblem?

PART - B(4 x 15 = 60)

II. Explain the concept of 'process'. With suitable diagrams explain five states of process andprocess control block (PCB/TCB).

(15)

ORIII. Consider the following set of processes, with the length of the CPU burst time given in

milliseconds

Process Burst Time Priority

PI 10 3P2 1 1P3 2 3P4 1 4P5 5 2

The processes are assumed to have arrived in the order PI, P2, P3, P4, P5 all at time 0 andsmaller priority number implies a higher priority.

Illustrate the execution of these processes using FCFS, SJF, a non preemptivepriority scheduling?What is the turnaround time of each process for each of the scheduling algorithmsdiscussed above? (15)

(Turn over)

Page 20: Cusat 6th Sem It Qustpaper

2

Explain the concept of paging. Consider a logical address space of eight pages of1024 words each mapped on to a physical memory of 32 frames. Draw and explainpaging architecture.

ORUnder what circumstances do page faults occur. With suitable diagram describe theactions taken by the operating system when a page fault occurs.

VI. Multi programming environment demands shared directories, explain a directory structurewhich supports shared directories. Explain how this directory structure deals with

Files with Multiple absolute path names.Dangling pointers to the non existing file, after a file deletion.

ORVII. Suppose a disk drive has 5000 cylinders, numbered 0 to 4999, the Drive is currently serving

a request at cylinder 143, and the previous request was at cylinder 125. The queue ofpending requests in FIFO order is 86, 1470, 913, 1774, 1509, 1022, 1750, 130. Starting fromthe current head position, what is the total distance (in cylinders) that the disk arm moves tosatisfy all the pending request for each of the following disk scheduling algorithm(a) FCFS (b) SSTF (c) SCAN (d) C - SCAN

VIII. Consider the following snapshot of a system

AllocationABCD

MaxABCD

AvailableABCD

PO 0 0 1 2 0 0 1 2 1 5 2 0PI 1 0 0 0 1 7 5 0P2 I 3 5 4 2 3 5 6P3 0 6 3 2 0 6 5 2P4 0 0 1 4 0 6 5 6

Answer the following questions using banker's algorithm

What is the content of the matrix need?Is the system is in safe state?

c. If a request from process PI arrives for (0,4 , 2, 0), can the request be grantedimmediately.

ORIX. When a detection algorithm determines that deadlock exists, what are the possibilities to

deal with the deadlocked system? Explain in detail.

(15)

(15)

(15)

(15)

(15)

(15)

***

Page 21: Cusat 6th Sem It Qustpaper