Add office photos
Engaged Employer

CGI Group

4.0
based on 4.3k Reviews
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

10+ Ray Business Technologies Interview Questions and Answers

Updated 23 May 2024
Popular Designations

Q1. What is difference between tuple and list and where did you used it in your project?

Ans.

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 data that may need to be updated or modified

  • Example: Tupl...read more

Add your answer

Q2. What are different kind of testing frameworks in django?

Ans.

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 applications.

Add your answer

Q3. What are different AWS services used in your project?

Ans.

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

Add your answer

Q4. Write a code to find second largest number without using built functions and write one test case for that function

Ans.

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

Add your answer
Discover Ray Business Technologies interview dos and don'ts from real experiences

Q5. What is difference Between monothic and microservices

Ans.

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 be harder to scale and maintain.

  • Microservices allow for bet...read more

Add your answer

Q6. What is difference between django and flask?

Ans.

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 more minimalistic and allows developers to choose their own t...read more

Add your answer

Q7. Write a simple django code to render hello world template

Ans.

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

Add your answer

Q8. What are mixins in django?

Ans.

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 Django is the LoginRequiredMixin which adds login required fu...read more

Add your answer

Q9. What is decorator in python?

Ans.

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

Add your answer

Q10. What is an Inline Function

Ans.

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.

Add your answer

More about working at CGI Group

Top Rated Company for Women - 2024
Top Rated IT/ITES Company - 2024
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter