Professional Documents
Culture Documents
Cognizant
Cognizant
Cognizant
Tell me about usrself? 2.Program for reverse of a string? 3.Opps concepts like
interface ,Abstraction differences 4.Abstract classes or interfaces supports
100%Abstraction 5.Difference between string buffer and string builder 6.Iterator in
collections concept 7.what is singleton class 8.how do you rate urself in java
9.difference between absolute XPath and relative XPath 10.Some questions on scrum
and Agile practices
write a code to print the current date and time in Java language
Prime Number and Factorial using Python
oops concepts and collection framework.
Asked for introduction and covered all oops concepts like inheritance,
polymorphism, Abstraction and encapsulation And some sql concepts Truncate, delete,
alter, insert terms Asked networking questions like ftp, https, http, smtp
What is the difference between compile time exception and run-time exception?
Write the code to sort an array with O(n)
Describe all the OOPS concepts
Java related questions and sql related
What are decorators in python? What is the difference between python lists and
tuples?
What are the differences between C++ and Java? Q: What do you understand by an
instance variable and a local variable?
Can you explain the difference between abstraction and encapsulation? How does
inheritance work in object-oriented programming? What is the difference between a
stack and a queue? Can you provide examples of their applications? Can you explain
the concept of polymorphism and provide an example? Problem-Solving Questions:
Given an array of integers, how would you find the largest and smallest numbers?
How would you reverse a linked list? Write a function to check if a string is a
palindrome. Implement a function to calculate the Fibonacci sequence. Behavioral
Questions: Can you describe a challenging problem you faced on a previous project
and how you solved it? How do you prioritize tasks when working on multiple
projects simultaneously? Can you describe a situation where you had to work with a
difficult team member and how you handled it? How do you stay updated with new
technologies and trends in software development? System Design Questions: Design a
URL shortening service like Bitly. How would you design a distributed key-value
store? Design a system for real-time analytics of user interactions on a website.
Discuss the architecture of a scalable chat application.
Questions were asked from own domain and typical coding concepts were also asked
including 1 leetcode medium. Talked about specific projects and internships
pertaining to software engineering and development using html, css, js and react.