Cognizant GenC Technical Interview Questions

Cognizant GenC Technical Interview Questions and Answers 2023

Find the most asked Cognizant GenC Technical Interview Questions for Freshers on this page. Page Highlights:-
  • Cognizant GenC Recruitment Process
  • Cognizant GenC Technical Interview Question
Find nCr and nPr in C

Cognizant GenC Recruitment Process

Cognizant GenC Recruitment Process is divided into the following rounds:-

  • Cognizant GenC Aptitude Round
  • Cognizant GenC Technical Interview
  • Cognizant GenC HR Interview

Cognizant GenC Technical Interview Questions

Question 1:-What are the different types of storage specifiers in C?


  • Auto storage class specifier
  • Static storage class specifier
  • Extern Storage class specifier
  • Register Storage Class specifier

Question 2:-What do you mean by process and thread?


Process is the active instance or executing instance of a program. It is an active instance that resides on the primary memory and leaves the system when rebooted.

Thread is the smallest unit of a process that can be executed. There are multiple threads within a process, with each thread having its task and execution process.

Question 3:-What is a class?


A class represents the common properties and actions of an object. There are three types of access modifiers to control a class:-

  • Public
  • Private
  • Protected

Question 4:- What is Static and Dynamic Binding?


  • Static Binding is a binding in which the name can be combined with the class during collection time, and it is also called early binding.
  • Dynamic Binding is a binding in which name can be identified with the class during execution time, and it is also known as Late Binding.

Question 5:-What are the types of inheritance?


  • Single inheritance
  • Multi-level inheritance
  • Multiple inheritance
  • Multi-path inheritance
  • Hierarchical inheritance
  • Hybrid inheritance

Use Coupon Code “CT10” and get flat 10% OFF on PrepInsta Prime, additionally get:

  • 1 months extra on 3 & 6 months plan
  • 2 months extra on 12 & 24 months plans
  • 3 months extra on 36 & 48 months plan

(Use Coupon Code “CT10” and get 10% off and additional months)

Prime Course Trailer

Related Banners

Get PrepInsta Prime & get Access to all 200+ courses offered by PrepInsta in One Subscription

Question 6:- What do you mean by polymorphism?


Polymorphism is the ability of the program to use an operator or function in different ways. There are two types of polymorphism:-

  • Compile-time Polymorphism
  • Runtime Polymorphism

Question 7:- What is the difference between object-oriented programming and object-based programming?


Object-Oriented ProgrammingObject-Based Programming
Does not have built-in objects.Has built-in objects.
Follows all the concepts of oops:- polymorphism, encapsulation, inheritance, abstraction.Does not support all oops concepts. It supports objects and encapsulation.
example – java, cExample- javascript, visual basic

Question 8:- What is a constructor?


A constructor is a method used to initialize the state of an object. It gets invoked at the time of object creation.

Question 9:- What is the try and catch block?


Try and catch block is used in exception handling. The try block defines a set of statements that can lead to an error. The catch block catches the exception.

Question 10:- What is exception handling?


Exception handling is used to manage errors in oops.

Question 11:- Why is macro faster than functions?


When a function is executed, it takes more time to take control from function call to called function. In macros, the expression is directly replaced in the source code. Hence, macro execution is faster than function execution.

Question 12:- What is the difference between DDL and DML commands in DBMS?


It stands for Data Definition LanguageIt stands for Data Manipulation Language
Used to build the databaseUsed to manipulate database
It affects the entire tableIt affects one or more rows

Question 13:- What is SDLC?


SDLC stands for Software Development Lifecycle. There are various models used in SDLC to represent the different phases of software development. There are various SDLC models available and developers choose the most suitable one depending on the project.

Types of SDLC models:-

  • Waterfall Model
  • Iterative Waterfall Model
  • Agile Model
  • Spiral Model
  • Prototype Model
  • V model
  • RAD model

Read More:- Software Development Lifecycle

Question 14:- What is the purpose of multithreading?


Multithreading allows concurrent execution of multiple threads which increases the CPU utilization. This helps in making the system multitask.

Read More:- Multithreading

Question 15:- What is indexing?


Indexing allows the users to quickly retrieve records from the database file. There are four types of indexing:-

  • Primary Indexing
  • Secondary Indexing
  • Cluster Indexing
  • Multi-level Indexing

Read More:- Indexing

Question 16:- What are the types of joins?


Joins are broadly categorized into types:-

  • Inner Join
  • Outer Join

Read More:- Joins

Question 17:- What is memory management?


Memory management is the process of handling all memory-related operations in the primary and secondary memory of an operating system. It handles the memory when multiple resources are using the memory.

Read More:- Memory Management

Question 18:- Write a program for bubble sort.

Question 19:- Write a program for the Fibonacci series.

Question 20:- Write a program for string reversal.

Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others

Checkout list of all the video courses in PrepInsta Prime Subscription

Checkout list of all the video courses in PrepInsta Prime Subscription