[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 placement papers with solution

104.68K

Tot. Mock Test: 3


Total Qs: 164+

NA
SHSTTON
69
Solv. Corr.
232
Solv. In. Corr.
301
Attempted
0 M:0 S
Avg. Time

141 / 164

What is the output of the following 'C' program ?
#include<stdio.h>
int main()
{
 char c = 255; 
 printf ("%d",c);
 return 0;
}

Aillegal character assignment

Bprints -1

Cprints 2

Dprints 255

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
19
Solv. Corr.
27
Solv. In. Corr.
46
Attempted
0 M:0 S
Avg. Time

142 / 164

What is the output of the following 'C' program ?
#include<stdio.h>
int main()
{
   char s[10];
   scanf ("%s",s);
   printf(s);
}

If input is abcd :

Aprints abcd

Bcompiler error

Cprints abcd and 6 junk characters

Dprintd s

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
16
Solv. Corr.
26
Solv. In. Corr.
42
Attempted
0 M:0 S
Avg. Time

143 / 164

What is the output of the following 'C' program ?
#include<stdio.h>
int main()
{
int arr[]={ 1,2,3,4 };
 int *ptr ;;;;
 ptr++ = arr;
 printf("%d,%d",ptr[2],arr[2]);
 return 0;
}

Acompile time error :multiple termination statements for pointer

Blvalue required for ptr

Cprints 3 3

Dprintd 4 3

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
28
Solv. Corr.
26
Solv. In. Corr.
54
Attempted
0 M:0 S
Avg. Time

144 / 164

Choose the correct option.

what is the correct prototype of printf function ?


Aprintf(char *p,...);

Bprintf(const *char *p,...);

Cprintf(const char *p,...);

Dprintf(const *char p,...);

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
13
Solv. Corr.
44
Solv. In. Corr.
57
Attempted
0 M:0 S
Avg. Time

145 / 164

Choose the correct option.

which is the null statement?


A;

B{}

C'\0';

Dall of these

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
24
Solv. Corr.
32
Solv. In. Corr.
56
Attempted
0 M:0 S
Avg. Time

146 / 164

What is the output of the following 'C' program ?
#include<stdio.h>
int main()
{
 200;
 printf("tricky problem");
}

Awarning message

Bcompilation error

Crun time error

Dnone of these

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
22
Solv. Corr.
24
Solv. In. Corr.
46
Attempted
0 M:0 S
Avg. Time

147 / 164

What will be output of the following "c" code?
#include<stdio.h>
#define islower(c)  ('a'<=(c) && (c)<='z')
#define toupper(c)  (islower(c)?(c)-('a'-'A'):(c))

main()
{
 char *p="i am fine";
 while(*p)
  printf("%c",toupper(*p++));
}

Abcd

BAFE

CaFe

DBCd

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
26
Solv. Corr.
31
Solv. In. Corr.
57
Attempted
0 M:0 S
Avg. Time

148 / 164

What is the output of the following 'C' program ?
#include<stdio.h>
main()
{
 scanf("%d");
 printf();
}
which of the following is correct?

Acompilation error

BRun time error

CNo output

Ddepends on the compiler

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
12
Solv. Corr.
32
Solv. In. Corr.
44
Attempted
0 M:0 S
Avg. Time

149 / 164

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

A-1

B-2

C-4

D0

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
1
Solv. Corr.
34
Solv. In. Corr.
35
Attempted
0 M:0 S
Avg. Time

150 / 164

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

A10

Brun time error

Ccompiler error

D5

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 placement papers of Global Edge 2020 placement papers of Global Edge 2020. 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