Genpact RPA Team
 
Test your logical and programming skills

What is the missing letter in this series: c c d ? E f g g h
B
C
D
E
F
Here are some words translated from an artificial language.
granamelke means big tree
pinimelke means little tree
melkehoon means tree house
Which word could mean "big house"?
Granahoon
Pinishur
Pinihoon
Melkegrana

Look at this series: 36, 34, 30, 28, 24, ... What number should come next?

20
22
23
26

Which number does not belong here: 8, 27, 64, 100, 125, 216, 343 ?

27
100
125
343

Given the following operations, can you identify the result of the last operation?


1 # 1 = 5

2 # 2 = 20

3 # 3 = 45

4 # 4 = ?

16
80
95
60

Say that value has a 19 stored in it, and that extra has a 25 stored in it. Evaluate (to true or false) each of the following expressions:


value <= extra     extra < value      value > -25     value  >=  extra

True false true false
True true true false
False false true false
False false true true

What will be output when you will execute following C code?
#include<stdio.h>

void main(){

    int a=100;

    if(a>10)

         printf("M.S. Dhoni");

    else if(a<120)

         printf("M.E.K Hussey");

    else if(a>30)

           printf("A.B. De villiers");

M.S. Dhoni
M.E.K Hussey
A.B. de Villiers
None. Will not output

What is the output of this C code?

 #include <stdio.h>

  main()

  {

      int n = 0, m = 0;

      if (n > 0)

        if (m > 0)

            printf("True");

          else
              printf("False");
   }

True
False
No Output will be printed
Run Time Error

Given the following program fragment
 

int I, j, k;

                I = 3;

                 j =2*(i++);

                 k =2*(++i);

J = 6, k = 10
I = 5, k = 6
J = 6, k = 8
I = 4, j = 6

How many times the below loop will get executed?
main()

{
                int I;
                for(i=9;i>0;i=i-2)
                {
                                printf("\n%d",i);
                }
}

5
6
Infinite
Compilation error
Please provide your email or SSO if you would like. (Optional)
{"name":"Genpact RPA Team Test your logical and programming skills", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What is the missing letter in this series: c c d ? e f g g h, Given the following operations, can you identify the result of the last operation? 1 # 1 = 52 # 2 = 203 # 3 = 454 # 4 = ?, Given the following program fragment int i, j, k;                i = 3;                 j =2*(i++);                 k =2*(++i);","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker