PGT Computer Science (Level-3), (HTET Practice MCQs) (Part-II)Total Questions: 10081. Software safety is a _____________ activity that focuses on the identification and assessment of potential hazards that may affect software negatively and cause an entire system to fail.A. Risk mitigation, monitoring and managementB. Software quality assuranceC. Software cost estimationD. Defect removal efficiencyCorrect Answer: B. Software quality assurance82. The "PROJECT" operator of a relational algebra creates a new table that has alwaysA. More columns than columns in original tableB. More rows than original tableC. Same number of rows as the original tableD. Same number of columns as the original tableCorrect Answer: C. Same number of rows as the original table83. The employee information of an Organization is stored in the relation:Employee (name, sex, salary, deptname) Consider the following SQL query Select deptname from Employee Where sex = 'M' group by deptname having avg (salary) > {select avg (salary) from Employee} Output of the given query corresponds toA. Average salary of employee more than average salary of the organization.B. Average salary less than average salary of the organization.C. Average salary of employee equal to average salary of the organization.D. Average salary of male employees in a department is more than average salary of the organization.Correct Answer: D. Average salary of male employees in a department is more than average salary of the organization.84. For a database relation R (a, b, c, d) where the domain of a, b, c, d include only the atomic values. The functional dependency a → c, b → d holds in the following relationA. In INF not in 2NFB. In 2NF not in 3NFC. In 3NFD. In 1NFCorrect Answer: A. In INF not in 2NF85. Identify the circumstances under which pre-emptive CPU scheduling is used:(a) A process switches from Running state to Ready state (b) A process switches from Waiting state to Ready state (c) A process completes its execution (d) A process switches from Ready to Waiting state Choose the correct option:A. (a) and (b) onlyB. (a) and (d) onlyC. (c) and (d) onlyD. (a), (b), (c) onlyCorrect Answer: A. (a) and (b) only86. Solve the equation?A. x³- x - 1 = 0B. x³ + x-1 = 0C. x² - x - 1 = 0D. x² + x - 1 = 0Correct Answer: C. x² - x - 1 = 087. The solution of recurrence relation,A. O (n log log log n)B. O (n log log n)C. O (log log n)D. O (log n log log n)Correct Answer: D. O (log n log log n)88. In any n-element heap, the number of nodes of height h isA.B.C.D.Correct Answer: D.89. A data file of 1,00,000 characters contains only the characters g-l, with the frequencies as indicated in table:Using the variable-length code by Huffman codes, the file can be encoded withA. 2,52,000 bitsВ. 2,64,000 bitsC. 2,46,000 bitsD. 2,24,000 bitsCorrect Answer: D. 2,24,000 bits90. Solve the question?A. Each pair of vertices in V₁ is connected by an edgeB. If (u, v) ∈ E, then u ∈ V₁ and v ∈ V₁C. If (u, v) ∈ E, then u ∈ V₁ or v ∈ V₁D. All pairs of vertices in V₁ are not connected by an edgeCorrect Answer: C. If (u, v) ∈ E, then u ∈ V₁ or v ∈ V₁Submit Quiz« Previous12345678910Next »