TCS
200+ Ciklum Interview Questions and Answers
Q201. Who is the chairman of TATA
Natarajan Chandrasekaran is the current chairman of TATA Group.
Natarajan Chandrasekaran became the chairman of TATA Sons in 2017.
He was previously the CEO and Managing Director of TATA Consultancy Services (TCS).
Chandrasekaran is known for his strategic leadership and global business acumen.
Q202. why there is GAP in carreer
Gaps in career can occur due to various reasons such as personal issues, further education, job search, or skill development.
Taking time off for personal reasons such as family responsibilities or health issues
Pursuing further education or certifications to enhance skills and knowledge
Taking a break to travel or explore different career options
Job search challenges or economic downturn affecting employment opportunities
Q203. what is ai and data science
AI (Artificial Intelligence) is the simulation of human intelligence processes by machines, while data science is the study of data to extract insights and knowledge.
AI involves machines performing tasks that typically require human intelligence, such as visual perception, speech recognition, decision-making, and language translation.
Data science involves analyzing and interpreting complex data to make informed decisions and predictions.
AI and data science often work together...read more
Q204. How to make learning interactive
Learning can be made interactive by incorporating hands-on activities, group discussions, multimedia resources, and gamification.
Use hands-on activities to engage learners and allow them to apply concepts in real-life scenarios
Encourage group discussions to promote collaboration and exchange of ideas among learners
Incorporate multimedia resources such as videos, animations, and interactive simulations to cater to different learning styles
Implement gamification elements like q...read more
Q205. Whata are the pillars of oops
The pillars of OOPs are Abstraction, Encapsulation, Inheritance, and Polymorphism.
Abstraction: Hiding implementation details and showing only necessary information.
Encapsulation: Binding data and functions together and restricting access to them.
Inheritance: Creating new classes from existing ones, inheriting properties and methods.
Polymorphism: Ability of objects to take on multiple forms or behaviors.
Q206. What is byte code?
Byte code is a compiled code that can be executed on any platform with the help of a virtual machine.
Byte code is an intermediate code that is generated by a compiler.
It is platform-independent and can be executed on any platform with the help of a virtual machine.
Java and Python are examples of programming languages that use byte code.
Byte code is often used in web development and mobile app development.
Q207. Diff types of addressings Basic coding programs
Different types of addressing include direct, indirect, and indexed addressing. Basic coding programs involve simple algorithms and data structures.
Direct addressing involves specifying the actual memory address of the data
Indirect addressing involves specifying a memory address that contains the actual memory address of the data
Indexed addressing involves specifying a base address and an offset to access data
Basic coding programs may include sorting algorithms like bubble so...read more
Q208. What is abstract Class
An abstract class is a class that cannot be instantiated and is used as a base class for other classes.
An abstract class can have abstract and non-abstract methods.
Abstract methods have no implementation and must be implemented by the derived class.
An abstract class can have constructors and fields.
An abstract class can be used to define a common interface for a group of related classes.
Example: Animal is an abstract class and Dog, Cat, and Bird are derived classes that inher...read more
Q209. What are the latest technologies
Some of the latest technologies include artificial intelligence, machine learning, blockchain, Internet of Things (IoT), and 5G.
Artificial intelligence (AI) - technology that enables machines to learn from experience and perform tasks that typically require human intelligence.
Machine learning - subset of AI that allows systems to learn and improve from experience without being explicitly programmed.
Blockchain - decentralized and secure way of recording transactions across mul...read more
Q210. What is inheritance in Oops.
Inheritance is a mechanism in OOPs where a new class is derived from an existing class.
It allows the new class to inherit the properties and methods of the existing class.
The existing class is called the parent class or superclass, and the new class is called the child class or subclass.
The child class can add new properties and methods or override the existing ones.
It promotes code reusability and saves time and effort in programming.
Example: A class Animal can be the parent...read more
Q211. What is structure in C
Structure in C is a user-defined data type that groups related data of different data types.
Structures are used to represent a record, such as a student record or an employee record.
They can contain variables of different data types, including other structures.
Structures can be accessed using the dot (.) operator.
They are defined using the 'struct' keyword.
Structures can be passed as arguments to functions and returned from functions.
Q212. What do u mean by oops in java
OOPs in Java stands for Object-Oriented Programming concepts which include inheritance, encapsulation, polymorphism, and abstraction.
OOPs in Java stands for Object-Oriented Programming concepts
It includes inheritance, encapsulation, polymorphism, and abstraction
Inheritance allows a class to inherit properties and behavior from another class
Encapsulation is the bundling of data with the methods that operate on that data
Polymorphism allows objects to be treated as instances of ...read more
Q213. What is OOP? what is data structures?
OOP stands for Object-Oriented Programming, a programming paradigm based on the concept of objects.
OOP focuses on creating objects that contain both data and methods to manipulate that data.
Data structures are ways of organizing and storing data in a computer so that it can be accessed and used efficiently.
Examples of data structures include arrays, linked lists, stacks, queues, trees, and graphs.
Q214. Explain LinkedList add function
LinkedList add function adds a new element to the end of the list.
The new element is added by creating a new node and setting its value to the input value.
If the list is empty, the new node becomes the head of the list.
If the list is not empty, traverse the list to find the last node and set its next pointer to the new node.
Q215. Explain different types of data sets
Different types of data sets include numerical, categorical, ordinal, and time series data.
Numerical data sets consist of numbers and can be continuous or discrete (e.g. heights of individuals, temperatures).
Categorical data sets represent categories or groups (e.g. colors, types of cars).
Ordinal data sets have a specific order or ranking (e.g. ratings, levels of education).
Time series data sets involve observations taken at different points in time (e.g. stock prices, weathe...read more
Q216. Explain about sort using python
Sorting in Python can be done using built-in functions like sorted() or sort() method.
Use sorted() function to return a new sorted list without modifying the original list.
Use sort() method to sort the list in-place.
You can specify key function to customize the sorting order.
Example: nums = [3, 1, 4, 1, 5, 9, 2]; sorted_nums = sorted(nums); nums.sort()
Q217. What is sql used for?
SQL is used for managing and manipulating relational databases.
SQL stands for Structured Query Language.
It is used to create, modify, and query databases.
It is used in various industries such as finance, healthcare, and e-commerce.
Examples of SQL-based databases include MySQL, Oracle, and Microsoft SQL Server.
Q218. What is Machine Learning.
Machine learning is a branch of artificial intelligence that involves developing algorithms and models that allow computers to learn from and make predictions or decisions based on data.
Machine learning involves training algorithms to learn patterns and make predictions or decisions without being explicitly programmed.
It uses data to improve performance on a specific task over time.
Examples include recommendation systems, image recognition, and natural language processing.
Typ...read more
Q219. Write some sql queries using group by
SQL queries using GROUP BY
Use GROUP BY to group rows that have the same values in specified columns
Aggregate functions like COUNT, SUM, AVG can be used with GROUP BY
Can use HAVING clause to filter grouped results
Q220. Python program to print hello world
Python program to print hello world
Use the print() function in Python to display 'Hello, World!'
Make sure to include the text within quotes to print it as a string
Q221. Explain the OSI framework
The OSI framework is a conceptual model that defines how network protocols interact and communicate with each other.
The OSI framework stands for Open Systems Interconnection framework.
It consists of seven layers, each with its own specific functions and protocols.
The layers are: Physical, Data Link, Network, Transport, Session, Presentation, and Application.
Each layer provides services to the layer above it and uses services from the layer below it.
For example, the Physical l...read more
Q222. what is array ? what is linkedlist?
An array is a collection of elements of the same data type stored in contiguous memory locations. A linked list is a linear data structure where each element is a separate object with a pointer to the next element.
Arrays can be accessed using index numbers.
Arrays have a fixed size determined at the time of declaration.
Examples of arrays include int[], char[], and string[].
Linked lists can grow or shrink dynamically.
Linked lists consist of nodes that contain data and a pointer...read more
Q223. what is encapsulation?,
Encapsulation is the process of hiding implementation details and exposing only necessary information to the user.
Encapsulation is a fundamental concept in object-oriented programming.
It helps in achieving data abstraction and data hiding.
It allows for better control over the data and prevents unauthorized access.
An example of encapsulation is a class in Java that has private variables and public methods to access those variables.
Q224. What is a constructror?
A constructor is a special method that is used to initialize objects in a class.
Constructors have the same name as the class they belong to.
They are called automatically when an object of the class is created.
Constructors can take parameters to initialize the object's properties.
If a class does not have a constructor, a default constructor is provided by the compiler.
Example: public class Car { public Car(String make, String model) { this.make = make; this.model = model; } }
Q225. State the query to count the files in DB
To count files in DB, use the COUNT function in SQL query.
Use SELECT COUNT(*) FROM table_name to count all files in a table
Use WHERE clause to count specific files based on conditions
Use GROUP BY clause to count files based on categories
Use JOIN clause to count files from multiple tables
Use subquery to count files based on results of another query
Q226. What is OOPs Programming.
OOPs Programming stands for Object-Oriented Programming, a programming paradigm based on the concept of objects.
OOPs focuses on creating objects that contain data and methods to manipulate that data.
Encapsulation, inheritance, and polymorphism are key principles of OOPs.
Examples of OOPs languages include Java, C++, and Python.
Q227. Build logic for Fibonacci series
Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.
Declare variables for first two numbers of the series
Loop through the series and calculate the next number by adding the previous two
Store the result in an array
Return the array
Q228. Difference between cout and print
cout is a C++ standard library function used to output data to the console, while print is a function used in other programming languages like Python and Java.
cout is specific to C++ while print is used in other languages
cout is a standard library function while print may be a built-in function or require an import
cout uses << to output data while print uses parentheses and commas
Example: cout << "Hello World"; vs print("Hello World")
Q229. what is java, explain working
Java is a high-level programming language used for developing applications and software.
Java is platform-independent, meaning it can run on any device with a Java Virtual Machine (JVM).
It is object-oriented, allowing for the creation of reusable code and modular programs.
Java uses a 'write once, run anywhere' approach, making it versatile for different operating systems.
Java applications are compiled into bytecode, which is then interpreted by the JVM at runtime.
Java has a ri...read more
Q230. what is oops concepts
Object-oriented programming concepts that focus on data encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: bundling data and methods that operate on the data into a single unit (class)
Inheritance: ability of a class to inherit properties and behavior from another class
Polymorphism: ability to present the same interface for different data types
Abstraction: hiding the complex implementation details and showing only the necessary features to the outside wor...read more
Q231. What is multithreading
Multithreading is the ability of a CPU to execute multiple threads concurrently.
Multithreading allows for parallel processing and can improve performance.
Threads share the same memory space and can communicate with each other.
Examples of multithreaded applications include web servers and video games.
Multithreading can also lead to synchronization issues and race conditions.
Q232. What are abstract class
Abstract classes are classes that cannot be instantiated and may contain abstract methods.
Abstract classes are declared using the 'abstract' keyword.
They can have abstract methods (methods without a body) that must be implemented by subclasses.
Abstract classes can also have concrete methods (methods with a body) that can be inherited by subclasses.
An abstract class can have constructors and instance variables.
Example: abstract class Shape { abstract void draw(); }
Q233. What is interfaces in java
Interfaces in Java are like blueprints for classes, defining methods that must be implemented by classes that implement the interface.
Interfaces in Java are used to achieve abstraction and multiple inheritance.
Interfaces can have abstract methods, default methods, and static methods.
Classes can implement multiple interfaces but can only extend one class.
Example: interface Animal { void eat(); }
Example: class Dog implements Animal { public void eat() { System.out.println("Dog ...read more
Q234. linkedlist to get middle of element
To get the middle element of a linked list, use two pointers - one slow and one fast.
Initialize two pointers - slow and fast
Move slow pointer one step at a time and fast pointer two steps at a time
When fast pointer reaches the end, slow pointer will be at the middle element
Q235. Explain OOP concepts with example
OOP concepts include encapsulation, inheritance, and polymorphism.
Encapsulation: bundling data and methods that operate on that data within a single unit, e.g. a class
Inheritance: creating new classes from existing ones, inheriting their properties and methods
Polymorphism: using a single interface to represent multiple types, e.g. method overloading or overriding
Example: A class 'Animal' with properties 'name' and 'age', and methods 'eat' and 'sleep'. A subclass 'Dog' inherit...read more
Q236. Internal implementation of springboot
Spring Boot provides a default internal implementation for various features such as auto-configuration, embedded server, etc.
Spring Boot uses auto-configuration to automatically configure various components based on the dependencies present in the classpath.
The embedded server provided by Spring Boot is Tomcat by default, but can be changed to Jetty or Undertow.
Spring Boot also provides a default implementation for various other features such as logging, security, data access...read more
Q237. rxjs operators in angular
RxJS operators are used in Angular to handle asynchronous data streams.
Operators are functions that manipulate the data streams
They can be used for filtering, mapping, reducing, and more
Common operators include map, filter, switchMap, and mergeMap
Q238. Difference between stack and queue
Stack is Last In First Out (LIFO) data structure, while Queue is First In First Out (FIFO) data structure.
Stack is like a stack of plates - last plate added is the first one to be removed.
Queue is like a line at a grocery store - first person in line is the first one to be served.
Stack operations: push (add), pop (remove), peek (view top element).
Queue operations: enqueue (add), dequeue (remove), peek (view front element).
Q239. 1. Reverse a array.
Reverse an array of strings.
Use a loop to iterate through half of the array.
Swap the elements at the corresponding positions from both ends of the array.
Continue swapping until the middle of the array is reached.
Q240. Oops concept in Java
Oops concept in Java refers to Object-Oriented Programming concepts such as inheritance, polymorphism, encapsulation, and abstraction.
Inheritance allows a class to inherit properties and methods from another class.
Polymorphism allows objects of different classes to be treated as if they are of the same class.
Encapsulation hides the implementation details of a class from other classes.
Abstraction allows the creation of abstract classes and interfaces that can be implemented by...read more
Q241. Different between c and java
C is a procedural language while Java is an object-oriented language.
C is compiled while Java is interpreted
Java has automatic garbage collection while C requires manual memory management
Java has platform independence while C is platform dependent
Java has built-in exception handling while C does not
Java has a larger standard library than C
Q242. write a program on factorial
A program to calculate the factorial of a given number.
Use a loop to iterate from 1 to the given number.
Multiply each number with the previous result to calculate the factorial.
Handle the case when the given number is 0 or 1 separately.
Q243. Difference between list and tuple
List is mutable, tuple is immutable in Python.
List can be modified after creation, tuple cannot.
List uses square brackets [], tuple uses parentheses ().
List is used for collections of items that may change, tuple for fixed collections.
Q244. Write a code to get palindrome
Code to check if a given string is a palindrome
Create a function that takes a string as input
Reverse the string and compare it with the original string
Return true if they are the same, false otherwise
Q245. What's your intrest on coading
I have a strong interest in coding as it allows me to solve complex problems and create innovative solutions.
I enjoy the logical thinking and problem-solving aspect of coding
I find satisfaction in seeing my code come to life and work efficiently
Coding allows me to continuously learn and improve my skills
I have experience in languages such as Java, Python, and C++
Q246. explain different directives
Directives are instructions given to the compiler to perform specific tasks during compilation.
There are different types of directives such as include, define, pragma, and ifdef
Include directive is used to include header files in the program
Define directive is used to define constants or macros
Pragma directive is used to provide additional information to the compiler
Ifdef directive is used to check if a particular macro is defined or not
Q247. core constructs of angular
Angular has core constructs like components, modules, services, directives, pipes, and templates.
Components are the building blocks of Angular applications.
Modules are used to organize the application into cohesive blocks of functionality.
Services are used to share data or functionality across components.
Directives are used to add behavior to an existing DOM element or create a new one.
Pipes are used to transform data before displaying it in the view.
Templates are used to def...read more
Q248. auth guards in angular
Auth guards in Angular are used to protect routes from unauthorized access.
Auth guards are used to check if a user is authenticated before allowing access to a route.
They can also be used to check if a user has certain permissions before allowing access.
Angular provides built-in auth guards like CanActivate, CanActivateChild, CanLoad, and CanDeactivate.
Custom auth guards can also be created by implementing the CanActivate interface.
Example: canActivate: [AuthGuard] in the rou...read more
Q249. wxplain different types of sorting
Sorting is the process of arranging data in a particular order.
Bubble Sort: repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order.
Merge Sort: divides the unsorted list into n sublists, each containing one element, then repeatedly merges sublists to produce new sorted sublists until there is only one sublist remaining.
Quick Sort: picks an element as pivot and partitions the given array around the picked pivot.
Insertion Sor...read more
Q250. What is oops?
OOPs stands for Object-Oriented Programming. It is a programming paradigm that uses objects to design applications.
OOPs focuses on creating reusable code and organizing it into objects.
It allows for encapsulation, inheritance, and polymorphism.
Examples of OOPs languages include Java, C++, and Python.
Q251. Explain time complexity
Time complexity refers to the amount of time taken by an algorithm to run as the input size increases.
It measures the efficiency of an algorithm.
It is usually expressed in Big O notation.
An algorithm with a lower time complexity is more efficient than one with a higher time complexity.
Examples of time complexities include O(1), O(n), O(n^2), O(log n), etc.
Q252. Explain web api concepts
Web API concepts involve creating interfaces for communication between different software systems over the internet.
Web API stands for Application Programming Interface, which allows different software systems to communicate with each other over the internet.
Web APIs use HTTP protocols to define a set of rules for communication between systems.
Web APIs can be used to access data, services, or functionality from a remote server.
Examples of Web APIs include RESTful APIs, SOAP A...read more
Q253. Q5- what is normalisation
Normalisation is the process of organizing data in a database to reduce redundancy and dependency.
It involves breaking down a table into smaller tables and defining relationships between them.
The goal is to eliminate data redundancy and ensure data consistency.
Normalization is achieved through a series of normal forms, such as first normal form (1NF), second normal form (2NF), and so on.
For example, a customer table may be normalized by separating the customer's name, address...read more
Q254. Type of joining in SQL
There are two types of joining in SQL: Inner Join and Outer Join.
Inner Join returns only the matching rows from both tables.
Outer Join returns all the rows from both tables, with NULL values for non-matching rows.
Outer Join has three sub-types: Left Join, Right Join, and Full Outer Join.
Q255. Bubble sort algorithm
Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
Bubble sort has a time complexity of O(n^2)
It is not efficient for large datasets
It works by repeatedly swapping adjacent elements if they are in the wrong order
Example: [5, 3, 8, 4, 2] -> [3, 5, 4, 2, 8] -> [3, 4, 5, 2, 8] -> [3, 4, 2, 5, 8] -> [3, 2, 4, 5, 8] -> [2, 3, 4, 5, 8]
Q256. What is C language
C language is a high-level programming language used for system programming, embedded systems, and software development.
C language was developed by Dennis Ritchie at Bell Labs in the early 1970s.
It is a procedural programming language with a rich set of built-in functions and operators.
C is widely used for developing operating systems, compilers, and applications where performance is crucial.
Example: printf("Hello, World!");
Q257. Final and static keyword difference
Final keyword is used to restrict the modification of a variable, while static keyword is used to declare a variable as class-level.
Final keyword is used to make a variable constant and cannot be reassigned.
Static keyword is used to declare a variable that belongs to the class itself, not to instances of the class.
Final keyword can be applied to variables, methods, and classes.
Static keyword can be applied to variables, methods, and classes.
Q258. Current process used in business.
The current process used in business involves analyzing data, identifying areas for improvement, implementing changes, and monitoring results.
Data analysis to identify trends and patterns
Continuous improvement through feedback and monitoring
Implementation of changes based on analysis
Regular monitoring of results to track progress
Q259. what is constructor?
A constructor is a special method that is used to initialize objects in a class.
Constructors have the same name as the class they belong to.
They are called automatically when an object is created.
They can be used to set default values for object properties.
Constructors can be overloaded to accept different parameters.
Example: public class Car { public Car() { // constructor code here } }
Q260. Different Storages available in AWS
AWS offers various storage options including EBS, S3, Glacier, EFS, and Storage Gateway.
EBS - Elastic Block Store for persistent block storage
S3 - Simple Storage Service for object storage
Glacier - Low-cost archival storage
EFS - Elastic File System for scalable file storage
Storage Gateway - Hybrid storage service for on-premises access to AWS cloud storage
Q261. Difference between AWS and GCP
AWS and GCP are both cloud computing platforms, but differ in terms of services offered, pricing models, and global infrastructure.
AWS has a larger market share and offers a wider range of services compared to GCP.
GCP is known for its innovative solutions and strong focus on machine learning and artificial intelligence.
AWS has a pay-as-you-go pricing model, while GCP offers sustained use discounts.
AWS has a larger global infrastructure with more data centers worldwide compare...read more
Q262. what is c and java
C and Java are both programming languages commonly used for software development.
C is a procedural programming language developed by Dennis Ritchie in 1972.
Java is an object-oriented programming language developed by Sun Microsystems in 1995.
C is often used for system programming and low-level programming.
Java is platform-independent and commonly used for web development.
C requires manual memory management, while Java has automatic garbage collection.
Q263. what is java and c
Java and C are both popular programming languages used for developing software applications.
Java is a high-level, object-oriented programming language known for its platform independence.
C is a procedural programming language known for its efficiency and flexibility.
Java uses a virtual machine to run code, while C directly compiles to machine code.
Java is commonly used for web development, mobile apps, and enterprise applications.
C is often used for system programming, embedd...read more
Q264. what is python lang
Python is a high-level programming language known for its simplicity and readability.
Python is interpreted, not compiled
It supports multiple programming paradigms like object-oriented, imperative, and functional programming
Python has a large standard library and a thriving community for support and resources
Q265. What is Unit testing
Unit testing is a software testing method where individual units or components of a software are tested in isolation.
Unit testing helps in identifying bugs early in the development process.
It ensures that each unit of the software performs as expected.
Unit tests are typically written by the developers themselves.
Common unit testing frameworks include JUnit for Java and NUnit for .NET.
Mocking frameworks like Mockito are often used in unit testing to simulate dependencies.
Q266. Explain OOPS concepts in Java
OOPS concepts in Java refer to the principles of Object-Oriented Programming such as Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability of a method to do different things based on the object it is acting upon.
Abstraction: Hiding the implementation details and showing only the necessa...read more
Q267. what is xml and html
XML and HTML are markup languages used for structuring and presenting content on the web.
XML stands for Extensible Markup Language and is used for storing and transporting data.
HTML stands for HyperText Markup Language and is used for creating web pages.
XML focuses on the structure of data, while HTML focuses on the presentation of data.
XML uses tags to define data elements, attributes, and hierarchies.
HTML uses tags to define the structure of a web page, such as headings, pa...read more
Q268. What is oop concept
OOP (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
Key principles include encapsulation, inheritance, and polymorphism
Encapsulation allows data to be hidden within an object, only accessible through methods
Inheritance allows objects to inherit properties and behaviors from parent classes
Polymorphism allows objects to be treat...read more
Q269. Tools used in project
Various tools were used in the project including JIRA for project management, Git for version control, and Jenkins for continuous integration.
JIRA for project management
Git for version control
Jenkins for continuous integration
Q270. Explain conscept in oops
Concepts in OOPs refer to the fundamental principles and ideas that govern object-oriented programming.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Allowing a class to inherit properties and behavior from another class.
Polymorphism: The ability for objects of different classes to respond to the same message in different ways.
Abstraction: Hiding the complex implementation details and showing only the necessary featur...read more
Q271. Python version compatibility
Python versions are backward compatible, meaning code written in older versions should work in newer versions.
Python versions are backward compatible, meaning code written in older versions should work in newer versions.
It is recommended to use the latest stable version of Python for development.
Some libraries and frameworks may not be compatible with older versions of Python.
For example, Python 2.x is no longer supported, so it is recommended to use Python 3.x for new projec...read more
Q272. Name 10 tata products
Tata Group is a multinational conglomerate with a wide range of products and services.
Tata Motors - automotive
Tata Consultancy Services (TCS) - IT services
Tata Steel - steel products
Tata Power - power generation
Tata Tea - beverages
Tata Salt - salt products
Tata Communications - telecommunications
Tata Chemicals - chemicals and fertilizers
Tata Sky - DTH services
Tata Housing - real estate
Q273. Oops concepts in java
Oops concepts in Java refer to Object-Oriented Programming principles like Inheritance, Polymorphism, Encapsulation, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Polymorphism: Ability of an object to take on many forms.
Encapsulation: Wrapping data and methods into a single unit.
Abstraction: Hiding the implementation details and showing only the necessary features.
Q274. ML project example
Developed a machine learning model to predict customer churn in a telecom company.
Collected and cleaned customer data including usage patterns and demographics.
Used classification algorithms like Random Forest and Logistic Regression to train the model.
Evaluated model performance using metrics like accuracy, precision, and recall.
Implemented the model in a production environment to monitor and predict customer churn.
Q275. Programming languages known
Proficient in Java, C++, Python, and SQL
Java
C++
Python
SQL
Q276. Find elements and Xpath
To find elements and Xpath, use developer tools in browser or automation tools like Selenium.
Use browser developer tools to inspect elements and generate Xpath
In automation testing, use tools like Selenium to locate elements using Xpath
Xpath is a syntax used to navigate through elements in XML or HTML documents
Q277. Different between get and set
Get is used to retrieve a value, while set is used to assign a value.
Get is used to access the value of a variable or property, while set is used to change or update the value.
Example: getAge() vs setAge(30)
Get is often used in getter methods to return the value of a private variable, while set is used in setter methods to update the value of a private variable.
Q278. Explain about structures in c
Structures in C are user-defined data types that allow you to group different variables under a single name.
Structures are used to represent a record.
They can contain variables of different data types.
You can access the members of a structure using the dot operator.
Structures are defined using the 'struct' keyword.
Q279. Steps in software development
Software development involves several steps including planning, designing, coding, testing, and deployment.
Planning: Define project goals, requirements, and timelines.
Designing: Create a blueprint of the software architecture and user interface.
Coding: Write the actual code based on the design.
Testing: Verify that the software functions correctly and meets requirements.
Deployment: Release the software to users and maintain it as needed.
Q280. Define polymorphism
Polymorphism is the ability of an object to take on many forms.
Polymorphism allows objects of different classes to be treated as if they are objects of the same class.
It is achieved through method overriding and method overloading.
Example: A shape class can have multiple subclasses like circle, square, triangle, etc. and all of them can be treated as shapes.
Polymorphism makes code more flexible and reusable.
Q281. vraiables in python
Variables in Python are used to store data values and can be assigned different types of data.
Variables in Python do not need to be declared with a specific data type.
Variables are assigned using the = operator.
Variables can be reassigned to different values throughout the program.
Variable names must start with a letter or underscore, followed by letters, numbers, or underscores.
Q282. Features of JAVA
Java is a popular programming language known for its platform independence, object-oriented features, and robustness.
Platform independence - Java code can run on any platform with Java Virtual Machine (JVM)
Object-oriented - Java supports classes, objects, inheritance, and polymorphism
Robust - Java has strong memory management, exception handling, and type checking
Security - Java has built-in security features like sandbox environment and encryption
Performance - Java is known ...read more
Q283. 4 pillars of OOPS
Encapsulation, Inheritance, Polymorphism, Abstraction
Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: Class with private data members and public methods.
Inheritance: Ability of a class to inherit properties and behavior from another class. Example: Subclass inheriting from a superclass.
Polymorphism: Ability to present the same interface for different data types. Example: Method overloading or overriding.
Abstraction: Hiding the com...read more
Q284. Logic for factorial
Factorial is the product of all positive integers up to a given number.
Factorial of 0 is 1.
Factorial of a negative number is not defined.
Factorial can be calculated recursively or iteratively.
Example: 5! = 5 * 4 * 3 * 2 * 1 = 120.
Q285. Assert and verify
Assert and verify are used in software testing to validate expected outcomes and actual results.
Assert is used to validate expected outcomes in the code
Verify is used to validate actual results during testing
Assert throws an error if the condition is false
Verify does not throw an error but logs a message if the condition is false
Q286. Explain oops concep6
Object-oriented programming paradigm that focuses on objects and classes for code organization and reusability.
Encapsulation: bundling data and methods that operate on the data within a single unit
Inheritance: ability of a class to inherit properties and behavior from another class
Polymorphism: ability to present the same interface for different data types
Abstraction: hiding the complex implementation details and showing only the necessary features
More about working at TCS
Top HR Questions asked in Ciklum
Interview Process at Ciklum
Reviews
Interviews
Salaries
Users/Month