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.

This sort of intercommunication between the modules is accomplished by_________.

A. parameter passing
B. fully dynamic data allocation
C. call by value
D. call by reference
Answer» B. fully dynamic data allocation
2.

Any manipulation on the formal parameters doesn’t have effect on values in activation of the_____.

A. caller
B. callee
C. call
D. value
Answer» B. callee
3.

________is a second usuage demonstrate for in-out parameter.

A. call by value
B. pass by reference
C. call by address
D. none of these
Answer» C. call by address
4.

_________are generally passed by reference.

A. program
B. array
C. procedure
D. none of these
Answer» C. procedure
5.

Types of parameter passing techniques______.

A. call by value
B. call by name
C. call by reference
D. all of these
Answer» E.
6.

A strict substitution is called ‘in-line expansion’or_________.

A. macro extension
B. local function
C. both a & b
D. none of these
Answer» B. local function
7.

The address of actual parameter is passed to the formal parameter, “______”can happen.

A. overloading
B. aliasing
C. caller
D. none of these
Answer» C. caller
8.

A block representation can be portrayed by ________,which demonstrates how blocks are nested into one another.

A. current instruction pointer(cip)
B. static nesting tree(snt)
C. current environment pointer(cep)
D. all of these
Answer» C. current environment pointer(cep)
9.

The assigned a pointer to the first instruction of the code segment for the_____.

A. code memory
B. variable
C. subprogram
D. none of these
Answer» D. none of these
10.

In activation record the control link is basically a____________.

A. static link
B. dynamic link
C. null pointer
D. none of these
Answer» C. null pointer
11.

which field is not present in the activation record?

A. actual parameter
B. register allocation
C. saved machine status
D. access link
Answer» C. saved machine status
12.

following are the limitations of static allocation strategy

A. size of data objects should be known at compile time
B. data structure can not be created dynamically this allocation strategy
C. recursion procedure are not supported by this allocation strategy
D. all of these
Answer» E.
13.

Data memory is divided into_________________.

A. static data area
B. stack area
C. heap area
D. all of these
Answer» E.
14.

During exection of a program the compiler clemandy for block of memory to operahng system This block is called as______________.

A. code memory
B. data memory
C. runtime
D. none of these
Answer» D. none of these
15.

The runtime storage might be subdivided of hold___________.

A. generated target code
B. data objects
C. control stack for procedure activation
D. all of these
Answer» E.
16.

In the early days of computing, the ------------- was used mainly in scientific applications

A. computer
B. printer
C. none of the above
D. allof theabove
Answer» B. printer
17.

The second factor of system reliability is that systemsare now being applied in critical areas such as chemical or nuclear plants andpatient monitoring, where system failures can be disastrous. In order toensure ----------, verification and validation became vital..

A. reliability
B. maintainability
C. none of the above
D. allof theabove
Answer» B. maintainability
18.

One factor of system Reliability isthat systems are being developedfor users with little or no ---------

A. computer background
B. image background
C. none of the above
D. allof theabove
Answer» B. image background
19.

System reliability is another issue that has gained importance gradually,because of --------------major factors.

A. one
B. two
C. none of the above
D. three
Answer» C. none of the above
20.

is another issue that has gained importance gradually,because of two major factors.

A. system reliability
B. language and maintainability
C. none of the above
D. allof theabove
Answer» B. language and maintainability
21.

_________considerations forced people to enhancean existing system to meet the newly recognized needs.

A. social
B. economic
C. none of the above
D. allof theabove
Answer» C. none of the above
22.

What is the output of the folloeing code? int main() { double x=1.2; int sum=(int)x + 1; printf("sum=%d",sum); return 0; }

A. 2.2
B. 2
C. 2
D. conversion from double to int is not possible
Answer» C. 2
23.

In the early days of computing, the computer was used mainly in__________

A. historical perspective
B. language and maintainability
C. scientific applications.
D. allof theabove
Answer» D. allof theabove
24.

The desire to apply the computerin more and more applications led to its being used in increasingly less under-stood and more -----------------

A. historical perspective
B. sophisticated environments.
C. none of the above
D. allof theabove
Answer» C. none of the above
25.

The section examines briefly the developments in language design by following the evolution of ideas and concepts from a ----------------.

A. historical perspective
B. language and maintainability
C. none of the above
D. allof theabove
Answer» B. language and maintainability
26.

1)The software development process originally consisted only of the ------------phase.

A. impletation
B. design
C. testing
D. none of above
Answer» B. design
27.

Extensional mapping is a routine in which the range type values are associated as data aggregates

A. true
B. false
Answer» B. false
28.

In intensional mapping range type values are directly associated with domain type values

A. true
B. false
Answer» B. false
29.

which type of error occure in program

A. language error
B. applicaton error
C. all of these
D. syntax error
Answer» D. syntax error
30.

illegal operation that manipluate the data object is called

A. type system
B. type error
C. type safety
D. all of these
Answer» C. type safety
31.

In which language ADT is not implemented by using class

A. c++
B. java
C. vb
D. ada
Answer» E.
32.

Which of the following are subtypes of discrete and real data types of Ada?

A. enumeration (char,boolean other enum)
B. integer (signed integer, modular integer)
C. floating point
D. all of these
Answer» E.
33.

Which of the following subtypes of scalar data types of Ada

A. discrete
B. real
C. both a and b
Answer» D.
34.

Which of the following are structured dta types in Ada?

A. cartesian product(record, variant record and discriminated union
B. array(finite mapping,sequence(string))
C. tagged
D. all of these
Answer» E.
35.

Which is the subtypes of derived data type of C++

A. array
B. class
C. structure and function
D. all of these
Answer» E.
36.

Which is the subtypes of structured type of Pascal Data Types

A. cartesian product(record, variant record and discriminated union
B. array (finite mapping)
C. set (power set)
D. all of these
Answer» E.
37.

Which is the subtypes of fundamental data type of C++

A. integral
B. floating
C. both a and b
Answer» D.
38.

Which is the subtypes of Pascal and Ada Data Types

A. unstucture
B. pointers
C. structure
D. all of these
Answer» E.
39.

Which is the subtypes of unstructured types of Pascal Data Types

A. built –in
B. enumeration
C. subrange
D. all of these
Answer» E.
40.

Which of the following is not the built in data types of Pascal?

A. integer
B. real
C. char
D. float
Answer» E.
41.

Which semantics are used in compiler i.e. convert program into machine language

A. algebric semantic
B. axiomatic semantics
C. denotational semantic
D. translation semantics
Answer» E.
42.

…………………..defines the meaning of the program.

A. algebric semantic
B. axiomatic semantics
C. denotational semantic
D. translation semantics
Answer» C. denotational semantic
43.

………………….hints at characteristics of language , which are related to language user.

A. syntax
B. semantics
C. pragmatic
D. rules
Answer» C. pragmatic
44.

…………………means combine available symbol to create well formed sentences in the language

A. semantics
B. syntax
C. both a & b
D. none of above
Answer» C. both a & b
45.

This resembles usages in object-oriented programming languages like________, C++ and Java.

A. pascal (programming language)
B. free pascal
C. object pascal
D. embarcadero delphi
Answer» D. embarcadero delphi
46.

Which one of the following statements about formal and actual parameters is true?

A. formal and actual parameters must have the same name
B. formal and actual parameters must have different names.
C. a formal parameter is declared within the called procedure, while an actual parameter is declared in the calling environment.
D. an actual parameter is declared within the called procedure
Answer» D. an actual parameter is declared within the called procedure
47.

Which kind of parameters cannot have a DEFAULT value?

A. in,out,in out
B. read,write, append
C. constant,variable,default
D. copy, nocopy,ref
Answer» B. read,write, append
48.

If you don’t specify a mode for a parameter, what is the default mode?

A. out
B. in
C. copy
D. none
Answer» C. copy
49.

Which of the following can be used as an argument for a procedure parameter?

A. the name of a variable
B. .a literal value
C. an expression.
D. all of the above.
Answer» E.
50.

When modifying procedure code, the procedure must be re-executed to validate and store it in the database.

A. true
B. false
Answer» B. false