Add office photos
Employer?
Claim Account for FREE

IQVIA

3.9
based on 4k Reviews
Video summary
Filter interviews by

10+ Safar-e-Adab Interview Questions and Answers

Updated 19 Aug 2024
Popular Designations

Q1. Design a employee-Manager class. Write method to display employee organizational hierarchy like we see in Microsoft Teams Org tab

Ans.

Design an employee-Manager class and write a method to display employee organizational hierarchy.

  • Create an Employee class with attributes like name, id, managerId, etc.

  • Create a Manager class that inherits from Employee class and has a list of employees under them.

  • Write a method to display the hierarchy using recursion.

  • Use a data structure like a dictionary to store the employees and their managers.

  • Consider edge cases like circular references and missing managers.

Add your answer

Q2. Get 7th highest salary without CTE

Ans.

Get 7th highest salary without CTE

  • Use subquery to get distinct salaries

  • Order the salaries in descending order

  • Use LIMIT and OFFSET to get the 7th highest salary

Add your answer

Q3. Delegates, significance of it in C#

Ans.

Delegates are a type-safe function pointers in C# used to encapsulate methods and pass them as arguments.

  • Delegates allow for event-driven programming

  • Delegates can be used to implement callbacks

  • Delegates can be chained together to create a multicast delegate

  • Delegates can be used to implement the observer pattern

  • Delegates can be used to implement the command pattern

Add your answer

Q4. diff types in string test types

Ans.

Different types of string test types include equality, containment, length, case sensitivity, and pattern matching.

  • Equality test: comparing two strings to see if they are exactly the same

  • Containment test: checking if a string contains a specific substring

  • Length test: determining the length of a string

  • Case sensitivity test: checking if two strings are equal while considering case

  • Pattern matching test: using regular expressions to match a string pattern

Add your answer
Discover Safar-e-Adab interview dos and don'ts from real experiences

Q5. What is JAVA in software

Ans.

JAVA is a high-level programming language used for developing applications and software.

  • Object-oriented programming language

  • Platform-independent

  • Used for web development, mobile apps, enterprise software

  • Has a large standard library

  • Supports multithreading and networking

Add your answer

Q6. What is oracle in software

Ans.

Oracle in software refers to Oracle Corporation, a multinational computer technology corporation known for its database management systems.

  • Oracle is a leading provider of relational database management systems (RDBMS).

  • It offers a wide range of products and services for data management, cloud applications, and more.

  • Oracle databases are widely used in enterprise applications for storing and managing data efficiently.

  • Examples of Oracle products include Oracle Database, Oracle Fu...read more

Add your answer
Are these interview questions helpful?

Q7. different arrays in string types

Ans.

Arrays of string types are collections of strings stored in a single variable.

  • Arrays can be declared and initialized with string values like ['apple', 'banana', 'cherry'].

  • Access individual strings in the array using index like array[0] for 'apple'.

  • Perform operations like sorting or filtering on arrays of strings.

Add your answer

Q8. different strings in array texts

Ans.

Comparing different strings in an array of texts.

  • Iterate through the array and compare each string with the others.

  • Use a nested loop to compare each pair of strings.

  • Consider using a hash map to store the frequency of each unique string for efficient comparison.

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Different dS in software engineer

Ans.

Different design patterns in software engineering

  • Creational patterns (e.g. Singleton, Factory)

  • Structural patterns (e.g. Adapter, Decorator)

  • Behavioral patterns (e.g. Observer, Strategy)

Add your answer

Q10. Code for printing algo

Ans.

Code for printing algorithm in software development.

  • Use loops to iterate through the data to be printed.

  • Consider formatting options such as spacing and alignment.

  • Handle edge cases like empty input or invalid data.

  • Example: for (int i = 0; i < array.length; i++) { System.out.println(array[i]); }

Add your answer

Q11. Code for Hello World

Ans.

Simple code to print 'Hello World'

  • Use a print statement to display 'Hello World'

  • In Python: print('Hello World')

  • In Java: System.out.println('Hello World')

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

Interview Process at Safar-e-Adab

based on 8 interviews
2 Interview rounds
Technical Round
HR Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Software Engineer Interview Questions from Similar Companies

3.8
 • 156 Interview Questions
3.6
 • 59 Interview Questions
3.7
 • 36 Interview Questions
4.6
 • 14 Interview Questions
3.4
 • 12 Interview Questions
3.7
 • 11 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