Programming Aptitude MCQs

Programming Aptitude MCQs

These Programming Aptitude multiple-choice questions and their answers will help you strengthen your grip on the subject of Programming Aptitude. You can prepare for an upcoming exam or job interview with these 40 Programming Aptitude MCQs.
So scroll down and start answering.

1:

In a certain code, INTELLIGENT is written as EJPAHHECAJP. How is HUMOROUS written in the same code?

 

A.   DQIKNKQO

B.   DQINKOQK

C.   DQIONKKQ

D.   DQIOQKNK

2:

When Jack sleeps, Jill starts crying and Peter starts laughing. If Peter is not laughing, which of the following is the most appropriate conclusion?

 

A.   Jack is not sleeping but Jill is crying.

B.   Jack is not sleeping.

C.   Jack is sleeping but Jill is not crying.

D.   Jack is sleeping but Jill is crying.

3:

There are five people, A, B, C, D and E. A is older than B. C is older than D. D is older than E. B and E are of exactly the same age.

If the above information is true, which of the following must also be true?

 

A.   C is younger than E.

B.   C is older than A.

C.   B is older than C.

D.   A is older than E.

4:

Four people, Peter, Smith, Jack, and Tom, arrive at the airport. If three people are speaking the truth and only one is lying, who is the first person to arrive at the airport?

Peter: "Tom got here first."

Smith: "Peter arrived later than Tom."

Jack: "Smith is lying."

Tom: "I arrived earlier than Jack."

 

A.   Peter

B.   Jack

C.   Tom

D.   Smith

5:

If Sophie has five friends in the class and no one else has five friends, which out of the following is the most appropriate answer?

 

A.   No one in the class has friends.

B.   Everybody in the class has friends.

C.   All friends of Sophie have 5 friends each.

D.   At least 1 student in the class has 5 friends.

6:

Find the next number in the series 4, -5, 11, -14, 22, ___?

 

A.   -21

B.   -33

C.   -27

D.   -30

7:

If all buses are cars, all cars are trains, all trains are trucks and no truck is a scooter, which of the following is the most appropriate answer?

 

A.   All scooters are cars.

B.   Some buses are scooters.

C.   All buses are trucks.

D.   Some trucks cannot be cars.

8:

On an average, Robert drinks 360 bottles of wine in a year. Which of the given statements would be true?

 

A.   Robert drinks more than 35 bottles of wine in a month.

B.   Robert drinks less than 8 bottles of wine in a week.

C.   Robert drinks more than 2 bottles of wine every day.

D.   Robert drinks more than 2 bottles of wine every day.

9:

Albert repays three installments, a, b and c, of a loan that he had taken for buying an electric heater. The total of the first installment and the second installment is $150. The total of the second installment and the third installment is $200. The total of the third installment and thrice the first installment is $250. What is the third installment?

 

A.   $50

B.   $100

C.   $150

D.   $200

10:

There are four birds A,B,C, and D. A can fly eight miles farther than B. B can fly five miles farther than C. A can fly thirteen miles farther than C. D can fly twenty miles farther than A. Which one can fly the farthest?

 

A.   A

B.   B

C.   C

D.   D

11:

On hearing the letter 'A', an athlete jumps once, on hearing the letter 'B', he jumps thrice and on hearing the letter 'C', he jumps twice. If the sequence in which he jumps is ABCCBABCACCB, how many times did the athlete jump?

 

A.   35

B.   20

C.   30

D.   25

12:

In a certain code, "how are you" is written as 'dmadv vitres zonki', 'are you jack' is written as 'vitres zonki jack' and 'flowers are beautiful' is written as 'dregres vitres istebla'. What is the code for 'are'?

 

A.   dmadv

B.   dregres

C.   zonki

D.   vitres

13:

In a sports tournament, team R is at the top in the league while team O has less points than team R but more points than team B. If team C has more points than team V and team V is exactly below team O, which team is at the second place?

 

A.   R

B.   B

C.   O

D.   C

E.   V

14:

Jack refused to buy a computer offered to him by Sam for $2048. A year later, Sam again offered Jack the same computer for $1280 but Jack refused again. The next year, he again offered Jack the same computer for $800. One year after that, the computer was again offered but Jack did not buy it. The following year, Jack bought the computer from Sam for $312.50. If the rate of discount offered every year were constant, at what price was the computer offered in the fourth year?

 

A.   $456

B.   $500

C.   $526

D.   $550

15:

If some caps are hats, some hats are umbrellas, some umbrellas are coats and all coats are shirts, which of the following is correct?

 

A.   Those umbrellas which are not coats are shirts.

B.   Some shirts are umbrellas.

C.   Those caps which are not hats are shirts.

D.   All shirts are caps.

16:

Find the next number in the series 10, 2, 8, 2, 6, 2, __?

 

A.   4

B.   6

C.   8

D.   10

17:

If engineers are called 'goats', doctors are called 'sheep', lawyers are called 'ducks', painters are called 'sparrows' and singers are called 'lions', what will Peter be called if he left engineering to become a painter and is now a singer?

 

A.   goat

B.   sheep

C.   duck

D.   sparrow

E.   lion

18:

If '+' means '-', '/' means '+', '-' means '*' and '*' means '/', what would be the value of 3030 / 20 * 50 + 10 - 220?

 

A.   730.4

B.   830.4

C.   630.4

D.   930.4

19:

A, B, C, D, and E are five children studying in a class. D is taller than A. B is shorter than C but taller than E. C is taller than D. E is taller than A. Who among the following is the shortest in height?

 

A.   A

B.   B

C.   C

D.   D

E.   E

20:

If some books are pens, all pens are tables, all tables are chairs and no chair is an eraser, which of the following is correct?

 

A.   All books are tables.

B.   All books are chairs.

C.   No table is an eraser

D.   Only some pens are chairs

21:

In a basketball tournament, a player scored three points in his first match. In the second match, he scored five points more than he scored in the first match. In the third match, he scored five times more points as compared to the first match. The points in the fifth and the sixth matches were thirty five and forty eight points respectively. Calculate the points which the player scored in his fourth match, if all the points scored follow a particular pattern?

 

A.   18

B.   21

C.   24

D.   30

22:

In a certain code, BREAD is written as $#*@!, and BUTTER is written as $3%%*#. How is RUBBER written in that code?

 

A.   #3%%*@

B.   #3$$@$

C.   #3%%#$

D.   #3$$*#

23:

If all red flowers are white and no white flowers are pink, which of the following is the most appropriate answer?

 

A.   No red flower is pink.

B.   Some red flowers are pink.

C.   No red flowers are white.

D.   All white flowers are red.

24:

What would come in place of the question mark in the following letter-number series?

D8W

J27Q

P64K

?

 

A.   V100E

B.   V125E

C.   U125E

D.   W125E

25:

Statement:Some teachers are lawyers and no lawyer is a doctor. What is the correct conclusion drawn from the given statement?

 

A.   No teacher is a doctor.

B.   No lawyer is a teacher.

C.   Some teachers are doctors.

D.   Some lawyers are teachers.

26:

He cannot dance because he is a singer. Which out of the following is the most appropriate conclusion?

 

A.   All singers can dance.

B.   Some singers cannot dance.

C.   No singer can dance.

D.   Some singers can dance.

27:

Given below is a set of numbers. Find the missing number.
354, 180, 64, ___, 10.2, 8.7

A.   21

B.   18

C.   27

D.   12

28:

If all dogs are faithful and some dogs are pets, then which of the following is the most appropriate answer?

A.   All pets that are dogs are faithful.

B.   Some dogs are faithful.

C.   All dogs that are faithful are pets.

D.   Some pets that are dogs are faithful.

29:

A bus travels from Point A to Point E. At Point B, it drops seven passengers and picks up twelve. At Point C, it drops four passengers and picks up one-third of the total number of passengers it picked up at Point B. At Point D, it drops five passengers and picks up double the number it drops. At Point E, it picks up five passengers and drops half the number of passengers it dropped at Point C. If there are twenty passengers in the bus at Point E, how many passengers were there in it at Point A?

A.   5

B.   9

C.   7

D.   11

30:

If all bells are made from brass, brass is a metal and some metals are yellow in color, which of the following is/are the most appropriate answer/s?

A.   Brass is not yellow in color.

B.   All yellow colored things are metals.

C.   Bells are made from metal.

D.   Bells can be brown in color.

31:

This question is based upon the figure shown below
 


 Question:
Find the missing number in the above diagram.

 

A.   24

B.   31

C.   37

D.   45

32:

How many A's in the following sequence are immediately preceded by B but not immediately followed by C?

CABDACBAEBACDBCADBAEBAFCAB

A.   2

B.   3

C.   4

D.   1

33:

If all players are young and young players are strong, which of the following is the most logical conclusion?

 

A.   Those who are both strong and young are players.

B.   Those who are only strong but not young are players.

C.   Only young people can be players.

D.   Only young players can be strong.

34:

If pencils are cheaper than pens, and pens are cheaper than erasers; and Peter does not have enough money to buy 5 pens, which of the following will be the most appropriate answer?

A.   Peter has money to buy 1 pen.

B.   Peter does not have money to buy 1 pen.

C.   Peter has money to buy 5 pencils.

D.   Peter has money to buy pencils but not enough money to buy pens.

E.   Peter has enough money to buy erasers.

F.   The answer cannot be determined.

35:

Four friends: A, B, C and D decide to deposit money in a certain bank where money gets doubled every month. At the end of the second month, A withdraws $50 from the bank. At the end of the third month, B withdraws $50 from the bank. At the end of the fourth month, C withdraws $50 from the bank. At the end of the fifth month, D withdraws $50.016 from the bank. After the last withdrawal, their balance in the bank becomes zero. Calculate how much amount the four friends had collectively deposited in the bank?

A.   $13.438

B.   $23.438

C.   $25.438

D.   $30.438

E.   $44.438

36:

If some fruits are vegetables, all vegetables are plants, some plants are leaves and all leaves are green, which of the following is the most appropriate answer?

A.   All plants are green.

B.   All vegetables are green.

C.   Some plants are fruits.

D.   All plants are leaves.

37:

A man buys a table for $60. After a year, the value of the table has increased to $70 and he decides to sell the table. But a few days later, he regrets his decision to sell the table and buys it again. Unfortunately, he has to pay $80 to get it back. So he loses $10. After another year of owning the table, he finally decides to sell the table for $90. What is the overall profit or loss the man makes?

 

A.   A profit of $20

B.   A profit of $10

C.   A profit of $30

D.   A loss of $30

E.   A loss of $10

38:

A man is climbing up a cliff. He climbs six meters in one minute and falls down three meters in the next minute. This sequence goes on throughout the climb. Calculate the time taken to reach the top if the cliff is 60 meters high?

 

A.   31 minutes

B.   33 minutes

C.   37 minutes

D.   40 minutes

39:

Look at the following arrangement?

8Z5*CD2%J$7SQRI@Z12

What will come in place of the question mark (?) in the following series based on the above arrangement?

58C

*ZD

C52

?

 

A.   D*%

B.   2CJ

C.   $%S

D.   7JQ

40:

Given below is a set of numbers. One of the numbers does not belong to the set. Which one is it?

36, 157, 303, 470, 666, 891

 

A.   891

B.   157

C.   303

D.   470

E.   666

41:

A dial clock shows the time as quarter past eight when seen through a mirror. What is the actual time shown by the clock?

 

A.   Quarter to four

B.   Quarter past two

C.   Quarter to three

D.   Quarter past four

42:

Find the next number in the series 1, 3, 15, 45, 225, ___?

 

A.   675

B.   1125

C.   550

D.   450

43:

In a certain code, P$Q means P is a brother of Q, P@Q means P is daughter of Q, P%Q means P is the grandfather of Q, P*Q means P is a son of Q. Which of the following expressions represents the relationship: A is the father of C?

 

A.   A*B@C

B.   A*B%C

C.   C*B%A

D.   C*A%B

44:

What is the value of R in the following set of equations?

1) P + Q = 2

2) R x P + Q = 5

3) P + R x Q = 7

 

A.   2

B.   3

C.   4

D.   5

E.   7

45:

Peter purchased three cameras. The cost of the first camera is 3/8-times the cost of the second camera, and the cost of the third camera is 5/8-times the cost of the second camera. If the total cost of the three cameras is $12,000, what is the cost of the second camera?

 

A.   $1,000

B.   $2,000

C.   $3,000

D.   $6,000

46:

A certain clock shows the correct time at midnight and then begins to lose 15 minutes per hour. Six hours ago, when it stopped completely, it showed the time as 3:45 a.m. What is the time now?

 

A.   9:00 a.m.

B.   10:00 a.m.

C.   11:00 a.m.

D.   12 noon

47:

In a certain code,

    P$Q means P is the brother of Q,

    P@Q means P is the daughter of Q,

    P%Q means P is the grandfather of Q, and

    P*Q means P is the son of Q.

Which of the following expressions represents the relationship: P is the father of R?

 

A.   P*Q@R

B.   P*Q%R

C.   R*Q%P

D.   R*P@Q