CGI interview experience (On campus interview experience)
- Result
- Offer
- Posted
- 13 Feb 2023
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.
How it went
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.
Questions asked (8)
- 01
Merge Two Strings
Data Structures & Algorithms · Easy
Given two strings,
str1(e.g., 'Hello') andstr2(e.g., 'World'), merge them to produce a single string (e.g., 'HelloWorld'). - 02
Implement Bubble Sort
Data Structures & Algorithms · Easy
Implement the Bubble Sort algorithm to sort an array. Be prepared to explain its working.
- 03
Project Explanation
Other
Explain your academic or personal project in detail, focusing on its objectives, technologies used, and your contributions.
- 04
Polymorphism Concept
Other
Explain the concept of polymorphism in Object-Oriented Programming (OOPs).
- 05
Inheritance Concept
Other
Explain the concept of inheritance in Object-Oriented Programming (OOPs).
- 06
Tell me about your strengths
Behavioral
Describe your key strengths relevant to a professional role.
- 07
Tell me about your weaknesses
Behavioral
Describe your weaknesses and how you are working to overcome them.
- 08
Favorite Movie
Behavioral
What is your favorite movie?