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 following Syntax is used for? class Subclass-name extends Superclass-name  {  //methods and fields  }   

A. Polymorphism
B. Encapsulation
C. Inheritance
D. None of the above
Answer» D. None of the above
2.

Where are the following four methods commonly used? 1) public void add(Component c) 2) public void setSize(int width,int height) 3) public void setLayout(LayoutManager m) 4) public void setVisible(boolean)

A. Graphics class
B. Component class
C. Both A & B
D. None of the above
Answer» C. Both A & B
3.

 These two ways are used to create a Frame By creating the object of Frame class (association) By extending Frame class (inheritance)

A. True
B. False
Answer» B. False
4.

 In Servlet Terminology what provides runtime environment for JavaEE (j2ee) applications. It performs many operations that are given below: 1. Life Cycle Management 2. Multithreaded support 3. Object Pooling 4. Security etc.

A. Server
B. Webserver
C. Container
D. Application Server
Answer» D. Application Server
5.

 The following example shows the creation of a  import java.applet.*; import java.awt.*; public class Main extends Applet{ public void paint(Graphics g){ g.drawString("Welcome in Java Applet.",40,20); } }  

A. Banner using Applet
B. Basic Applet
C. Display clock
D. None of the above
Answer» C. Display clock
6.

 Which are the common security restrictions in applets?

A. Applets cant load libraries or define native methods
B. An applet cant read every system property
C. Applets can play sounds
D. Both A & B
Answer» E.
7.

Which method is used for retrieving streams of both ASCII and Unicode characters is new in the JDBC 2.0 core API?

A. getCharacterStream
B. getBinaryStream
C. getAsciiStream
D. getUnicodeStream
Answer» B. getBinaryStream
8.

How many Result sets available with the JDBC 2.0 core API?

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

 Which attribute specifies a JSP page that should process any exceptions thrown but not caught in the current page?

A. The ErrorPage Attribute
B. The IsErrorPage Attribute
C. Both A & B
D. None of the above
Answer» B. The IsErrorPage Attribute
10.

 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. Transport Layer
Answer» B. Application Layer
11.

Which is an object, acts as a gateway for the client side, all the outgoing requests are routed through it and it resides at the client side and represents the remote object?

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

Which services are provided to EJB components by the EJB container?

A. Transaction support
B. Persistence support
C. Naming support
D. All mentioned above
Answer» E.
13.

Connection Pooling Class manages no of user requests for connections to improve the performance.

A. True
B. False
Answer» B. False
14.

Which chart is a tool that depicts project as network diagram that is capable of graphically representing main events of project in both parallel and consecutive way?

A. PERT chart
B. Gantt chart
C. Both A & B
D. None of the above
Answer» B. Gantt chart
15.

From the following methods which size of the software product can be calculated?

A. Counting the lines of delivered code
B. Counting delivered function points
C. Both A and B
D. None of the above
Answer» D. None of the above
16.

A software project manager is a person who undertakes the responsibility of carrying out the software project.

A. True
B. False
Answer» B. False
17.

  Which aspect is important when the software is moved from one platform to another?

A. Maintenance
B. Operational
C. Transitional
D. All of the above
Answer» D. All of the above
18.

  Which class gives a content or function change that corrects an error or enhances local content or functionality in change management?

A. Class 1
B. Class 2
C. Class 3
D. Class 4
Answer» B. Class 2
19.

Which model gives the overall reliability of the system that is projected and certified?

A. Sampling model
B. Component model
C. Certification model
D. Both A & B
Answer» D. Both A & B
20.

Hazard analysis focuses on the identification and assessment of potential hazards that can cause the _______ .

A. External problems
B. Internal problems
C. Both A & B
D. None of the above
Answer» B. Internal problems
21.

The total number of distinct operator and operand occurrences measures are used in ______ 

A. Lawrence theory
B. Halsteads theory
C. Kyburg, H. E
D. Jech, T.
Answer» C. Kyburg, H. E
22.

 Abbreviate the term HIPO.

A. Hierarchical Input Process Output
B. High-level Input Process Output
C. Huge Input Process Output
D. None of the above
Answer» B. High-level Input Process Output
23.

 Which depicts flow of control in program modules?

A. Flowchart
B. DFD
C. Both A & B
D. None of the above
Answer» B. DFD
24.

Which tool consist of programming environments like IDE, in-built modules library and simulation tools?

A. Web development tools
B. Prototyping tools
C. Programming tools
D. Design tools
Answer» D. Design tools
25.

  CASE tools cannot be grouped together if they have similar functionality, process activities and capability of getting integrated with other tools.

A. True
B. False
Answer» C.
26.

 The spell check feature in word processor is a module of software.

A. True
B. False
Answer» B. False
27.

When elements of module are grouped because the output of one element serves as input to another element and so on, it is called ________ .  

A. Functional Cohesion
B. Communicational cohesion
C. Sequential cohesion
D. Procedural cohesion
Answer» D. Procedural cohesion
28.

 Which of these primary objectives have to be achieved for the requirement model?

A. To describe what the customer requires
B. To establish a basis for the creation of a software design
C. To define a set of requirements that can be validated once the software
D. All mentioned above
Answer» E.
29.

The interviews, which are held between two persons across the table is ______.

A. Written
B. Non-structured
C. Group
D. One-to-one
Answer» E.
30.

Choose the correct option according to given below statement. Statement 1: Umbrella activities are independent of any one framework activity and occur throughout the process. Statement 2: software quality assurance, software configuration management are umbrella activity. Statement 3: software quality assurance, software configuration management are not umbrella activity.

A. Only statement 1 is correct.
B. Statement 1 and statement 2 are correct.
C. Only statement 3 is correct.
D. Statement 1 and statement 3 are correct.
Answer» E.
31.

 Which quality deals with the maintaining the quality of the software product?

A. Quality assurance
B. Quality control
C. Quality Efficiency
D. None of the above
Answer» C. Quality Efficiency
32.

  Burst force, backtracking, cause elimination are strategies used in art of debugging.

A. Yes
B. No
Answer» B. No
33.

Software is not considered to be collection of executable programming code, associated libraries and documentations.

A. True
B. False
Answer» C.
34.

Classes communicate with one another via ______ .

A. Read sensors
B. Dial phones
C. Messages
D. None of the above
Answer» D. None of the above
35.

 Software project manager is engaged with software management activities. He is responsible for ______ .

A. Project planning.
B. Monitoring the progress
C. Communication among stakeholders
D. All mentioned above
Answer» E.
36.

State if the followings are true or false. For scheduling a project, it is necessary to: 1) Break down the project tasks into smaller, manageable form. 2) Find out various tasks and correlate them. 3) Estimate time frame required for each task. 4) Divide time into work-units.

A. True
B. False
Answer» B. False
37.

  Function-oriented design is comprised of many smaller sub-systems is known as, Functions.

A. Yes
B. No
Answer» B. No
38.

From the following which quality deals with maintaining the quality of the software product?

A. Quality assurance
B. Quality control
C. Quality efficiency
D. None of the above
Answer» C. Quality efficiency
Previous Next