
Cognizant


10+ Cognizant Associate Software Engineer Interview Questions and Answers
Q1. A basic C program to find the frequency of an alphabet in a string
This program calculates the frequency of a given alphabet in a string using a basic C program.
Declare an array of size 26 to store the frequency of each alphabet
Iterate through the string character by character
For each character, check if it is an alphabet
If yes, increment the corresponding frequency count in the array
Print the frequency of the desired alphabet
Q2. Difference between primary key and unique key
Primary key uniquely identifies a record in a table, while unique key ensures uniqueness of a column.
Primary key cannot have null values, while unique key can have one null value.
A table can have only one primary key, but multiple unique keys.
Primary key is automatically indexed, while unique key may or may not be indexed.
Example: Primary key - employee ID, Unique key - email address
Q3. What are the Upcomming technologies that are used by the companies.
AI, IoT, Blockchain, Cloud Computing, AR/VR, 5G
Artificial Intelligence (AI) and Machine Learning (ML) for automation and decision-making
Internet of Things (IoT) for connected devices and data collection
Blockchain for secure and transparent transactions
Cloud Computing for scalable and flexible infrastructure
Augmented Reality (AR) and Virtual Reality (VR) for immersive experiences
5G for faster and more reliable connectivity
Q4. powerapps customisation and how to leverage different properties to customise the canvas app
PowerApps customisation involves leveraging different properties to customise the canvas app.
Use the 'Properties' pane to access and modify different properties of the app components.
Customise the app's appearance using themes, fonts, and colours.
Leverage formulas and expressions to add functionality to the app.
Use custom connectors to integrate with external data sources.
Add custom controls and components to extend the app's functionality.
Test and debug the app using the 'Pr...read more
Q5. Explain about different types of database and name some which is most popular nowadays
There are various types of databases such as relational, NoSQL, object-oriented, etc. Some popular databases nowadays include MySQL, MongoDB, PostgreSQL, and Oracle.
Relational databases: MySQL, PostgreSQL, Oracle
NoSQL databases: MongoDB, Cassandra, Redis
Object-oriented databases: db4o, ObjectDB
Graph databases: Neo4j, Amazon Neptune
Q6. Azure functions on how to setup and deploy.
Azure Functions are serverless computing solutions that allow developers to run code on-demand without managing infrastructure.
Create a new Azure Function App in the Azure portal
Choose a language and runtime for your function
Write your function code and test it locally
Publish your function to Azure using Visual Studio or Azure CLI
Configure your function app settings and triggers
Monitor and troubleshoot your function using Azure Application Insights
Q7. Difference between supervised and unsupervised learning
Supervised learning uses labeled data to train a model, while unsupervised learning uses unlabeled data.
Supervised learning requires a target variable for training the model.
Examples of supervised learning include classification and regression tasks.
Unsupervised learning finds patterns in data without any predefined labels.
Examples of unsupervised learning include clustering and dimensionality reduction.
Q8. Application of python and features of python
Python is a high-level programming language used for web development, data analysis, artificial intelligence, and automation.
Python is easy to learn and has a simple syntax
Python supports multiple programming paradigms such as object-oriented, functional, and procedural programming
Python has a vast standard library with modules for various tasks such as web development, data analysis, and machine learning
Python is used for web development frameworks such as Django and Flask
Py...read more
Q9. what do you know about oops
OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.
OOPs focuses on creating objects that contain both data and functions.
It emphasizes on encapsulation, inheritance, and polymorphism.
Encapsulation is the process of hiding the implementation details of an object from the outside world.
Inheritance allows a class to inherit properties and methods from another class.
Polymorphism allows objects to take on multiple forms or beh...read more
Q10. what do you know about sdlc
SDLC stands for Software Development Life Cycle, a process used to design, develop, and maintain software.
SDLC is a structured approach to software development
It consists of several phases including planning, analysis, design, implementation, testing, and maintenance
Each phase has its own set of activities and deliverables
SDLC models include Waterfall, Agile, and DevOps
SDLC helps ensure software quality and reduces development time and cost
Q11. one code according to ur cluster
I would write a code snippet based on the specific cluster or category provided.
Identify the specific cluster or category provided in the question
Write a code snippet that aligns with the requirements of the cluster
Ensure the code is accurate and relevant to the given cluster
Q12. Explain about SQL Joins
SQL Joins are used to combine rows from two or more tables based on a related column between them.
Joins are used to retrieve data from multiple tables based on a related column
Types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN
INNER JOIN returns rows when there is at least one 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...read more
Q13. explain ur project
Developed a web-based project management tool for tracking tasks and deadlines.
Used HTML, CSS, and JavaScript for front-end development
Implemented backend functionality using Node.js and MongoDB
Incorporated user authentication and authorization features
Utilized RESTful APIs for communication between front-end and back-end
More about working at Cognizant







Top HR Questions asked in Cognizant Associate Software Engineer
Interview Process at Cognizant Associate Software Engineer

Top Associate Software Engineer Interview Questions from Similar Companies








Reviews
Interviews
Salaries
Users/Month

