i
CGI
Group
Proud winner of ABECA 2025 - AmbitionBox Employee Choice Awards
Filter interviews by
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
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
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
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 appli...
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 ...
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 i...
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 i...
An inline function is a function defined within the scope of another function, typically used for short and simple operations.
Inline functions are defined within the body of another function.
They are typically used for short and simple operations.
Inline functions are often used to improve code readability and maintainability.
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 dy...
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
I applied via Campus Placement and was interviewed before Apr 2023. There were 4 interview rounds.
I am Shaik Jabbeer I am a Python Developer
I am Shaik Jabbeer I am a Python Developer
An inline function is a function defined within the scope of another function, typically used for short and simple operations.
Inline functions are defined within the body of another function.
They are typically used for short and simple operations.
Inline functions are often used to improve code readability and maintainability.
Top trending discussions
I applied via Naukri.com and was interviewed before May 2021. There were 3 interview rounds.
I applied via Recruitment Consultant and was interviewed in May 2020. There were 3 interview rounds.
An interface defines a contract for classes, specifying methods without implementation, promoting abstraction and flexibility in OOP.
Interfaces allow multiple classes to implement the same set of methods, ensuring a consistent API.
Example: An interface 'Animal' with methods 'eat()' and 'sleep()' can be implemented by 'Dog' and 'Cat' classes.
They enable polymorphism, allowing objects to be treated as instances of their ...
Abstract class is a class that cannot be instantiated and is used as a base class for other classes.
An abstract class can have abstract and non-abstract methods.
Abstract methods have no implementation and must be implemented by the derived class.
An abstract class can have constructors and fields.
An abstract class can be used to define a common interface for a group of related classes.
Example: Animal is an abstract clas...
I applied via Walk-in and was interviewed in Jan 2020. There were 3 interview rounds.
Basic structure of an HTML page includes doctype declaration, html, head, and body tags.
DOCTYPE declaration specifies the HTML version
HTML tag wraps the entire content of the page
Head tag contains meta information, title, and links to external resources
Body tag contains the visible content of the page
Box Model is a concept in CSS where every element is treated as a box with content, padding, border, and margin.
Box Model consists of content, padding, border, and margin.
Content is the actual content of the box.
Padding is the space between the content and the border.
Border is the line that goes around the padding and content.
Margin is the space outside the border.
I applied via Walk-in and was interviewed before Feb 2021. There were 3 interview rounds.
I come from a close-knit family that values education, creativity, and support, shaping my personal and professional growth.
Supportive Parents: My parents encouraged my interests in technology from a young age, providing resources for learning programming.
Siblings: I have a younger sister who is passionate about art, and we often collaborate on projects that blend technology and creativity.
Family Traditions: We have a ...
I come from a close-knit family that values education, creativity, and support, which has greatly influenced my career path.
Supportive Parents: My parents encouraged my interest in technology from a young age, providing me with resources like books and courses.
Siblings: I have a younger sister who is also in the tech field, and we often collaborate on projects, sharing ideas and learning from each other.
Family Values: ...
Handled a difficult project involving complex data migration and integration
Had to understand the existing data structure and map it to the new system
Dealt with multiple data sources and formats
Ensured data integrity and accuracy throughout the migration process
Collaborated with cross-functional teams to ensure successful integration
Implemented automated testing to validate data migration and integration
Managed project...
I applied via Recruitment Consulltant and was interviewed before Aug 2021. There were 2 interview rounds.
I applied via Campus Placement and was interviewed before Sep 2021. There was 1 interview round.
I applied via LinkedIn and was interviewed before Jul 2021. There were 2 interview rounds.
Easy logical questions
basic quant
Easy level coding questions
Counting frequency of alphabets
I applied via Naukri.com and was interviewed before Sep 2019. There were 6 interview rounds.
Some of the top questions asked at the CGI Group Senior Python Developer interview -
based on 2 interview experiences
Difficulty level
Duration
Software Engineer
8.4k
salaries
| ₹5 L/yr - ₹12 L/yr |
Senior Software Engineer
7.7k
salaries
| ₹9 L/yr - ₹18.7 L/yr |
Lead Analyst
3.3k
salaries
| ₹15.2 L/yr - ₹26.3 L/yr |
Associate Software Engineer
1.9k
salaries
| ₹2.5 L/yr - ₹7 L/yr |
Senior Test Engineer
1.3k
salaries
| ₹9.7 L/yr - ₹17.7 L/yr |
Accenture
Wipro
Cognizant
Capgemini