Add office photos
Employer?
Claim Account for FREE

CTS INFOTECH

3.9
based on 48 Reviews
Filter interviews by

Cognizant Interview Questions and Answers

Updated 8 Aug 2024

Q1. List tuples c puthom

Ans.

The question is asking for a list of tuples containing the letter 'c' and the word 'puthom'.

  • A tuple is a data structure that contains a sequence of elements.

  • The tuples should contain the letter 'c' and the word 'puthom'.

  • Example: ('c', 'puthom')

Add your answer

Q2. Types of testing

Ans.

Types of testing include functional testing, non-functional testing, manual testing, automated testing, regression testing, and performance testing.

  • Functional testing focuses on verifying that the software functions correctly according to the specified requirements.

  • Non-functional testing includes aspects like performance, usability, security, and compatibility testing.

  • Manual testing involves testers executing test cases manually without the use of automation tools.

  • Automated t...read more

Add your answer

Q3. Difference between smoke and regression testing

Ans.

Smoke testing is a quick test to check if the basic functionalities of the software are working, while regression testing is a comprehensive test to ensure that new code changes have not affected existing functionalities.

  • Smoke testing is done to check if the build is stable enough for further testing, while regression testing is done to ensure that new code changes have not introduced any new bugs.

  • Smoke testing is usually a subset of regression testing, focusing on critical f...read more

Add your answer

Q4. Difference between test case and scenario

Ans.

Test case is a detailed step-by-step procedure to test a specific functionality, while scenario is a sequence of steps to test a specific user flow.

  • Test case is specific to a particular functionality or feature

  • Scenario is a sequence of steps to test a user flow

  • Test case includes preconditions, steps, expected results, and postconditions

  • Scenario may include multiple test cases

  • Example: Test case - Verify login functionality with valid credentials; Scenario - User registration f...read more

Add your answer
Discover Cognizant interview dos and don'ts from real experiences

Q5. Difference between get text and get attributes

Ans.

Get text retrieves the visible text of an element, while get attributes retrieves the specified attribute value of an element.

  • Get text retrieves the visible text displayed on the webpage, while get attributes retrieves the specified attribute value like 'href' or 'class'.

  • Get text is used to verify the text content of an element, while get attributes is used to verify specific attributes of an element.

  • Example: Using get text to verify the text of a button element, and using ge...read more

Add your answer

Q6. Why main method is static?

Ans.

Main method is static because it belongs to the class itself, not to any specific instance of the class.

  • Main method is the entry point of a Java program and needs to be called by the JVM without creating an object of the class.

  • Static methods can be called without creating an instance of the class, making main method static allows it to be called directly by the JVM.

  • Having main method as static ensures that it can be accessed without the need for an object of the class to be c...read more

Add your answer

More about working at CTS INFOTECH

HQ - Kochi,Kerala, India
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Cognizant

based on 17 interviews
Interview experience
3.5
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.7
 • 6.3k Interview Questions
3.5
 • 346 Interview Questions
4.1
 • 256 Interview Questions
3.6
 • 190 Interview Questions
3.8
 • 143 Interview Questions
3.8
 • 136 Interview Questions
View all
Top CTS INFOTECH Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter