Programmer Analyst 1

Programmer Analyst 1 Interview Questions and Answers for Freshers

Updated 12 Jul 2025

Asked in Cognizant

1d ago

Q. What is the meaning of inheritance?

Ans.

Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.

  • Allows a class to inherit attributes and methods from another class

  • Promotes code reusability and reduces redundancy

  • Creates a parent-child relationship between classes

  • Derived class can access the properties and methods of the base class

  • Example: Class 'Animal' can be a base class with attributes like 'name' and methods like 'eat', and class 'Dog' can inher...read more

Asked in Cognizant

5d ago

Q. What do you mean by cache?

Ans.

Cache is a temporary storage area that stores frequently accessed data for quick access.

  • Cache is used to improve the performance of a system by reducing the time it takes to access data.

  • It can be implemented in hardware or software.

  • Examples of cache include browser cache, CPU cache, and disk cache.

  • Cache can be volatile or non-volatile.

  • Cache can be configured to have a certain size and replacement policy.

Asked in Cognizant

3d ago

Q. Who is the father of the C language, and when was it introduced?

Ans.

Dennis Ritchie is considered the father of the C programming language.

  • Dennis Ritchie, along with Brian Kernighan, developed the C language at Bell Labs in the early 1970s.

  • C language was created to provide a more flexible and powerful alternative to assembly language.

  • C language has had a significant impact on modern programming languages and systems development.

Asked in Cognizant

6d ago

Q. What is c and c versus c++

Ans.

C is a procedural programming language, while C++ is an object-oriented programming language that is an extension of C.

  • C is a procedural programming language, focusing on functions and procedures.

  • C++ is an object-oriented programming language, allowing for the use of classes and objects.

  • C++ is an extension of C, adding features like classes, inheritance, and polymorphism.

Are these interview questions helpful?
4d ago

Q. Write a program in C and explain it.

Ans.

Program in C to sort an array of strings alphabetically

  • Declare an array of strings

  • Use a sorting algorithm like bubble sort or quicksort to sort the strings alphabetically

  • Print the sorted array of strings

Interview Experiences of Popular Companies

Cognizant Logo
3.7
 • 5.9k Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Programmer Analyst 1 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