Tip 1 : Prepare well for aptitude
Tip 2 : Prepare well with the final year project
Tip 3 :Prepare well for the new technologies
Tip 1:Don't add too many things
Tip 2: At least two projects should be there to create impact
We were given one day time within that time we have to select the time slot of 90 minutes on which we want to give the exam. I selected the morning time and had given the exam.
There was a code given and i need found out the errors in the code and correct that code and submit it. Note: similar like this there were 5 to 6 questions
#include int main(){
int num, LD;
printf(" Enter a number"4589);
scanf("%d", &num);
LD = num / 10;
printf(" \n The Last Digit of a Given Number %d = %d", num, LD);
return 0;}
Step 1: I gone through the code and tried to understand what is the requirement.
Step 2: I gone through the code and found the error.
Solution 1:
#include
int main()
{
int num, LD;
printf(" Enter a number");
scanf("%d", &num);
LD = num % 10; // instead of '/' we have to give '%'
printf(" \n The Last Digit of a Given Number %d = %d", num, LD);
return 0;
}
Solution 2:
void palindrome(int number)
{
int rev = 0,store, n1,left;
n1=number;
store= number;
while (number > 0)
{
left= number%10; //these are the correct lines
rev = rev * 10 + left; //these are the correct lines
number=number/10; //these are the correct lines
}
if(n1==rev)
printf("Number %d is Palindrome number",n1);
else
printf("it is not a Palindrome number");
}
Solution 3:
int sumOfValue(int len, int* arr, int value)
{
int sum = 0;
for(int i =0 ; i < len; i++ )
{
if(arr[i]%value == 0)
sum += arr[i]; //these are the correct lines
}
return sum;
}
Example 2 :
void palindrome(int number)
{
int rev = 0,store, n1,left;
n1=number;
store= number;
while (number > 0)
{
left= number/10;
rev = rev + 10 * left;
number=number%10;
}
if(n1==rev)
printf("Number %d is Palindrome number",n1);
else
printf("it is not a Palindrome number");
}
Example 3:
int sumOfValue(int len, int* arr, int value)
{
int sum = 0;
for(int i =0 ; i < len; i++ )
{
if(arr[i]%value == 0)
sum =+ arr[i];
}
return sum;
}
It was a long interview. First it was started with the technical concepts of my project. Then I was asked some questions from my resume like my hobby was cricket so I was asked some questions about cricket. Then after that I was asked from the subjects that I have mentioned in my resume. I mentioned cloud concepts so I was asked about saas, paas, iaas. I was asked about data structure like stack queue linked list etc. I was asked about the ACID properties from dbms. I was asked about functions and different types of pointers.
After that I was asked to take a pen and paper and I was given on spot aptitudes and he asked me to solve those.
There were around 10 questions one by one the interviewer shared and I solved 9 of them. That was the point the interviewer got impressed.
At last interviewer asked me to share the screen and write logic of some codes.



153 = 1^3 + 5^3 + 3^3.
Therefore 153 is an Armstrong number.
I practised it before the interview so I was confident. I wrote the whole code in c.
Solution 1:
#include
int main()
{
int n,r,sum=0,temp;
printf("enter the number=");
scanf("%d",&n);
temp=n;
while(n>0)
{
r=n%10;
sum=sum+(r*r*r);
n=n/10;
}
if(temp==sum)
printf("armstrong number ");
else
printf("not armstrong number");
return 0;
}



String 'S' is NOT case sensitive.
Let S = “c1 O$d@eeD o1c”.
If we ignore the special characters, whitespaces and convert all uppercase letters to lowercase, we get S = “c1odeedo1c”, which is a palindrome. Hence, the given string is also a palindrome.
Solution
#include
int main()
{
int n,r,sum=0,temp;
printf("enter the number=");
scanf("%d",&n);
temp=n;
while(n>0)
{
r=n%10;
sum=(sum*10)+r;
n=n/10;
}
if(temp==sum)
printf("palindrome number ");
else
printf("not palindrome");
return 0;
}



F(n) = F(n-1) + F(n-2),
Where, F(1) = F(2) = 1.
For ‘N’ = 5, the output will be 5.
Solution
#include
int main()
{
int n1=0,n2=1,n3,i,number;
printf("Enter the number of elements:");
scanf("%d",&number);
printf("\n%d %d",n1,n2);
for(i=2;i {
n3=n1+n2;
printf(" %d",n3);
n1=n2;
n2=n3;
}
return 0;

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
To make an AI less repetitive in a long paragraph, you should increase: