[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Nagarro Aptitude Questions and Answers for Freshers

127.34K

Tot. Mock Test: 4


Total Qs: 79+

NA
SHSTTON
187
Solv. Corr.
225
Solv. In. Corr.
412
Attempted
1 M:29 S
Avg. Time

1 / 79

Choose the correct option.

Structure can be used


ATo hold different datatypes

BHave pointers to structure

CTo assign to one another

DAll the above

Answer: Option D

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Nagarro TCS Wipro

NA
SHSTTON
225
Solv. Corr.
322
Solv. In. Corr.
547
Attempted
0 M:28 S
Avg. Time

2 / 79

What is the output of the program?

#include
int main()
{
extern int a;
printf("%d\n",a);
return 0;
}

int a =20;


A20

B0

CGarbage Value

DError

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Nagarro

NA
SHSTTON
449
Solv. Corr.
122
Solv. In. Corr.
571
Attempted
0 M:19 S
Avg. Time

3 / 79

Choose the correct option.

C language is available for which of the following Operating System?


ADOS

BWindows

CUnix

DAll of these

Answer: Option D

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Nagarro

NA
SHSTTON
295
Solv. Corr.
250
Solv. In. Corr.
545
Attempted
0 M:5 S
Avg. Time

4 / 79

What is the output of the following program ?
#include <stdio.h>
int main()
{
int i,j;
i = j =2;
while ( --i && j++)
printf("%d  %d",i,j);

return 0;
}

A2 3

B0 3

C1 3

DInfinite Loop

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Nagarro

NA
SHSTTON
386
Solv. Corr.
155
Solv. In. Corr.
541
Attempted
0 M:0 S
Avg. Time

5 / 79

Choose the correct option.

The size of generic pointer in c is 2 __


ABytes

BBits

CNone of these

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Nagarro

NA
SHSTTON
395
Solv. Corr.
473
Solv. In. Corr.
868
Attempted
1 M:13 S
Avg. Time

6 / 79

What is the problem in the following declarations?
int func(int);
double func(int);
int func(float);

AA function with same name connot have different signatures.

BA function with same name cannot have different return types.

CA function with same name cannot have different number of parameters

DAll of the mentioned.

Answer: Option D

Explanation:

Here is no explanation for this answer

ShortCut By :: VIKAS KUMAR singh

A function with the same name cannot have different signatures.



 int func(int); double func(int);



A function with the same name cannot have different return types. 



double func(int);

int func(float);



  A function with the same name cannot have a different number of parameters



.int func(int);int func(float);



 

Submit Your Solution

Tags: Nagarro

NA
SHSTTON
159
Solv. Corr.
327
Solv. In. Corr.
486
Attempted
0 M:44 S
Avg. Time

7 / 79

The smallest integer than can be represented by an 8-bit number in 2's complement form is


A-256

B-128

C-127

D0

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Nagarro

NA
SHSTTON
383
Solv. Corr.
524
Solv. In. Corr.
907
Attempted
0 M:30 S
Avg. Time

8 / 79

Choose the correct option.

The five items: A,B,C,D and E are pushed in stack, one after the other starting from A. The stack is

Is popped four items and each element is inserted in a queue. Then two elements are deleted from the queue and pushed back on the stack . Now one item is popped from the stack.

The popped item is.


AA

BB

CC

DD

Answer: Option D

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Nagarro

NA
SHSTTON
586
Solv. Corr.
296
Solv. In. Corr.
882
Attempted
0 M:56 S
Avg. Time

9 / 79

What is the output of the following code?
#include <stdio.h>
void main()
{
int a=0, b=0;
a = (b =75)+9;
printf("\n%d, %d ",a,b);
}

A75, 9

B75, 84

C84, 75

DNone of these Options

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Nagarro

NA
SHSTTON
293
Solv. Corr.
334
Solv. In. Corr.
627
Attempted
15 M:4 S
Avg. Time

10 / 79

How many times "Nagarro" will get printed?
#include<stdio.h>
int main()
{
   int x;

for (x=-1; x<10;x++)
{
if (x<5)
continue;
else
break;
printf("Nagarro");
}
return 0;
}

AInfinite times

B11 times

C0 times

D10 times

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Nagarro


Here is the list of questions asked in Nagarro Aptitude Questions and Answers for Freshers - Q4Interview. Practice Nagarro Written Test Papers with Solutions and take Q4Interview Nagarro Online Test Questions to crack Nagarro written round test. Overall the level of the Nagarro Online Assessment Test is moderate. Only those candidates who clear the written exam will qualify for the next round, so practic all the questions here and take all the free tests before going for final selection process of Nagarro