i
Cognizant
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Clear (1)
Deleting duplicate rows in SQL
Use the DISTINCT keyword in SELECT statement to retrieve unique rows
Use GROUP BY clause to group rows with same values and then use aggregate functions to select one row
Use the ROW_NUMBER() function to assign a unique number to each row and then delete the rows with duplicate numbers
To remove header and trailer from a sequential data file in Datastage.
Use Sequential File stage in Datastage.
Set the 'Skip Rows' property to the number of header rows to be skipped.
Set the 'Trailer Rows' property to the number of trailer rows to be skipped.
Use a Transformer stage to remove any remaining header or trailer rows.
Use the 'Remove' function in the Transformer stage to remove the rows.
To kill a job in Datastage
Stop the job manually from the Director client
Terminate the job from the command line using the dsjob command
Kill the job process from the operating system level
Delete the job from the Datastage repository
To find process id in Linux, use the command 'ps -aux | grep
Open the terminal
Type 'ps -aux' to list all running processes
Use 'grep
The process id (PID) will be listed in the second column
SQL queries with window functions
Window functions perform calculations across a set of rows that are related to the current row
Common window functions include ROW_NUMBER, RANK, DENSE_RANK, and NTILE
Window functions are used with the OVER() clause to define the window or subset of rows to perform the calculation on
SORT BY, ORDER BY, CLUSTER BY, and DISTRIBUTE BY are SQL clauses used for data sorting and partitioning.
SORT BY is used to sort the result set in ascending or descending order based on one or more columns.
ORDER BY is used to sort the result set in ascending or descending order based on one or more columns. It is similar to SORT BY but can be used with other clauses like LIMIT and OFFSET.
CLUSTER BY is used to group data...
Small file problem refers to the issue of having a large number of small files in a storage system.
Small files can cause inefficiencies in storage and processing.
Solutions include consolidating small files into larger ones or using a different storage system.
Examples include Hadoop's SequenceFile format and Amazon S3's object size optimization.
RDS, VA, DF, VS, and DS are all acronyms related to data engineering.
RDS stands for Relational Database Service, a managed database service by AWS.
VA stands for Virtual Assistant, a software program that can assist with tasks.
DF stands for Dataflow, a managed service by Google Cloud for data processing.
VS stands for Virtual Server, a server that runs on a virtual machine.
DS stands for Datastore, a NoSQL document databa
I applied via Recruitment Consultant and was interviewed in Sep 2021. There were 3 interview rounds.
What people are saying about Cognizant
I applied via Recruitment Consultant and was interviewed before Jun 2020. There were 4 interview rounds.
Reading data from a .log file and extracting columns with a specific regex.
Use Python's built-in 're' module to define the regex pattern.
Open the .log file using Python's 'open' function.
Iterate through each line of the file and extract the desired columns using the regex pattern.
Store the extracted data in a data structure such as a list or dictionary.
Optimizations for data engineering
Use indexing to speed up queries
Partition data to improve query performance
Use caching to reduce data retrieval time
Optimize data storage format for faster processing
Use parallel processing to speed up data processing
Optimize network bandwidth usage
Use compression to reduce storage and network usage
Answering how to read JSON in Python.
Use the json module to load and parse JSON data
Use the json.loads() method to load JSON data from a string
Use the json.load() method to load JSON data from a file
Access JSON data using keys or indexes
Use the json.dumps() method to convert Python objects to JSON strings
Pyspark configs
Pyspark configs are used to configure the behavior of a Pyspark application.
They can be set using SparkConf object or spark-submit command.
Examples include setting the number of executors, memory allocation, and log level.
Cognizant interview questions for designations
Yes, I can remove all the pcs from the lab and keep them in another lab right now.
Ensure all the necessary equipment and tools are available for the move
Coordinate with the lab staff to ensure a smooth transition
Label and document each PC for easy identification and setup in the new lab
Ensure proper packaging and handling to prevent any damage during the move
Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.
The first two numbers of the series are always 0 and 1
The next number is the sum of the previous two numbers
The series goes on infinitely: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ...
Pseudo code: 1. Initialize variables a=0, b=1, c=0 2. Print a and b 3. Repeat steps 4-6 until desired number of terms 4. c=a+b 5. Pr
Algorithm for matrix multiplication
Create a result matrix with dimensions of the two input matrices
Iterate through each row and column of the result matrix
For each element in the result matrix, multiply corresponding row in first matrix with corresponding column in second matrix
Add the products obtained in the previous step to get the final value for the element
I worked on a project that involved sentiment analysis of customer reviews using Naive Bayes algorithm.
The project involved collecting customer reviews from various sources.
Preprocessing the data by removing stop words, stemming, and tokenizing.
Used Naive Bayes algorithm for sentiment analysis.
The algorithm was chosen because of its simplicity and effectiveness in text classification tasks.
The accuracy of the model was
Developed a web-based project management system for a construction company.
Used PHP and MySQL for backend development
Implemented user authentication and authorization
Designed a responsive UI using Bootstrap
Integrated Google Maps API for location tracking
Enabled file uploads and downloads for project documents
EXTC and IT are not mutually exclusive fields. My knowledge in EXTC complements my skills in IT.
My knowledge in EXTC gives me a strong foundation in electronics and communication, which are essential in the IT industry.
I have also gained programming skills through my coursework and projects in EXTC.
IT is a rapidly growing field with a lot of opportunities, and I believe my skills and knowledge make me a strong candidat...
Yes, I am open to relocation for the right opportunity.
I am willing to relocate for a position that aligns with my career goals
I am excited about the prospect of exploring a new city and culture
I am flexible and adaptable to new environments
I am familiar with several programming languages.
Java
Python
C++
JavaScript
SQL
A leader inspires and motivates while a manager plans and organizes.
Leaders focus on the big picture while managers focus on details
Leaders lead by example while managers delegate tasks
Leaders inspire and motivate while managers enforce rules and policies
Leaders are visionaries while managers are implementers
Examples of leaders: Steve Jobs, Martin Luther King Jr. Examples of managers: Tim Cook, COO of Apple
Yes, I am open to relocation for the right opportunity.
I am willing to relocate for the right job opportunity
I am open to exploring new places and cultures
I understand that relocation may come with challenges, but I am prepared to face them
I am excited about the prospect of starting fresh in a new location
I'm sorry, I don't have that information.
N/A
The TCS aptitude test was challenging but fair.
The test covered a wide range of topics including math, logic, and English.
The questions were designed to test problem-solving skills and critical thinking.
Time management was crucial as there were many questions to answer in a limited time.
Overall, the test was a good indicator of one's aptitude for software engineering.
I am a software engineer with 5 years of experience in developing web applications using Java, Spring Boot, and Angular.
5 years of experience in software development
Proficient in Java, Spring Boot, and Angular
Strong problem-solving skills
MindTree's focus on innovation, culture of learning, and diverse opportunities make it an ideal fit for my career growth.
Strong focus on innovation and cutting-edge technologies
Culture of continuous learning and development
Diverse opportunities for growth and career advancement
I am currently focusing on gaining practical experience in the software engineering field, but I may consider pursuing higher studies in the future.
Currently focusing on gaining practical experience in software engineering
Open to considering higher studies in the future
Higher studies could include a Master's degree in Computer Science or related field
I applied via Campus Placement
Worked on a group project to develop a mobile app for a charity organization
Collaborated with team members to define project scope and requirements
Assigned tasks and set deadlines to ensure timely completion
Conducted regular meetings to discuss progress and address any issues
Implemented agile methodology to adapt to changing requirements
Delivered a functional and user-friendly app within the given timeframe
To create a calculator program, use a GUI framework and implement basic arithmetic operations.
Choose a programming language and a GUI framework such as JavaFX or Tkinter.
Implement the basic arithmetic operations such as addition, subtraction, multiplication, and division.
Add functionality for decimal points, clear button, and negative numbers.
Test the program thoroughly to ensure accuracy and usability.
I am excited to work for this organisation because of its reputation for innovation and commitment to employee growth.
I am impressed by the company's track record of developing cutting-edge technology
I appreciate the emphasis on professional development and growth opportunities for employees
I am drawn to the company's culture of collaboration and teamwork
I am excited about the potential to work on projects that have a
In 5 years, I see myself as a senior software engineer leading a team of developers to create innovative solutions.
Leading a team of developers to create innovative solutions
Continuing to learn and stay up-to-date with the latest technologies
Contributing to the growth and success of the company
Mentoring and coaching junior developers
Taking on more responsibilities and challenges
Yes, I am willing to relocate to different centers for training.
I am open to the opportunity of relocating for training purposes.
I understand that training may be conducted in different centers and I am willing to adapt.
Relocating for training can provide valuable learning experiences and exposure to different environments.
I am flexible and willing to make the necessary arrangements to relocate if required.
I am a software engineer with 5 years of experience in developing web applications using Java and JavaScript.
I have a strong knowledge of object-oriented programming and design patterns.
I am proficient in Java, JavaScript, HTML, and CSS.
I have experience working with frameworks like Spring and Angular.
I have worked on projects involving database management and RESTful APIs.
I am a quick learner and enjoy staying updated...
I am a highly skilled and dedicated software engineer with a strong problem-solving ability.
Strong programming skills in languages like Java, C++, and Python
Excellent problem-solving and analytical skills
Ability to work well in a team and collaborate effectively
Strong attention to detail and ability to write clean and efficient code
Experience with software development methodologies like Agile
Good communication skills t...
based on 3 reviews
Rating in categories
Associate
72.1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Programmer Analyst
55.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Associate
48.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Processing Executive
28.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
17.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
Accenture