Developer Associate
30+ Developer Associate Interview Questions and Answers
Given a singly linked list of integers. Your task is to return the head of the reversed linked list.
For example:
The given linked list is 1 -> 2 -> 3...read more
Developer Associate Interview Questions and Answers for Freshers
You have given a Singly Linked List of integers, determine if it forms a cycle or not.
A cycle occurs when a node's next points back to a previous node in the list. The li...read more
You have been given an arbitrary binary tree and a node of this tree. You need to find the inorder successor of this node ...read more
Given a sequence of numbers ‘ARR’. Your task is to return a sorted sequence of ‘ARR’ in non-descending order with help of the merge sort algorithm.
Example :
Merge Sort Algorithm - Merge sort is a Div...read more
Make a class using inheritance implementing the database of a system where each object must work on the same database maintaining consistency and mutual exclusion...read more
Share interview questions and help millions of jobseekers 🌟
What is repeater?
What are flip flops?
What are latches?
What is Stack pointer What are Diodes,Sampling,Encoder, Decoder, Registers,Accumulator ?
Developer Associate Jobs
Q9. What is frontend skills ? Can you tell me the basic full form and defenition of HTML, CSS, JS and Bootstrap ??
Frontend skills refer to the ability to develop and design the user-facing part of a website or application.
HTML stands for Hypertext Markup Language and is used to create the structure and content of web pages.
CSS stands for Cascading Style Sheets and is used to style and layout web pages.
JS stands for JavaScript and is used to add interactivity and dynamic functionality to web pages.
Bootstrap is a popular CSS framework that provides pre-designed components and styles to mak...read more
Some basic HR Questions were asked like :
1) Why cognizant ?
2) Are you comfortable to relocate?
Q11. What is Backend ? JAVA, PYTHON, C ?? What is SQL or MYSQL or PHP ?
Backend refers to the server-side of an application where the logic, database, and APIs are hosted.
Backend is responsible for processing data and communicating with the frontend.
JAVA, PYTHON, C are programming languages commonly used for backend development.
SQL and MYSQL are database management systems used to store and retrieve data.
PHP is a server-side scripting language used for web development.
Q12. How to reverse a linked list and write program to get right view of a binary tree.
To reverse a linked list, we need to traverse the list and change the direction of the pointers. To get the right view of a binary tree, we need to traverse the tree and keep track of the rightmost node at each level.
To reverse a linked list, we can use three pointers to keep track of the current, previous, and next nodes.
To get the right view of a binary tree, we can use a queue to traverse the tree level by level and keep track of the rightmost node at each level.
Both opera...read more
Q13. Linq questions: First vs Firstordefault, single vs singleordefault, convert generic list to non generic type.
Explanation of Linq methods First, FirstOrDefault, Single, SingleOrDefault and converting generic list to non generic type.
First returns the first element of a sequence, throws an exception if sequence is empty.
FirstOrDefault returns the first element of a sequence or default value if sequence is empty.
Single returns the only element of a sequence, throws an exception if sequence has more than one element or is empty.
SingleOrDefault returns the only element of a sequence or d...read more
Q14. Write the longest program that you can in a language of your choice and explain it line to line
The program generates a Fibonacci sequence up to a given number.
The program takes an input number from the user.
It initializes an array with the first two Fibonacci numbers.
Using a loop, it calculates the next Fibonacci number by summing the previous two numbers.
The loop continues until the next Fibonacci number exceeds the given input number.
The program then prints the Fibonacci sequence up to the given number.
Q15. Delete vs truncate pillars of oops(explain each one with example)
Delete removes rows from a table while truncate removes all rows from a table. Pillars of OOP are Inheritance, Encapsulation, Polymorphism, Abstraction.
Delete is a DML command used to remove specific rows from a table.
Truncate is a DDL command used to remove all rows from a table.
Pillars of OOP: Inheritance - allows a class to inherit properties and behavior from another class. Example: class Dog extends Animal.
Encapsulation - bundling data and methods that operate on the dat...read more
Q16. What technologies did you Know?
I know several technologies including Java, Python, HTML, CSS, JavaScript, and SQL.
Java
Python
HTML
CSS
JavaScript
SQL
Q17. What are API's, why they are used?
API's are interfaces that allow different software applications to communicate with each other.
API stands for Application Programming Interface
API's are used to define the methods for communication between different software components
They allow developers to access the functionality of a system or service without needing to understand its internal workings
API's are commonly used in web development to interact with external services like Google Maps API, Twitter API, etc.
Q18. design a calculator that does operations on 128 bit integers.
Design a calculator that performs operations on 128 bit integers.
Use a data structure like an array to store the 128 bit integers.
Implement functions for addition, subtraction, multiplication, and division.
Consider handling overflow and underflow cases.
Use bitwise operations for efficient calculations.
Q19. Show some designs that you have made..
I have designed various user interfaces for web and mobile applications.
Designed a responsive web interface for a travel booking website
Created a mobile app interface for a food delivery service
Designed a dashboard for a project management tool
Created wireframes and prototypes for various projects
Q20. Difference between block, div and section
Block, div and section are HTML elements used for structuring web pages.
Block is a generic container for grouping content and applying styles.
Div is a block-level element used for grouping content and applying styles.
Section is a semantic element used for grouping related content.
Div and section are similar, but section has a more specific meaning and should be used for larger content areas.
Block and div are often used interchangeably, but block is a more general term.
All thr...read more
Q21. how to take jenkins backup using plugins
Use Jenkins plugin to easily backup Jenkins configurations and data
Install the 'ThinBackup' plugin in Jenkins
Configure the plugin to schedule regular backups of Jenkins configurations and data
Specify the backup location and retention policy in the plugin settings
Run manual backups as needed through the plugin interface
Q22. where do you save ansible files
Ansible files are typically saved in a version control system like Git for easy access and collaboration.
Save ansible files in a version control system like Git
Create separate repositories for different projects or roles
Organize files into directories based on their purpose or role
Use naming conventions to easily identify files and their functions
Q23. What is python and uses of python
Python is a high-level programming language known for its simplicity and readability.
Python is used for web development (Django, Flask)
Python is used for data analysis and visualization (Pandas, Matplotlib)
Python is used for artificial intelligence and machine learning (TensorFlow, PyTorch)
Python is used for automation and scripting
Q24. Different types of Joins in SQL
Different types of Joins in SQL include Inner Join, Left Join, Right Join, and Full Join.
Inner Join: Returns rows when there is a match in both tables.
Left Join: Returns all rows from the left table and the matched rows from the right table.
Right Join: Returns all rows from the right table and the matched rows from the left table.
Full Join: Returns rows when there is a match in either table.
Q25. Jil and monkey in python and pep in python
Jil and monkey are Python libraries used for testing, while PEP stands for Python Enhancement Proposal.
Jil is a Python library for testing JSON APIs.
Monkey is a Python library for testing concurrent code.
PEP refers to Python Enhancement Proposal, which is a design document providing information to the Python community.
Q26. Subjects you are comfortable with
I am comfortable with various subjects related to software development.
Programming languages (e.g. Java, Python, C++)
Web development (e.g. HTML, CSS, JavaScript)
Database management (e.g. SQL, MongoDB)
Software testing and debugging
Version control systems (e.g. Git)
Object-oriented programming concepts
Algorithms and data structures
Q27. List the Git commands that you know?
List of common Git commands for version control
git init - initialize a new Git repository
git clone - clone a repository into a new directory
git add - add file changes to the staging area
git commit - commit changes to the repository
git push - push changes to a remote repository
git pull - fetch and merge changes from a remote repository
git branch - list, create, or delete branches
git merge - merge changes from one branch into another
git checkout - switch branches or restore wor...read more
Q28. Check if there is Loop in a Linked List
To check if there is a loop in a linked list, we can use Floyd's cycle-finding algorithm.
Create two pointers, slow and fast, and initialize them to the head of the linked list.
Move slow pointer by one node and fast pointer by two nodes.
If there is a loop, the fast pointer will eventually catch up to the slow pointer.
If there is no loop, the fast pointer will reach the end of the linked list.
Time complexity: O(n), Space complexity: O(1)
Q29. Merge sort explain and write code
Merge sort is a divide and conquer algorithm that sorts an array by dividing it into two halves, sorting each half, and then merging them.
Divide the array into two halves
Recursively sort the two halves
Merge the sorted halves
Time complexity is O(n log n)
Space complexity is O(n)
Q30. Multiple inheritence in java exists or not
Multiple inheritance does not exist in Java due to the Diamond Problem.
Java does not support multiple inheritance for classes to avoid the Diamond Problem.
However, multiple inheritance is supported for interfaces in Java.
To achieve multiple inheritance for classes, you can use interfaces and implement them in the classes.
Q31. Explained company policies
Company policies are guidelines and rules set by the company to govern employee behavior and decision-making.
Company policies outline acceptable behavior and expectations for employees.
They cover areas such as attendance, dress code, code of conduct, and use of company resources.
Policies are typically communicated to employees through an employee handbook or orientation.
Employees are expected to adhere to company policies to maintain a positive work environment and ensure com...read more
Q32. what are binary trees?
Binary trees are hierarchical data structures composed of nodes, where each node has at most two children.
Consists of nodes with at most two children - left and right
Each node can have zero, one, or two children
Used in various applications like binary search trees, expression trees, etc.
Q33. What is polymorphism
Polymorphism is the ability of a function or method to behave differently based on the object it is called on.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
It enables a single interface to be used for different data types or classes.
Examples include method overloading and method overriding in object-oriented programming.
Q34. Package you are expecting
I am expecting a competitive salary package with benefits such as health insurance, paid time off, and opportunities for professional development.
Competitive salary
Health insurance
Paid time off
Professional development opportunities
Interview experiences of popular companies
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month