Related with 'JAVA' | We found Total 77 Question paper ..!

98.

59.

60.

61.

62.

63.

64.

65.

Specialty of main function in java is :
(4) Public (൫) Static
(0) णप्‌ (D) All the above

If we declare 4 objects of a class. How many copies of static variable can be produced :
@ 3 ® 2
© 1 D) 4

How runtime error in Java is handled?
(A) Using new and delete operator
(B) Using constructor and destructor method
(മ Using try ....... catc.... See more

76.

29و

78.

79.

80.

81.

82.

83.

In order to get the MIME type of a file, a Servelt may use the methods defined in the
interface :

(ಗಿ) servlet Info ' (B)servletcontainer

(0) Servlet Config (D) servlet context

Java method that can be used to pause the current thread execution until and unless
another thread completes its execution :

(^) sleep (©) yield
(C) join (D) suspend.... See more

40. Which of the following statements is FALSE?
ക ParQ)v(~PAQ)v(PA~@®) isequalto - ‏م حرق‎
@) ‏رهم 1 -) روم ط)‎ (2௧ 01௦ உமம ‏م‎ «८ ©
(© PAQVv(PAR)v(PA~Q)isequalto (2൦൫൭)
(0) (PAQ)v(~PAQ)v(PAQ)isequalto [(Pv~P)aAQ]v(PAQ)
41. SignalR is a library which provides the facility of real time web functionality to :
(മ) Java Applications (B) - PHP Applications
(ಲ) ASP .NET Applications (D) None of these
42. JSP is 8 techn.... See more

Question88:-Among the following, the Java package which is used by the compiler itself and need not be explicitly imported
is:
A:-java.lang
B:-java.awt
C:-java.math
D:-java.applet
Correct Answer:- Option-A
Question89:-Distributed applications are created in Java using
A:-RMI and JDBC
B:-CORBA and JDBC
C:-RMi and CORBA
D:-None of the above
Correct Answer:- Option-C
Question90:-DMSP stands for:
A:-Distributed Mail Support Plan
B:-Document.... See more

928

029.

030.

034

032

033.

Which statement provides an easy way to dispatch execution to different parts of your
code based on the value of an expression?

(€) ॥ (8) Switch
(€) Nested-if (D) எல ۴

Which keyword is used to make the classes and interface of another package
accessible 1o the current package?

(A) Import (B) Implements

(८) Instanceof (D) None of the above

Which me.... See more

48.

49.

50.

51.

53.

54,

The Java compiler translates source code into :

(ಹಿ) Machine code (B) Assembly code
(0 Byte code (D) JVM code
Which of the following is not a valid type in Java? .
(ಯ) லம்‌ (B) static
(0 © (D) boolean

Scanner class comes under the package :
(ಗ). javalang (ല്‍) java.io
(0) java.net (D) java.util

Which one of the following is not a method of Window.... See more

51.

58.

54.

55.

56.

57.

Encapsulation is implemented in C++ using :
(A) structure (18) class
(C) array (D) function

Which symbol is used for commenting in C++?
(4) ॥ ए) ‏ل‎ *
© ! (D) Both (A) and (B)

Define function overloading :
(A) same signature with different function name
(B) same function name with same parameter list
(C) same return type with different function name
(D) same f.... See more

10.

11.

12,

13.

14.

15,

16,

class output
{
public static void main (string args| 1)
{string Buffer sb=new string Buffer (“Hello”);
Sb.delete (0,2);
system.out.println(c);
}
(A) He ற 8 © b D) ‏ملا‎

Which of the interface contain all the method used for handling thread related operations in
java ?

(^) Runnable interface (3) Math interface
(ಲ) System interface (D) Thr.... See more

Question9:-During the initial stages of an attack by a new intermet scanning worm, the number of infected machines
increases
A:-Exponentially with time
B:-Logarithmically with time
C:-Polynomially with time
D:-At a constant rate
Correct Answer:- Option-A
Question10:-Use privileges in windows are stored in
A:-DACL
B:-ACE
C:-Access token
D:-SID
Correct Answer:- Option-C
Question11:-Probabilistic packet marking is technique used in support of
.... See more



3

052

053.

054

೦55.

056

057

058

Which of these methods Is a part of Abstract Windew Toolkit (AWT)?

(A) display() (8) 7081೧10)
(©) ‏۷0٤‎ (D) transient()
The _ __ attribute of applel lag specifies the amount of horizontal blank

space the browser should leave surrounding the applet

(ಡಿ) SPACE=pixels (8) HSPACE=pixels

(©) HWIDTH=pixels (D) HBLANK=pixels
<.... See more

Question73:-Which of the following is not a solution to Critical Section Problem in Process Synchronization?
A:-Mutual Exclusion
B:-Progress
C:-Hold and Wait
D:-Bounded waiting
Correct Answer:- Option-C
Question74:-Which concept in operating system where the processes spend more time in paging rather than its execution?
A:-Demand Paging
B:-Thrashing
C:-Segmentation
D:-Fragmentation
Correct Answer:- Option-B
Question75:-For multithreading a web serv.... See more

Question73:-Which of the following is not a solution to Critical Section Problem in Process Synchronization?
A:-Mutual Exclusion
B:-Progress
C:-Hold and Wait
D:-Bounded waiting
Correct Answer:- Option-C
Question74:-Which concept in operating system where the processes spend more time in paging rather than its execution?
A:-Demand Paging
B:-Thrashing
C:-Segmentation
D:-Fragmentation
Correct Answer:- Option-B
Question75:-For multithreading a web serv.... See more

091/22

63. What will be the error of the following program ?
interface 11 {
double PI = 3.14;

interface 12 {
double PI = 3.1415;

interface ‏3ا‎ extends 11, 12 {
double area(double r);
}

public class Interface Test implements 13 {
public double area(double r) {
return ۳۱*۳۲

public static void main(String[] args) {
InterfaceTest it = new InterfaceTest();
System.out.printin(it.area(5));

}

}See more

82.

33.

84.

35.

36.

87.

88.

89.

The mechanism which allows multiple senders to transmit multiple groups of receivers,
permits individual receivers to switch channels freely and optimizes bandwidth use while at
the same time eliminating congestion :

(A) Resource Reservation Protocol 18) Load Shedding
(C) Admission Control (D) Jitter Control

The wait( ) and notify( ) methods in Java comes under th.... See more

3. पाल

{
int k=35,z;
K=funcl(k=funcl(k=func1(k)));
printf(“k=%d" k);

}

Funct1(k)

int k:

{

K++;

return(k):

}

८५) ॐ ൫ 37 © 38 D) 40

4. main ¢
{
int j=1;
while (j<=255);
printf(“%c%d\n”, j;);
1
}

}
(ಹ) 255 ൫ 255, 255 )© Nooutput (D) 256

5. गाल
{
int a=500, b=100,c;
if (la>=400)
b=300;
൦200;
prin.... See more

Question83:-What does the following program output?

public class ABC {
public static int function1(int p, int g} {

else if (p
else

retumn function1{p-1,q)+function1(p-1,9-1);
}

public static void main(String[] args) {
System.out printin{ABC.function1(3,2));
}

}

A4

B:-3

6-2

0-1

Correct Answer:- Option-B
Question84:-The following program prints:

public class .... See more

tion-B
Question57:-Which of these class object cannot be used to form a dynamic वाचे in JAVA?
A:-AmayList
B:-Map
C:-Vector
D:-ArrayList and Vector
Correct Answer:- Option-B
Question58:-Predict the output of the following code

public class Check

{

public static void main(String args[]}
{

String s1 = “test";

String 52 = new String(s1);
System.out.printin(s1==s2);
}

}
കട
B:-false
.... See more

Question70::Which of the following are the drawback of manual entering of data under HRIS 7
AcAccuracy, Fragmentation and Duplication
B:-Fragmentation, Duplication and Security
Security, Duplication and Time
०-५॥ of the above
Correct Answer:- ೦೧000
Question71::Which of the following is nat involved in HRIS system design ?
AcNTier architecture
B:-OneTier architecture
பொக architecture
D-Twortier architecture
Correct Answer: Option ®
.... See more

060/2017 0O ‏اال‎

45.

46.

47.

48.

49.

50.

51.

52.

53.

tag in html is used for
A) Defines paragraph B) Define a parameter
C) Defines preformatted text D) Defines progress of a task

What is the use of tag in html ?
A) Defines a hyperlink B) Defines an abbreviation
C) Defines address D) Defines area

Garbage collection in java program is done by
A) Java compi....
See more


85,

86,

87.

88,

89,

90,

91,

Which of the following is used to redirect the response from a servlet to a JSP page ?
(^) response.sendRedirect() (8) request.sendRedirect()
(~) request.forward() (D) response.forward()

Which of the following are not a container for EJB ?

(i) Internet Information Server

(0) Java System Application Server

(0) Tomcat

(iv) WebLogic

(வ 700% () �.... See more



045 Which of the following 15 a valid declaration of an object of class Box?
(ശ്ര Box obj = new 50× (ಔ) Box obj = new Box

(೦) obj=new 8×0 (D) ೧೫ 80% ೦)

046. Which of these is supported by method overriding in Java?
(५) Abstraction (8) Encapsulation

(வ) Polymerphism (D) None of the mentioned

047, What is the output of this program?

class selection_statements

ர public static void main (String args( 1)<.... See more

091/22

65. Which of the following statements is/are true ?
51 : Every class is part of some package.
52 : All classes in a file are part of the same package.
53 : If no package is specified, the classes in the file go into java.lang package.
54 : If ೧೦ package is specified, a new package is created with folder name ‘custom’ and
the class is put in this package.
A) Only 51, 82 and 3 8) Only 51, 52 and 54

©) Only S2 and 53 D) Only 51 and 52
See more

36. What is the use of new operatorin C++ ?
A) Memory release operator
C) Memory allocation operator

37. What s the use of constructorin C++ ?
ಸಿ) To initialize objects

C) To modify objects

38. Whatis the size of ISCII code ?
A) 7 bit

C) 16 bit

39.
A) Single
C) Mulii level

40. What is testing ?
A) Finding errors

C) Finding efficiency

41. getch() function is defined in
A) iostream.h
C) .... See more

8. Which is a-valid keyword in Java?
(ಗಿ) 10611800 (B) String
(09) Float (D) Unsigned
9. The average time necessary for the carrect sector of a disk to arrive at the rend write head is -
(ಗಿ) Down time (B) Seek time
(0) Latency time (D) Access time
10, Type checking is normally done during :
(ಗಿ) Lexical analysis (18) Syntax Analysis
(C) Code Generation (D) Syntax directed translation
11. Which command is used to remaove a file?
(ಗಿ) remove.... See more

49. Which aceess method is used for obtaining a record from a cassette tap?
(A) Direct _ (B) Sequential
(C) Random 1) All of the above

44. A technique for direct search is :
(ക Binary search (B) Linear search
() Tree Search (D) - Hashing

45. The postfix form of the expression :
(A+B)*(C*D-E)*F/G ॐ
ക AB+CD*E-FG/** (8) AB+CD*E-F**G/
)0 AB+CD*E-*F*G/ D) AB+CDE*-*F*G/

46. What does PPTP stands for?
(ക) Point to Point Transmission Pro.... See more