MCQs > IT & Programming > Programming Aptitude MCQs > Basic Programming Aptitude MCQs

Basic Programming Aptitude MCQ

1.

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?

 

Answer

Correct Answer: P*Q%R

Note: This Question is unanswered, help us to find answer for this one

2.

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?

 

Answer

Correct Answer: 11:00 a.m.

Note: This Question is unanswered, help us to find answer for this one

3.

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

 

Answer

Correct Answer: 5

Note: This Question is unanswered, help us to find answer for this one

4.

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?

 

Answer

Correct Answer: A*B%C

Note: This Question is unanswered, help us to find answer for this one

5.

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

 

Answer

Correct Answer: 675

Note: This Question is unanswered, help us to find answer for this one

6.

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

 

Answer

Correct Answer: 303

Note: This Question is unanswered, help us to find answer for this one

7.

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?

 

Answer

Correct Answer: 37 minutes

Note: This Question is unanswered, help us to find answer for this one

8.

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?

Answer

Correct Answer: Some plants are fruits.

Note: This Question is unanswered, help us to find answer for this one

9.

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?

Answer

Correct Answer: The answer cannot be determined.

Note: This Question is unanswered, help us to find answer for this one

10.

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

 

Answer

Correct Answer: Those who are both strong and young are players.

Note: This Question is unanswered, help us to find answer for this one

11.

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

CABDACBAEBACDBCADBAEBAFCAB

Answer

Correct Answer: 3

Note: This Question is unanswered, help us to find answer for this one

12.

This question is based upon the figure shown below
 


 Question:
Find the missing number in the above diagram.

 

Answer

Correct Answer: 31

Note: This Question is unanswered, help us to find answer for this one

13.

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?

Answer

Correct Answer: Bells are made from metal.
Bells can be brown in color.

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

14.

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

Answer

Correct Answer: All pets that are dogs are faithful.

Note: This Question is unanswered, help us to find answer for this one

15.

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

Answer

Correct Answer: 21

Note: This Question is unanswered, help us to find answer for this one

16.

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

 

Answer

Correct Answer: No singer can dance.

Note: This Question is unanswered, help us to find answer for this one

17.

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

 

Answer

Correct Answer: Some lawyers are teachers.

Note: This Question is unanswered, help us to find answer for this one

18.

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

D8W

J27Q

P64K

?

 

Answer

Correct Answer: V125E

Note: This Question is unanswered, help us to find answer for this one

19.

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

 

Answer

Correct Answer: No red flower is pink.

Note: This Question is unanswered, help us to find answer for this one

20.

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

 

Answer

Correct Answer: #3$$*#

Note: This Question is unanswered, help us to find answer for this one

21.

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?

 

Answer

Correct Answer: No table is an eraser

Note: This Question is unanswered, help us to find answer for this one

22.

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?

 

Answer

Correct Answer: A

Note: This Question is unanswered, help us to find answer for this one

23.

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

 

Answer

Correct Answer: 830.4

Note: This Question is unanswered, help us to find answer for this one

24.

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?

 

Answer

Correct Answer: lion

Note: This Question is unanswered, help us to find answer for this one

25.

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

 

Answer

Correct Answer: 4

Note: This Question is unanswered, help us to find answer for this one

26.

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

 

Answer

Correct Answer: Some shirts are umbrellas.

Note: This Question is unanswered, help us to find answer for this one

27.

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?

 

Answer

Correct Answer: C

Note: This Question is unanswered, help us to find answer for this one

28.

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'?

 

Answer

Correct Answer: vitres

Note: This Question is unanswered, help us to find answer for this one

29.

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?

 

Answer

Correct Answer: 25

Note: This Question is unanswered, help us to find answer for this one

30.

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?

 

Answer

Correct Answer: D

Note: This Question is unanswered, help us to find answer for this one

31.

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

 

Answer

Correct Answer: Robert drinks less than 8 bottles of wine in a week.

Note: This Question is unanswered, help us to find answer for this one

32.

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?

 

Answer

Correct Answer: All buses are trucks.

Note: This Question is unanswered, help us to find answer for this one

33.

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

 

Answer

Correct Answer: -27

Note: This Question is unanswered, help us to find answer for this one

34.

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?

 

Answer

Correct Answer: At least 1 student in the class has 5 friends.

Note: This Question is unanswered, help us to find answer for this one

35.

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."

 

Answer

Correct Answer: Tom

Note: This Question is unanswered, help us to find answer for this one

36.

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?

 

Answer

Correct Answer: A is older than E.

Note: This Question is unanswered, help us to find answer for this one

37.

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

 

Answer

Correct Answer: Jack is not sleeping.

Note: This Question is unanswered, help us to find answer for this one

38.

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

 

Answer

Correct Answer: DQIKNKQO

Note: This Question is unanswered, help us to find answer for this one