Add office photos
Engaged Employer

Codebase

4.2
based on 30 Reviews
Filter interviews by

HSBC Group Interview Questions and Answers

Updated 5 Feb 2024

Q1. What are design patterns ? Are you aware of any?

Ans.

Design patterns are reusable solutions to commonly occurring problems in software design.

  • Design patterns provide a standard terminology and a common platform for communication among developers.

  • They help in making code more flexible, reusable, and maintainable.

  • Examples of design patterns include Singleton, Factory, Observer, and Decorator patterns.

Add your answer

Q2. What is asynchronous programming?

Ans.

Asynchronous programming is a programming paradigm that allows multiple tasks to run concurrently without blocking the main thread.

  • Asynchronous programming is achieved through the use of callbacks, promises, and async/await functions.

  • It is commonly used in web development for handling user input and making API calls.

  • Asynchronous programming can improve the performance and responsiveness of an application.

  • Examples of asynchronous programming languages include JavaScript, Pytho...read more

Add your answer

Q3. What are decorators ?

Ans.

Decorators are functions that modify the behavior of other functions or classes without changing their source code.

  • Decorators are used to add functionality to existing code without modifying it.

  • They are defined using the @ symbol followed by the decorator function name.

  • Decorators can be used to add logging, caching, authentication, and other features to functions and classes.

  • Examples of decorators in Python include @staticmethod, @classmethod, and @property.

Add your answer

Q4. What is pub sub. ?

Ans.

Pub sub is short for publish-subscribe. It is a messaging pattern where senders of messages, called publishers, do not program the messages to be sent directly to specific receivers, called subscribers.

  • Publishers send messages to a topic or channel without knowing who the subscribers are.

  • Subscribers receive messages from the topic or channel they have subscribed to.

  • Pub sub is commonly used in distributed systems and event-driven architectures.

  • Examples of pub sub systems inclu...read more

Add your answer
Discover HSBC Group interview dos and don'ts from real experiences

Q5. What is multithreading

Ans.

Multithreading is the ability of a program to perform multiple tasks concurrently.

  • Multithreading allows a program to utilize multiple CPUs or cores.

  • It can improve performance and responsiveness of a program.

  • Threads share the same memory space and can communicate with each other.

  • Examples include web servers handling multiple requests simultaneously and video games rendering graphics while processing user input.

Add your answer

Q6. What is asyncio

Ans.

asyncio is a Python library for writing concurrent code using the async/await syntax.

  • asyncio allows for non-blocking I/O operations

  • It provides a way to write asynchronous code in a synchronous style

  • asyncio is built on top of the event loop, which schedules and executes coroutines

  • Examples of asyncio-based libraries include aiohttp and aioredis

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at HSBC Group

based on 2 interviews
Interview experience
3.0
Average
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Software Engineer Interview Questions from Similar Companies

4.0
 • 26 Interview Questions
3.5
 • 24 Interview Questions
3.8
 • 20 Interview Questions
3.7
 • 16 Interview Questions
3.9
 • 11 Interview Questions
3.5
 • 10 Interview Questions
View all
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

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