PSC Lecturer in Computer Science Model Questions and Answers

Last Updated On: 30/04/2018

76. In object oriented design of software which of the following is not true
(A) Object inherits the properties of the class
(B) Classes are defined based on the attributes of the object
(C) Objects can belong to two classes
(D) Classes are always different
Answer: C

77. Quality management in software engineering is also known as
(A) SQA (B) SQM
(C) SQI (D) SQA & SQM
Answer: A

78. Which of the following is not a core step of Six Sigma?
(A) Define (B) Control
(C) Measure (D) Analyse
Answer: B

79. According to ISO 9001, inspection and testing comes under which management responsibility
(A) Process control (B) Document control
(C) Control of non-conforming products (D) Servicing
Answer: A

80. What involves preparing software for external release and keeping track of the system version that have been released for customer use
(A) System building (B) Release management
(C) change management (D) Version management
Answer: B

81. A class variable is a variable declared as ……………. inside a class.
(A) const (B) final
(C) static (D) extends
Answer: C

82. ………….. determines the point of time at which a variable comes into existence in memory.
(A) data type (B) functions
(C) scope (D) storage class
Answer: D

83. What does the following program output?

public class ABC
{
public static int function1(int p, int q)
{
if (q==0) return 1;
else if (p<q) return 0;
else
return function1(p-1,q)+function1(p-1,q-1);
}
public static void main(String[] args)
{
System.out.println(ABC.function1(3,2));
}
}

(A) 4 (B) 3
(C) 2 (D) 1
Answer: B

84. The following program prints:

public class XYZ
{
public static void main (String[] args)
{
byte val=(byte) 128;
System.out.println(val);
}
}

(A) -128 (B) 128
(C) 127 (D) -127
Answer:-Question Cancelled

85. The following Java program segment prints:

 String S1=new String("Hello");
 String S2=new String("Hello");
 if (S1==S2)
 System.out.println("They are same");
 else
 System.out.println("They are not same");

(A) They are same (B) They are not same
(C) Garbage (D) Run time error
Answer: B

86. Asynchronous Java Script and XML (Ajax) incorporates
P: Asynchronous data retrieval using XMLHttpRequest
Q: Standards based presentation using XHTML and CSS
R: Data interchanges and manipulation using XML and XSLT
S: Dynamic display and interaction using the Document Object Model
(A) P and R (B) P and Q
(C) P, R and S (D) P, Q, R and S
Answer: D

87. In Java, MVC stands for
(A) Model Video Controller (B) Mobile View Controller
(C) Model View Controller (D) None of the above
Answer: C

88. 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
Answer: A

89. Distributed applications are created in Java using …………..
(A) RMI and JDBC (B) CORBA and JDBC
(C) RMI and CORBA (D) None of the above
Answer: C

90. DMSP stands for:
(A) Distributed Mail Support Plan
(B) Document Management System Protocol
(C) Digital Media Services Protocol
(D) Distributed Mail System Protocol
Answer: D

91. The Artificial intelligence is concerned with designing intelligent computer system that exhibits intelligent characteristics expressed by …………….
(A) Functional behavior (B) Human behavior
(C) Human brain (D) Statistical analysis
Answer: B

92. In a program module such as procedure or a function the role of parameters is to
(A) serve as module’s input and output
(B) indicate the number of variables that will be declared in the module
(C) isolate calculations that could potentially cause errors
(D) reassign data types to variables declared in the main program
Answer: A

93. Which of the following functions is performed by the compiler?
(A) Formatting program output
(B) Evaluating the data passed to the program modules
(C) Connecting multiple object programs
(D) Translating a source program into object code
Answer: D

94. A …………… is a set of information that is exchanged between a client and a web browser and a web server during an HTTP transaction.
(A) infoset (B) clientinfo
(C) cookies (D) transkie
Answer: C

95. Which of the following steps should be taken first in the development of a web site?
(A) creating links for navigating the site.
(B) drafting the text for the site.
(C) mapping out the structure and contents of the site.
(D) inserting image place holders.
Answer: C

96. PHP scripts are used in
(A) server side scripting (B) command-line scripting
(C) Client-side GUI application (D) All of the above
Answer: D

97. Which webserver is developed by Microsoft?
(A) Apache Tomcat (B) Caudium
(C) Internet Information Services(IIS) (D) WEBrick
Answer: C

98. Which of the following is not an ASP.NET page event?
(A) Init (B) Load
(C) Import (D) Disposed
Answer: C

99. The exact format of frame in case of synchronous transmission depends on whether transmission scheme is
(A) digital (B) analog
(C) either character oriented or bit-oriented (D) none of the above
Answer: C

100. A module which is a collection of functions and data designed to be used by another application is called
(A) Abandon (B) DLL
(C) LCID (D) PICS
Answer: B

       
Sharing is caring
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
JOIN
0
Would love your thoughts, please comment.x
()
x