Worldline
10+ TCS Interview Questions and Answers
Q1. How do you handle the incidents ? DO you provide solution ? example
I handle incidents by providing solutions through a systematic approach.
I first assess the situation and gather all necessary information.
Then, I identify the root cause of the incident.
Next, I develop a plan of action to address the issue.
I communicate the plan to all relevant parties and implement it.
Finally, I evaluate the effectiveness of the solution and make any necessary adjustments.
For example, when a software system crashed, I identified the cause as a coding error a...read more
Q2. Are you aware of PCI DSS ? Pls brief
PCI DSS is a set of security standards for organizations that handle cardholder information.
PCI DSS stands for Payment Card Industry Data Security Standard
It was created to ensure that all companies that accept, process, store or transmit credit card information maintain a secure environment
It consists of 12 requirements that cover areas such as network security, access control, and data protection
Compliance is mandatory for all organizations that accept credit card payments
N...read more
Q3. java final and finally difference
final is a keyword used to declare constants in Java, while finally is a block used in exception handling to ensure code execution.
final keyword is used to declare constants in Java classes or methods.
final variables cannot be reassigned once initialized.
finally block is used in exception handling to ensure code execution, regardless of whether an exception is thrown or not.
Q4. Java and web technology with cloud
Java is a popular programming language used for web development and cloud computing.
Java is commonly used for developing web applications, as it provides a robust and secure platform.
Java is also widely used in cloud computing for building scalable and reliable applications.
Popular Java frameworks like Spring and Hibernate are often used in web development and cloud applications.
Q5. How to get the HTTP response
To get the HTTP response, you can use tools like Postman or code in programming languages like Java or Python.
Use tools like Postman to send HTTP requests and view the responses
In programming languages like Java or Python, use libraries like HttpURLConnection or requests to send HTTP requests and retrieve responses
Check the status code, headers, and body of the HTTP response for validation
Q6. What is static in java and what is the difference between cpp and java
Static in Java is a keyword used to create class-level variables and methods. Difference between cpp and java includes memory management, platform independence, and syntax.
In Java, 'static' keyword is used to create class-level variables and methods, while in C++, 'static' keyword is used to create variables with internal linkage.
Java has automatic memory management through garbage collection, while C++ requires manual memory management using 'new' and 'delete' keywords.
Java ...read more
Q7. how to connect to DB
To connect to a database, you need to use a database connection string with appropriate credentials.
Use a database connection string with the necessary information such as server name, database name, username, and password
Choose the appropriate database driver based on the type of database you are connecting to (e.g. MySQL, SQL Server, Oracle)
Establish a connection using a programming language or tool that supports database connectivity (e.g. JDBC for Java, ADO.NET for .NET)
E...read more
Q8. What is Run-Time Memory Allocation ?
Run-Time Memory Allocation is the process of allocating memory during the execution of a program.
Memory is allocated dynamically during program execution
Allows for efficient use of memory resources
Commonly used in languages like C and C++
Example: Using malloc() function in C to allocate memory for an array
Q9. What is Object Oriented Programming?
Object Oriented Programming is a programming paradigm based on the concept of objects, which can contain data and code.
OOP focuses on creating objects that interact with each other to solve problems
Encapsulation: Objects can hide their internal state and require interaction through methods
Inheritance: Objects can inherit attributes and methods from parent classes
Polymorphism: Objects can take on different forms or behaviors based on their class
Q10. What are the CSS framework
CSS frameworks are pre-written CSS code that helps developers quickly style their websites.
CSS frameworks provide pre-designed styles and components for faster development
Popular CSS frameworks include Bootstrap, Foundation, and Bulma
Frameworks help ensure consistency and responsiveness across different devices
Q11. what are callbacks in js
Callbacks in JavaScript are functions that are passed as arguments to other functions and are executed after a specific task is completed.
Callbacks are commonly used in asynchronous programming to handle tasks that take time to complete.
Callbacks can be used to perform actions after an event occurs, such as clicking a button or receiving data from a server.
An example of a callback function in JavaScript is the setTimeout function, where a function is executed after a specifie...read more
Q12. Types of Polymorphism
Polymorphism in programming refers to the ability of a single function or method to operate on different types of data.
There are two main types of polymorphism: compile-time (static) polymorphism and runtime (dynamic) polymorphism.
Compile-time polymorphism is achieved through function overloading and operator overloading.
Runtime polymorphism is achieved through inheritance and virtual functions.
Example of compile-time polymorphism: function overloading in C++.
Example of runti...read more
Interview Process at TCS
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month