Computer Science MCQs | Computer Science Multiple Choice Questions with Answers

Questions
1 The Software Maturity Index (SMI) is defined as SMI = [Mf – (Fa + Fc + Fd)] / Mf Where M f = the number of modules in the current release. F a = the number of modules in the current release that have been added. F c = the number of modules in the current release that have been changed. F d = the number of modules in the current release that have been deleted. The product begins to stabilize when
A SMI approaches 1
B SMI approaches 0
C SMI approaches –1
D None of the above

Answer: Option [A]
2 __________ is a process model that removes defects before they can precipitate serious hazards.
A Incremental model
B Spiral model
C Cleanroom software engineering
D Agile model

Answer: Option [B]
3 Equivalence partitioning is a __________ method that divides the input domain of a program into classes of data from which test cases can be derived.
A White-box testing
B Black-box testing
C Orthogonal array testing
D Stress testing

Answer: Option [D]
4 The following three golden rules : (i) Place the user in control (ii) Reduce the user’s memory load (iii) Make the interface consistent are for
A User satisfaction
B Good interface design
C Saving system’s resources
D None of these

Answer: Option [A]
5 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 management
B Software quality assurance
C Software cost estimation
D Defect removal efficiency

Answer: Option [B]
6 The “PROJECT” operator of a relational algebra creates a new table that has always
A More columns than columns in original table
B More rows than original table
C Same number of rows as the original table
D Same number of columns as the original table

Answer: Option [B]
7 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 to
A 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

Answer: Option [B]
8 For a database relation R(a, b, c, d) where the domains of a, b, c, d include only the atomic values. The functional dependency a → c, b → d holds in the following relation
A In 1NF not in 2NF
B In 2NF not in 3NF
C In 3NF
D In 1NF

Answer: Option [B]
9 The golden ratio ϕ and its conjugate – ϕ both satisfy the equation
A x3 – x – 1 = 0
B x3 + x – 1 = 0
C x2 – x – 1 = 0
D x2 + x – 1 = 0

Answer: Option [B]
10 The solution of recurrence relation, T(n) = 2T(floor ( n)) + logn is
A O(n log log logn)
B O(n log logn)
C O(log logn)
D O(logn log logn)

Answer: Option [B]
11 A vertex cover of an undirected graph G(V, E) is a subset V1 ⊆ V vertices such that
A Each pair of vertices in V1 is connected by an edge
B If (u, v) ∈ E then u ∈ V1 and v ∈ V1
C If (u, v) ∈ E then u ∈ V 1 or v ∈ V1
D All pairs of vertices in V1 are not connected by an edge

Answer: Option [A]
12 In a fully connected mesh network with n devices, there are ________ physical channels to link all devices.
A n(n–1)/2
B n(n+1)/2
C 2n
D 2n+1

Answer: Option [B]
13 The baud rate of a signal is 600 baud/second. If each signal unit carries 6 bits, then the bit rate of a signal is ________.
A 3600
B 100
C 6/600
D None of the above

Answer: Option [D]
14 An image is 1024∗800 pixels with 3 bytes/pixel. Assume the image is uncompressed. How long does it take to transmit it over a 10-Mbps Ethernet ?
A 196.6 seconds
B 19.66 seconds
C 1.966 seconds
D 0.1966 seconds

Answer: Option [A]
15 The ________ measures the relative strengths of two signals or a signal at two different points.
A frequency
B attenuation
C throughput
D decibel

Answer: Option [B]
16 Which one of the following media is multidrop ?
A Shielded Twisted pair cable
B Unshielded Twisted pair cable
C Thick Coaxial cable
D Fiber Optic cable

Answer: Option [B]
17 What is the baud rate of the standard 10 Mbps Ethernet ?
A 10 megabaud
B 20 megabaud
C 30 megabaud
D 40 megabaud

Answer: Option [B]
18 At any iteration of simplex method, if Δj (Zj – Cj) corresponding to any non-basic variable Xj is obtained as zero, the solution under the test is
A Degenerate solution
B Unbounded solution
C Alternative solution
D Optimal solution

Answer: Option [B]
19 A basic feasible solution to a m-origin, n-destination transportation problem is said to be _________ if the number of positive allocations are less than m + n – 1.
A degenerate
B non-degenerate
C unbounded
D unbalanced

Answer: Option [B]
20 An actor in an animation is a small program invoked _______ per frame to determine the characteristics of some object in the animation.
A once
B twice
C 30 times
D 60 times

Answer: Option [B]