i
CGI Group
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Campus Placement
Sort the list of car models in reverse order
Use a sorting algorithm like bubble sort or quicksort to rearrange the array in reverse order
Alternatively, use built-in functions like sort() with a custom comparator function to achieve the same result
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Tuple is immutable and ordered, while list is mutable and ordered. Tuples are used for fixed data, lists for dynamic data.
Tuple is created using parentheses (), while list is created using square brackets []
Tuples are immutable, meaning their elements cannot be changed once defined, while lists are mutable and can be modified
Tuples are typically used for fixed data that will not change, while lists are used for dynamic...
Monolithic architecture is a single unified unit while microservices architecture is composed of small, independent services.
Monolithic architecture is a single, indivisible unit where all components are tightly coupled.
Microservices architecture breaks down the application into smaller, independent services that communicate with each other through APIs.
Monolithic applications are easier to develop and deploy but can b...
Code to find second largest number in an array without using built-in functions
Iterate through the array to find the largest number
Keep track of the largest number and update it if a larger number is found
Once the largest number is found, iterate again to find the second largest number
Mixins in Django are a way to reuse code across multiple classes by providing methods and attributes that can be inherited.
Mixins are classes that provide methods and attributes to be inherited by other classes.
They are used to add common functionality to multiple classes without repeating code.
Mixins are not meant to be instantiated on their own, but rather to be inherited by other classes.
An example of a mixin in Dja...
Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Flask is a lightweight WSGI web application framework.
Django is a full-featured framework with built-in ORM, admin panel, and authentication system, while Flask is more lightweight and flexible.
Django follows the 'batteries included' philosophy, providing many built-in features out of the box, whereas Flask is mor...
Different testing frameworks in Django include Django's built-in test framework, pytest, and unittest.
Django's built-in test framework: Provides tools for testing Django applications and is easy to use.
pytest: A popular testing framework that offers more features and flexibility compared to Django's built-in test framework.
unittest: A standard Python testing framework that can also be used for testing Django applicatio
We use AWS services like EC2, S3, RDS, Lambda, and CloudWatch in our project.
EC2 - for hosting our application servers
S3 - for storing and serving static assets
RDS - for managing our relational database
Lambda - for serverless computing
CloudWatch - for monitoring and logging
Decorator in Python is a design pattern that allows adding new functionality to an existing object without modifying its structure.
Decorators are functions that modify the behavior of other functions or methods.
They are denoted by @decorator_name above the function definition.
Decorators can be used for logging, timing, authentication, etc.
Example: @staticmethod, @classmethod, @property
Django code to render hello world template
Create a new Django project
Create a new Django app within the project
Create a template file with 'hello world' content
Update views.py to render the template
Update urls.py to map a URL to the view
What people are saying about CGI Group
CGI Group interview questions for popular designations
I want to work to contribute my skills and knowledge to a team, learn and grow professionally, and make a positive impact.
Contribute my skills and knowledge to a team
Learn and grow professionally
Make a positive impact
Get interview-ready with Top CGI Group Interview Questions
Domain is the area of expertise or knowledge, data elements are individual pieces of data, and database tables are structures to store data.
Domain refers to a specific area of expertise or knowledge, such as healthcare, finance, or education.
Data elements are individual pieces of data that make up a larger dataset, such as name, age, address, etc.
To create a database table, you need to define the table's structure incl...
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
To prevent Singleton from being broken by cloning, we can override the clone method and throw an exception.
Override the clone method in the Singleton class and throw an exception to prevent cloning.
Alternatively, you can return the same instance in the clone method instead of creating a new instance.
Use serialization and deserialization to create a new instance of the Singleton class.
Use streams to remove repeating letters in a string
Convert the string to a character array
Use a stream to filter out repeating characters
Collect the characters back into a string
It was good it was good
OOP (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.
OOP in Java involves creating classes and objects, encapsulation, inheritance, and polymorphism.
Classes are blueprints for objects, defining their properties and behaviors.
Encapsulation involves bundling data (attributes) and methods (functions) that operate on the data within a single unit.
Inher...
Exception handling in Java is a mechanism to handle runtime errors and prevent program crashes.
Exceptions are objects that are thrown at runtime when an error occurs.
Try block is used to enclose the code that might throw an exception.
Catch block is used to handle the exception and provide a specific response.
Finally block is used to execute code regardless of whether an exception is thrown or not.
Example: try { // code...
I applied via Referral and was interviewed in Jun 2024. There were 2 interview rounds.
2 easy questions where we need to solve one question to qualify
I am proficient in Java, Python, and C++. I have solved problems related to data structures, algorithms, and software development.
Proficient in Java, Python, and C++
Solved problems related to data structures and algorithms
Experience in software development projects
Some of the top questions asked at the CGI Group interview -
The duration of CGI Group interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 415 interviews
Interview experience
based on 4.5k reviews
Rating in categories
4-10 Yrs
Not Disclosed
3-8 Yrs
Not Disclosed
Software Engineer
8.1k
salaries
| ₹3.8 L/yr - ₹12 L/yr |
Senior Software Engineer
7.2k
salaries
| ₹6.1 L/yr - ₹22.5 L/yr |
Lead Analyst
3.1k
salaries
| ₹9.9 L/yr - ₹29.5 L/yr |
Associate Software Engineer
1.9k
salaries
| ₹2.5 L/yr - ₹6.6 L/yr |
Senior Test Engineer
1.2k
salaries
| ₹6 L/yr - ₹18.4 L/yr |
TCS
Infosys
Wipro
HCLTech