Iasys Technology Solutions
Sada Interview Questions and Answers
Q1. what is class object, inheritance, function overloading ,function overriding, difference between encapsulation and abstraction, volatile keyword
Class object is an instance of a class, inheritance allows a class to inherit properties and methods from another class, function overloading is defining multiple functions with the same name but different parameters, function overriding is redefining a function in a subclass, encapsulation is bundling data and methods that operate on the data into a single unit, abstraction is hiding the implementation details and showing only the necessary details, volatile keyword is used ...read more
Q2. What is semaphore and mutex, binary semaphore, thread and process
Semaphores and mutex are synchronization mechanisms in multithreading. Threads are lightweight processes, while processes are independent execution units.
Semaphore: used to control access to a shared resource by multiple threads. Example: controlling access to a printer in a networked system.
Mutex: similar to a semaphore but only allows one thread to access a resource at a time. Example: protecting a critical section of code.
Binary semaphore: a semaphore with only two states,...read more
Q3. Introduction, in which programming language are you comfortable( 45 min)
I am comfortable with C, C++, and Python for embedded software development.
Proficient in C for low-level programming
Experienced in C++ for object-oriented design
Skilled in Python for scripting and automation tasks
Q4. what is pointer and it's type
A pointer is a variable that stores the memory address of another variable.
Types of pointers include null pointers, void pointers, function pointers, and array pointers.
Example: int *ptr; // pointer to an integer variable
Example: char *str = 'hello'; // pointer to a character array
Q5. write a java program to revers the string (for eg :"this is string" is string so revers should be : string is this)
Java program to reverse a string
Use StringBuilder class to reverse the string
Convert the string to StringBuilder object
Use reverse() method of StringBuilder class to reverse the string
Convert the StringBuilder object back to string
Q6. 5)what is stack?? 6)explain ArrayList 7) what is split method in java string class
Questions related to basic programming concepts in Java.
Stack is a data structure that follows the Last-In-First-Out (LIFO) principle.
ArrayList is a dynamic array that can grow or shrink in size and is part of the Java Collections Framework.
The split() method in Java String class is used to split a string into an array of substrings based on a delimiter.
Interview Process at Sada
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month