Preview

Computing Aptitude (Beginner level < 14 yrs)

 1. You have 14 apples and 2 oranges. What is 14 apples + 2 oranges?
AIL_Computingaptitide_beginner_question1.jpg

  All of the above

  2 apples and 14 oranges

  14 apples + 2 oranges

  16 apples

 2. If x = 2 and y = x, what is x+y?

  4

  2

  5

  3

 3. An 'addition' app on your phone asks for two numbers. You input 2 and 3 and get 23. What is happening?
AIL_Computingaptitide_beginner_question3.jpg

  Squaring

  Addition

  Square Root + 3

  None of the above

 4. Analyse the scratch code snippet for a part of the game flappy birds. In reference to the code, which statement is most accurate?
A knowledge of scratch is not necessary to answer this question, 
but it is helpful to know the following:

1. Assume this code is being applied to an object (e.g. the flappy bird).

What is happening to the flappy bird when the green flag is clicked?
AIL_Computingaptitide_beginner_scratch1.jpg

  The flappy bird is moving to the left in a loop. On pressing 'space' the bird moves down by '10'

  The flappy bird is falling 'down' in a continuous loop. On pressing 'space' the bird moves upward

  The flappy bird is in a continuous loop that doesn't end and therefore the bird will not move at all

  The flappy bird is being vertically lifted into the air at a rate of '2' pixels per second

 5. Analyse the scratch code shown. If variable 'lives' was 10. On touching a spider it (lives) will …
AIL_Computingaptitide_beginner_scratch2.jpg

  stay the same

  go down to 9

  change to -1

  Remain at 0, as you cannot have a variable of -1

 6. From the following vb.net code what can you conclude? (Which statement is most accurate)
Dim Student_Age As Integer = 100
Dim StudentPocketMoney As Decimal = 23.99

  Student pocket money is likely to be a number with a decimal value and age a whole number

  All of the above

  The variable Student_Age has an integer value of 100

  An integer is a whole number and the data type 'Decimal' is a number with a decimal point

 7. In the following python code, if r is radius and V is Volume of a sphere, what is this code doing?
pi = 3.1415926535897931
r= 6.0
V= 4.0/3.0*pi* r**3
print(V)

  It is finding out the value of the radius of the sphere

  It is printing 'V' which is the volume of the sphere

  It is finding out the value of 'pi' which is always 3.141etc…

  None of the above

 8. The following python code (that you can try yourself) prints out a lot of seven 2s. How would you print 0,1,2,3,4,5,6?
x=7
y=2

for i in range(x):
  print(y)

  This cannot be done

  Change the "for i in range(x)" to "for 6 in range(x)"

  Change the print(y) to print(i)

  Change the print(y) to print(6)

 9. Which newspaper was read by a higher percentage of females than males in Year 3?
AIL_Computingaptitide_beginner_question9.jpg

  The Tribune

  Daily Echo

  The Herald

  The Daily Chronicle

 10. In Year 3, how much more than Italy did Germany spend on computer imports?
AIL_Computingaptitide_beginner_question10.jpg

  800 million

  700 million

  600 million

  650 million

 11. Try out the following code. It fails to work correctly due to a logic error.
age=int(input("Enter age:"))
if age<10:
  print("You are over 10")
else:
  print("You are under 10")
  

  False

  True

 12. The first function produces the result 233 and the second one produces 35. Why?
def function1():
  x="2"
  y="33"
  print(x+y)
  
main()


def function2():
  x=2
  y=33
  print(x+y)

  function1 is treating x and y as text and putting them together rather than adding them.

  function 2 is treating x and y as text and producing a sum of 35

  function 1 is using a different sort of + sign which doesn't add numbers.

  None of the above

 13. If x = 2, and y = 3, and z=x+x, what would be printed with the command: print(z)

  4

  3

  1

  2

 14. Given the following code, what would happen if the user entered the username:"hello" and the password:"x123"?
def login():
     username=input("Enter username:")
     password=input("Enter password:")
     if username=="hello" and password=="open123":
          print("Access Granted")
     else:
          print("Access Denied")

login()

  It would ask them to login

  All of the above are possible

  It would deny them access

  It would grant them access

 15. What is the missing letter in this series: a c e ? i

  h

  i

  f

  g

 16. Find the next number in the following series: 3968 63 8 3

  1

  2

  0

  3

 17. Find the next number in the following series:15 12 13 10 11 8

  14

  3

  12

  9

 18. Find the next number in the series: 1 3 6 10
See: http://www.intelligencetest.com for interesting insights into IQ and Logical Reasoning tests. Acknowledgement for questions here.

  4

  20

  15

  8

 19. Read the following excerpt and select the correct answer.
 Jane has 4 pairs of blue earrings, 
3 pairs of yellow earrings, 
4 pairs of brown earrings, and 
6 pairs of black earrings.

There is a power failure and she can't switch on the light. 
How many earrings is it necessary to pick, before she is 
certain to have a matching pair?

  11

  8

  12

  5

 20. A baguette is to be cut into 10 equal pieces. How many cuts does the baker need to make?
AIL_logicalreasoning3_question3.png

  10

  8

  11

  9