Operating System
Operating System
Entrance Exam
Core Computer Science Section (Sample Questions)
1. Which of the following is true about the Big O notation for constant time
complexity?
a) It is denoted as O(1)
b) It is denoted as O(log n)
c) It is denoted as O(n)
d) It is denoted as O(n^2)
Answer: A
2. Which of the following state-space search methods makes the most efficient
use of memory?
A. breadth-first search
B. depth-first search
C. Both are equivalent
Ans: A
procedure recursiveSum(n):
if n == 1:
return 1
else:
return n + recursiveSum(n - 1)
A. 6
B. 10
C. 15
D. 20
E. 24
Answer: B
A. A process in execution
B. A program in execution
C. A lightweight, independent unit of execution within a process
D. A user interface element
Answer: C
6. In how many ways can you arrange the letters of the word "COMPUTER"?
a. 8!
b. 2 x 8
c. 88
d. None of the above
Ans: A
Answer: c)
Answer: c)