Add office photos
Employer?
Claim Account for FREE

TCS iON

3.9
based on 1.2k Reviews
Filter interviews by

200+ Athen Interview Questions and Answers

Updated 20 Dec 2024
Popular Designations

Q1. GCD (Greatest Common Divisor) Problem Statement

You are given two numbers, X and Y. Your task is to determine the greatest common divisor of these two numbers.

The Greatest Common Divisor (GCD) of two integers ...read more

Add your answer

Q2. Minimum Sum in Matrix Problem Statement

You are given a 2D matrix 'ARR' of size 'N x 3' with integers, where 'N' is the number of rows. Your task is to compute the smallest sum achievable by selecting one eleme...read more

Add your answer

Q3. Find the Longest Palindromic Substring

Given a string ‘S’ composed of lowercase English letters, your task is to identify the longest palindromic substring within ‘S’.

If there are multiple longest palindromic ...read more

Add your answer

Q4. Reverse Linked List Problem Statement

Given a Singly Linked List of integers, your task is to reverse the Linked List by altering the links between the nodes.

Input:

The first line of input is an integer T, rep...read more
Add your answer
Discover Athen interview dos and don'ts from real experiences

Q5. Count Sequences With Product X Problem Statement

You are provided with an array NUM containing N positive integers. Your objective is to find the total number of possible sequences of positive integers (greater...read more

Add your answer

Q6. Encode the Message Problem Statement

Given a text message, your task is to return the Run-length Encoding of the given message.

Run-length encoding is a fast and simple method of encoding strings, representing ...read more

Add your answer
Are these interview questions helpful?

Q7. Nth Element Of Modified Fibonacci Series

Given two integers X and Y as the first two numbers of a series, and an integer N, determine the Nth element of the series following the Fibonacci rule: f(x) = f(x - 1) ...read more

Add your answer

Q8. Jar of Candies Problem Statement

You are given a jar containing candies with a maximum capacity of 'N'. The jar cannot have less than 1 candy at any point. Given 'K', the number of candies a customer wants, det...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Sort 0 1 2 Problem Statement

Given an integer array arr of size 'N' containing only 0s, 1s, and 2s, write an algorithm to sort the array.

Input:

The first line contains an integer 'T' representing the number of...read more
Add your answer

Q10. Prime Time Again Problem Statement

You are given two integers DAY_HOURS and PARTS. Consider a day with DAY_HOURS hours, which can be divided into PARTS equal parts. Your task is to determine the total instances...read more

Add your answer

Q11. Sorted Linked List to Balanced BST Problem Statement

Given a singly linked list where nodes contain values in increasing order, your task is to convert it into a Balanced Binary Search Tree (BST) using the same...read more

Add your answer

Q12. Reverse Doubly Linked List Nodes in Groups

You are given a doubly linked list of integers along with a positive integer K that represents the group size. Your task is to modify the linked list by reversing ever...read more

Add your answer

Q13. Merge Sort Problem Statement

You are given a sequence of numbers, ARR. Your task is to return a sorted sequence of ARR in non-descending order using the Merge Sort algorithm.

Explanation:

The Merge Sort algorit...read more

Add your answer
Q14. ...read more

Reverse Alternate Nodes in a Singly Linked List

Given a singly linked list of integers, you need to reverse alternate nodes and append them to the end of the list.

Example:

Input:
1->2->3->4
Output:
1->3->4->2
Add your answer

Q15. Prime Group Problem Statement

Given two integers DAY_HOURS and PARTS, where DAY_HOURS is the number of hours in a day, and the day is divided into PARTS equal parts, identify the total instances of equivalent p...read more

Add your answer

Q16. Fitness Test in Indian Navy Problem Statement

The selection process in the Indian Navy includes a fitness test conducted in seawater, where a group of 3 trainees undergo a swimming test over three rounds. The o...read more

Add your answer

Q17. Minimum Cash Flow Problem

Consider 'N' friends who have borrowed money from one another. They now wish to settle their debts by giving or taking cash among themselves in a way that minimizes the total cash flow...read more

Add your answer
Q18. What are the primitive data types in Java?
Add your answer

Q19. 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
Q20. 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.

Add your answer
Q21. What is inheritance in C#?
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.

Add your answer
Q22. Why is Java considered an object-oriented language?
Add your answer
Q23. What is a class in object-oriented programming?
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.

Add your answer
Q24. What is a destructor in object-oriented programming?
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 } };

Add your answer
Q25. 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

Add your answer

Q26. 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

Q27. 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

Q28. 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

Q29. 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

Q30. 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
Q31. What is the JVM?
Add your answer

Q32. 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

Q33. 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

Q34. 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
Q35. What is JIT in Java?
Add your answer

Q36. 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

Q37. 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

Q38. 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

Q39. 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

Q40. 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

Q41. 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

Q42. 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

Q43. 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

Q44. 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

Q45. 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

Q46. 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

Q47. 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

Q48. 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

Q49. 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

Q50. 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

Q51. 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

Q52. 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

Q53. 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

Q54. 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

Q55. 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

Q56. 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

Q57. 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

Q58. 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

Q59. 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

Q60. 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

Q61. 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

Q62. 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

Q63. 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

Q64. 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

Q65. 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

Q66. 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

Q67. 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

Q68. 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

Q69. 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

Q70. 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

Q71. 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

Q72. 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

Q73. 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

Q74. 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

Q75. 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

Q76. 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

Q77. 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

Q78. 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

Q79. 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

Q80. 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

Q81. 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

Q82. 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

Q83. 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

Q84. 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

Q85. 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

Q86. 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

Q87. 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

Q88. 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

Q89. 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

Q90. 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

Q91. 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

Q92. 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

Q93. 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

Q94. 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

Q95. What are premitive data types

Ans.

Primitive data types are basic data types provided by Java, such as int, double, boolean, char, etc.

  • Primitive data types are predefined by the language and not objects

  • They are used to store simple values directly in memory

  • They have a fixed size and do not have any methods

  • Examples include int for integers, double for floating-point numbers, boolean for true/false values, char for characters

View 1 answer

Q96. What is an OS and it's importance?

Ans.

An OS is a software that manages computer hardware and software resources and provides common services for computer programs.

  • OS stands for Operating System.

  • It manages computer hardware and software resources.

  • It provides common services for computer programs.

  • It acts as an interface between the user and the computer hardware.

  • Examples of OS are Windows, macOS, Linux, Android, iOS, etc.

Add your answer

Q97. How you conduct research and analysis?

Ans.

I conduct research and analysis by following a structured approach that involves defining the problem, gathering data, analyzing the data, and presenting findings.

  • Identify the problem or question to be answered

  • Determine the scope of the research

  • Gather data from various sources such as surveys, interviews, and databases

  • Organize and analyze the data using statistical tools and techniques

  • Interpret the results and draw conclusions

  • Present findings in a clear and concise manner

  • Cont...read more

Add your answer

Q98. What is jit and explain

Ans.

JIT stands for Just-In-Time compiler. It is a part of the Java Virtual Machine (JVM) that compiles bytecode into machine code at runtime.

  • JIT is responsible for improving the performance of Java applications by compiling frequently executed code into native machine code.

  • It analyzes the code at runtime and identifies the hotspots, i.e., the code that is executed frequently.

  • JIT compiles the hotspots into machine code and stores them in the code cache for future use.

  • This process ...read more

Add your answer

Q99. Oops concept in c++ programming language

Ans.

OOPs concepts in C++ include inheritance, polymorphism, encapsulation, and abstraction.

  • Inheritance allows a class to inherit properties and methods from another class.

  • Polymorphism allows objects to take on multiple forms.

  • Encapsulation hides the implementation details of a class from other objects.

  • Abstraction focuses on the essential features of an object and hides the unnecessary details.

  • Example: A car class can inherit properties from a vehicle class, and a sports car object...read more

Add your answer

Q100. Exception handling in java

Ans.

Exception handling in Java is a mechanism to handle runtime errors and prevent program crashes.

  • Use try-catch blocks to handle exceptions

  • Use finally block to execute code regardless of exception

  • Use throw keyword to manually throw exceptions

  • Use throws keyword in method signature to declare exceptions that can be thrown

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

Interview Process at Athen

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

Top Interview Questions from Similar Companies

3.7
 • 3k Interview Questions
3.7
 • 395 Interview Questions
3.9
 • 209 Interview Questions
3.6
 • 191 Interview Questions
4.2
 • 143 Interview Questions
4.5
 • 138 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

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