PGT Computer Science (Level-3), (HTET Practice MCQs) (Part-VI)

Total Questions: 100

61. An undirected graph G(V, E) contains n(n > 2) nodes named v₁,V₂, ..., vₙ. Two nodes vᵢ, and vⱼ, are connected if and only if 0 < |i - j| ≤ 2. Each edge (vᵢ vⱼ) is assigned a weight i + j. The cost of the minimum spanning tree of such a graph with 10 nodes is:

Correct Answer: B. 91

62. An XML document that adheres to syntax rules specified by XML 1.0 specification in that it must satisfy both physical and logical structure is called:

Correct Answer: A. Well-formed

63. Which of the following statement(s) is/are TRUE regarding Java Servlets?

(a) A Java Servlet is a server-side component that runs on the web server and extends the capabilities of a server.
(b) A Servlet can use the user interface classes like AWT or Swing.
Codes:

Correct Answer: A. Only (a) is TRUE.

64. Consider the following HTML table definition:

Correct Answer: C.

65. Which of the following statements is/are TRUE?

(a) In HTML, character entities are used to incorporate external content into a web page, such as images.
(b) Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server.
Codes:

Correct Answer: D. Neither (a) nor (b) is TRUE.

66. Which of the following statements is/are TRUE regarding JAVA?

(a) Constants that cannot be changed are declared using the 'static' keyword. (b) A class can only inherit one class but can implement multiple interfaces.
Codes:

Correct Answer: B. Only (b) is TRUE.

67. What is the output of the following JAVA program?

Correct Answer: D. dogood : dogood

68. Statistical software quality assurance in software engineering involves __________ .

Correct Answer: C. tracing each defect to its underlying cause, isolating the vital few causes, and moving to correct them.

69. Which of the following statements is/are FALSE with respect to software testing?

S1: White-box tests are based on specifications; better at telling whether program meets specification, better at finding errors of ommission.
S2: Black-box tests are based on code; better for finding crashes, out of bounds errors, file not closed errors.
S3: Alpha testing is conducted at the developer's site by a team of highly skilled testers for software that is developed as a product to be used by many customers.

Correct Answer: A. Only S1 and S2 are FALSE.

70. A signal processor software is expected to operate for 91.25 days after repair, and the mean software repair time is expected to be 5 minutes. Then, the availability of the software is:

Correct Answer: D. 99.9962%