i
Cognizant
Filter interviews by
DELETE removes specific rows; TRUNCATE removes all rows quickly without logging individual row deletions.
DELETE can remove specific rows based on a condition (e.g., DELETE FROM table WHERE id = 1).
TRUNCATE removes all rows in a table without conditions (e.g., TRUNCATE TABLE table).
DELETE is slower as it logs each row deletion; TRUNCATE is faster as it doesn't log individual deletions.
DELETE can be rolled back if u...
The self keyword in Python refers to the instance of the class, allowing access to its attributes and methods.
Used in instance methods to refer to the object itself.
Allows access to instance variables: e.g., self.name = 'John'.
Distinguishes between instance variables and local variables.
Required as the first parameter in instance methods: def method(self):.
Enables method chaining: self.method1().method2().
OOPs (Object-Oriented Programming) is a programming paradigm based on objects and classes, promoting code reusability and modularity.
Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).
Inheritance: Mechanism to create a new class from an existing class, inheriting its properties (e.g., a 'Dog' class inheriting from an 'Animal' class).
Polymorphism: Ability to present th...
Reversing a string involves rearranging its characters in the opposite order, which can be done using various programming techniques.
Use built-in functions: In Python, use 'string[::-1]' to reverse a string. Example: 'hello' becomes 'olleh'.
Iterative approach: Loop through the string from the end to the beginning and build a new string. Example: 'world' becomes 'dlrow'.
Recursive method: Define a function that call...
What people are saying about Cognizant
To find the greatest number in an array, iterate through the elements and compare each to determine the maximum value.
Initialize a variable to hold the maximum value, starting with the first element of the array.
Loop through each element of the array, comparing it to the current maximum.
If an element is greater than the current maximum, update the maximum variable.
Return the maximum value after completing the loop...
An Armstrong number is a number that is equal to the sum of its own digits raised to the power of the number of digits.
An example of a 3-digit Armstrong number is 153: 1^3 + 5^3 + 3^3 = 153.
Another example is 9474: 9^4 + 4^4 + 7^4 + 4^4 = 9474.
Armstrong numbers can be found in any number of digits, e.g., 0-9 are all Armstrong numbers.
To check if a number is an Armstrong number, convert it to a string to count digi...
Factorial code calculates the product of all positive integers up to a given number.
Use a loop to multiply all positive integers up to the given number
Handle edge cases like 0 and negative numbers
Example: Factorial of 5 is 5*4*3*2*1 = 120
Code to check if a string is a palindrome or not
Create a function that takes a string as input
Reverse the string and compare it with the original string
If they are the same, return true; otherwise, return false
Tables store data in a structured format, while views are virtual tables that display data from one or more tables.
Tables store actual data, while views store queries that display data
Tables can be modified directly, while views are read-only
Views can simplify complex queries by combining data from multiple tables
Tables are physical structures, while views are logical structures
Find the 3rd largest odd number in an array of strings.
Convert the array of strings to an array of integers.
Filter out the odd numbers from the array.
Sort the odd numbers in descending order.
Return the 3rd element from the sorted array.
I appeared for an interview in Jan 2025, where I was asked the following questions.
Absolutely, I'm open to relocating for the right opportunity to advance my career and embrace new challenges.
I have previously relocated for a job, which helped me grow professionally and personally.
I believe that relocating can provide exposure to new cultures and work environments.
I'm flexible with relocation timelines and can adapt to new locations quickly.
I embrace new technologies as opportunities for growth, efficiency, and improved outcomes in my work.
I actively seek out training on new software and tools, such as learning advanced data analytics platforms to enhance project outcomes.
In my previous role, I adapted to a new project management tool, which improved team collaboration and project tracking.
I stay updated on industry trends by attending webinars and confer...
I applied via Campus Placement and was interviewed in Dec 2024. There were 3 interview rounds.
Normal aptitude questions
DSA SQL and html,css,js questions were there
I applied via Campus Placement and was interviewed in Oct 2024. There was 1 interview round.
Find the 3rd largest odd number in an array of strings.
Convert the array of strings to an array of integers.
Filter out the odd numbers from the array.
Sort the odd numbers in descending order.
Return the 3rd element from the sorted array.
Tables store data in a structured format, while views are virtual tables that display data from one or more tables.
Tables store actual data, while views store queries that display data
Tables can be modified directly, while views are read-only
Views can simplify complex queries by combining data from multiple tables
Tables are physical structures, while views are logical structures
I applied via Campus Placement and was interviewed in Sep 2024. There were 3 interview rounds.
It was a general aptitude test consisting all possible topics.
General simple competitive coding questions with multiple programming language options.
I am a passionate software engineer with a strong background in coding, problem-solving, and teamwork, eager to contribute to innovative projects.
Educational Background: Graduated with a degree in Computer Science from XYZ University, where I developed a solid foundation in programming languages.
Technical Skills: Proficient in Java, Python, and C++, with hands-on experience in developing web applications and mobile app...
I have worked on various projects including a mobile app for tracking fitness goals and a website for a local non-profit organization.
Developed a mobile app using React Native to help users track their fitness goals
Designed and built a website for a local non-profit organization using HTML, CSS, and JavaScript
Collaborated with a team to create a database management system for a small business
I applied via Campus Placement and was interviewed in Sep 2024. There were 3 interview rounds.
List is mutable and tuple is immutable in Python.
List can be modified after creation, tuple cannot
List uses square brackets [], tuple uses parentheses ()
List is used for collections of items that may change, tuple for fixed collections
Attempting to modify an immutable object will result in a compilation error or runtime exception.
Attempting to modify a string literal will result in a compilation error.
Trying to modify elements of an immutable list like ImmutableList in Java will throw an UnsupportedOperationException.
Modifying a frozen set in Python will raise a TypeError.
I applied via Campus Placement and was interviewed in Oct 2024. There were 3 interview rounds.
Very easy …basic aptitude topics were covered
Very easy, HTML, CSS and SQL and python
I am a passionate software engineer with a strong background in coding, problem-solving, and teamwork, eager to contribute to innovative projects.
Education: Completed a Bachelor's degree in Computer Science with a focus on software development.
Technical Skills: Proficient in languages like Java, Python, and C++, with experience in web development using HTML, CSS, and JavaScript.
Projects: Developed a mobile app for task...
Developed a web-based application for managing personal finances, focusing on budgeting and expense tracking.
User-friendly interface for easy navigation and data entry.
Features include budget creation, expense categorization, and financial goal setting.
Implemented data visualization tools like charts and graphs to track spending habits.
Utilized technologies such as React for frontend and Node.js for backend development...
I applied via Campus Placement and was interviewed in Dec 2024. There were 2 interview rounds.
Its was moderate , basic questions and can written based on the cluster
It was easy its an combination of aptitude and gaming questions
I appeared for an interview in Oct 2024.
An Armstrong number is a number that is equal to the sum of its own digits raised to the power of the number of digits.
An example of a 3-digit Armstrong number is 153: 1^3 + 5^3 + 3^3 = 153.
Another example is 9474: 9^4 + 4^4 + 7^4 + 4^4 = 9474.
Armstrong numbers can be found in any number of digits, e.g., 0-9 are all Armstrong numbers.
To check if a number is an Armstrong number, convert it to a string to count digits an...
Reasoning and encoding questions
Total 3 section are there 1 section is coding, 2 section is sql query, and 3 section is MCQ question in cloud
Communication assessment
I applied via Campus Placement and was interviewed in Oct 2024. There were 3 interview rounds.
Quantitive Aptitude, Analytical
Cluster- Python 2 Coding question, 2 SQL question, 10 networking mcq
The duration of Cognizant GenC interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 60 interview experiences
Difficulty level
Duration
based on 11 reviews
Rating in categories
Associate
73.1k
salaries
| ₹5.3 L/yr - ₹12.5 L/yr |
Programmer Analyst
56.1k
salaries
| ₹3.5 L/yr - ₹7.3 L/yr |
Senior Associate
55.2k
salaries
| ₹10.1 L/yr - ₹23.3 L/yr |
Senior Processing Executive
29.8k
salaries
| ₹2.3 L/yr - ₹6.5 L/yr |
Technical Lead
19k
salaries
| ₹6 L/yr - ₹21.5 L/yr |
TCS
Infosys
Wipro
Accenture