Codingmart Technologies
Zamil Air Conditioners Interview Questions and Answers
Q1. reverse string without buildin funtion and for loop
Reverse a string without using built-in functions or for loops
Use recursion to reverse the string
Pass the substring excluding the first character to the recursive function
Base case: return the character itself if the length of the string is 1
Concatenate the last character of the string with the result of the recursive call
Q2. Delete Middle Element from a stack of Odd Length
Remove middle element from a stack with odd length
Find the middle index of the stack by dividing the length by 2
Remove the element at the middle index
Adjust the stack by shifting elements if necessary
Q3. what are the frameworks used in development?
Frameworks are tools that provide pre-written code to help developers build applications more efficiently.
Popular front-end frameworks include React, Angular, and Vue.js
Common back-end frameworks include Express.js, Django, and Ruby on Rails
Full stack frameworks like MEAN and MERN stack combine front-end and back-end technologies
Q4. Pseudo code in linked list
Pseudo code example for linked list operations
Create a Node class with data and next pointer
Initialize head as null for an empty linked list
Insert at the beginning: create a new node, set its next to current head, update head to new node
Traverse the linked list: start from head, loop until reaching null, move to next node
Q5. why we use oops concept in java
OOPs concepts in Java help in organizing code, improving reusability, and making code more maintainable.
Encapsulation: Bundling data and methods together to restrict access and protect data.
Inheritance: Allows a class to inherit properties and behavior from another class.
Polymorphism: Ability to perform a single action in different ways.
Abstraction: Hiding the implementation details and showing only the necessary features.
Q6. Why do we use oops in java
OOPs in Java helps in organizing code, promoting reusability, and enhancing maintainability.
Encapsulation: Bundling data and methods together to restrict access
Inheritance: Allows a class to inherit properties and behavior from another class
Polymorphism: Ability to use a single interface to represent different data types
Abstraction: Hiding implementation details and showing only necessary features
Interview Process at Zamil Air Conditioners
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month