Friday 31 May 2013

CS506 All Current Midterm Papers Spring 2013



On Sat, Jun 1, 2013 at 8:38 AM, YASIR AWAN <yasirawan1992@gmail.com> wrote:


cs506 today paper 25..05.2013
1. Calculate waiting times and average waitinf times for FCFO algorithm for given Burst time. (5)

2. Algorithm 1 was written and asked its shortcomings. (5)

3. For Bounded buffer and consumed process code was written, asked about "counter" variable purpose in it. (3)

4. one thread is process and other is kernel..one more thread is, which is created and managed by other thread. tell the name and also how it is created and managed? (question was aked like this and It's answer was about user thread.) (3)

5. what is the name of the formula for queuing theory and also write formula. (2)

6. which thread is managed by OS? (2)
--------------------------------------------------------
CS506 Today Paper
Question:
Question:

Question:

Question:

Question:

Question:
Java developed in __________
►1990
►1995 (Page 12)
►1997
►2000

Question:
To create DataBaseMetaData object we write following line of code

► DataBaseMetaData db = con.getMeataData(); (Page 177)
► ResultSetMetaData rsmd = rs.getMetaData();
► ResultSetMetaData rsmd = rs.setMetaData();
► DataBaseMetaData db = con.setMeataData();

Question:
A method can not be made final until whole class is made final.
► True
► False

Question:
- The relationship between class and interface is called ________
► ' Is a ' relationship (Page 98)
► ' Has a ' relationship
► ' Responds to ' relationship
►None of the given options

Question:
If a class needs to handle events generated by button then which of the following interface a class
needs to implement?

►ComponentListener
►KeyListener
►MouseListener
►ActionListener (Page 122)

Question:
Which of the following method is used to execute SELECT SQL statements?
► executeUpdate(sql);
►ExecuteUpdate(sql);
► executeQuery(sql); (Page 154)
►ExecuteQuery(sql);

Question:
The code below draws a line. What color is the line?
g.setColor(Color.red.green.yellow.red);g.drawLine(0, 0, 100,100);
►Red
►Green
►Yellow
►Black

Question: Marks 3

Question: Marks 3

Question: Mark2

Question: Mark2
What use of "this " in given code Marks 2
Code yaad ni hy

Question: Mark5
SetMetaData ko use kraty ho ay ak Table bananana tha Mark 5

Question: Mark5
Ak statement thi jis main boss and you inter communication k a software develop krna hy to as software developer what best software totally secure from others Marks 5

--
You received this message because you are subscribed to the Google
Groups "-VU-ROCKS-" group.
To post to this group, send email to VU-ROCKS@googlegroups.com
http://groups.google.com/group/VU-ROCKS?hl=en
---
You received this message because you are subscribed to the Google Groups "-VU-ROCKS-" group.
To unsubscribe from this group and stop receiving emails from it, send an email to VU-ROCKS+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Need Your Comments.....!

-- 

For University of Pakistan Study Material Sharing, Discussion, etc, Come and join us at http://4e542a34.linkbucks.com
You received this message because you are subscribed to the Google
Groups "Study" group.
To post to this group, send email to http://ca13054d.tinylinks.co
For more options, visit this group at
http://004bbb67.any.gs

No comments:

Post a Comment

Note: only a member of this blog may post a comment.