Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by British Petroleum Team. If you also belong to the team, you can get access from here

British Petroleum Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

British Petroleum Senior Software Engineer 2 Interview Questions and Answers

Updated 23 Aug 2023

British Petroleum Senior Software Engineer 2 Interview Experiences

1 interview found

Interview experience
4
Good
Difficulty level
Hard
Process Duration
2-4 weeks
Result
Not Selected

I applied via Recruitment Consulltant and was interviewed in Jul 2023. There were 4 interview rounds.

Round 1 - Coding Test 

Codility Test of 90 minutes and graph question was asked.

Round 2 - Technical 

(1 Question)

  • Q1. Implement LRU with expiration, priority and recentness based eviction policy.
  • Ans. 

    Implement LRU cache with expiration, priority, and recentness based eviction policy.

    • Use a doubly linked list to keep track of the order of elements based on recentness.

    • Use a hashmap to store key-value pairs for quick access.

    • Implement a priority queue to handle eviction based on priority.

    • Set expiration time for each element and remove expired elements during access or eviction.

  • Answered by AI
Round 3 - Technical 

(1 Question)

  • Q1. Implement k-Vendor problem
  • Ans. 

    Implement k-Vendor problem

    • Create a function that takes in an array of strings and an integer k

    • Return the kth most frequent string in the array

    • Use a hashmap to store the frequency of each string

  • Answered by AI
Round 4 - Technical 

(1 Question)

  • Q1. Implement Smoke Collector problem
  • Ans. 

    Implement a Smoke Collector problem

    • Create a class SmokeCollector with methods to collect smoke data

    • Implement a method to start collecting smoke data

    • Design a method to analyze and store the collected smoke data

  • Answered by AI

Interview Preparation Tips

Topics to prepare for British Petroleum Senior Software Engineer 2 interview:
  • Data Structures
  • Algorithms
  • System Design
Interview preparation tips for other job seekers - Work on DSA, System Design before appearing for this interview.

Skills evaluated in this interview

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. What are deecorators in Python
  • Ans. 

    Decorators in Python are functions that modify the behavior of other functions or methods.

    • Decorators are denoted by the @ symbol followed by the decorator function name.

    • They are commonly used for logging, authentication, and memoization.

    • Example: @staticmethod, @classmethod, @property

  • Answered by AI
  • Q2. If the object is defined with "const" keyword, then in future can it be modified?
  • Ans. 

    No, if an object is defined with 'const' keyword, it cannot be modified in the future.

    • Objects defined with 'const' keyword are read-only and cannot be reassigned.

    • Properties of a 'const' object can still be modified, but the object itself cannot be reassigned.

    • Example: const obj = { key: 'value' }; obj.key = 'new value'; // Valid, but obj = { newKey: 'newValue' }; // Invalid

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Dec 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Just easy or medium level leetcode questions

Round 2 - Group Discussion 

The topic was how AI is affecting softare developer

Interview Preparation Tips

Interview preparation tips for other job seekers - Try to solve as much DSA as you can
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

30 technical questions

Round 2 - Technical 

(2 Questions)

  • Q1. Technical process
  • Q2. What are oops concept
  • Ans. 

    Object-oriented programming concepts that focus on objects and classes.

    • Encapsulation: Bundling data and methods that operate on the data into a single unit (class).

    • Inheritance: Ability of a class to inherit properties and behavior from another class.

    • Polymorphism: Ability to present the same interface for different data types.

    • Abstraction: Hiding the complex implementation details and showing only the necessary features.

  • Answered by AI
Round 3 - Technical 

(1 Question)

  • Q1. Oops questions Database SQL Logic building along with case study
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Jun 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 - Case Study 

Asked Real Time Scenario to create Microservice for Train and Station information. The interviewer asked what are the properties needs to be considered for evaluating service.

Core Java 11 questions: Webservices, Improvement in JVM, Threads

Java 8: Asked to write a program based on Group By Scenario.

The interview lasts around 2 hrs.

Round 3 - Technical 

(1 Question)

  • Q1. Managerical round: Asked about current project details, The reason to join BH, Scenario based question on LinkedList vs ArrayList
Round 4 - HR 

(1 Question)

  • Q1. It was easy. The HR told about company policies

Interview Preparation Tips

Interview preparation tips for other job seekers - 1. Cover Spring Boot, MySQL more
2. Go to BH page to know more, This will help u to answer questions will be asked in Manager Round.
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
Selected Selected
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Technical 

(1 Question)

  • Q1. Basic c# threading
Round 3 - HR 

(1 Question)

  • Q1. STAR pattern related question
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed in Jul 2024. There were 2 interview rounds.

Round 1 - Coding Test 

A DSA question leetcode medium

Round 2 - Group Discussion 

About Previous project

Interview Preparation Tips

Topics to prepare for Schlumberger Full Stack Software Developer interview:
  • DSA
  • Soft Skills
Interview preparation tips for other job seekers - Focus on DSA and prepare everythng from your resume
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Questions based on work experience
  • Q2. And all the spftware architecture
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

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

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Properly align and format text in your resume. A recruiter will have to spend more time reading poorly aligned text, leading to high chances of rejection.
View all tips
Round 2 - Technical 

(6 Questions)

  • Q1. What is oops, explain them?
  • Ans. 

    Object-oriented programming (OOP) is a programming paradigm that uses objects to represent and manipulate data.

    • OOP is based on the concept of classes and objects.

    • It allows for encapsulation, inheritance, and polymorphism.

    • Encapsulation hides the internal details of an object and provides a public interface.

    • Inheritance allows classes to inherit properties and methods from other classes.

    • Polymorphism allows objects of diff...

  • Answered by AI
  • Q2. What is difference between interface and abstract class?
  • Ans. 

    Interface defines only method signatures while abstract class can have method implementations.

    • An interface can be implemented by multiple classes while a class can extend only one abstract class.

    • An abstract class can have instance variables while an interface cannot.

    • An abstract class can have constructors while an interface cannot.

    • An abstract class can provide default implementations for some methods while an interface...

  • Answered by AI
  • Q3. What is difference between docker and kubernet?
  • Ans. 

    Docker is a containerization platform while Kubernetes is a container orchestration tool.

    • Docker is used to create, deploy, and run applications in containers.

    • Kubernetes is used to manage and orchestrate multiple containers in a cluster.

    • Docker provides a way to package and distribute applications in a portable manner.

    • Kubernetes provides features like automatic scaling, load balancing, and self-healing.

    • Docker is a lower-...

  • Answered by AI
  • Q4. What is event emitter in angular?
  • Ans. 

    Event emitter is a class in Angular that allows communication between components.

    • Event emitter is used to emit custom events in Angular.

    • It allows communication between parent and child components.

    • It can be used to pass data from child to parent component.

    • It is a part of the @angular/core package.

    • Example: @Output() eventEmitter = new EventEmitter();

  • Answered by AI
  • Q5. What is view encapsulation in angular?
  • Ans. 

    View encapsulation is a feature in Angular that allows for the creation of isolated components.

    • View encapsulation ensures that styles defined in a component do not affect other components.

    • There are three types of view encapsulation: Emulated, Native, and None.

    • Emulated is the default and uses CSS to emulate shadow DOM.

    • Native uses the browser's native shadow DOM implementation.

    • None does not provide any view encapsulation

  • Answered by AI
  • Q6. How to communicate with components in angular?
  • Ans. 

    Components in Angular can communicate with each other using @Input, @Output, and services.

    • Use @Input to pass data from parent to child component

    • Use @Output to emit events from child to parent component

    • Use services to share data between components that are not directly related

    • Use RxJS subjects to create a shared data stream between components

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Keep basic ready but it luck is equally important.

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
4-6 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed before Nov 2022. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Double-check your resume for any spelling mistakes. The recruiter may consider spelling mistakes as careless behavior or poor communication skills.
View all tips
Round 2 - Coding Test 

Asked basic C++ Qs, tree and linked list Qs

Round 3 - One-on-one 

(2 Questions)

  • Q1. Manager related Qs
  • Q2. Future plans, how to maintain team , how do you work with others in the team etc

Interview Preparation Tips

Interview preparation tips for other job seekers - Be good in communication skills,

British Petroleum Interview FAQs

How many rounds are there in British Petroleum Senior Software Engineer 2 interview?
British Petroleum interview process usually has 5 rounds. The most common rounds in the British Petroleum interview process are Technical, Resume Shortlist and Coding Test.
What are the top questions asked in British Petroleum Senior Software Engineer 2 interview?

Some of the top questions asked at the British Petroleum Senior Software Engineer 2 interview -

  1. Implement LRU with expiration, priority and recentness based eviction poli...read more
  2. Implement Smoke Collector prob...read more
  3. Implement k-Vendor prob...read more

Tell us how to improve this page.

British Petroleum Senior Software Engineer 2 Interview Process

based on 1 interview

Interview experience

4
  
Good
View more

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.4k Interviews
Infosys Interview Questions
3.6
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
Shell Interview Questions
4.0
 • 191 Interviews
Bharat Petroleum Interview Questions
4.2
 • 155 Interviews
Schlumberger Interview Questions
3.9
 • 137 Interviews
View all
Senior Analyst
103 salaries
unlock blur

₹5.6 L/yr - ₹19.5 L/yr

Analyst
86 salaries
unlock blur

₹4.8 L/yr - ₹14 L/yr

ARC Analyst
69 salaries
unlock blur

₹5.5 L/yr - ₹16 L/yr

Financial Analyst
57 salaries
unlock blur

₹5.5 L/yr - ₹13.9 L/yr

Software Engineer
46 salaries
unlock blur

₹19.5 L/yr - ₹50 L/yr

Explore more salaries
Compare British Petroleum with

Reliance Industries

4.0
Compare

Indian Oil Corporation

4.4
Compare

Hindustan Petroleum

4.2
Compare

Bharat Petroleum

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