AS Associate Degree In Computer Science 3 — Questions and Answers
Question 1: What does CPU stand for in computer architecture?
- Central Processing Unit (Correct answer)
- Core Program Utility
- Central Program Unit
- Computer Processing Utility
Correct answer: Central Processing Unit
CPU stands for Central Processing Unit, the primary component that executes program instructions.
Question 2: Which normalization form eliminates partial dependencies on a composite primary key?
- 1NF
- 2NF (Correct answer)
- 3NF
- BCNF
Correct answer: 2NF
Second Normal Form (2NF) removes partial dependencies, ensuring all non-key attributes depend on the whole primary key.
Question 3: In Java, which keyword prevents a class from being subclassed?
- static
- abstract
- final (Correct answer)
- private
Correct answer: final
The 'final' keyword on a class declaration prevents any other class from extending it.
Question 4: What is the binary representation of the decimal number 13?
- 1010
- 1101 (Correct answer)
- 1011
- 1110
Correct answer: 1101
13 = 8 + 4 + 1 = 1101 in binary.
Question 5: Which HTTP status code indicates a resource was not found?
- 200
- 301
- 403
- 404 (Correct answer)
Correct answer: 404
HTTP 404 means the server could not find the requested resource.
Question 6: In discrete mathematics, what is the result of P AND (NOT P)?
- TRUE
- FALSE (Correct answer)
- P
- NOT P
Correct answer: FALSE
P AND (NOT P) is always FALSE because a proposition and its negation cannot both be true simultaneously.
Question 7: Which memory type is volatile and loses its contents when power is removed?
- ROM
- Flash memory
- RAM (Correct answer)
- SSD
Correct answer: RAM
RAM (Random Access Memory) is volatile, meaning its data is lost when the power supply is cut.
What does CPU stand for in computer architecture?