Add office photos
Employer?
Claim Account for FREE

TCS iON

3.9
based on 1.2k Reviews
Filter interviews by

200+ Interview Questions and Answers

Updated 12 Dec 2024
Popular Designations
Q1. gcd

You are given two numbers, ‘X’ and ‘Y’. Your task is to find the greatest common divisor of the given two numbers.

The Greatest Common Divisor of any two integers is the largest number that divides both inte...read more

View 3 more answers
Q2. Minimum Sum in matrix

You are given a 2D matrix ‘ARR’ of size ‘N x 3’ having integers, where ‘N’ is the number of rows.

Your task is to find the smallest sum possible while taking one element from each row.

The ...read more

View 3 more answers
Q3. Longest Palindromic Substring

Given a string ’S’ consisting of lower case English letters, you are supposed to return the longest palindromic substring of ‘S’.

Note that in case of more than one longest palindro...read more

View 3 more answers
Q4. Reverse Linked List
Input Format :
The first line of input contains a single integer T, re...read more
View 3 more answers
Discover null interview dos and don'ts from real experiences
Q5. Count sequences of positive integers having product X

You are given an array 'NUM' consisting of N positive Integers. Your task is to find the total number of possible sequences of positive integers (greater tha...read more

Add your answer
Q6. Encode the Message

You have been given a text message. You have to return the Run-length Encoding of the given message.

Run-length encoding is a fast and simple method of encoding strings. The basic idea is to r...read more

Add your answer
Are these interview questions helpful?
Q7. Nth Element Of Modified Fibonacci Series

You have been given two integers ‘X’ and ‘Y’ which are the first two integers of a series and an integer ‘N’. You have to find the Nth number of the series using the Fibo...read more

View 2 more answers
Q8. Jar of Candies

There is a jar full of candies for sale at a mall counter. Jar has the capacity ‘N’. That is, jar can contain maximum ‘N’ candies when a jar is full. At any point in time jar can not have 0 or few...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟
Q9. Technical Questions

Why C++. Difference between C++ and C.
What’s constructors. Why are they used? Syntax of writing a constructor.
What is OOPS. Explain 4 pillars of OOPS along with examples.
What is foreign key, ...read more

Add your answer
Q10. Prime time again

You have been given two integers ‘DAY_HOURS’ and ‘PARTS’. Where ‘DAY_HOURS’ is the number of hours in a day and a day can be divided into ‘PARTS’ equal parts. Your task is to find total instance...read more

View 3 more answers
Q11. Sort 0 1 2

You have been given an integer array/list(ARR) of size 'N'. It only contains 0s, 1s and 2s. Write a solution to sort this array/list.

Note :
Try to solve the problem in 'Single Scan'. ' Single Scan' r...read more
View 4 more answers
Q12. Sorted Linked List to Balanced BST

You have been given a singly linked list in which nodes are present in increasing order. Your task is to construct a Balanced Binary Search Tree with the same data elements as ...read more

View 3 more answers
Q13. Reverse DLL nodes in groups

You are given a Doubly Linked List of integers and a positive integer 'K' representing the group size. Modify the linked list by reversing every group of 'K' nodes in the linked list...read more

View 3 more answers
Q14. Merge Sort

Given a sequence of numbers ‘ARR’. Your task is to return a sorted sequence of ‘ARR’ in non-descending order with help of the merge sort algorithm.

Example :

Merge Sort Algorithm - Merge sort is a Div...read more
View 3 more answers
Q15. DBMS Questions

What is the purpose of normalization in DBMS?
Explain the concepts of a Primary key and Foreign Key.
What is the use of DROP command and what are the differences between DROP, TRUNCATE and DELETE co...read more

Add your answer
Q16. Reverse Alternate Nodes of a Singly Linked List

For a given Singly Linked List of integers, you are required to reverse alternate nodes and append them to the end of the list.

For Example:

The given linked list ...read more
View 2 more answers
Q17. Fitness Test In Indian Navy

Selection in the Indian Navy includes a fitness test which is conducted in the seawater. In this test, there will be a group of 3 trainees appearing for the swimming test in the sea f...read more

Add your answer
Q18. Minimum Cash Flow

There are ‘N’ friends who have borrowed money from one another. Now, they wanted to settle their debts by giving or taking some money among themselves.

Your task is to design a series of transa...read more

Add your answer
Q19. General Questions

They gave me real time scenario to solve:

How would you handle a lazy colleague?

Add your answer
Q20. Java Question

What are the primitive data types in Java?

View 2 more answers

Q21. What are the technologies you know

Ans.

I have knowledge of programming languages such as Java, Python, and C++. I am also familiar with web development technologies like HTML, CSS, and JavaScript.

  • Proficient in Java, Python, and C++ programming languages

  • Familiar with web development technologies like HTML, CSS, and JavaScript

  • Knowledge of database management systems like MySQL and Oracle

  • Experience with version control systems like Git

  • Understanding of software development methodologies like Agile and Waterfall

View 3 more answers
Q22. Technical Questions

Questions on my projects
I briefly introduced my 2 projects on Augmented Reality and Data science and the interviewer was looking impressed.

The second interviewer asked me about Naive Baye's A...read more

Add your answer
Q23. HR Questions

About relocation.
Plans for further study
Different products of TCS
If any issue working in shifts
Inquired whether I had any backlogs or year gaps.

Add your answer
Q24. OOPS Question

What is an abstract class?

Ans.

An abstract class is a class that cannot be instantiated and is meant to be subclassed.

  • An abstract class serves as a blueprint for other classes.

  • It can have both abstract and non-abstract methods.

  • Abstract methods are declared without an implementation and must be implemented by the subclasses.

  • An abstract class can have instance variables and constructors.

  • It provides a common interface for all its subclasses.

View 1 answer
Q25. C# Question

What is inheritance?

Ans.

Inheritance is a mechanism in object-oriented programming where a class inherits properties and behaviors from another class.

  • Inheritance allows code reuse and promotes code organization.

  • A derived class can inherit from a base class and extend or modify its functionality.

  • In C#, inheritance is achieved using the 'class' keyword and the ':' symbol.

  • Example: class Dog : Animal { }

  • The derived class can access the public and protected members of the base class.

View 1 answer
Q26. Java Question

Why is Java an Object Oriented Language?

Add your answer
Q27. OOPS Question

What is a class?

Ans.

A class is a blueprint for creating objects in object-oriented programming.

  • A class is a template that defines the properties and behaviors of objects.

  • It encapsulates data and methods that operate on that data.

  • Objects are instances of a class, created using the class blueprint.

  • Classes support inheritance, allowing for the creation of subclasses with additional or modified functionality.

View 1 answer
Q28. OOPS Question

What is a destructor?

Ans.

A destructor is a special member function in object-oriented programming that is used to destroy an object.

  • Destructors are called automatically when an object goes out of scope or is explicitly deleted.

  • They are used to release resources held by the object, such as memory or file handles.

  • Destructors have the same name as the class preceded by a tilde (~).

  • They do not have return types or parameters.

  • Example: class MyClass { ~MyClass() { // destructor code } };

View 1 answer
Q29. DBMS

Write a query to find the elements using the dates_of_delivery.
What is relational Database.
Difference between SQL and NoSQL

Add your answer
Q30. OOPS Question

What is an interface?

Ans.

An interface is a programming construct that defines a contract for classes to implement certain methods or behaviors.

  • An interface provides a way to achieve multiple inheritance in programming languages that do not support it.

  • Interfaces are used to achieve loose coupling and promote code reusability.

  • Classes that implement an interface must provide an implementation for all the methods defined in the interface.

  • Interfaces can also contain constants and default method implementa...read more

View 1 answer

Q31. Manage projects with Repositories Clone a project to work on a local copy Control and track changes with Staging and Committing Branch and Merge to allow for work on different parts and versions of a project Pu...

read more
Ans.

Managing projects with repositories involves cloning, staging, committing, branching, merging, pulling, and pushing changes.

  • Clone a project to work on a local copy: Use 'git clone ' to create a local copy of the project.

  • Control and track changes with Staging and Committing: Use 'git add' to stage changes and 'git commit' to commit them.

  • Branch and Merge to allow for work on different parts and versions of a project: Use 'git branch' to create branches and 'git merge' to merge ...read more

Add your answer

Q32. What is Encapsulation?

Ans.

Encapsulation is the process of hiding internal details and providing a public interface for accessing and manipulating data.

  • Encapsulation is a fundamental concept in object-oriented programming.

  • It combines data and methods into a single unit called a class.

  • The class encapsulates the data and provides methods to interact with it.

  • Access to the data is controlled through the class's public interface.

  • Encapsulation helps in achieving data abstraction, data hiding, and code reusab...read more

View 1 answer

Q33. What programming language you know

Ans.

I know multiple programming languages including Java, Python, and C++.

  • Java - used for building enterprise-level applications

  • Python - known for its simplicity and versatility

  • C++ - used for system programming and game development

View 4 more answers

Q34. Give the difference between Interface and Abstraction?

Ans.

Interface defines the contract between a class and the outside world, while Abstraction provides a generalized view of an object.

  • Interface is a blueprint of a class that defines the methods and properties that a class must implement.

  • Abstraction is a concept that hides the implementation details and provides a generalized view of an object.

  • Interface is used to achieve multiple inheritance in Java.

  • Abstraction is used to achieve encapsulation in Java.

  • Interface can be implemented...read more

Add your answer

Q35. what is Maven? where it used ? what it use case ?

Ans.

Maven is a build automation tool used primarily for Java projects to manage dependencies, build processes, and project documentation.

  • Maven is used to manage project dependencies by automatically downloading required libraries from repositories.

  • It simplifies the build process by providing a standard way to build, test, and package projects.

  • Maven uses a project object model (POM) file to define project structure, dependencies, and build configurations.

  • It is commonly used in Jav...read more

Add your answer
Q36. Java Question

What is JVM?

View 2 more answers

Q37. Program to check whether the number is Palindrome or not?

Ans.

Program to check whether the number is Palindrome or not

  • Convert the number to a string

  • Reverse the string

  • Compare the original and reversed string

  • If they are equal, the number is a palindrome

Add your answer

Q38. Who is the CEO of TCS?

Ans.

Rajesh Gopinathan is the CEO of TCS.

  • Rajesh Gopinathan became the CEO of TCS in February 2017.

  • He joined TCS in 2001 and has held various leadership positions.

  • Under his leadership, TCS has achieved significant growth and global recognition.

  • Rajesh Gopinathan has played a key role in driving TCS' digital transformation initiatives.

  • He has a strong background in finance and has contributed to TCS' financial success.

View 2 more answers

Q39. What is difference between list and tuples in python

Ans.

Lists are mutable, tuples are immutable in Python.

  • Lists are enclosed in square brackets [], tuples are enclosed in parentheses ().

  • Lists can be modified (add, remove, change elements), tuples cannot be modified once created.

  • Lists are slower than tuples for iteration and indexing.

  • Example: list_example = [1, 2, 3], tuple_example = (4, 5, 6)

Add your answer
Q40. Java Question

What is JIT?

Add your answer
Q41. General Questions
  1. Questions based on company, work expectations are asked.
Add your answer

Q42. Asynchronous and multi-threading code. How to stop async code based on specification condition

Ans.

To stop async code based on specification condition, use cancellation tokens.

  • Use CancellationTokenSource to create a cancellation token

  • Pass the cancellation token to the async method

  • Check the cancellation token in the async method using ThrowIfCancellationRequested()

  • Cancel the token when the specification condition is met

Add your answer

Q43. Risk management and what do you consider risky in a project

Ans.

Risk management is crucial in project management. Risks can be related to budget, timeline, scope, quality, and resources.

  • Identify potential risks and their impact on the project

  • Assess the likelihood and severity of each risk

  • Develop a risk management plan to mitigate or avoid risks

  • Monitor and review risks throughout the project lifecycle

  • Examples of risks include budget overruns, scope creep, resource constraints, technical difficulties, and stakeholder conflicts

Add your answer

Q44. What are pointers . Write a short program to explain concept of pointers

Ans.

Pointers are variables that store memory addresses of other variables.

  • Pointers are used to access and manipulate memory addresses directly.

  • They are denoted by an asterisk (*) before the variable name.

  • Example: int *ptr; // declares a pointer to an integer variable

Add your answer

Q45. What is the difference between continue and break statement in C language??

Ans.

Continue statement skips the current iteration of a loop and moves to the next one, while break statement terminates the loop.

  • Continue statement is used to skip a particular iteration of a loop and move to the next one.

  • Break statement is used to terminate the loop and move to the next statement outside the loop.

  • Continue statement is used when we want to skip a particular iteration of a loop based on some condition.

  • Break statement is used when we want to terminate the loop bas...read more

Add your answer

Q46. Just in time . Which used in java program excusion

Ans.

Just-in-time (JIT) is a feature in Java that compiles bytecode into native machine code at runtime.

  • JIT improves the performance of Java programs by reducing the time needed for compilation.

  • JIT is enabled by default in most Java virtual machines.

  • JIT can be disabled using the -Xint option.

  • JIT can also be configured using various options such as -XX:CompileThreshold and -XX:MaxInlineLevel.

Add your answer

Q47. tell me about transaction keys in assest accounting

Ans.

Transaction keys are used to identify different types of transactions in asset accounting.

  • Transaction keys are used to record different types of transactions such as acquisition, retirement, transfer, and revaluation of assets.

  • Each transaction key has a unique four-digit code that is used to identify the transaction type.

  • Transaction keys are used to determine the general ledger accounts that are affected by the transaction.

  • Examples of transaction keys include 1000 for asset a...read more

Add your answer

Q48. Are u technical using for profit is a campany.

Ans.

Yes, I am technical and have experience using digital marketing strategies to drive profit for companies.

  • I have a strong technical background in digital marketing tools and platforms.

  • I have successfully implemented digital marketing campaigns that have resulted in increased profits for previous companies.

  • I am proficient in analyzing data and using it to optimize marketing strategies for maximum profitability.

View 1 answer

Q49. Swap the number without using Third variable.

Ans.

Swapping numbers without using a third variable.

  • Add the two numbers to be swapped

  • Assign the sum to the first variable

  • Subtract the second variable from the sum and assign it to the second variable

  • Subtract the second variable from the first variable and assign it to the first variable

Add your answer

Q50. What is a null pointer

Ans.

A null pointer is a pointer that does not point to any memory location.

  • A null pointer is represented by the value 0 or NULL.

  • Dereferencing a null pointer results in a segmentation fault.

  • Null pointers are commonly used to indicate the end of a linked list or array.

  • Null pointers can be assigned to any pointer type.

Add your answer

Q51. What are classes in C++

Ans.

Classes in C++ are user-defined data types that encapsulate data and functions.

  • Classes are used for object-oriented programming.

  • They allow for data abstraction and encapsulation.

  • Classes can have member variables and member functions.

  • Objects are instances of classes.

  • Inheritance and polymorphism are key features of classes.

Add your answer

Q52. What is new technologies introduced in python

Ans.

Python has introduced new technologies like asyncio, type hints, data classes, and more.

  • Asyncio for asynchronous programming

  • Type hints for static type checking

  • Data classes for creating classes with less boilerplate code

Add your answer

Q53. What is a pointer

Ans.

A pointer is a variable that stores the memory address of another variable.

  • Pointers allow direct manipulation of memory.

  • They are used to access and modify data indirectly.

  • Pointers are commonly used in dynamic memory allocation.

  • Example: int* ptr; // declares a pointer to an integer variable.

View 1 answer

Q54. What is the command for checking system connectivity

Ans.

The command for checking system connectivity is 'ping'

  • The 'ping' command is used to test the reachability of a host on an IP network

  • It sends ICMP echo request packets to the target host and waits for a response

  • The response time and packet loss can be used to determine the connectivity status

Add your answer

Q55. What is the difference between hashmap and hashset

Ans.

HashMap is a key-value pair collection while HashSet is a collection of unique elements.

  • HashMap stores key-value pairs while HashSet stores unique elements.

  • HashMap allows duplicate values but keys must be unique, while HashSet does not allow duplicates.

  • HashMap uses keys to retrieve values, while HashSet does not have keys and values are the same.

  • Example: HashMap map = new HashMap<>(); HashSet set = new HashSet<>();

Add your answer

Q56. What is Polymorphism?

Ans.

Polymorphism is the ability of an object to take on many forms.

  • Polymorphism allows objects of different classes to be treated as if they were objects of the same class.

  • It is achieved through method overriding and method overloading.

  • Example: A parent class Animal can have child classes like Dog, Cat, and Cow. All these child classes can have their own implementation of the method 'makeSound', which is defined in the parent class.

  • Polymorphism makes code more flexible and reusab...read more

Add your answer

Q57. 1. Define float, double. 2. Write a program to display amount according to the given current bill.

Ans.

Questions on float, double and programming to display amount based on current bill for Applications Engineer role.

  • Float and double are data types used to represent decimal numbers with different precision levels.

  • A program to display amount based on current bill can be written using basic arithmetic operations and input/output functions.

  • Example: float num1 = 10.5; double num2 = 20.75; printf("Total amount: %.2f", num1 + num2);

  • Example: float bill = 100.50; float tax = 10.05; fl...read more

Add your answer

Q58. Difference between primary and foreign key?

Ans.

Primary key uniquely identifies a record in a table while foreign key refers to a field in another table.

  • Primary key is used to enforce data integrity and ensure uniqueness of records.

  • Foreign key is used to establish a relationship between two tables.

  • A table can have only one primary key but multiple foreign keys.

  • Primary key cannot have null values while foreign key can have null values.

  • Example: In a database of students and courses, student_id can be a primary key in the stu...read more

Add your answer

Q59. How to create user account in active directory

Ans.

User accounts in Active Directory can be created using Active Directory Users and Computers tool or PowerShell commands.

  • Open Active Directory Users and Computers tool

  • Navigate to the desired organizational unit (OU)

  • Right-click on the OU and select 'New' -> 'User'

  • Fill in the required user details such as username, password, etc.

  • Alternatively, use PowerShell commands like New-ADUser to create user accounts

Add your answer

Q60. How to install network printer in windows

Ans.

To install a network printer in Windows, you need to add a printer using the 'Devices and Printers' option in Control Panel.

  • Go to Control Panel and select 'Devices and Printers'.

  • Click on 'Add a printer'.

  • Choose 'Add a network, wireless or Bluetooth printer'.

  • Select the network printer from the list or enter the printer's IP address.

  • Follow the on-screen instructions to complete the installation.

Add your answer

Q61. What is the difference between a list and tuple

Ans.

A list is mutable and can be changed, while a tuple is immutable and cannot be changed.

  • List is defined using square brackets [], while tuple is defined using parentheses ().

  • Elements in a list can be modified, added, or removed, while elements in a tuple cannot be changed once defined.

  • Lists are typically used for collections of items that may need to be modified, while tuples are used for fixed collections of items.

  • Example: list - [1, 2, 3], tuple - (4, 5, 6)

Add your answer

Q62. What hardware requirements for windows 10 installation

Ans.

Hardware requirements for Windows 10 installation include processor, RAM, storage, and graphics card.

  • Processor: 1 gigahertz (GHz) or faster processor or SoC

  • RAM: 1 gigabyte (GB) for 32-bit or 2 GB for 64-bit

  • Storage: 16 GB for 32-bit OS or 20 GB for 64-bit OS

  • Graphics card: DirectX 9 or later with WDDM 1.0 driver

Add your answer

Q63. JDBC ? HOW WE USE IT ?

Ans.

JDBC is a Java API for connecting and executing SQL queries on a database.

  • JDBC stands for Java Database Connectivity.

  • It allows Java programs to interact with databases.

  • We use JDBC by loading the driver, establishing a connection, creating a statement, executing queries, and handling results.

  • Example: Class.forName("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/database", "username", "password");

Add your answer

Q64. Why power Bi is better over others

Ans.

Power BI is better than others due to its user-friendly interface, powerful data visualization capabilities, and seamless integration with other Microsoft products.

  • User-friendly interface allows for easy data analysis and visualization

  • Powerful data visualization capabilities help in creating insightful reports and dashboards

  • Seamless integration with other Microsoft products like Excel, Azure, and Dynamics 365 enhances productivity and collaboration

Add your answer

Q65. What are structures

Ans.

Structures are user-defined data types that allow storing multiple data types under a single name.

  • Structures are used to group related data together.

  • They can contain variables of different data types.

  • Structures can also contain functions.

  • Structures are defined using the 'struct' keyword.

  • Example: struct student { char name[20]; int age; float marks; };

  • Structures can be passed as arguments to functions.

  • They can also be used to create linked lists and other data structures.

Add your answer

Q66. What is a wrapper class in java

Ans.

Wrapper classes in Java are classes that allow primitive data types to be accessed as objects.

  • Wrapper classes provide a way to convert primitive data types into objects.

  • They are used when an object is required, such as in collections or generics.

  • Examples include Integer for int, Double for double, Boolean for boolean, etc.

Add your answer

Q67. Why python is called interpreted language

Ans.

Python is called an interpreted language because it executes code line by line at runtime.

  • Python code is not compiled into machine code before execution, instead it is translated into intermediate code which is then interpreted by the Python interpreter.

  • This allows for easier debugging and dynamic typing, as code can be executed and tested immediately without the need for compilation.

  • Interpreted languages like Python are generally slower than compiled languages, as the code i...read more

Add your answer

Q68. Program to Reverse the String?

Ans.

Program to reverse a string

  • Use a loop to iterate through the characters of the string

  • Create a new string and append each character in reverse order

  • Return the reversed string

View 1 answer

Q69. Project details and OOP with real time example ?

Ans.

OOP is a programming paradigm that uses objects to represent real-world entities. Project details can be explained using OOP concepts.

  • OOP is based on the concept of classes and objects

  • Classes are like blueprints for objects

  • Objects have properties and methods

  • Encapsulation, inheritance, and polymorphism are key OOP concepts

  • Example: A car class can have properties like make, model, and year, and methods like start and stop

Add your answer

Q70. What is nested structure

Ans.

A nested structure is a structure within another structure in programming.

  • It allows for more complex data structures to be created

  • It can be used in various programming languages such as C++, Java, and Python

  • An example of a nested structure is a struct within a struct in C++

Add your answer

Q71. what is difference between delete, trucate and drop

Ans.

Delete removes specific rows from a table, truncate removes all rows from a table, and drop removes the entire table.

  • Delete is a DML command that removes specific rows from a table based on a condition.

  • Truncate is a DDL command that removes all rows from a table but keeps the table structure.

  • Drop is a DDL command that removes the entire table along with its structure.

Add your answer

Q72. tell me different types of queues?

Ans.

Different types of queues include linear, circular, priority, and double-ended.

  • Linear queue follows a First-In-First-Out (FIFO) order.

  • Circular queue is similar to linear queue but the last element points to the first element.

  • Priority queue assigns a priority to each element and dequeues the highest priority element first.

  • Double-ended queue allows insertion and deletion at both ends.

Add your answer

Q73. Swap array elements and string reverse by using recursive method

Ans.

Swapping array elements and reversing string using recursion.

  • Create a recursive function that swaps the first and last elements of the array until the middle is reached.

  • Create a recursive function that reverses the string by swapping the first and last characters until the middle is reached.

  • Use a temporary variable to store the value of the element being swapped.

  • Make sure to handle edge cases such as empty arrays or strings.

Add your answer

Q74. Like write the small codes

Ans.

Demonstrate coding skills with small code snippets

  • Use loops to iterate through arrays or perform repetitive tasks

  • Implement basic algorithms like sorting or searching

  • Show understanding of data structures like arrays, strings, or objects

Add your answer

Q75. What is the usage of optinal class

Ans.

Optional class is used to handle null values in Java, preventing NullPointerExceptions.

  • Optional class was introduced in Java 8 to provide a more elegant way of handling null values.

  • It encourages developers to explicitly handle the presence or absence of a value, rather than relying on null checks.

  • Optional class has methods like isPresent(), get(), orElse(), etc. to work with optional values.

  • Using Optional class can make code more readable and less error-prone.

  • Example: Optiona...read more

Add your answer

Q76. What is Multiple Inheritence?

Ans.

Multiple Inheritance is a feature in object-oriented programming where a class can inherit properties and behavior from multiple parent classes.

  • A class can inherit from more than one class using multiple inheritance.

  • It can lead to the diamond problem where two parent classes have a common method or attribute.

  • Languages like C++ support multiple inheritance while Java does not.

  • It can be useful in creating complex class hierarchies and reusing code.

  • Example: A class 'Athlete' can...read more

Add your answer

Q77. What are classes

Ans.

Classes are templates for creating objects that have similar properties and methods.

  • Classes are used in object-oriented programming.

  • They define the properties and methods that objects of that class will have.

  • Objects are instances of a class.

  • Classes can inherit properties and methods from other classes.

  • Examples of classes include 'Person', 'Car', and 'Animal'.

View 1 answer

Q78. How to delete the middle element of a linked list?

Ans.

To delete the middle element of a linked list, find the middle element using slow and fast pointers, then remove it by adjusting the pointers.

  • Use slow and fast pointers to find the middle element

  • Adjust pointers to remove the middle element

  • Update the links to maintain the integrity of the linked list

Add your answer

Q79. What is PHP? Full form of PHP? PHP latest version??

Ans.

PHP is a server-side scripting language used for web development. Full form is Hypertext Preprocessor. Latest version is PHP 8.0.

  • PHP is a popular scripting language for creating dynamic web pages.

  • Full form of PHP is Hypertext Preprocessor.

  • Latest version of PHP is PHP 8.0, released in November 2020.

Add your answer

Q80. What is list , tuple and difference

Ans.

List and tuple are data structures in Python. List is mutable while tuple is immutable. Difference lies in their usage and properties.

  • List is a collection of items that are ordered and changeable. Example: [1, 2, 3]

  • Tuple is a collection of items that are ordered and unchangeable. Example: (1, 2, 3)

  • Difference: Lists are mutable, meaning their elements can be changed after creation. Tuples are immutable, meaning their elements cannot be changed after creation.

Add your answer

Q81. what is the use of group by in MySQL

Ans.

GROUP BY in MySQL is used to group rows that have the same values into summary rows.

  • Used with SELECT statement to group rows based on one or more columns

  • Can be used with aggregate functions like COUNT, SUM, AVG, etc.

  • Helps in summarizing data and performing calculations on grouped data

  • Example: SELECT department, COUNT(*) FROM employees GROUP BY department

Add your answer

Q82. What is primary key in sql

Ans.

Primary key in SQL is a unique identifier for each record in a table.

  • Primary key ensures each record in a table is unique

  • It can be a single column or a combination of columns

  • Primary key values cannot be NULL

  • Example: 'id' column in a 'users' table can be a primary key

Add your answer

Q83. How to face candidate who not able to use mouse

Ans.

Explain the importance of accommodating candidates who are unable to use a mouse.

  • Offer alternative input methods such as keyboard shortcuts or touchscreens

  • Provide training or assistance to help the candidate navigate without a mouse

  • Ensure the candidate feels supported and not disadvantaged during the process

Add your answer

Q84. How to explain to candidate to do exam and rules

Ans.

Explain the exam and rules to candidates clearly and concisely.

  • Provide a detailed overview of the exam format and structure.

  • Explain the rules and regulations that candidates must adhere to during the exam.

  • Clarify the consequences of not following the rules, such as disqualification.

  • Offer examples or scenarios to help candidates understand the importance of following the rules.

Add your answer

Q85. Explain your project , Automation Framework, Agile methodology

Ans.

I have experience in developing automation frameworks using Agile methodology.

  • Developed automation framework using Selenium WebDriver and TestNG

  • Implemented Page Object Model design pattern for better maintainability

  • Used Jenkins for continuous integration and delivery

  • Followed Agile methodology for faster and efficient development

  • Collaborated with cross-functional teams for better communication and understanding

Add your answer

Q86. What is parameterization in performance testing

Ans.

Parameterization is the process of replacing hard-coded values with variables in performance testing scripts.

  • Parameterization helps in creating realistic load scenarios by varying input data

  • It reduces script maintenance efforts by centralizing data

  • It enables reuse of scripts for different data sets

  • Examples of parameterization include replacing user IDs, passwords, and input data with variables

Add your answer

Q87. Interested area in coding Front end and backend

Ans.

I am interested in both front-end and back-end development.

  • I enjoy creating user interfaces with HTML, CSS, and JavaScript.

  • I also like working with databases and server-side languages like Python and PHP.

  • I believe that having knowledge of both front-end and back-end development is important for creating well-rounded applications.

Add your answer

Q88. tell me about bank determination

Ans.

Bank determination is the process of determining the appropriate bank account for a specific business transaction.

  • Bank determination is a key functionality in SAP FICO module.

  • It involves mapping various business transactions to specific bank accounts.

  • Bank determination is based on various factors such as company code, payment method, country, and currency.

  • Multiple bank accounts can be assigned to a single payment method.

  • Bank determination can be configured using transaction c...read more

View 1 answer

Q89. Controller specification of previous projects

Ans.

Designed and implemented controllers for various projects using MVC architecture

  • Utilized MVC design pattern to separate concerns and improve code maintainability

  • Implemented controller logic to handle user input and interact with models and views

  • Ensured controllers were properly tested and integrated with the rest of the application

Add your answer

Q90. Difference between Java and JavaScript?

Ans.

Java is a general-purpose programming language while JavaScript is a scripting language used for web development.

  • Java is compiled while JavaScript is interpreted

  • Java is statically typed while JavaScript is dynamically typed

  • Java is used for developing desktop applications, web applications, and Android apps while JavaScript is used for web development

  • Java code runs on a virtual machine while JavaScript code runs on a web browser

  • Java has a larger standard library compared to Ja...read more

Add your answer

Q91. Why the java object oriented

Ans.

Java is object-oriented to promote code reusability, modularity, and maintainability.

  • Java's object-oriented approach allows for the creation of reusable code components called objects.

  • Objects encapsulate data and behavior, making it easier to manage and maintain code.

  • Inheritance enables the creation of hierarchies and promotes code reuse.

  • Polymorphism allows objects of different classes to be treated as objects of a common superclass.

  • Abstraction and encapsulation help in hidin...read more

View 1 answer

Q92. Program to check Prime Number.

Ans.

Program to check if a number is prime or not.

  • A prime number is a number greater than 1 that has no positive divisors other than 1 and itself.

  • To check if a number is prime, iterate from 2 to the square root of the number and check if it divides the number evenly.

  • If any divisor is found, the number is not prime. Otherwise, it is prime.

View 1 answer

Q93. What is virtual unction

Ans.

Virtual function is a function in a base class that is overridden in a derived class.

  • Virtual functions allow a derived class to provide a specific implementation of a function that is already defined in a base class.

  • They are used in polymorphism to achieve runtime binding.

  • The base class function must be declared as virtual for a function in a derived class to be considered as overriding it.

Add your answer

Q94. What is friendly function

Ans.

A friendly function is a function that is not a member of a class but has access to its private and protected members.

  • Allows a function to access private and protected members of a class

  • Declared with the 'friend' keyword in the class definition

  • Not a member of the class itself

Add your answer

Q95. Wheather you will like to do night shift or not

Ans.

I am open to doing night shifts depending on the job requirements and my personal schedule.

  • I am flexible with my work schedule

  • I am willing to work night shifts if it is necessary for the job

  • I would prefer to have a consistent schedule, but I am open to occasional night shifts

  • My personal schedule may affect my ability to work night shifts

View 1 answer

Q96. What is software development

Ans.

Software development is the process of creating, designing, testing, and maintaining software applications.

  • Involves writing code to create software applications

  • Includes designing the user interface and user experience

  • Testing the software for bugs and errors

  • Maintaining and updating the software as needed

Add your answer

Q97. What's advantage of Java What is jvm What is class

Ans.

Java is a versatile programming language known for its platform independence, robustness, and large community support.

  • Advantages of Java include platform independence, object-oriented programming, robustness, and large community support.

  • JVM (Java Virtual Machine) is an abstract machine that enables a computer to run Java programs by converting Java bytecode into machine code.

  • A class in Java is a blueprint for creating objects, which defines the properties and behaviors of tho...read more

Add your answer

Q98. what will we get profit of you?

Ans.

You will get profit from my ability to analyze data and identify areas for improvement, resulting in cost savings and increased efficiency.

  • I have experience in identifying cost-saving opportunities through data analysis

  • I can help streamline processes and increase efficiency

  • My skills in problem-solving can lead to better decision-making and increased profits

  • I am a team player and can work collaboratively to achieve business goals

Add your answer

Q99. What are arrays and lists

Ans.

Arrays and lists are data structures used to store multiple values in a single variable.

  • Arrays are fixed in size and can hold values of the same data type.

  • Lists are dynamic in size and can hold values of different data types.

  • Arrays and lists are indexed starting from 0.

  • Arrays and lists are commonly used in programming for storing and manipulating data.

  • Example of an array: ['apple', 'banana', 'orange']

  • Example of a list: [1, 'hello', True]

Add your answer

Q100. What is your 3 strength?

Ans.

My three strengths are attention to detail, problem-solving skills, and ability to work well under pressure.

  • Attention to detail: I have a keen eye for spotting errors and ensuring accuracy in my work.

  • Problem-solving skills: I am able to analyze complex situations and come up with effective solutions.

  • Ability to work well under pressure: I can remain calm and focused in high-pressure situations, allowing me to perform at my best.

Add your answer
1
2
3
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at null

based on 146 interviews in the last 1 year
Interview experience
4.1
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.7
 • 2.6k Interview Questions
3.8
 • 386 Interview Questions
4.0
 • 170 Interview Questions
4.3
 • 147 Interview Questions
3.5
 • 143 Interview Questions
3.8
 • 134 Interview Questions
View all
Top TCS iON 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
Get AmbitionBox app

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