Review Questions with Complete
Solutions
Which binary number represents the decimal number 10?
A) 1001
✔✔B) 1010
C) 1100
D) 1110
What does ASCII stand for?
A) Automated System for Computer Information Input
✔✔B) American Standard Code for Information Interchange
C) Advanced Symbolic Character Integration Index
D) Algorithmic System for Code Interpretation
Which data type is best suited for storing a person’s age?
A) Boolean
✔✔B) Integer
1
,C) String
D) Array
What is the primary purpose of an algorithm?
✔✔A) To provide a step-by-step solution to a problem
B) To store data efficiently
C) To enhance graphics on a screen
D) To generate random numbers
Which of the following is an example of a high-level programming language?
A) Assembly
B) Machine Code
✔✔C) Python
D) Binary
What does "HTTP" stand for in web development?
✔✔A) Hypertext Transfer Protocol
B) High-Level Transfer Process
2
,C) Hyperlink Transmission Path
D) Host Transfer Technology Protocol
Which data structure uses First-In, First-Out (FIFO) ordering?
A) Stack
✔✔B) Queue
C) Tree
D) Graph
What is the main function of the CPU?
A) Store long-term data
✔✔B) Process instructions and perform calculations
C) Control display output
D) Manage internet connections
Which logic gate returns true only when both inputs are true?
A) OR
B) XOR
3
, ✔✔C) AND
D) NOR
What does a compiler do?
A) Translates high-level code into English
✔✔B) Converts high-level code into machine code
C) Executes code line by line
D) Creates a graphical representation of the code
Which number system do modern computers use?
✔✔A) Binary
B) Decimal
C) Octal
D) Hexadecimal
What is the role of an operating system?
A) Execute only one program at a time
✔✔B) Manage hardware and software resources
4