Shopclues
10+ Associated Constructions Interview Questions and Answers
Q1. Code to make a pattern and explain each and every line of code
Code to create a pattern and explain each line of code
Start by defining the number of rows and columns in the pattern
Use nested loops to iterate through each row and column
Decide the pattern you want to create and use conditional statements to determine the output for each position
Q2. Puzzle: In how many minimum cut u can cut a cake in 8 piece
You can cut a cake into 8 pieces with 3 minimum cuts.
Make 2 cuts to divide the cake into 4 pieces
Then make 1 more cut to divide each of the 4 pieces in half, resulting in 8 pieces
Q3. find the first circular tour that visits all petrol pumps
The first circular tour that visits all petrol pumps can be found using the concept of a circular linked list.
Create a circular linked list with each node representing a petrol pump
Calculate the difference between petrol available at each pump and the distance to the next pump
Start from a pump where the sum of differences is positive and traverse the circular linked list until completing the tour
Q4. Oops concept in java
Oops concept in Java refers to Object-Oriented Programming principles like inheritance, encapsulation, polymorphism, and abstraction.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation involves bundling data and methods that operate on the data into a single unit.
Polymorphism allows objects to be treated as instances of their parent class.
Abstraction hides the implementation details and only shows the necessary features of an object.
Q5. sdlc what is process
SDLC (Software Development Life Cycle) is a process used by software development teams to design, develop, test, and deploy software.
SDLC involves planning, designing, coding, testing, and deployment stages.
It ensures that software is developed efficiently and meets the requirements of stakeholders.
Common SDLC models include Waterfall, Agile, and DevOps.
Each stage of SDLC has specific goals and deliverables.
SDLC helps in managing project timelines, costs, and quality of the s...read more
Q6. stlc what is proces
STLC (Software Testing Life Cycle) is a process followed by QA Engineers to ensure high quality software.
STLC involves planning, designing, executing, and reporting on tests.
It includes phases like requirement analysis, test planning, test design, test execution, and test closure.
Each phase has specific activities and deliverables to ensure thorough testing of the software.
Example: In requirement analysis, QA Engineers review the requirements to identify test scenarios and cr...read more
Q7. What is rsync in linux?
rsync is a command-line tool for syncing files and directories between two locations on a Unix-like system.
rsync stands for remote sync.
It can be used to copy files locally or between a local and remote system.
rsync only transfers the differences between source and destination files, making it efficient for large transfers.
It can preserve permissions, timestamps, and other file attributes during synchronization.
Example: rsync -avz /path/to/source/ user@remote:/path/to/destina...read more
Q8. What is load balancing
Load balancing is the process of distributing network traffic across multiple servers to ensure optimal resource utilization and prevent overload.
Load balancing helps improve the performance, reliability, and scalability of applications by evenly distributing incoming traffic.
It can be achieved through various methods such as round-robin, least connections, IP hash, and weighted round-robin.
Examples of load balancing solutions include hardware load balancers like F5 Networks,...read more
Q9. Reverse a linkedList
Reverse a linkedList
Iterate through the linked list and reverse the pointers
Use three pointers to keep track of current, previous, and next nodes
Update the pointers accordingly to reverse the list
Q10. Difference in udp and tcp
UDP is connectionless and faster, while TCP is connection-oriented and reliable.
UDP stands for User Datagram Protocol, while TCP stands for Transmission Control Protocol.
UDP is connectionless, meaning it does not establish a connection before sending data, while TCP is connection-oriented and establishes a connection before data transfer.
UDP is faster but less reliable as it does not guarantee delivery of packets, while TCP is slower but ensures reliable delivery through erro...read more
Q11. 10 linux commands
Common Linux commands for system administrators
ls - list directory contents
cd - change directory
pwd - print working directory
cp - copy files and directories
mv - move or rename files and directories
rm - remove files or directories
grep - search text patterns
chmod - change file permissions
ps - display information about running processes
top - display and update sorted information about processes
Interview Process at Associated Constructions
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month