Upload Button Icon Add office photos

Rolls-Royce

Compare button icon Compare button icon Compare

Filter interviews by

Rolls-Royce Software Developer Intern Interview Questions and Answers

Be the first one to contribute and help others!

Interview questions from similar companies

I applied via Naukri.com and was interviewed in May 2019. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Core java questions

Interview Preparation Tips

Interview preparation tips for other job seekers - It was very simple

I appeared for an interview in Dec 2020.

Round 1 - Video Call 

(3 Questions)

Round duration - 70 Minutes
Round difficulty - Medium

There were 5 people in the zoom meet, including me. Rest all 4 were interviewers, 3 from India and 1 from the United Kingdom.
They started with my introduction and then moved on to the questions from my resume, starting with my internship at Samsung Bangalore and then projects.
Then another interviewer asked about my weakness and strength. Then comes the turn of coding questions.
Starting with finding the minimum element in O(1) time, rotating the 2-D array by 90 degrees, OOPS questions were also asked like- polymorphism, abstraction, virtual class. Some OS questions were- cache, paging algorithms.
Then come my POR and other activities.

  • Q1. 

    Kth Smallest Element Problem Statement

    You are provided with an array of integers ARR of size N and an integer K. Your task is to find and return the K-th smallest value present in the array. All elements...

  • Ans. 

    Find the K-th smallest element in an array of distinct integers.

    • Sort the array and return the element at index K-1.

    • Use a min-heap to find the K-th smallest element efficiently.

    • Implement quickselect algorithm for optimal performance.

  • Answered by AI
  • Q2. 

    Inplace Rotate Matrix 90 Degrees Anti-Clockwise

    You are provided with a square matrix of non-negative integers of size 'N x N'. The task is to rotate this matrix by 90 degrees in an anti-clockwise directi...

  • Ans. 

    Rotate a square matrix by 90 degrees anti-clockwise without using extra space.

    • Iterate through each layer of the matrix from outer to inner layers

    • Swap elements in groups of 4 to rotate the matrix in place

    • Handle odd-sized matrices separately by adjusting the loop boundaries

  • Answered by AI
  • Q3. What are the page replacement algorithms in Operating Systems?
  • Ans. 

    Page replacement algorithms are used in operating systems to decide which page to replace when a new page needs to be brought in.

    • FIFO (First In, First Out) - replaces the oldest page in memory

    • LRU (Least Recently Used) - replaces the page that has not been used for the longest time

    • LFU (Least Frequently Used) - replaces the page that has been used the least number of times

    • Optimal - replaces the page that will not be used

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in BangaloreEligibility criteria7 CGPAJaguar Land Rover interview preparation:Topics to prepare for the interview - Arrays, Strings, Stack and Queue, STL, Object-Oriented Programming, Operating System, Database Management System, Computer NetworksTime required to prepare for the interview - 5 MonthsInterview preparation tips for other job seekers

Tip 1 : Practice GFG Must Do section, solve at least 5 Questions daily
Tip 2 : Start talking to new people regarding technology to remove hesitation at the time of the interview.
Tip 3 : Be in contact with a senior already working in that company, ask them regarding previous experience and new project the company is working on.
Tip 4 : Once you are done with GFG must do questions, now complete leetcode sorting by your target company.
Tip 5 : For core subjects refer to gate smashers and knowledge gate videos on youtube.

Application resume tips for other job seekers

Tip 1 : Try to modify your resume according to the company you are applying for, for this read their Job Description provided to you.
Tip 2 : Mention no more than 3 projects and 1,2 internships.
Tip 3 : Divide your skills into beginner, intermediate and hard sections, otherwise don't mention too many skills.
Tip 4 : Don't mention to many Position Of Responsibilities( at max 2-3).

Final outcome of the interviewSelected

Skills evaluated in this interview

I applied via LinkedIn and was interviewed in Sep 2021. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. It went well, results awaiting

Interview Preparation Tips

Interview preparation tips for other job seekers - Excellent company to work. Preparation is the key to crack the interview
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Selected Selected

I applied via Company Website and was interviewed before May 2023. There were 2 interview rounds.

Round 1 - Coding Test 

Explain programming languages you have experience with, explain how you would design a banking app

Round 2 - Aptitude Test 

Behavioral test to see how you respond to different situations

Interview Preparation Tips

Interview preparation tips for other job seekers - Practice your data structures and algorithms and learn about software design concepts

I appeared for an interview in Dec 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 120 minutes
Round difficulty - Hard

There was 2 parts. First part problems were based on Quantitative Aptitude. Problems were of 3 types- Easy, Medium and Hard with different scores. Difficulty keeps on increasing if you answer correctly and keeps on decreasing if you answer incorrectly.
First part was of 45 mins.
Second part consisted of 2 coding problems- Medium, Hard. One was based on Greedy and other was a difficult DP + Bitmask problem.
Coding part had more weightage than Aptitude.

  • Q1. 

    K Centers Selection Problem

    In Ninja Land, there are cities numbered from 0 to N-1. The distances between each pair of cities are represented by an N * N matrix 'DIST', where 'DIST[i][j]' is the distance ...

  • Ans. 

    The problem involves selecting K cities to install servers in Ninja Land to minimize the maximum distance from any city to a nearest server.

    • Iterate through all possible combinations of K cities to select for server installation.

    • Calculate the maximum distance from any city to the nearest server for each combination.

    • Choose the combination that minimizes the maximum distance.

  • Answered by AI
  • Q2. 

    Beautiful String Verification

    Given a non-empty string inputString, determine if it can be converted into a 'Beautiful String' using the defined operation.

    You can perform any number of operations to con...

  • Ans. 

    Determine if a given string can be converted into a 'Beautiful String' using a specific operation.

    • Check if the input string is already a 'Beautiful String' by checking if it contains 'abc' in the correct positions.

    • If 'abc' is present in the input string, check if the left and right portions satisfy the defined conditions.

    • If the conditions are met, return 'True', otherwise return 'False'.

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 90 minutes
Round difficulty - Medium

There were 3 interviewers in my panel. The most senior panellist asked q. related to my interests and internship experience.
Other 2 asked questions related to Coding and subjects. There was 1 coding question which was implementation based and involved many corner cases. They were checking if I was able to figure out different corner cases and handle those. 
There were situation based questions also asked. One question was on system design of Arogya Setu App.

  • Q1. 

    Complex Number Multiplication

    Calculate the product of two complex numbers represented as strings in the form “A+Bi”. Here, ‘A’ represents the real part, and ‘B’ represents the imaginary part.

    Explanatio...

  • Ans. 

    Calculate the product of two complex numbers represented as strings in the form 'A+Bi'.

    • Parse the input strings to extract real and imaginary parts of both complex numbers

    • Perform multiplication of the complex numbers using the formula (a+bi)*(c+di) = (ac - bd) + (ad + bc)i

    • Format the result as a string in the form 'A+Bi' and return

  • Answered by AI
Round 3 - HR 

Round duration - 30 minutes
Round difficulty - Easy

HR round involved basic questions related to background and behaviour. It was basically a cultural fit round.

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in BangaloreEligibility criteria6.5 CGPAJaguar Land Rover interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, Fundamentals of C/C++, Operating System, DBMS, OOPsTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Focus on Data Structures, Algorithms as >= 75% of your interview will be dedicated to it. Practice as much as you can.
Tip 2 : Learn the fundamentals of C, C++, OS, SQL as that are basic expectations of interviewer.
Tip 3 : Keep 2 descent projects in resume. Try to have an internship. It will make your resume strong.

Application resume tips for other job seekers

Tip 1 : Try to keep relevant information only. Add all your skills and achievements.
Tip 2 : Try to have links of your coding and Github profiles.
Tip 3 : Add 2 to 3 project with small descriptions. Try to keep bullet points. Do mention the Tech Stack.
Tip 4 : Don't lie on any skill. Write only those on which you have worked.

Final outcome of the interviewSelected
Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
6-8 weeks
Result
Not Selected

I applied via Approached by Company and was interviewed in Oct 2023. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(2 Questions)

  • Q1. Spring boot, java 8 and microswrvices
  • Q2. Basic question about spring framework
Round 3 - HR 

(2 Questions)

  • Q1. Basic details asked about my last project that i have worked.
  • Q2. Basic details about last project
Round 4 - Coding Test 

Just normal MCQ test.

Interview Preparation Tips

Interview preparation tips for other job seekers - Misleading experience I would not suggest to join this company.
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. SELL ABD BUY 1 array question(easy level)
  • Ans. 

    This question involves buying and selling items in an array.

    • The array must contain strings.

    • You need to implement a function to buy and sell items from the array.

    • Provide examples of buying and selling operations.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - first complete dsa,and oops,core subjects of CSE,sql

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-

I applied via Campus Placement

Round 1 - Coding Test 

Normal DP question (LC med)

Interview experience
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Recruitment Consulltant and was interviewed in May 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Basic Java Question
  • Q2. Find out Second Highest Employee Salary

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare Basic Java
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.

Round 1 - Technical 

(11 Questions)

  • Q1. Difference between IOC and DI?
  • Ans. 

    IOC is a design pattern where control is inverted, while DI is a technique to achieve IOC by injecting dependencies into a class.

    • IOC stands for Inversion of Control, where the control of flow is inverted from the traditional top-down approach.

    • DI stands for Dependency Injection, a technique used to implement IOC by injecting dependencies into a class from an external source.

    • IOC is a design principle, while DI is a techn...

  • Answered by AI
  • Q2. Exception handling in the spiring Boot?
  • Ans. 

    Exception handling in Spring Boot allows developers to gracefully handle errors and provide meaningful responses to users.

    • Use @ControllerAdvice to handle exceptions globally

    • Use @ExceptionHandler to handle specific exceptions

    • Return custom error messages or responses to users

  • Answered by AI
  • Q3. @RequestBody annotation?
  • Ans. 

    Annotation used in Spring framework to bind the HTTP request body to a method parameter.

    • Used in Spring MVC to indicate that a method parameter should be bound to the body of the web request.

    • Can be used with various data types like JSON, XML, etc.

    • Helps in simplifying the process of handling request data in Spring applications.

  • Answered by AI
  • Q4. Function and BiFunction?
  • Q5. Equals and Hashcode ?
  • Q6. Type casting in the Java?
  • Ans. 

    Type casting in Java is the process of converting one data type into another.

    • Type casting can be done implicitly or explicitly in Java.

    • Implicit type casting is done when a smaller data type is converted to a larger data type, while explicit type casting is done when a larger data type is converted to a smaller data type.

    • Example of implicit type casting: int num = 10; double result = num;

    • Example of explicit type casting

  • Answered by AI
  • Q7. Intermediate and terminal operators in Java?
  • Ans. 

    Intermediate and terminal operators are used in Java streams to perform intermediate and terminal operations on elements.

    • Intermediate operators are used to transform, filter, or manipulate elements in a stream before passing them to the next operation. Examples include map(), filter(), and sorted().

    • Terminal operators are used to trigger the processing of elements in a stream and produce a result. Examples include forEa

  • Answered by AI
  • Q8. Functional interface in java?
  • Ans. 

    Functional interface in Java is an interface with only one abstract method. It can have multiple default or static methods.

    • Functional interfaces can be annotated with @FunctionalInterface to ensure they have only one abstract method.

    • Examples of functional interfaces in Java include Runnable, Callable, and ActionListener.

    • Lambda expressions can be used to implement functional interfaces concisely.

  • Answered by AI
  • Q9. Various methods in the RestApi?
  • Ans. 

    Various methods in RestApi include GET, POST, PUT, DELETE.

    • GET - Used to retrieve data from the server. Example: GET /users

    • POST - Used to send data to the server to create a new resource. Example: POST /users

    • PUT - Used to update an existing resource on the server. Example: PUT /users/1

    • DELETE - Used to delete a resource on the server. Example: DELETE /users/1

  • Answered by AI
  • Q10. Coding question find the first non repeting char in the string using java 8.
  • Ans. 

    Using Java 8, find the first non-repeating character in a string.

    • Use Java 8 streams to convert the string to a character array.

    • Use Collectors.groupingBy to group characters by count.

    • Filter out characters with count > 1 and find the first character with count 1.

  • Answered by AI
  • Q11. Find the sum of all even numbers without using inbuild methods using stream api.
  • Ans. 

    Sum of all even numbers without using inbuild methods using stream api

    • Create an array of numbers

    • Use stream to filter out even numbers

    • Use stream to sum up the filtered even numbers

  • Answered by AI

Skills evaluated in this interview

Tell us how to improve this page.

Interview Questions from Similar Companies

Ford Motor Interview Questions
4.3
 • 150 Interviews
Yamaha Motor Interview Questions
4.1
 • 69 Interviews
Volvo Interview Questions
4.1
 • 65 Interviews
CNH Industrial Interview Questions
3.7
 • 64 Interviews
Bajaj Motors Interview Questions
3.9
 • 52 Interviews
Volkswagen Interview Questions
4.2
 • 45 Interviews
Nexa Interview Questions
4.0
 • 35 Interviews
General Motors Interview Questions
4.3
 • 33 Interviews
View all
Principal Engineer
21 salaries
unlock blur

₹17 L/yr - ₹24 L/yr

Data Scientist
17 salaries
unlock blur

₹10 L/yr - ₹32 L/yr

Advanced Engineer
15 salaries
unlock blur

₹11.2 L/yr - ₹20.1 L/yr

Financial Analyst
13 salaries
unlock blur

₹5.6 L/yr - ₹17 L/yr

Design Engineer
13 salaries
unlock blur

₹3.1 L/yr - ₹13.1 L/yr

Explore more salaries
Compare Rolls-Royce with

Hyundai Motor India Limited

4.3
Compare

Ford Motor

4.3
Compare

Yamaha Motor

4.1
Compare

Bajaj Motors

3.9
Compare
Did you find this page helpful?
Yes No
write
Share an Interview