Cognizant GenC Recruitment Assessment — Questions and Answers
Question 1: What is the maximum number of nodes in a binary tree of height h?
- 2^(h+1) − 1 (Correct answer)
- 2h
- h²
- 2h − 1
Correct answer: 2^(h+1) − 1
A full binary tree of height h has 2^(h+1) − 1 nodes when every level is completely filled.
Question 2: A bar graph shows product returns: Jan=40, Feb=55, Mar=35, Apr=70. What is the percentage increase from Mar to Apr?
- 200%
- 100% (Correct answer)
- 75%
- 50%
Correct answer: 100%
Percentage increase = (70−35)/35 × 100 = 35/35 × 100 = 100%.
Question 3: Which methodology uses the Plan-Do-Study-Act cycle?
- Lean Manufacturing exclusively
- Continuous Quality Improvement (CQI) (Correct answer)
- Statistical Process Control only
- Root Cause Elimination
Correct answer: Continuous Quality Improvement (CQI)
The PDSA cycle is a cornerstone of CQI methodology, providing a structured approach to testing and implementing changes.
Question 4: During summative evaluation of a Cognizant learning program, which data source provides the STRONGEST evidence of training impact?
- Number of employees who attended training
- Post-training satisfaction surveys
- Pre/post knowledge test comparison with a control group (Correct answer)
- Facilitator self-assessment reports
Correct answer: Pre/post knowledge test comparison with a control group
Pre/post comparisons with a control group isolate the effect of training on knowledge gain by controlling for other variables.
Question 5: In a frequency table, Class A: 0–10 has frequency 5, 10–20 has frequency 12, 20–30 has frequency 8. What is the modal class?
- 10–20 (Correct answer)
- All equal
- 20–30
- 0–10
Correct answer: 10–20
The modal class is the interval with the highest frequency; 10–20 has frequency 12, the highest.
Question 6: In the Capability Maturity Model Integration (CMMI), what does Level 3 'Defined' mean?
- Processes are documented, standardized, and integrated into a standard process for the organization (Correct answer)
- Processes are optimized through continuous improvement
- Processes are unpredictable and poorly controlled
- Processes are managed based on quantitative metrics
Correct answer: Processes are documented, standardized, and integrated into a standard process for the organization
CMMI Level 3 (Defined) means the organization has established and consistently uses documented standard processes.
Question 7: In Agile documentation, which principle applies MOST directly?
- Comprehensive documentation over working software
- All documentation must be completed before development begins
- Just enough documentation to serve its immediate purpose (Correct answer)
- Documentation is the primary measure of project progress
Correct answer: Just enough documentation to serve its immediate purpose
Agile values working software over comprehensive documentation, so documentation should be lean — just enough to enable communication and future maintenance.
Question 8: What is the primary ethical concern with using AI-generated content in client deliverables without disclosure?
- It may misrepresent the effort and expertise provided, potentially misleading the client (Correct answer)
- AI tools are banned by all major technology companies including Cognizant
- AI tools are always less accurate than human-written content, so quality suffers
- There are no ethical concerns as long as the final output quality meets standards
Correct answer: It may misrepresent the effort and expertise provided, potentially misleading the client
Transparency about the use of AI tools in deliverables is an ethical obligation to ensure clients can make informed assessments of the work.
Question 9: What is 'Test Coverage' in software quality assurance?
- The degree to which test cases exercise the source code or requirements (Correct answer)
- The total number of defects found during testing
- The time allocated for testing in the project schedule
- The number of testers assigned to a project
Correct answer: The degree to which test cases exercise the source code or requirements
Test coverage measures how much of the code or requirements are exercised by the existing test suite.
Question 10: What is denormalization in databases?
- Removing all foreign keys from a table
- Splitting a large table into smaller normalized tables
- The process of converting a database to the first normal form
- Intentionally introducing redundancy to improve read performance (Correct answer)
Correct answer: Intentionally introducing redundancy to improve read performance
Denormalization intentionally adds redundancy to a normalized database to reduce complex joins and improve read query performance.
Question 11: In agile methodology, what is a 'sprint'?
- A final release of software
- A daily standup meeting
- A fixed-length iteration during which a defined set of work is completed (Correct answer)
- A performance testing phase
Correct answer: A fixed-length iteration during which a defined set of work is completed
A sprint is a time-boxed iteration (typically 1–4 weeks) in Scrum where the team completes a set of planned backlog items.
Question 12: During a sprint retrospective, team members are reluctant to raise issues. What is the BEST facilitation approach?
- Have the manager list problems on behalf of the team
- Use anonymous written feedback before open discussion (Correct answer)
- Skip the retrospective and move to planning
- Limit the session to positive observations only
Correct answer: Use anonymous written feedback before open discussion
Anonymous feedback lowers psychological barriers, making team members more willing to surface real problems before group discussion.
Question 13: What is the average time complexity for searching in a hash table?
- O(1) (Correct answer)
- O(log n)
- O(n)
- O(n log n)
Correct answer: O(1)
With a good hash function and low load factor, hash table lookups are O(1) on average.
Question 14: What is the purpose of a constructor in object-oriented programming?
- To initialize an object when it is created (Correct answer)
- To define static class methods
- To override inherited methods
- To destroy an object after use
Correct answer: To initialize an object when it is created
A constructor is a special method automatically called when an object is instantiated to set initial values for its attributes.
Question 15: In a graph with V vertices and E edges, what is the space complexity of an adjacency list?
- O(V + E) (Correct answer)
- O(E)
- O(V × E)
- O(V)
Correct answer: O(V + E)
An adjacency list stores each vertex once and each edge once (or twice for undirected), giving O(V + E) space.
Question 16: Which type of index physically reorders the table data to match the index?
- Composite index
- Non-clustered index
- Clustered index (Correct answer)
- Unique index
Correct answer: Clustered index
A clustered index determines the physical order of data in a table, so each table can have only one clustered index.
Question 17: What is the purpose of continuing education requirements for maintaining licensure?
- To reduce the number of licensed professionals
- To make relicensure as difficult as possible
- To generate revenue for course providers
- To ensure professionals stay current with evolving knowledge and practices (Correct answer)
Correct answer: To ensure professionals stay current with evolving knowledge and practices
Continuing education ensures professionals maintain competency and stay updated on advances in their field.
Question 18: Choose the correctly spelled word:
- Acomodate
- Acommodate
- Accommodate (Correct answer)
- Accomodate
Correct answer: Accommodate
The correct spelling is 'Accommodate' with double 'c' and double 'm'.
Question 19: Which design pattern ensures only one instance of a class is created?
- Observer
- Decorator
- Factory
- Singleton (Correct answer)
Correct answer: Singleton
The Singleton pattern restricts instantiation to a single object and provides a global access point to that instance.
Question 20: Which type of chart is BEST suited to illustrate task timelines and dependencies in a project?
- Bar chart
- Histogram
- Gantt chart (Correct answer)
- Scatter plot
Correct answer: Gantt chart
Gantt charts show tasks on a timeline and can represent dependencies between tasks, making them the standard project planning visualization.
Question 21: A change request document (CRD) is used PRIMARILY to:
- Formally capture and evaluate proposed changes to scope, timeline, or budget (Correct answer)
- Assign blame for project delays
- Log daily team activities and updates
- Replace the original project plan entirely
Correct answer: Formally capture and evaluate proposed changes to scope, timeline, or budget
A CRD formally documents a proposed change, its rationale, impact analysis, and approval status so teams can manage scope changes in a controlled way.
Question 22: What is the importance of maintaining professional boundaries?
- Boundaries reduce effectiveness by creating distance
- Only new professionals need to worry about boundaries
- Boundaries are only important in healthcare settings
- Clear boundaries protect both the professional and the client relationship (Correct answer)
Correct answer: Clear boundaries protect both the professional and the client relationship
Professional boundaries maintain the integrity of the professional-client relationship and protect all parties.
Question 23: Cognizant's Conflict of Interest policy requires associates to disclose a situation where:
- An associate disagrees with their manager's decision
- An associate has more than one client project at a time
- A family member works at a competitor company
- An associate's personal financial interest could improperly influence their business decisions for Cognizant (Correct answer)
Correct answer: An associate's personal financial interest could improperly influence their business decisions for Cognizant
A conflict of interest arises when personal financial or other interests could compromise an associate's objective judgment in performing their duties.
Question 24: All managers are leaders. Some leaders are coaches. Which conclusion is definitely true?
- No manager is a coach
- Some managers are coaches (Correct answer)
- All managers are coaches
- All coaches are managers
Correct answer: Some managers are coaches
Since some leaders are coaches and all managers are leaders, it is possible (but not certain) that some managers are coaches — 'some managers are coaches' can be concluded as possibly true, but the only guaranteed valid conclusion from these premises is that some leaders (possibly managers) are coaches; however, among standard syllogism options, 'some managers are coaches' follows as a valid possibility.
Question 25: What role does reflection play in professional practice?
- It enables learning from experience and continuous improvement (Correct answer)
- Reflection wastes time that should be spent working
- Only new professionals need to reflect on their practice
- Reflection is the same as self-criticism
Correct answer: It enables learning from experience and continuous improvement
Reflective practice helps professionals learn from experiences, identify areas for growth, and continuously improve.
Question 26: Which of the following BEST describes 'active listening' in a professional context?
- Taking detailed notes without making eye contact
- Paraphrasing, asking clarifying questions, and giving feedback (Correct answer)
- Waiting for the speaker to pause before presenting your view
- Nodding and staying silent until the speaker finishes
Correct answer: Paraphrasing, asking clarifying questions, and giving feedback
Active listening involves engaging with the speaker through paraphrasing, clarifying questions, and verbal/non-verbal feedback to confirm understanding.
Question 27: Which evaluation strategy is MOST aligned with continuous improvement in Cognizant's agile project teams?
- Annual year-end performance reviews only
- Quarterly manager-only evaluations
- Retrospective-based assessments at each sprint end (Correct answer)
- Single midyear peer review
Correct answer: Retrospective-based assessments at each sprint end
Sprint retrospectives provide frequent, timely feedback loops that support ongoing performance improvement in agile environments.
Question 28: Which isolation level prevents dirty reads but allows non-repeatable reads?
- Read Uncommitted
- Repeatable Read
- Read Committed (Correct answer)
- Serializable
Correct answer: Read Committed
Read Committed ensures a transaction only reads committed data (preventing dirty reads) but allows another transaction to modify data between reads, causing non-repeatable reads.
Question 29: Series: 2, 6, 12, 20, 30, __. What is the next number?
- 42 (Correct answer)
- 40
- 44
- 38
Correct answer: 42
The differences are 4, 6, 8, 10, 12 — the next term is 30 + 12 = 42.
Question 30: Which of the following best defines a primary key in a relational database?
- A unique identifier for each record in a table (Correct answer)
- A column that can contain NULL values
- A key used only for sorting records
- A key that references another table
Correct answer: A unique identifier for each record in a table
A primary key uniquely identifies each record in a table and cannot contain NULL values.
Cognizant GenC Recruitment Assessment
The Cognizant GenC Recruitment Assessment evaluates freshers for entry-level engineering roles at Cognizant Technology Solutions, testing aptitude across numerical ability, verbal ability, and logical reasoning with no negative marking.
Exam Rules
- You can skip questions and return to them later
- Flag questions for review before submitting
- No feedback shown until you submit the entire exam
- Unanswered questions count as wrong — answer everything
- 10 pretest questions are mixed in and don't affect your score
- Timer auto-submits when time runs out
- Your progress is auto-saved every 30 seconds