Add office photos
Fareportal logo
Premium Employer

Fareportal

Verified
3.4
based on 695 Reviews
Video summary
Filter interviews by
Clear (1)

10+ Fareportal Senior Software Engineer Interview Questions and Answers

Updated 9 Feb 2024
Q1. What is the default access modifier in C#?
Ans.

The default access modifier in C# is 'private'.

  • Default access modifier is applied if no access modifier is specified for a class member

  • It restricts the access to the member within the same class

  • Example: private int myVariable = 10;

Add your answer
right arrow
Q2. What is a base class?
Ans.

A base class is a class that is used as a starting point for creating other classes. It can be inherited by other classes.

  • Base class provides common attributes and methods that can be inherited by other classes

  • Derived classes can extend or override the functionality of the base class

  • Example: Animal can be a base class with attributes like name and methods like eat, sleep

View 1 answer
right arrow
Q3. What is a singleton design pattern?
Ans.

Singleton design pattern ensures a class has only one instance and provides a global point of access to it.

  • Used to restrict the instantiation of a class to one object

  • Commonly used in logging, caching, thread pools, database connections

  • Implemented by creating a static instance of the class and a private constructor to prevent external instantiation

Add your answer
right arrow
Q4. What are the different access modifiers in C#?
Ans.

Access modifiers in C# control the visibility and accessibility of classes, methods, and other members.

  • Public - accessible from any other class or assembly

  • Private - accessible only within the same class

  • Protected - accessible within the same class or derived classes

  • Internal - accessible within the same assembly

  • Protected Internal - accessible within the same assembly or derived classes

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

Q5. What is aingleton and how it ia thread safe?

Ans.

Singleton is a design pattern that restricts the instantiation of a class to one object and provides a global point of access.

  • Singleton ensures that only one instance of a class is created and provides a way to access it globally.

  • It is thread-safe because the instance is created only once and accessed through a synchronized method or block.

  • Singleton can be implemented using different approaches such as eager initialization, lazy initialization, and enum.

  • Example: Java's Runtim...read more

Add your answer
right arrow

Q6. What ia base class of class in c#?

Ans.

Object class is the base class of all classes in C#.

  • Object class provides basic functionalities like ToString(), GetHashCode(), and Equals() to all classes.

  • All classes in C# implicitly inherit from Object class.

  • Object class is defined in System namespace.

  • Example: class MyClass : Object { }

Add your answer
right arrow

Q7. Default aceess modifiers?

Ans.

Default access modifiers are public, protected, and private.

  • Public: accessible from anywhere

  • Protected: accessible within the class and its subclasses

  • Private: accessible only within the class

Add your answer
right arrow

Q8. Access modifiers in c#

Ans.

Access modifiers in C# control the visibility and accessibility of class members.

  • Public: accessible from anywhere

  • Private: accessible only within the class

  • Protected: accessible within the class and derived classes

  • Internal: accessible within the same assembly

  • Protected Internal: accessible within the same assembly and derived classes

  • Example: public int age; private string name;

  • Example: protected void DoSomething(); internal bool IsEnabled;

Add your answer
right arrow

Q9. Components of service

Ans.

Components of a service include functionality, reliability, availability, and performance.

  • Functionality: The service should perform the intended tasks and meet the requirements.

  • Reliability: The service should consistently deliver the expected results.

  • Availability: The service should be accessible and operational when needed.

  • Performance: The service should perform efficiently and meet performance expectations.

Add your answer
right arrow

Q10. Lifecycles of web api

Ans.

The lifecycle of a web API refers to the stages it goes through from development to retirement.

  • The lifecycle typically includes stages like planning, development, testing, deployment, and retirement.

  • During planning, the requirements and design of the API are defined.

  • Development involves writing the code and implementing the functionality.

  • Testing ensures the API works as expected and meets the requirements.

  • Deployment involves making the API available for use by clients.

  • Retirem...read more

Add your answer
right arrow

More about working at Fareportal

Back
HQ - New York, New York, United States (USA)
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 Fareportal Senior Software Engineer

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

Top Senior Software Engineer Interview Questions from Similar Companies

View all
Recently Viewed
SALARIES
Coal India
SALARIES
Bharat Aluminium Company (BALCO)
INTERVIEWS
Coal India
Fresher
10 top interview questions
INTERVIEWS
Navi Technologies
No Interviews
INTERVIEWS
Navi Technologies
No Interviews
INTERVIEWS
Deutsche Bank
No Interviews
INTERVIEWS
Arcesium
Fresher
30 top interview questions
JOBS
Indbank Global Support Services
No Jobs
SALARIES
Carborundum Universal Limited
SALARIES
Coal India
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