
Cognizant


10+ Cognizant Associate Interview Questions and Answers for Freshers
Q1. What Is the probability of it raining today in Chennai?
The probability of rain in Chennai today depends on various factors such as season, weather conditions, and location.
The probability can be estimated by analyzing the current weather patterns and historical data.
Factors such as humidity, temperature, and wind speed can affect the probability of rain.
Local weather forecasts and satellite imagery can also provide insights into the likelihood of rain.
The probability of rain can range from 0% to 100%, with higher probabilities in...read more
Q2. Find the probability that India will win the next Cricket World Cup
It is impossible to accurately predict the probability of India winning the next Cricket World Cup.
Sports events are unpredictable and depend on various factors such as team performance, weather conditions, injuries, etc.
Past performance of the team and individual players can be considered, but it does not guarantee future success.
Other teams participating in the tournament also play a significant role in determining the probability of India winning.
Therefore, it is not possi...read more
Q3. 1. what are the 4 main divisions in COBOL. Explain each 2. Explain VSAM Define? 3. what is the purpose of file status clause in Select statement
COBOL main divisions are Identification Division, Environment Division, Data Division, and Procedure Division. VSAM Define is used to define the structure of a VSAM file. File status clause in Select statement is used to handle file operations.
Identification Division - contains program name and author information
Environment Division - specifies the environment in which the program will run
Data Division - defines the data structures used in the program
Procedure Division - cont...read more
Q4. Css precendence and priotization in web
CSS precedence determines which styles will be applied to an element when conflicting styles are present.
Inline styles have the highest precedence
Styles in a <style> tag come next
External stylesheets have the lowest precedence
Specificity of selectors also plays a role in determining precedence
Using !important in a style declaration will override all other styles
Q5. what is semantic html
Semantic HTML is using HTML tags that clearly define the content and structure of a web page.
Semantic HTML helps improve accessibility for users with disabilities.
It also improves SEO by providing search engines with better understanding of the content.
Examples of semantic HTML tags include <header>, <nav>, <article>, <section>, <footer>.
Q6. what are object in JS
Objects in JavaScript are complex data types that can store multiple key-value pairs.
Objects are created using curly braces {}
Keys are strings that represent the property names
Values can be any data type, including other objects or functions
Access object properties using dot notation or bracket notation
Q7. Biggest company in india
Reliance Industries Limited is currently the biggest company in India.
Reliance Industries Limited is a conglomerate with interests in petrochemicals, refining, oil, and gas exploration.
It was founded by Dhirubhai Ambani in 1966 and is currently run by his son Mukesh Ambani.
Reliance Industries Limited is also the second-largest company in Asia by market capitalization.
Other major companies in India include Tata Group, State Bank of India, and Indian Oil Corporation.
Q8. Why we use redux
Redux is used for managing the state of an application in a predictable way.
Centralized state management
Predictable state changes
Easier debugging and testing
Q9. What is JVM?
JVM stands for Java Virtual Machine. It is an abstract machine that enables a computer to run Java programs.
JVM is responsible for interpreting the compiled Java code and executing it on the computer.
It provides a platform-independent environment for Java programs to run on different operating systems.
JVM has various components like class loader, bytecode verifier, and execution engine.
Examples of JVM-based languages include Kotlin, Scala, and Groovy.
Q10. What is Byte code?
Byte code is a compiled code that can be executed on any platform with the help of a virtual machine.
Byte code is an intermediate code that is generated by a compiler.
It is platform-independent and can be executed on any platform with the help of a virtual machine.
Examples of virtual machines include Java Virtual Machine (JVM) and .NET Common Language Runtime (CLR).
Q11. Tell me about recent technologies
Recent technologies include artificial intelligence, blockchain, Internet of Things, and virtual reality.
Artificial intelligence (AI) is being used in various industries for automation and decision-making processes.
Blockchain technology is revolutionizing secure transactions and data storage.
Internet of Things (IoT) connects devices to the internet for remote monitoring and control.
Virtual reality (VR) is creating immersive experiences in gaming, training, and entertainment.
Q12. Write a .small C code
A C code that prints out the elements of an array of strings.
Declare an array of strings
Use a loop to iterate through the array
Print out each element
Q13. Find the 2nd largest number in an array
To find the 2nd largest number in an array of strings, sort the array in descending order and return the second element.
Convert the array of strings to an array of integers for comparison.
Sort the array in descending order.
Return the second element in the sorted array as the 2nd largest number.
Q14. What is OOPS in Java
OOPS in Java stands for Object-Oriented Programming System, a programming paradigm based on the concept of objects.
OOPS focuses on creating objects that contain data and methods to manipulate that data.
It emphasizes concepts like inheritance, encapsulation, polymorphism, and abstraction.
Java is an object-oriented programming language that follows OOPS principles.
Example: In Java, classes and objects are used to implement OOPS concepts.
More about working at Cognizant







Top HR Questions asked in Cognizant Associate for Freshers
Interview Process at Cognizant Associate for Freshers

Top Associate Interview Questions from Similar Companies








Reviews
Interviews
Salaries
Users/Month

