Add office photos
CGI Group logo
Engaged Employer

CGI Group

Verified
4.0
based on 4.6k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Designation
Fresher
Experienced
Clear (1)

10+ CGI Group Interview Questions and Answers for Freshers

Updated 22 Jul 2024
Popular Designations

Q1. Concatenate the Largest Digit Problem

You are given three non-zero numbers 'A', 'B', and 'C'. Your task is to determine the number created by concatenating the largest digit found in each number, in the sequenc...read more

Ans.

Concatenate the largest digit from three numbers to form a new number.

  • Find the largest digit in each number 'A', 'B', and 'C'.

  • Concatenate the largest digits in the order 'A', 'B', and 'C' to form the new number.

  • Return the final concatenated number as the output.

Add your answer
right arrow
Q2. How can you retrieve the second highest salary from a database table?
Ans.

Retrieve the second highest salary from a database table

  • Use a SQL query with ORDER BY and LIMIT to retrieve the second highest salary

  • Example: SELECT salary FROM employees ORDER BY salary DESC LIMIT 1, 1

Add your answer
right arrow

Q3. a clock tick 8 times on 8'o clock the time taken between 1st tick and last tick is 35 sec what is the time taken for starting tick and end tick at 11'o colck

Ans.

The time taken for the clock to tick from 8'o clock to 11'o clock is 105 seconds.

  • Each tick represents 1/8th of an hour (45 minutes) on the clock.

  • From 8'o clock to 11'o clock, there are 3 hours, so the total time taken is 3 * 45 = 135 minutes = 135 * 60 = 8100 seconds.

  • The time taken for the clock to tick from 8'o clock to 11'o clock is 8100 - 35 = 8065 seconds.

Add your answer
right arrow

Q4. sql query for seleting a particular column from a table and give the employer count

Ans.

Use SQL query to select a particular column from a table and get the count of entries.

  • Use SELECT statement to specify the column you want to retrieve.

  • Use COUNT() function to get the count of entries in that column.

  • Combine both in a single query to achieve the desired result.

Add your answer
right arrow
Discover CGI Group interview dos and don'ts from real experiences

Q5. What is encapsulation in Java?

Ans.

Encapsulation is a mechanism in Java that binds data and methods together, hiding the internal details of an object.

  • Encapsulation helps in achieving data hiding and abstraction.

  • It allows the object to control its own state and behavior.

  • Data members are made private and accessed through public methods (getters and setters).

  • Encapsulation provides better maintainability, flexibility, and security.

  • Example: Class with private variables and public methods to access and modify them.

Add your answer
right arrow

Q6. What is inheritence inJava?

Ans.

Inheritance in Java allows a class to inherit properties and methods from another class.

  • Inheritance is a fundamental concept in object-oriented programming.

  • It promotes code reusability and allows for the creation of hierarchical relationships between classes.

  • The class that is being inherited from is called the superclass or parent class, while the class that inherits is called the subclass or child class.

  • The subclass can access the public and protected members of the supercla...read more

Add your answer
right arrow
Are these interview questions helpful?

Q7. what is inheritance

Ans.

Inheritance is a concept in object-oriented programming where a class inherits attributes and methods from another class.

  • Allows a class to inherit properties and behaviors from another class

  • Promotes code reusability and reduces redundancy

  • Derived class can add its own unique attributes and methods

  • Example: Class 'Car' can inherit from class 'Vehicle' and gain attributes like 'color' and methods like 'drive'

Add your answer
right arrow

Q8. code reverse a string

Ans.

Reverse a string using array manipulation

  • Create an array of characters from the input string

  • Iterate through the array in reverse order and append each character to a new string

  • Return the reversed string

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. code in inheritance

Ans.

Inheritance in object-oriented programming allows a class to inherit properties and behaviors from another class.

  • Inheritance allows for code reusability and promotes a hierarchical structure in classes.

  • Subclasses can access and modify the properties and methods of their parent class.

  • Example: class Animal { ... } class Dog extends Animal { ... }

  • Example: class Shape { ... } class Circle extends Shape { ... }

Add your answer
right arrow

Q10. How can a person create value by looking at a percentage

Ans.

By analyzing a percentage, a person can identify trends, make informed decisions, and optimize processes.

  • Identify trends by comparing percentages over time or between groups

  • Make informed decisions by using percentages to evaluate options

  • Optimize processes by using percentages to identify areas for improvement

  • For example, a software developer can use percentage of code coverage to identify areas of code that need more testing and optimization

Add your answer
right arrow

Q11. What is waits in selenium

Ans.

Waits in Selenium are used to pause the execution of the test script for a certain amount of time.

  • Waits are used to synchronize the test script with the application under test.

  • There are two types of waits in Selenium: implicit wait and explicit wait.

  • Implicit wait sets a default waiting time for the entire test script.

  • Explicit wait is used to wait for a specific condition to occur before proceeding with the test script.

  • Examples of conditions for explicit wait include element v...read more

View 1 answer
right arrow

Q12. advantage of selenium

Ans.

Selenium is an open-source tool used for automating web browsers.

  • Selenium supports multiple programming languages like Java, Python, C#, etc.

  • It can be used for cross-browser testing.

  • Selenium can handle dynamic web pages with ease.

  • It supports parallel test execution.

  • Selenium can be integrated with other testing tools like TestNG, JUnit, etc.

Add your answer
right arrow

Q13. What is the difference between emergency and urgent change? Emergency change is raised to resolve an incident. It doesn’t follow the normal change process and do not have a lead time. ECAB needs to be arranged....

read more
Ans.

Emergency change is raised to resolve an incident while urgent change needs top level approvals to proceed.

  • Emergency change is not a part of the normal change process and does not have a lead time.

  • ECAB needs to be arranged for emergency change.

  • Urgent change needs to be implemented on an urgent basis and cannot wait to follow the entire change process.

  • Top level approvals are required for urgent change to proceed.

Add your answer
right arrow

Q14. What happens when a change is unsuccessful? When a change fails a PIR call needs to be arranged in order to understand the reason and root cause of the failure also what differently would be done next time to a...

read more
Ans.

A PIR is conducted to understand the reason and root cause of the failure and to document and update it.

  • Conduct a PIR to understand the reason and root cause of the failure

  • Document and update the PIR

  • Identify what could be done differently next time to avoid such a situation

Add your answer
right arrow

Q15. What are some Cloud Security related services in Google Cloud Platform and AWS

Add your answer
right arrow

Q16. What is Vertical Scaling and Horizontal Scaling

Add your answer
right arrow

More about working at CGI Group

Back
Awards Leaf
AmbitionBox Logo
Top Rated Company for Women - 2024
Awards Leaf
Awards Leaf
AmbitionBox Logo
Top Rated IT/ITES Company - 2024
Awards Leaf
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at CGI Group for Freshers

based on 31 interviews
Interview experience
4.1
Good
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

Amazon Logo
4.1
 • 2.2k Interview Questions
PwC Logo
3.4
 • 792 Interview Questions
Adobe Logo
3.9
 • 366 Interview Questions
Qualcomm Logo
3.8
 • 257 Interview Questions
Cyient Logo
3.6
 • 141 Interview Questions
Ola Electric Mobility  Logo
3.3
 • 138 Interview Questions
View all
Recently Viewed
SALARIES
Cholamandalam Investment & Finance
SALARIES
Cholamandalam Investment & Finance
LIST OF COMPANIES
Siemens Building Technologies
Locations
SALARIES
Cholamandalam Investment & Finance
SALARIES
Cholamandalam Investment & Finance
INTERVIEWS
EbixCash Limited
No Interviews
INTERVIEWS
EbixCash Limited
No Interviews
REVIEWS
Cholamandalam Investment & Finance
No Reviews
INTERVIEWS
EbixCash Limited
No Interviews
REVIEWS
Cholamandalam Investment & Finance
No Reviews
Top CGI Group Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

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