Summary
I interviewed with cgi as part of an on-campus recruitment drive. The process involved a technical interview focusing on basic coding (string merging, bubble sort), OOPs concepts like polymorphism and inheritance, project discussion, and standard behavioral questions. I was eventually offered the position.
Full Experience
Approximately 200 students qualified for the interview round in my college after clearing the online assessment. My interview started with the interviewer, a lady, joining a couple of minutes early and giving her introduction, followed by asking me for mine.
She then inquired about my preferred coding language, to which I responded C++. She asked me to rate my C++ skills on a scale of 1-10, and I confidently answered 8.5. Next, she asked me to rate myself in SQL, again on a scale of 1-10. I rated myself 8, explaining that I lacked industry experience with SQL.
The interview then moved to coding questions:
- Merge Two Strings: The first question was to merge two strings, for example,
str1: Helloandstr2: World, to produceResult: HelloWorld. I solved this quickly within a minute and then explained my approach. - Bubble Sort: The second coding question was about implementing Bubble Sort. After writing the code, she again asked for an explanation, which I provided thoroughly.
Following the coding segment, she asked me to explain my project in detail.
We then transitioned to computer science subjects, specifically Object-Oriented Programming (OOPs) concepts:
- What is polymorphism?
- What is inheritance?
- And some other basic OOPs questions.
Towards the end of the interview, she asked some behavioral questions:
- What is your strength?
- What is your weakness?
- What is your favorite movie?
Finally, she asked if I had any questions for her. I inquired about the work culture at cgi, and she explained it in detail.
Interview Questions (8)
Given two strings, str1 (e.g., 'Hello') and str2 (e.g., 'World'), merge them to produce a single string (e.g., 'HelloWorld').
Implement the Bubble Sort algorithm to sort an array. Be prepared to explain its working.
Explain your academic or personal project in detail, focusing on its objectives, technologies used, and your contributions.
Explain the concept of polymorphism in Object-Oriented Programming (OOPs).
Explain the concept of inheritance in Object-Oriented Programming (OOPs).
Describe your key strengths relevant to a professional role.
Describe your weaknesses and how you are working to overcome them.
What is your favorite movie?