Explore topic-wise MCQs in Testing Subject.

This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.

1.

The term Chipko means

A. To stick
B. To srike
C. To Oppose
D. To resist
Answer» B. To srike
2.

Mahmoud Ahmadinejad is related with

A. Iran
B. Iraque
C. Al Quaida
D. Afghanistan
Answer» B. Iraque
3.

Whom among the following is associated with Plachimada struggle

A. OK Vasu
B. M Gethanandan
C. CK Janu
D. Mayilamma
Answer» E.
4.

Martin Luther King jr was associated with

A. Religious reforms
B. Gender rights
C. Rights of Blacks
D. Constitutional reforms
Answer» D. Constitutional reforms
5.

The bahujan samaj Party is associated with..

A. Kanshi Ram
B. Ambedkar
C. Jayaprakash Narayanan
D. Mahatma Gandhi
Answer» B. Ambedkar
6.

The book Socialist and Communist Movements since the Third FrenchRevolution is authored by

A. Karl Marx
B. Lorenz von Stein
C. Harold Laski
D. Frederick Engels
Answer» C. Harold Laski
7.

Who are organic intellectuals

A. Ordinary people
B. Middle class leaders
C. Party leaders
D. Authorities
Answer» C. Party leaders
8.

Chartism is related to

A. Separation of powers
B. American independence
C. Working class movements
D. Bill of rights
Answer» D. Bill of rights
9.

The felling of trees in the Himalayan regions was banned by whichprime minister

A. Narasimha Rao
B. VP Singh
C. Rajeev Gandhi
D. Indira Gandhi
Answer» E.
10.

When was NBA established

A. 1986
B. 1978
C. 1999
D. 1989
Answer» E.
11.

The concept of Social movements as part of public politics was developed by

A. Harold Laski
B. Karl Marx
C. Charles Tilly
D. Rousseau
Answer» D. Rousseau
12.

The term social movement was first by

A. Karl Marx
B. Joseph Mon Valin
C. Lorenz von Stein
D. Mahatma Gandhi
Answer» D. Mahatma Gandhi
13.

Child Labor Prohibition and Regulation Act was passed in the year

A. 2001
B. 2005
C. 1999
D. 1986
Answer» E.
14.

Who among the following is associated with solidarity movement?

A. Martin Luther
B. Karl Marx
C. Le Valeski
D. Lenin
Answer» D. Lenin
15.

NSM stands for

A. National Strategic mission
B. New social movements
C. New state modalities
D. Natural social movements
Answer» C. New state modalities
16.

The Morse Commission was associated with

A. Chipco
B. Narmada
C. Plachimada
D. None of the above
Answer» C. Plachimada
17.

CThe treaty of paris was related

A. Seven Years war
B. Glorious revolution
C. League of nations
D. UDHR
Answer» B. Glorious revolution
18.

Who among the following is not an advocate of enlightenment

A. John Locke
B. Thomas Jefferson
C. Thomas Paine
D. Mahatma Gandhi
Answer» E.
19.

The ‘Smart mob’ occurred in which among the following countries

A. America
B. Israel
C. Tunisia
D. UAE
Answer» D. UAE
20.

The person associated with DS-4 was

A. Ambedkar
B. Charan singh
C. Kanshi Ram
D. Gandhiji
Answer» D. Gandhiji
21.

The ActionListener interface is used for handling action events,Forexample,it's used by a

A. JButton
B. JCheckbox
C. JMenuItem
D. All of these
Answer» E.
22.

MVC Architecture stands for

A. . Model View Controller
B. . Mode View Control
C. . Maximum View Control
D. . None
Answer» B. . Mode View Control
23.

It is lightweight.It supports pluggable look and feel.It follows MVC (Model View Controller) architecture. The following specifies the advantages of

A. Swing
B. AWT
C. Both A & B
D. None of the above
Answer» B. AWT
24.

1099 is the default port used by RMI Registry.

A. True
B. False
C. none
D. all
Answer» B. False
25.

Which objects are used by RMI for communicating with the remote object?

A. Stub
B. Skeleton
C. Both A & B
D. None of the above
Answer» D. None of the above
26.

What is the built on top of the socket programming?

A. EJB
B. RMI
C. Both A & B
D. None of the above
Answer» C. Both A & B
27.

RMI and EJB, provides services to access an object running in another JVM (known as remote object).

A. True
B. False
C. none
D. all
Answer» B. False
28.

In RMI Distributed object applications need to

A. Locate remote objects
B. Communicate with remote objects
C. Load class definitions for objects that are passed around
D. All mentioned above
Answer» E.
29.

Which of the following package contains servlet classes?

A. javax.servlet
B. javax.servlet.http
C. Both of the above
D. None of the above
Answer» D. None of the above
30.

Which program obtains a remote reference to one or more remote objects on a serverand then invokes methods on them in an RMI application?

A. Server
B. Client
C. Both A & B
D. None of the above
Answer» C. Both A & B
31.

. Component used for displaying data in tabular

A. JList
B. JTextArea
C. JTable
D. JTree
Answer» D. JTree
32.

RMI uses a layered architecture; each of the layers could be enhanced or replaced without affecting the rest of the system.

A. True
B. False
C. none
D. all
Answer» B. False
33.

Which is the container that doesn't contain title bar and MenuBars but it can have othercomponents like button, textfieldetc?

A. Window
B. Frame
C. Panel
D. all the above
Answer» D. all the above
34.

..................... is the first phase of the servlet life cycle.

A. Initialization
B. Service
C. Destruction
D. Both a and b
Answer» B. Service
35.

The service phase of the servlet life cycle represents all interactions with requests until the servlet is ......................

A. created
B. running
C. initiated
D. destroyed
Answer» E.
36.

Swing is not a part of JFC (Java Foundation Classes) that is used to create GUI application?

A. True
B. False
C. none
D. all
Answer» B. False
37.

EJB is a specification for J2EE server, not a product; Java beans may be a graphicalcomponent in IDE.

A. True
B. False
C. none
D. all
Answer» B. False
38.

A servlet needs to acquire a data source through a JNDI naming lookup. Which of the following is the best place to do this?

A. Constructor
B. init method
C. service method
D. doGet method
Answer» C. service method
39.

Abbreviate the term DGC?

A. Digital Garbage Collection
B. Distributed Garbage Collection
C. Distributed Garbage Connection
D. None of the above
Answer» C. Distributed Garbage Connection
40.

The init parameter name and value pairs that are defined in web.xml file are handled by

A. ServletConfig object
B. ServletContext object
C. ServletRequest object
D. ServletResponse object
Answer» B. ServletContext object
41.

RMI Architecture consists of how many layers?

A. 5
B. 3
C. 4
D. 2
Answer» D. 2
42.

EJB technology is built on the top of Socket Programming

A. True
B. False
C. none
D. all
Answer» C. none
43.

Which method of the Naming class (found in java.rmi) is used to update the RMIregistry on the server machine?

A. rebind ()
B. lookup()
C. Both A & B
D. None of the above
Answer» B. lookup()
44.

What's the difference between servlets and applets? a. Servlets executes on Servers, where as

A. Applets executes on Browser
B. Servlets have no GUI, where as an Applet has GUI
C. Servlets creates static web pages, where as Applets creates dynamic web pages
D. Servlets can handle only a single request, where as Applet can handle multiple requests
Answer» B. Servlets have no GUI, where as an Applet has GUI
45.

Java Servletsare efficient and powerful solution for creating .......................for the web.

A. dynamic content
B. static content
C. hardware
D. both and b
Answer» B. static content
46.

A message driven bean is like a stateful session bean that encapsulates the business logic and doesn't maintain state.

A. True
B. False
C. none
D. all
Answer» C. none
47.

In RMI which layer defines and supports the invocation semantics of the RMI connection and this layer maintains the session during the method call?

A. The Stub & Skeleton Layer
B. The Application Layer
C. The Remote Reference Layer
D. The Tr
Answer» B. The Application Layer
48.

In RMI Architecture which layer Intercepts method calls made by the client/redirects these calls to a remote RMI service?

A. Stub & Skeleton Layer
B. Application Layer
C. Remote Reference Layer
D. Tr
Answer» B. Application Layer
49.

JFramemyFrame = new JFrame (); Any command (such as the one listed above) which creates a new object of a specific class (in this case a new JFrame object called myFrame) is generally called a ...

A. Constructor
B. Layout manager
C. Parameter
D. GUI
Answer» B. Layout manager
50.

Which is the passive control that do not support any interaction with the user?

A. JList
B. JLabel
C. JTable
D. JTree
Answer» C. JTable