Associate Professional

30+ Associate Professional Interview Questions and Answers

Updated 16 Jul 2025
search-icon
6d ago

Q. Find the Second Largest Element

Given an array or list of integers 'ARR', identify the second largest element in 'ARR'.

If a second largest element does not exist, return -1.

Example:

Input:
ARR = [2, 4, 5, 6, ...read more
Ans.

Find the second largest element in an array of integers.

  • Iterate through the array to find the largest and second largest elements.

  • Handle cases where all elements are identical.

  • Return -1 if a second largest element does not exist.

Asked in Amazon

4d ago

Q. Closest Sum Problem Statement

Given an array of integers ARR of size N and an integer target, find three integers in ARR such that their sum is closest to the target. If there are two closest sums, return the s...read more

Ans.

Find three integers in an array whose sum is closest to a target integer.

  • Iterate through all possible triplets in the array to find the closest sum to the target.

  • Keep track of the closest sum found so far and update it if a closer sum is found.

  • Return the closest sum found after iterating through all triplets.

Associate Professional Interview Questions and Answers for Freshers

illustration image
2d ago

Q. Reverse the String Problem Statement

You are given a string STR which contains alphabets, numbers, and special characters. Your task is to reverse the string.

Example:

Input:
STR = "abcde"
Output:
"edcba"

Input...read more

Ans.

Reverse a given string containing alphabets, numbers, and special characters.

  • Iterate through the string from the end to the beginning and append each character to a new string.

  • Use built-in functions like reverse() or slicing to reverse the string.

  • Handle special characters and numbers while reversing the string.

  • Ensure to consider the constraints on the length of the string and the number of test cases.

Asked in Cisco

5d ago

Q. Add Two Numbers Represented as Linked Lists

Given two linked lists representing two non-negative integers, where the digits are stored in reverse order (i.e., starting from the least significant digit to the mo...read more

Ans.

Add two numbers represented as linked lists in reverse order and return the sum as a linked list.

  • Traverse both linked lists simultaneously, adding corresponding digits along with carry from previous sum.

  • Handle cases where one list is longer than the other by considering carry.

  • Create a new linked list to store the sum digits in reverse order.

  • Remember to handle the case where there is a carry after adding all digits.

Are these interview questions helpful?

Asked in Cisco

4d ago

Q. Remove Duplicates from String Problem Statement

You are provided a string STR of length N, consisting solely of lowercase English letters.

Your task is to remove all duplicate occurrences of characters in the s...read more

Ans.

Remove duplicate occurrences of characters in a given string of lowercase English letters.

  • Iterate through the string and keep track of characters seen so far using a set.

  • Append characters to a new string only if they are not already in the set.

  • Return the new string without duplicate characters.

6d ago
Q. Can you explain framework designs and their architecture?
Ans.

Framework designs are the structure and organization of a software framework, including its components and interactions.

  • Framework designs define the overall architecture of a software system

  • They include the arrangement of components, their relationships, and the flow of data

  • Examples of framework designs include Model-View-Controller (MVC) and Service-Oriented Architecture (SOA)

Associate Professional Jobs

Ingram Micro (I) Pvt Ltd logo
Associate Professional- HR 0-2 years
Ingram Micro (I) Pvt Ltd
3.8
Mumbai

Asked in Walmart

1d ago

Q. Maximum Number With Single Swap

You are given an array of N elements that represent the digits of a number. You can perform one swap operation to exchange the values at any two indices. Your task is to determin...read more

Ans.

Given an array of digits, swap two elements to get the maximum number possible.

  • Iterate through the array to find the maximum digit.

  • Swap the maximum digit with the leftmost occurrence of that digit.

  • If the maximum digit is already at the leftmost position, swap it with the second largest digit.

6d ago

Q. OOPs features, what is a carriage return, the syntax for making a 2D matrix, what is nested loop incase of the switch statement

Ans.

Questions on OOPs features, carriage return, 2D matrix syntax, and nested loops in switch statement.

  • OOPs features include encapsulation, inheritance, and polymorphism.

  • A carriage return is a character that moves the cursor to the beginning of the next line.

  • The syntax for making a 2D matrix is: int matrix[][] = new int[rows][columns];

  • A nested loop in a switch statement is used to handle multiple cases with the same code block.

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Asked in LrnEd

3d ago
Q. Can you write a query for an inner join, explain it, and provide an example with specific tables to demonstrate its use and importance?
Ans.

An inner join combines rows from two tables based on a related column between them.

  • An inner join returns rows when there is at least one match in both tables based on the join condition.

  • It is commonly used to retrieve data from multiple tables that have a relationship.

  • Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column;

4d ago

Q. What is the difference between Abstraction and Interface?

Ans.

Abstraction is hiding implementation details while Interface is a contract for implementing classes.

  • Abstraction is achieved through abstract classes and methods.

  • Interface defines a set of methods that a class must implement.

  • Abstraction focuses on hiding complexity and providing a simpler interface.

  • Interface focuses on defining a standard for communication between classes.

  • Abstraction is a way to achieve modularity and maintainability.

  • Interface is a way to achieve polymorphism ...read more

1d ago

Q. What is performance? Mention its different types.

Ans.

Perform refers to carrying out a task or activity. Its types include job performance, academic performance, and athletic performance.

  • Perform refers to the execution of a task or activity.

  • Job performance refers to how well an employee performs their job duties.

  • Academic performance refers to a student's success in their studies.

  • Athletic performance refers to an athlete's ability to perform in their sport.

  • Other types of performance include musical performance, theatrical perform...read more

Asked in 3M

4d ago

Q. What is the difference between a table and a view?

Ans.

A table is a physical storage structure while a view is a virtual table created from a query.

  • A table stores data in a structured manner while a view is a virtual table created from a query.

  • A table can have indexes and constraints while a view cannot.

  • A table can be updated, inserted or deleted while a view cannot be directly modified.

  • A view can be used to simplify complex queries or restrict access to certain columns of a table.

  • Example: A table named 'employees' can have a vie...read more

Asked in LrnEd

4d ago
Q. Which programming language, Python or Java, do you believe will be more powerful in the future?
Ans.

Python is likely to be more powerful in the future due to its simplicity, versatility, and popularity.

  • Python is known for its simplicity and readability, making it easier for beginners to learn and use.

  • Python has a wide range of applications, from web development to data analysis and machine learning.

  • Python's popularity is continuously growing, with a large community of developers contributing to its libraries and frameworks.

  • Java, on the other hand, is more verbose and comple...read more

Asked in 0SBS

4d ago

Q. What are the layers of the OSI model?

Ans.

The OSI model has 7 layers that define how data is transmitted over a network.

  • The layers are: Physical, Data Link, Network, Transport, Session, Presentation, and Application.

  • Each layer has a specific function and communicates with the layers above and below it.

  • For example, the Physical layer deals with the physical transmission of data, while the Application layer deals with user interfaces and applications.

  • The OSI model is a conceptual model and is used to help understand ho...read more

5d ago

Q. What do you know about DXC?

Ans.

DXC is a global IT services company that provides end-to-end solutions for clients in various industries.

  • DXC was formed in 2017 through the merger of CSC and the Enterprise Services business of Hewlett Packard Enterprise.

  • They offer services in areas such as cloud computing, cybersecurity, analytics, and digital transformation.

  • DXC has clients in industries such as healthcare, finance, manufacturing, and government.

  • They have a global workforce of over 130,000 employees.

  • DXC is h...read more

Asked in TCS

1d ago

Q. What is Polymorphism?

Ans.

Polymorphism is the ability of an object to take on many forms.

  • It allows objects of different classes to be treated as if they were objects of the same class.

  • It is achieved through method overriding and method overloading.

  • Example: A shape class can have different subclasses like circle, square, and triangle, each with their own implementation of the draw method.

  • Example: A method can take in different types of objects as parameters, and the appropriate method will be called ba...read more

2d ago

Q. Why is Python not fully object-oriented?

Ans.

Python is not fully object-oriented due to its support for procedural programming and lack of strict encapsulation.

  • Python supports multiple programming paradigms, including procedural and functional programming, not just OOP.

  • Primitive data types like integers and strings are not objects in the same way as user-defined classes.

  • Python allows for procedural code, which can exist outside of classes, making it less strictly OOP.

  • Encapsulation is not enforced; attributes can be acce...read more

1d ago

Q. What is SQL Error 911?

Ans.

SQL Error 911 is a database connection error that occurs when the maximum number of concurrent connections has been reached.

  • Occurs when the maximum number of concurrent connections has been reached

  • Can be resolved by increasing the maximum number of connections allowed

  • May also be caused by insufficient memory or disk space

  • Commonly seen in IBM DB2 databases

6d ago

Q. Which database did you use for practical exercises in your SQL course?

Ans.

I have used MySQL for practical in SQL subject.

  • MySQL is a popular open-source relational database management system.

  • I have practiced creating tables, querying data, and performing various operations in MySQL.

  • I have also worked with MySQL Workbench for database design and management.

Q. What is shut-off pressure?

Ans.

Shut off pressure is the pressure at which a valve or regulator stops the flow of fluid or gas.

  • It is the pressure at which a valve or regulator closes to prevent further flow.

  • It is important to know the shut off pressure to ensure proper functioning of the system.

  • For example, in a water supply system, the shut off pressure is the pressure at which the valve stops the flow of water.

  • In a gas regulator, the shut off pressure is the pressure at which the regulator stops the flow ...read more

3d ago

Q. What is the latest technology that you have learned?

Ans.

The latest technology I have learned is artificial intelligence (AI).

  • AI is a branch of computer science that focuses on creating intelligent machines capable of performing tasks that typically require human intelligence.

  • Some examples of AI applications include virtual assistants like Siri and Alexa, self-driving cars, and recommendation systems.

  • I have learned about different AI techniques such as machine learning, natural language processing, and computer vision.

5d ago

Q. What is OS? And paging techniques

Ans.

OS stands for Operating System. Paging is a memory management technique used by OS to store and retrieve data from secondary storage.

  • OS is a software that manages computer hardware resources and provides common services for computer programs.

  • Paging is a memory management scheme that eliminates the need for contiguous allocation of physical memory.

  • Paging allows the operating system to use virtual memory, which is larger than physical memory.

  • Examples of paging techniques includ...read more

Asked in TCS

3d ago

Q. What are the four pillars of OOP?

Ans.

Four pillars of OOPs are Abstraction, Encapsulation, Inheritance, and Polymorphism.

  • Abstraction: Hiding implementation details and showing only necessary information.

  • Encapsulation: Binding data and functions together and restricting access to data.

  • Inheritance: Creating new classes from existing ones, inheriting properties and methods.

  • Polymorphism: Ability of objects to take on multiple forms or behaviors.

4d ago

Q. Write code to take an array and move all zeros to the end.

Ans.

Rearrange an array of strings to move all zeros to the end while maintaining the order of non-zero elements.

  • Iterate through the array and count non-zero elements.

  • Create a new array of the same size to hold non-zero elements.

  • Fill the new array with non-zero elements and append zeros at the end.

  • Example: Input: ['a', '0', 'b', '0', 'c'] Output: ['a', 'b', 'c', '0', '0']

1d ago

Q. What is data structure and linked list

Ans.

Data structure is a way of organizing and storing data in a computer so that it can be accessed and used efficiently. A linked list is a linear data structure where elements are stored in nodes and each node points to the next node in the sequence.

  • Data structure organizes and stores data efficiently

  • Linked list is a linear data structure with nodes pointing to next node

  • Example: Singly linked list, doubly linked list

5d ago

Q. How do you implement a project in SAP?

Ans.

To implement a project in SAP, you need to follow a structured approach involving planning, configuration, testing, and deployment.

  • Define project scope and objectives

  • Gather requirements from stakeholders

  • Configure SAP system based on requirements

  • Test the system to ensure functionality and performance

  • Train end users on using the new system

  • Deploy the project and monitor for any issues

  • Provide ongoing support and maintenance

2d ago

Q. what is java, oops, dsa, etc

Ans.

Java is a popular programming language, OOPs stands for Object-Oriented Programming, DSA refers to Data Structures and Algorithms.

  • Java is a high-level, class-based, object-oriented programming language known for its portability and versatility.

  • OOPs is a programming paradigm based on the concept of 'objects', which can contain data in the form of fields and code in the form of procedures.

  • DSA involves the study of data structures (like arrays, linked lists, trees) and algorithm...read more

5d ago

Q. What is data encapsulation?

Ans.

Data encapsulation is the process of hiding implementation details and exposing only necessary information.

  • It is a fundamental concept in object-oriented programming.

  • It helps in achieving data abstraction and information hiding.

  • It allows for better control over data and prevents unauthorized access.

  • Example: A class in Java that has private variables and public methods to access them.

  • Example: A capsule that contains medicine and only allows access through a small opening.

Asked in Capgemini

6d ago

Q. What are non-linear materials?

Ans.

Non-linear materials are materials whose properties do not change proportionally with applied forces or stresses.

  • Non-linear materials exhibit behaviors such as hysteresis, creep, and stress relaxation.

  • Examples include rubber, plastics, and certain metals.

  • Their stress-strain curves are not straight lines and may show curves or other non-linear patterns.

Asked in Capgemini

2d ago

Q. Material model for solid material

Ans.

Material model for solid material refers to the mathematical representation of how a solid material behaves under different conditions.

  • Material models can be classified as linear or nonlinear depending on the behavior of the material.

  • Common material models include Hooke's Law for linear elasticity and von Mises yield criterion for plasticity.

  • Material models are used in finite element analysis to predict the response of structures under various loading conditions.

1
2
Next

Interview Experiences of Popular Companies

TCS Logo
3.6
 • 11.1k Interviews
Capgemini Logo
3.7
 • 5.1k Interviews
DXC Technology Logo
3.6
 • 842 Interviews
Cargill Logo
4.0
 • 101 Interviews
View all
Interview Tips & Stories
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Associate Professional Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits