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

Global Edge Aptitude Test Question with Answers

104.63K

Tot. Mock Test: 3


Total Qs: 164+

NA
SHSTTON
103
Solv. Corr.
211
Solv. In. Corr.
314
Attempted
0 M:52 S
Avg. Time

21 / 164

What is the output of the following 'C' program ?
#include<stdio.h>
int main()
{
  int k=5;
  for(++k<5 && k++/5 || ++k<8);
  printf("%d\n",k);
 }

A5

B6

C7

D8

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
20
Solv. Corr.
33
Solv. In. Corr.
53
Attempted
0 M:0 S
Avg. Time

22 / 164

What is the output of the following 'C' program ?
#include<stdio.h>
int main()
{
  int *ptr1,*ptr2;
  ptr1=(int *)malloc(sizeof(int));
  ptr2=func(20,10,ptr1);
  printf("%d %d\n",*ptr1,*ptr2);
 }

int *func(int a, int b, int *c) 
{
 int x=a+b;
 *c=a-b;
 return(&x);
}

ABug in the code

BNo Bugs prints correctly

CError

DNone of the above

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
29
Solv. Corr.
21
Solv. In. Corr.
50
Attempted
0 M:0 S
Avg. Time

23 / 164

What is the output of the following 'C' program ?
#include<stdio.h>
int main()
{
 int i = 10, j ;
 if ( ( j = ~i ) < i )
  printf ( "True" ) ;
 else 
  printf ( "False" ) ;
  }

ATRUE

BFALSE

CCompiler Dependent

DNone of the above

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
31
Solv. Corr.
29
Solv. In. Corr.
60
Attempted
0 M:0 S
Avg. Time

24 / 164

Choose the coorect option

How many bytes are required to create a 3*3 matrix using double pointer


A12

B9

C6

D3

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
19
Solv. Corr.
35
Solv. In. Corr.
54
Attempted
0 M:0 S
Avg. Time

25 / 164

What will be the output of the following program if int=4,float=8,char=1
void main() {
 FILE *fp;
 printf("%d\n",sizeof(fp) );
}

A2

B4

CCompiler dependent

DError

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
25
Solv. Corr.
23
Solv. In. Corr.
48
Attempted
0 M:0 S
Avg. Time

26 / 164

What is the output of the following 'C' program ?

#include
int main()
{
int a=10,b=20;
a^=b^=a^=b;
printf("%d\n %d\n",a,b);
}


Aa=20,b=10

Ba=10,b=20

CSyntax error

DUnpredictable

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
61
Solv. Corr.
72
Solv. In. Corr.
133
Attempted
0 M:17 S
Avg. Time

27 / 164

What is the output of the following 'C' program ?
#include<stdio.h>
int main()
{
int i=10;

 switch(i) {
 case 10: printf("Hello "); {
case 1 : printf("World ");
 }
case 5: printf("Hello World ");
}
}

AHello

BWorld

CHello World Hello World

DSyntax Error

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
68
Solv. Corr.
46
Solv. In. Corr.
114
Attempted
0 M:0 S
Avg. Time

28 / 164

What is the output of the following 'C' program ?
#include<stdio.h>
int main()
{
  char str1[]="Hello";
 char str2[]="Hello";
 if ( str1==str2 )
 printf("True\n");
 else
 printf("False\n");
    }

ATRUE

BFALSE

CError

DUnpredictable

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
271
Solv. Corr.
35
Solv. In. Corr.
306
Attempted
0 M:8 S
Avg. Time

29 / 164

What is the output of the following 'C' program ?
#include<stdio.h>
int main()
 {
 int i = 10 ; 
 printf("%d\n", i/2 );
 
 }

A10

B5

Cerror

Dwarning

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
20
Solv. Corr.
50
Solv. In. Corr.
70
Attempted
0 M:0 S
Avg. Time

30 / 164

What is the output of the following 'C' program ?
#include <stdio.h>  
# pragma pack(2)
struct SIZE {
int i;
char ch ;
double db ;
} ;
main ()  {
printf ( "%d\n",sizeof(struct SIZE) );
}

A12

B14

C16

D8

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge


Here is the list of questions asked in Global Edge Aptitude Test Question with Answers Global Edge Mock Test. Practice Global Edge Written Test Papers with Solutions and take Q4Interview Global Edge Online Test Questions to crack Global Edge written round test. Overall the level of the Global Edge 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 Global Edge