Monday, November 29, 2010

[discussion_vu] Fwd: cs506 today quiz







*~ WS ~*
*~ Devil Jin ~*
*
Bscs 4th Semester *



---------- Forwarded message ----------
From: Sweet ksh <sweet.ksh@gmail.com>
Date: Mon, Nov 29, 2010 at 11:52 AM
Subject: ::::|| VU ||:::: cs506 today quiz
To: coool_vu_students@googlegroups.com


Top of Form





Quiz Start Time: 01:18 PM


Time Left


6
sec(s)


Question # 1 of 10 ( Start time: 01:18:30 PM )


Total Marks: 1

Which of the following belongs to a category of checked exception?

Select correct option:





Null Pointer exception



IOException



Array index out of bounds



NumberFormatException







Quiz Start Time: 01:18 PM


Time Left


23
sec(s)


Question # 2 of 10 ( Start time: 01:19:57 PM )


Total Marks: 1

Which of the following is called "pure abstract class"?

Select correct option:





Concrete class



Wrapper class



Interface



Abstract class with no abstract method







Quiz Start Time: 01:18 PM


Time Left


85
sec(s)


Question # 3 of 10 ( Start time: 01:21:16 PM )


Total Marks: 1

An instance of abstract class cannot be created.

Select correct option:





True



False







Quiz Start Time: 01:18 PM


Time Left


90
sec(s)


Question # 4 of 10 ( Start time: 01:21:29 PM )


Total Marks: 1

Which of the following is used for inheritance in java?

Select correct option:





implements



extends



: (colon)



inherit







Quiz Start Time: 01:18 PM


Time Left


89
sec(s)


Question # 5 of 10 ( Start time: 01:21:43 PM )


Total Marks: 1

Which of the following package needs to import while interacting with
relational database?

Select correct option:





java.io



java.sql



javax.swing



java.awt







Quiz Start Time: 01:18 PM


Time Left


89
sec(s)


Question # 6 of 10 ( Start time: 01:22:03 PM )


Total Marks: 1

Window, frame and dialog use ________ as their default layout.

Select correct option:





Border layout



Flow layout



GridBag layout



Grid layout







Quiz Start Time: 01:18 PM


Time Left


21
sec(s)


Question # 7 of 10 ( Start time: 01:22:26 PM )


Total Marks: 1

A collection can store _________

Select correct option:





Homogenous objects



Heterogeneous objects



Objects as well as primitive values



At most 100 objects







Quiz Start Time: 01:18 PM


Time Left


89
sec(s)


Question # 8 of 10 ( Start time: 01:23:46 PM )


Total Marks: 1

Which of the following is a general purpose container?

Select correct option:





JFrame



Dialog



JPanel



JApplet







Quiz Start Time: 01:18 PM


Time Left


89
sec(s)


Question # 9 of 10 ( Start time: 01:24:33 PM )


Total Marks: 1

Overloading is _______ whereas overriding is _____

Select correct option:





Run time binding, compile time binding



Late binding, compile time binding



Compile time binding, run time binding



Run time binding, late time binding







Quiz Start Time: 01:18 PM


Time Left


89
sec(s)


Question # 10 of 10 ( Start time: 01:25:46 PM )


Total Marks: 1

The relationship between class and interface is called ________

Select correct option:





'Is a' relationship



'Has a' relationship



'Responds to' relationship



None of the given options



 Bottom of Form












Top of Form





Quiz Start Time: 01:30 PM


Time Left


90
sec(s)


Question # 1 of 10 ( Start time: 01:30:04 PM )


Total Marks: 1

HahMap takes key as a/an _________

Select correct option:





Object



Array



Primitive value



Function





Quiz Start Time: 01:30 PM


Time Left


89
sec(s)


Question # 2 of 10 ( Start time: 01:31:34 PM )


Total Marks: 1

Which of the following statement object is used to execute stored procedures?

Select correct option:





Statement



PreparedStatement



CallableStatement



None of given options







Quiz Start Time: 01:30 PM


Time Left


89
sec(s)


Question # 3 of 10 ( Start time: 01:32:46 PM )


Total Marks: 1

Mouse events can be trapped for ________ GUI component.

Select correct option:





JPanel



JFrame



JButton



All of given







Quiz Start Time: 01:30 PM


Time Left


89
sec(s)


Question # 4 of 10 ( Start time: 01:33:30 PM )


Total Marks: 1

Which of the following stream read/write data in the form of bytes?

Select correct option:





FileReader



FileWriter



PrintWriter



FileInputStream







Quiz Start Time: 01:30 PM


Time Left


89
sec(s)


Question # 5 of 10 ( Start time: 01:34:13 PM )


Total Marks: 1

Which of the following method is used to execute INSERT, UPDATE and
Delete SQL statements?

Select correct option:





executeQuery(sql);



ExecuteQuery(sql);



executeUpdate(sql);



ExecuteUpdate(sql);







Quiz Start Time: 01:30 PM


Time Left


82
sec(s)


Question # 6 of 10 ( Start time: 01:34:36 PM )


Total Marks: 1

Which of the following is true about abstract class?

Select correct option:





An abstract class must have all methods declared as abstract methods.



A class must have at least one abstract method to be an abstract class.



A class without any abstract method can be declared as abstract class.



An instance of abstract class can be created.







Quiz Start Time: 01:30 PM


Time Left


67
sec(s)


Question # 7 of 10 ( Start time: 01:34:53 PM )


Total Marks: 1

DSN stands for _________

Select correct option:





Data System Name



Domain system Name



Data Source Name



Database System Name







Quiz Start Time: 01:30 PM


Time Left


43
sec(s)


Question # 8 of 10 ( Start time: 01:35:25 PM )


Total Marks: 1

CREATE, ALTER, DROP are _________ SQL statements.

Select correct option:





DML



DDL



DCL



None of given







Quiz Start Time: 01:30 PM


Time Left


89
sec(s)


Question # 9 of 10 ( Start time: 01:36:24 PM )


Total Marks: 1

Which of the following belongs to a category of checked exception?

Select correct option:





Null Pointer exception



IOException



Array index out of bounds



NumberFormatException







Quiz Start Time: 01:30 PM


Time Left


74
sec(s)


Question # 9 of 10 ( Start time: 01:36:24 PM )


Total Marks: 1

Which of the following belongs to a category of checked exception?

Select correct option:





Null Pointer exception



IOException



Array index out of bounds



NumberFormatException







Quiz Start Time: 01:30 PM


Time Left


52
sec(s)


Question # 10 of 10 ( Start time: 01:36:49 PM )


Total Marks: 1

Which of the following function is declared in MouseMotionListener interface?

Select correct option:





public void mousePressed (MouseEvent me);



public void mouseDragged (MouseEvent me);



public void mouseClicked (MouseEvent me);



public void mouseEntered (MouseEvent me);



 Bottom of Form



Top of Form





Quiz Start Time: 01:05 PM


Time Left


14
sec(s)


http://quiz.vu.edu.pk/App_Themes/Default/Images/quiz_loading.gif

Question # 1 of 10 ( Start time: 01:05:44 PM )


Total Marks: 1

Which of the following is true about abstract class?

http://quiz.vu.edu.pk/App_Themes/Images/pointer5.gifSelect correct option:





An abstract class must have all methods declared as abstract methods.



A class must have at least one abstract method to be an abstract class.



A class without any abstract method can be declared as abstract class.



An instance of abstract class can be created.

http://quiz.vu.edu.pk/App_Themes/Images/pointer5.gif

Top of Form





Quiz Start Time: 01:05 PM


Time Left


66
sec(s)


http://quiz.vu.edu.pk/App_Themes/Default/Images/quiz_loading.gif

Question # 2 of 10 ( Start time: 01:07:06 PM )


Total Marks: 1

Mouse events can be trapped for ________ GUI component.

http://quiz.vu.edu.pk/App_Themes/Images/pointer5.gifSelect correct option:





JPanel



JFrame



JButton



All of given

http://quiz.vu.edu.pk/App_Themes/Images/pointer5.gif

Top of Form





Quiz Start Time: 01:05 PM


Time Left


43
sec(s)


http://quiz.vu.edu.pk/App_Themes/Default/Images/quiz_loading.gif

Question # 3 of 10 ( Start time: 01:07:46 PM )


Total Marks: 1

Which of the following is true about AWT and SWING components?

http://quiz.vu.edu.pk/App_Themes/Images/pointer5.gifSelect correct option:





AWT components creates a process whereas SWING component creates a thread.



AWT components creates a thread whereas SWING component creates a process.



Both AWT and SWING component creates a process.



Both AWT and SWING component creates a thread.

Top of Form





Quiz Start Time: 01:05 PM


Time Left


66
sec(s)


Question # 4 of 10 ( Start time: 01:08:46 PM )


Total Marks: 1

WindowListener interface contains _______ methods.




Four



Six



Seven



Eight

Question # 5 of 10 ( Start time: 01:09:22 PM )


Total Marks: 1

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


Question # 6 of 10 ( Start time: 01:09:48 PM )


Total Marks: 1

Window, frame and dialog use ________ as their default layout.




Border layout



Flow layout



GridBag layout



Grid layout







Question # 7 of 10 ( Start time: 01:11:18 PM )


Total Marks: 1

Which of the following method is used to execute SELECT SQL statements?





executeUpdate(sql);



ExecuteUpdate(sql);



executeQuery(sql);



ExecuteQuery(sql);



Question # 8 of 10 ( Start time: 01:12:05 PM )


Total Marks: 1

Which of the following stream is a filter stream?




FileWriter



FileReader



BufferedReader



All of given options







Quiz Start Time: 01:05 PM


Time Left


89
sec(s)




Question # 9 of 10 ( Start time: 01:13:09 PM )


Total Marks: 1

Which of the following stream read/write data in the form of bytes?




FileReader



FileWriter



PrintWriter



FileInputStream

Top of Form





Quiz Start Time: 01:05 PM



Question # 10 of 10 ( Start time: 01:14:40 PM )


Total Marks: 1

If a super class method is protected then overriding method _________




must be protected



must be public



must be private



may be either protected or public

--
You received this message because you are subscribed to the Google Groups "CoooL Virtual University Students" group.
To post to this group, send email to coool_vu_students@googlegroups.com.
To unsubscribe from this group, send email to coool_vu_students+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/coool_vu_students?hl=en.


--
You received this message because you are subscribed to the Google Groups "Virtual University of Pakistan" group.
To post to this group, send email to discussion_vu@googlegroups.com.
To unsubscribe from this group, send email to discussion_vu+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/discussion_vu?hl=en.

No comments:

Post a Comment

PAID CONTENT