# 01 - A Level Entry Level Aptitude

1. Analyse the shapes and sequences. What should replace the question mark?

C

D

F

E

2. What is the next number in the series? 48 63 80 99 120 ?

143

133

128

124

3. What number should replace the question mark in the third circle?

1

4

2

3

4. The following code will print: 1,1,2,3,5,8,13,21,34 ….what do you need to change for it to print 55 after the 34
```a = 1
b = 1
for c in range(1,10):
print (a)
n = a + b
a = b
b = n
print ("")```

n = a + 5

for c in range(1,11)

b = 55

a=2

5. What should replace the question mark in this example?

p

o

m

l

6. Given the following code, what are the first three numbers that will be printed to the screen?
```a = 1
b = 1
for c in range(1,10):
n = a + b
a = b
print(n)
b = n```

1,10,15

None of the above

2,3,5

1,2,3

7. If the code for JAVA is LCXC , what is the code for BASIC?

CBTJD

None of the above

CDFFG

DCUKE

8. If the function mystery in the code below is called with '3' for the value of n, what will the output be?
```def mystery(n):
if n == 1:
return 1
else:
return n + mystery(n-1)

print(mystery(3))```

6

4

3

5

9. If the code for PHP is QLY what is the code for SQL?

TRM

UTB

TUS

TUU

10. In which box is the car?

Box 3

Box 1

Box 2

The car is not in any of the boxes