CS506 Midterm Online Quiz

0%

CS506-Midterm

1 / 50

____________is/are the JSP Implicit Object(s).

2 / 50

Which of following can be thrown using the throw statement?

3 / 50

DSN stands for _________

4 / 50

ServletConfig defines a set of methods that a servlet uses to communicate with its servlet container.

5 / 50

Which of the following feature provide facility for multiple inheritances:-

6 / 50

Static methods only access ___

7 / 50

In Java garbage collection is done by_______________

8 / 50

Socket is a --------------communication channel between hosts.

9 / 50

Socket is a --------------communication channel between hosts.

10 / 50

There are _________ types of exceptions in Java

11 / 50

Which of the following is used for inheritance in java?

12 / 50

In Java a final class must be sub-classed before it.

13 / 50

You can ---------to a network using sockets.

14 / 50

The relationship between class and interface is called ________

15 / 50

Event source can have --------- listeners registered on it.

16 / 50

Which of the following function will be used to register event handler with events generator (button)?

17 / 50

Exceptions must be handled while handling files otherwise it may lead to____?

18 / 50

An abstract class ---------------instantiated.

19 / 50

A top level class may have only the following access modifier.

20 / 50

Which of these are valid declarations for the main method?

21 / 50

If a super class method is protected then overriding method _________

22 / 50

HahMap takes key as a/an _________

23 / 50

A top level class without any modifier is accessible to

24 / 50

If we remove static from main then program __________

25 / 50

Window frame and dialog use ________ as their default layout.

26 / 50

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

27 / 50

An expression tag contains a scripting language expression that is evaluated.

28 / 50

When defining a method you must include a ___________ to declare any exception that might be thrown but is not caught in the method.

29 / 50

In Java an abstract class cannot be sub-classed

30 / 50

Aside from the Scanner class, which of the following classes can be used for text-file file input?

31 / 50

Exceptions must be handled while handling files otherwise it may lead to _____

32 / 50

CREATE, ALTER, DROP are _________ SQL statements.

33 / 50

HahMap takes key as a/an _________

34 / 50

Which of the following syntax is used to attach an input stream to console?

35 / 50

Aside from the Scanner class, which of the following class/es can be used for text file file input

36 / 50

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

37 / 50

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

38 / 50

Which of the following statements is true regarding Vectors with no specified base type?

39 / 50

Which of the following methods are invoked by the AWT to support paint and repaint operations?

40 / 50

An abstract class --------------- instantiated.

41 / 50

Which of the following stream is a filter stream?

42 / 50

CREATE, ALTER, DROP are _________ SQL statements.

43 / 50

You can ---------to a network using sockets.

44 / 50

JavaBeans are?

45 / 50

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

46 / 50

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

47 / 50

Which of the following is true about abstract class?

48 / 50

Which of the following function will be used to register event handler with events generator (button)?

49 / 50

A ___________ defines the way and method of communication between two parties.

50 / 50

Which of the following methods are invoked by the AWT to support paint and repaint operations?

Your score is

The average score is 32%

0%

Qunoot e Nazilah
Dua e Hajat
4 Qul
6 Kalma
Dua-e-Akasha
Darood Akbar
Surah Fatiha
Dua-e-Ganj Ul Arsh
Dua-e-Jamilah
Ayat-ul-Kursi