Professional Documents
Culture Documents
AMCAT Coding
Questions and
Answers PDF for
Test
AMCAT Coding Questions are of moderate to
high dif culty and the Languages that you’re
allowed to code in are C, C++, C# and Java.
Below you will nd questions that you must
practice before giving any AMCAT Exam.
1. Number of Questions – 2
1. Generally one easy
2. One medium dif culty
Question 1
Question 2
Question 3
Question 4
Question 5
geekplacement.com/amcat/coding.html 1/4
6/25/2019 AMCAT Coding Questions and Answers PDF Test 2018 Java | Geek Plac..
#include
int main() {
long int decimalNumber,remainder,
int octalNumber[100],i=1,j;
printf("Enter any decimal number
scanf("%ld",&decimalNumber);
quotient = decimalNumber;
while(quotient!=0) {
octalNumber[i++]= quotient % 8;
quotient = quotient / 8;
}
printf("Equivalent octal value of
for (j = i -1 ;j> 0;j--)
geekplacement.com/amcat/coding.html 2/4
6/25/2019 AMCAT Coding Questions and Answers PDF Test 2018 Java | Geek Plac..
printf("%d",octalNumber[j]);
return 0;
}
Question 6
Data Structures No No No
geekplacement.com/amcat/coding.html 3/4
6/25/2019 AMCAT Coding Questions and Answers PDF Test 2018 Java | Geek Plac..
Comments Community
1 Login
LOG IN WITH
OR SIGN UP WITH DISQUS ?
Name
geekplacement.com/amcat/coding.html 4/4