MockMate

Interview questions · Company interviews

Cognizant GenC Next Interview Questions 2026: Coding, SQL, Web Task and HR

Cognizant GenC vs GenC Next vs GenC Elevate explained for 2026, the GenC Next assessment (coding, SQL, MCQs, web task), the interview, and 30 questions with answers.

Updated 12 min read

This page is for 2025 and 2026 batch engineering and MCA students who have registered for Cognizant's GenC Next track, or who are deciding between GenC, GenC Elevate and GenC Next. It explains how the three tracks differ, what the GenC Next assessment contains, what the technical and HR interviews ask, and gives 30 questions with model answers.

GenC Next is the track people aim for because of the package, and it is also the one where the assessment does most of the filtering. The interview is broader than TCS or Infosys: expect SQL and web fundamentals alongside coding, because the assessment tested them.

How the Cognizant GenC process works in 2026

As of September 2026, Cognizant's careers site describes GenC as its campus-to-career programme with role-based skilling and a fast-track Digital Honors Program, and says recruiters contact placement officers (campus) or candidates by email (off-campus). It does not publish the assessment pattern or CTC. The details below come from official pages plus 2026 placement-site reporting.

Eligibility. BE, B.Tech, ME, M.Tech, MCA or M.Sc in computer-related streams; a minimum of 60% (some drives state 6.5 CGPA) in Class 10, Class 12 and degree; no standing arrears at joining; an education gap of at most two years; Indian citizens or OCI and PIO card holders. Graduates with three-year degrees (BCA, B.Sc, BA, B.Com, BBA) are hired through a separate posting. Placement sites report Cognizant planning roughly 25,000 fresher hires for the FY26 to FY27 cycle.

The three tracks.

TrackAssessmentRolePackage (candidate-reported, 2026)
GenCCommunication assessment (SVAR spoken English), aptitude and gamified round, technical assessmentProgrammer Analyst TraineeAbout ₹4 LPA
GenC ElevateGenC stages plus a skill assessment: three Java coding problems (60 minutes) and two SQL questions (30 minutes)Programmer Analyst TraineeAbout ₹4.75 to 5.4 LPA including skill bonus
GenC NextFull assessment: two coding problems, two SQL questions, ten technical MCQs and a web development task, about 120 minutesProgrammer AnalystAbout ₹6.75 LPA; placement sites report higher offers for top performers

Unstop also lists a GenC Pro tier at about ₹5.4 LPA. Cognizant does not publish any of these figures.

Order of stages. Communication assessment, aptitude and gamified round, technical assessment (the Automata coding round for GenC, the fuller skill assessment for Elevate and Next), then the interviews. In the 2026 campus cycle Unstop reported registration opening late February with assessments through March and in-person technical interviews from late March, but dates differ by campus and off-campus drives run on their own calendar.

The interviews. A technical interview of about 30 to 45 minutes covering your coding-assessment solutions, OOP, DBMS and SQL, web basics, your project, and for GenC Next often cloud or DevOps basics. Then an HR interview of similar length: motivation, relocation, shifts, service agreement, other offers. Some drives merge them into one panel.

Track decision. Placement sites are consistent that the final track is decided by assessment and interview performance, so a GenC Next applicant can be offered Elevate or GenC instead.

What GenC Next interviewers are testing

  • Whether the assessment was really you. Expect to explain your coding-test approach and your SQL answers.
  • Breadth across the stack. OOP, SQL, HTML, CSS, JavaScript basics, HTTP, and a little cloud, because GenC Next joiners go into full-stack and digital engineering teams.
  • One project in depth. Architecture, database design, APIs, your role, bugs, outcome.
  • Spoken clarity. The SVAR test already filtered for it; the panel confirms.
  • Flexibility and commitment. Relocation across Cognizant's Indian centres, shifts, the service agreement, other offers.

30 Cognizant GenC Next interview questions with model answers

Coding and problem solving

1. Walk me through one of the coding problems you solved in the assessment.

"The second problem was to find the longest substring without repeating characters. I used a sliding window with a hash map of last-seen indices; when a repeat appears inside the window I move the left edge past its previous position. O(n) time, O(k) space for the character set. I tested it on 'abcabcbb' and an empty string." Be ready to write it again.

2. Write a Python function to reverse a string without built-in functions.

"Two pointers on a list of characters, swap and move inward, then join. O(n) time. I would check for empty input. In an interview I would also mention that slicing s[::-1] is the idiomatic way, but you asked for no built-ins." Then write it.

3. Implement a stack using an array. What are the edge cases?

"An array with a top index starting at -1. push increments top and writes; pop reads and decrements. Edge cases: pop on empty, push on full for a fixed array, and negative sizes. I would raise an exception rather than return a sentinel value."

4. What is Big O notation? Compare two ways to find duplicates in an array.

"It describes how running time grows with input. Nested loops comparing every pair is O(n squared); a hash set that stores seen values and checks membership is O(n) time with O(n) space. For a million records the second finishes in milliseconds; the first does not."

5. Explain recursion with an example and one risk.

"A function calling itself on smaller input until a base case. Factorial: fact(n) equals n times fact(n minus 1), fact(0) equals 1. The risk is stack overflow when depth is large or the base case is missing, so for Fibonacci I would use iteration or memoisation."

6. Difference between method overloading and overriding, with a Java example.

"Overloading: same name, different parameters, same class, resolved at compile time; add(int, int) and add(double, double). Overriding: a subclass redefines a parent method with the same signature, resolved at runtime; toString(). Overriding is how polymorphism works."

7. What is garbage collection in Java, and can you force it?

"The JVM automatically frees objects that are no longer reachable. System.gc() is only a request; the JVM may ignore it. Understanding it matters when a long-running job holds references it no longer needs, which causes memory to grow."

SQL and databases

8. Write a query to find duplicate records in a table.

"SELECT email, COUNT() FROM users GROUP BY email HAVING COUNT() > 1. To see the full rows, join back on email or use a window: ROW_NUMBER() OVER (PARTITION BY email ORDER BY id) and filter where the row number is greater than 1, which also gives me the rows to delete."

9. Difference between primary key and unique key?

"Both enforce uniqueness. A primary key cannot be null and there is one per table; a unique key allows a null in most databases and a table can have several. In my project User.id was the primary key and User.email a unique key."

10. Explain normalisation and its benefits.

"Organising tables to remove redundancy: atomic values in 1NF, full dependency on the key in 2NF, no transitive dependency in 3NF. The benefit is that data does not go out of sync; if a customer's city is stored in every order row, moving the customer means updating hundreds of rows."

11. What are ACID properties?

"Atomicity: all or nothing. Consistency: valid state to valid state. Isolation: concurrent transactions do not see each other's partial work. Durability: committed data survives a crash. A payment that debits a wallet and creates an order must be atomic."

12. Write a query for the second-highest salary and handle ties.

"SELECT salary FROM (SELECT salary, DENSE_RANK() OVER (ORDER BY salary DESC) AS r FROM employee) t WHERE r = 2. DENSE_RANK handles ties; the MAX-less-than-MAX approach also works but returns null if there is only one distinct salary."

13. What is a stored procedure, and when would you use one?

"Precompiled SQL logic stored in the database, called by name with parameters. Useful for multi-step operations that must run close to the data, like month-end aggregation, and for enforcing a single code path for a sensitive update. I would avoid putting business rules that change often inside procedures."

Web development

14. Describe the web development task in your assessment and how you approached it.

Be specific about what you built. "I had to build a form with client-side validation. I wrote semantic HTML, styled it with CSS Flexbox, and validated required fields and email format in JavaScript on submit, showing inline errors. I tested it with empty input and a bad email." If you did not finish, say what you completed and what was left.

15. Write a JavaScript function to validate an email address.

"A simple regex like ^[^\s@]+@[^\s@]+.[^\s@]+$ catches most cases, and I would also check the length. I would say that full RFC validation is complex, so the real check is sending a verification email."

16. What is the difference between let, const and var?

"var is function-scoped and hoisted, which causes surprises in loops; let is block-scoped and reassignable; const is block-scoped and cannot be reassigned, though its object contents can change. I default to const and use let only when I need reassignment."

17. What is a closure? Give a practical use.

"A function that remembers variables from the scope it was created in. Practical use: a counter factory where the count is private, or debouncing a search box so the API is called only after the user stops typing."

18. How does a REST API work, and what status codes should a create endpoint return?

"Resources exposed by URL, actions by HTTP method: GET reads, POST creates, PUT updates, DELETE removes. A create should return 201 with the new resource, 400 for a bad request, 409 for a conflict like a duplicate email, and 500 only for unexpected errors."

19. How would you make a page responsive?

"Use a fluid layout with Flexbox or Grid, relative units, max-width on images, and media queries for breakpoints. Test on a phone width first, then widen. I would avoid fixed pixel widths on containers."

Cloud, OS and networks

20. Difference between IaaS, PaaS and SaaS?

"IaaS: virtual machines and storage you manage, like AWS EC2. PaaS: a managed platform, like a hosted database or app service. SaaS: a finished application, like Gmail. Cognizant does a lot of cloud migration, so I have started with AWS basics."

21. What is the difference between a process and a thread?

"A process has its own memory; threads share the memory of their process and are cheaper to create and switch. A web server uses threads per request. Shared memory means shared data needs locks to avoid race conditions."

22. TCP versus UDP?

"TCP is reliable, ordered and connection-oriented; UDP is connectionless and faster with no delivery guarantee. Web and email use TCP; video calls, DNS and gaming use UDP where a late packet is worse than a lost one."

23. What is CI/CD and where does Jenkins fit?

"Continuous integration merges and tests code frequently; continuous delivery deploys it automatically to an environment. Jenkins runs the pipeline: build, test, package, deploy, on every push. My project used GitHub Actions for the same idea on a smaller scale."

Project and HR

24. Explain your project in detail: architecture, database, APIs, your role.

Two minutes: problem, layers, schema highlights, three key endpoints, your exact part, one bug, one result. The project explanation guide has a script. GenC Next panels go deep here, so rehearse the follow-ups.

25. Describe a technical challenge and how you resolved it.

STAR with a real bug. "Users double-clicking submit created duplicate orders. I found it in the timestamps, added a unique constraint and disabled the button after the first click. It taught me to design for impatient users."

26. Tell me about yourself.

Under ninety seconds: name, place, degree and college with CGPA, one project, one skill, why Cognizant. Guide: tell me about yourself.

27. Why Cognizant, and why GenC Next specifically?

"Cognizant's digital engineering work is full-stack, which is what I have been building towards, and GenC Next puts me directly into a Programmer Analyst role rather than a trainee one. The Digital Honors Program shows there is a fast track for people who perform." Add one honest personal reason.

28. Are you willing to relocate and work night shifts? Would you accept a different track if offered?

"Yes to relocation to any Cognizant centre in India, yes to shifts, and yes, I would accept GenC or Elevate if that is the offer, while working towards the higher track internally." A no on the last part reads as an attrition risk.

29. Do you have other offers? Any backlogs or gaps?

Facts that match your documents. "One offer from Wipro Elite. No active backlogs; one backlog in third semester cleared in the next attempt. No gap." Mismatches at verification end the process.

30. Do you have any questions for us?

"What does the GenC Next training look like before project allocation, and which practices do GenC Next joiners usually go to?" and "How does the Digital Honors Program select people?" Two questions, then thank the panel. See also why should we hire you for the closing pitch.

Mistakes that get freshers rejected at Cognizant GenC Next

  • Failing the SVAR communication test by mumbling or pausing; it is a filter, not a formality.
  • Not being able to re-explain your own assessment code. Panels assume the worst.
  • Preparing only coding. GenC Next panels ask SQL and web questions because the assessment did.
  • A project you cannot defend at the database and API level.
  • Refusing relocation or shifts, or refusing a lower track in a way that sounds like you will leave.
  • Document mismatches on backlogs, gaps or percentages.

How to practise for GenC Next

The assessment needs timed coding and SQL drills. The interview needs spoken practice across coding, SQL, web and HR, which is a wider spread than most freshers rehearse.

In MockMate Practice, attach your resume and paste the GenC Next role text, pick a technical round and run a ten-minute adaptive session in the browser; the interviewer persona follows up on your project and the technical round includes a code editor for the reverse-a-string and duplicate-records type questions. Run a second ten-minute HR round for relocation, shifts, track flexibility and "why Cognizant". Each session ends with a report showing every answer, response timing, recurring weaknesses and a recommended next practice. Eligible accounts get three free Practice starts of up to ten minutes each. Use MockMate Live assistance only in interviews or meetings where the organisation or interviewer permits it; when permission is unclear, which is the case for Cognizant assessments and interviews, stay with Practice.

Compare the process with the TCS, Infosys and Accenture pages if you are sitting several drives in the same month; company-mapped sessions are at /mock-interview.

Frequently asked questions

What is the difference between GenC, GenC Elevate and GenC Next?

They are Cognizant's fresher tracks from the same campus cycle. GenC is the base Programmer Analyst Trainee track. GenC Elevate adds a coding and SQL skill assessment. GenC Next has the fullest assessment (coding, SQL, technical MCQs and a web development task) and the highest package, with a Programmer Analyst designation. Placement sites report about ₹4 LPA for GenC, ₹4.75 to 5.4 LPA for Elevate and Pro, and ₹6.75 LPA for GenC Next as of 2026; Cognizant does not publish these.

What is in the GenC Next assessment?

Placement sites describe two coding problems, two SQL questions, ten technical MCQs and a web development task in about 120 minutes. Languages usually include Java, Python, C++ and JavaScript. Check the invitation for your drive; formats change between cycles.

How many interview rounds does GenC Next have?

After the assessments, a technical interview of about 30 to 45 minutes and an HR interview of similar length, sometimes merged into one panel.

Can I get downgraded from GenC Next to GenC?

Yes. Candidates report that the track is decided by assessment and interview performance, so someone who applied for GenC Next can receive a GenC or Elevate offer instead.

Is there a service agreement for GenC Next?

HR often raises a service agreement in the interview, and placement sites list a bond discussion as a standard HR topic. The exact terms are in the offer letter, not on the public careers page. Read it before you sign.

Practice a Cognizant GenC Next interview with MockMate

Three free Practice starts and three free Live starts of up to ten minutes each, no card needed. Use Live only where assistance is permitted.

Start free

Sources

  1. Generation Cognizant (GenC) Program (official)
  2. Cognizant India: how we hire (official)
  3. Cognizant GenC hiring process 2026 (Unstop)
  4. Cognizant GenC 2026: GenC Next and Elevate pattern and salary (Freshers Hunt)
  5. Cognizant GenC Elevate recruitment process (Placement Preparation)
  6. Cognizant GenC Next sample interview questions (Placement Preparation)

Keep reading