MCQs / Computer Science / Unit 1: Computer Systems

Unit 1: Computer Systems MCQs — Computer Science (page 3)

100 multiple-choice questions on Unit 1: Computer Systems from Computer Science, each with the correct answer and, where available, a teacher's explanation. Read through them to revise the chapter, then practise the same questions one by one to test yourself.

51. In a K-map, cells are ordered 00, 01, 11, 10 because:

  1. it makes the map smaller
  2. it is the binary counting order
  3. it removes the need for groups
  4. neighbouring cells must differ in only one variable (Gray code)

Answer: D) neighbouring cells must differ in only one variable (Gray code)

Explanation: Gray-code order makes adjacent cells differ by one bit so that grouping removes a variable. SLO CS-11-A-01

Discuss this question

52. Caesar cipher with key 3 encrypts "CAB" as:

  1. DBC
  2. ZXY
  3. CAB3
  4. FDE

Answer: D) FDE

Explanation: Each letter shifts 3 places: C→F, A→D, B→E. SLO CS-11-A-04

Discuss this question

53. What does this Python code print? (bitwise operators on 0/1) python a, b, c = 1, 0, 1 print((a & b) c)

  1. 0
  2. 2
  3. True
  4. 1

Answer: D) 1

Explanation: a AND b = 0; 0 OR c (1) = 1. SLO CS-11-A-01

Discuss this question

54. How many links are needed for a full mesh of 5 computers?

  1. 10
  2. 5
  3. 20
  4. 25

Answer: A) 10

Explanation: Links = n(n − 1)/2 = 5 × 4 / 2 = 10. SLO CS-11-A-03

Discuss this question

55. Which encryption is faster and better for encrypting large amounts of data?

  1. Hashing
  2. Symmetric (e.g. AES)
  3. Asymmetric (e.g. RSA)
  4. Caesar cipher

Answer: B) Symmetric (e.g. AES)

Explanation: Symmetric algorithms are much faster, so they are used for bulk data. SLO CS-11-A-04

Discuss this question

56. The process of finding and removing errors from a program is called:

  1. compiling
  2. testing
  3. deployment
  4. debugging

Answer: D) debugging

Explanation: Testing finds that a bug exists; debugging locates and removes it. SLO CS-11-A-02

Discuss this question

57. In which topology does each node connect to a central switch?

  1. Star
  2. Bus
  3. Ring
  4. Mesh

Answer: A) Star

Explanation: In a star topology every node has its own link to a central switch or hub. SLO CS-11-A-03

Discuss this question

58. Adding more servers to share the load is called:

  1. horizontal scaling
  2. vertical scaling
  3. token passing
  4. stress testing

Answer: A) horizontal scaling

Explanation: Horizontal scaling (scale out) adds machines; vertical scaling makes one machine bigger. SLO CS-11-A-03

Discuss this question

59. According to De Morgan's law, (A + B)' equals:

  1. (AB)'
  2. AB
  3. A'B'
  4. A' + B'

Answer: C) A'B'

Explanation: Break the bar and change the sign: NOT(A OR B) = NOT A AND NOT B. SLO CS-11-A-01

Discuss this question

60. In a bus topology, what is placed at both ends of the backbone?

  1. Routers
  2. Terminators
  3. Tokens
  4. Switches

Answer: B) Terminators

Explanation: Terminators absorb signals so they do not reflect back along the cable. SLO CS-11-A-03

Discuss this question

61. Checking whether a project is affordable compared with its benefits is called:

  1. economic feasibility
  2. technical feasibility
  3. operational feasibility
  4. schedule feasibility

Answer: A) economic feasibility

Explanation: Economic feasibility is a cost–benefit analysis. SLO CS-11-A-02

Discuss this question

62. Flooding a website with traffic from thousands of infected computers is a:

  1. SQL backup
  2. trojan
  3. phishing attack
  4. DDoS attack

Answer: D) DDoS attack

Explanation: A Distributed Denial of Service uses a botnet to overload a server. SLO CS-11-A-04

Discuss this question

63. Which test pushes a system beyond its expected load to find its breaking point?

  1. Acceptance test
  2. Load test
  3. Unit test
  4. Stress test

Answer: D) Stress test

Explanation: Stress testing goes beyond normal limits; load testing uses the expected load. SLO CS-11-A-03

Discuss this question

64. A UML diagram that shows actors and what they can do with the system is a:

  1. flowchart
  2. Gantt chart
  3. class diagram
  4. use-case diagram

Answer: D) use-case diagram

Explanation: Use-case diagrams show actors (users) and use cases (functions). SLO CS-11-A-02

Discuss this question

65. Which gate gives output 1 only when all its inputs are 0?

  1. AND
  2. XOR
  3. NAND
  4. NOR

Answer: D) NOR

Explanation: NOR is NOT-OR: OR is 0 only when all inputs are 0, so NOR is 1 only then. SLO CS-11-A-01

Discuss this question

66. Which model develops software in short sprints that each deliver working software?

  1. Agile
  2. Big-bang
  3. V-model
  4. Waterfall

Answer: A) Agile

Explanation: Agile is iterative and incremental, delivering a working increment every sprint. SLO CS-11-A-02

Discuss this question

67. In which access method may a node send data only when it holds a special frame?

  1. Broadcasting
  2. CSMA/CD
  3. CSMA/CA
  4. Token passing

Answer: D) Token passing

Explanation: In token passing (used in ring networks) only the token holder transmits. SLO CS-11-A-03

Discuss this question

68. Entering 100 for marks out of 100 is an example of which test data?

  1. Normal
  2. Random
  3. Erroneous
  4. Boundary (extreme)

Answer: D) Boundary (extreme)

Explanation: Values at the edge of the valid range are boundary data. SLO CS-11-A-02

Discuss this question

69. Wi-Fi networks use:

  1. CSMA/CD
  2. CSMA/CA
  3. polling only
  4. token passing

Answer: B) CSMA/CA

Explanation: Wireless devices avoid collisions (Collision Avoidance) because they cannot detect them while sending. SLO CS-11-A-03

Discuss this question

70. The output of an XOR gate is 1 when:

  1. both inputs are 1
  2. both inputs are 0
  3. the inputs are different
  4. at least one input is 0

Answer: C) the inputs are different

Explanation: Exclusive OR gives 1 for 01 and 10, i.e. when the inputs differ. SLO CS-11-A-01

Discuss this question

71. Hardware or software that allows or blocks network traffic according to rules is a:

  1. router only
  2. hash
  3. firewall
  4. proxy

Answer: C) firewall

Explanation: A firewall filters traffic between networks using security rules. SLO CS-11-A-04

Discuss this question

72. The top node of a tree topology is called the:

  1. client
  2. terminator
  3. leaf
  4. root

Answer: D) root

Explanation: A tree (hierarchical) topology starts at a root node. SLO CS-11-A-03

Discuss this question

73. Unreadable data produced by encryption is called:

  1. hash key
  2. malware
  3. ciphertext
  4. plaintext

Answer: C) ciphertext

Explanation: Encryption converts plaintext into ciphertext. SLO CS-11-A-04

Discuss this question

74. A server is up 990 hours and down 10 hours. Its availability is:

  1. 98%
  2. 99%
  3. 99.9%
  4. 90%

Answer: B) 99%

Explanation: Availability = uptime/total time × 100 = 990/1000 × 100 = 99%. SLO CS-11-A-03

Discuss this question

75. The main disadvantage of a star topology is:

  1. it cannot use Ethernet
  2. adding nodes is very difficult
  3. the central switch is a single point of failure
  4. one cable fault stops the whole network

Answer: C) the central switch is a single point of failure

Explanation: If the switch fails all nodes lose connection; a single cable fault affects only one node. SLO CS-11-A-03

Discuss this question

Previous Page 3 of 4 Next

Practise Unit 1: Computer Systems MCQs

More Computer Science chapters