In technical level-1,tell me abt yourself.OOPS concepts were asked.Be thorough with OOPS concepts.
And four programs were asked.
1.given input:5
print the following pattern:
1 2 3 4 5
6 10
11 15
16 20
21 22 23 24 25
i tried to code.Almost got it.But he asked me a more simpler way.And helped me to do it simpler.the interviewer was very friendly.
2.given input:10
print: 2143658107
hint:for i=even,cout<<i-1;
for i=odd,cout<<i+1;
i told him using arrays in the same approach but slightly different.he asked me without using arrays.he asked me to keep start index as 1,then i was able to get the logic.
3.input:5
print:
a
b b
c c c
d d d d
e e e e e
4.input:1,2,3,4,5,6.............100
output:2,1,4,3,6,5.................99
the interviewer just saw how quickly i was able to get the logic.so dont panic if you dont do it efficiently.just try to get the logic.
the other programs which my friends got are-
1.check palindrome
2.print alphabet a 5 times without any loop.
3.print pyramid pattern.
4.sub palindrome within a palindrome.
5.count number of vowels.
6.find number is odd or even without using modulo(hint: use bitwise operator& with 1).
7.number of words in a sentence.and print the longest word.
i was not asked attend to tech level-2.so was directly asked to attend hr round.few of my friends were asked to attend tech-2.hr was very friendly.she asked abt my family,my non technical skills,told abt 2 yrs bond etc.
Be thorough with c concepts and oops concepts and be strong in coding.what aspire systems expects is good coding skills and communication skills. I wish you to become a future ASPIRIAN.
If offered,they would send off you with a cool aspire t-shirt and an offer letter. ALL THE BEST.