Add office photos
Engaged Employer

TCS

3.7
based on 88.9k Reviews
Video summary
Filter interviews by

100+ NeoSales Interview Questions and Answers

Updated 20 Jan 2025
Popular Designations

Q1. You have done a lot of courses in coursera and NPTEL. What is the use of it?

Ans.

Courses in Coursera and NPTEL provide knowledge and skills in various fields.

  • Courses in Coursera and NPTEL offer a wide range of topics to learn from.

  • They provide access to high-quality education from top universities and institutions.

  • The courses help in developing new skills and enhancing existing ones.

  • They can be useful for career advancement and personal growth.

  • For example, a course in data science can help in analyzing and interpreting data for business decisions.

  • Similarl...read more

View 2 more answers

Q2. Is it a software project? Which software or language did you use?

Ans.

Yes, it is a software project. We used multiple languages including Python, Java, and C++.

  • The project involved developing a web application using Python and Django framework.

  • We also used Java for developing the backend of the application.

  • C++ was used for developing some of the algorithms used in the project.

  • Other technologies used include HTML, CSS, and JavaScript.

  • We followed agile methodology for development and used Git for version control.

View 1 answer

Q3. You have done a course in Neural Networks right? What are neural networks?

Ans.

Neural networks are a type of machine learning algorithm inspired by the structure and function of the human brain.

  • Neural networks consist of layers of interconnected nodes that process information.

  • They are trained on a dataset to learn patterns and make predictions.

  • They can be used for tasks such as image recognition, natural language processing, and predictive analytics.

  • Examples include convolutional neural networks for image classification and recurrent neural networks for...read more

View 1 answer

Q4. Why should you shifting to software side? (if you are from NON IT background )

Ans.

Shifting to software side can open up new career opportunities and provide job security in a growing industry.

  • Software industry is growing rapidly and has a high demand for skilled professionals

  • Learning software skills can enhance your resume and make you more marketable

  • Software jobs often offer higher salaries and better job security compared to other industries

  • There are many resources available for learning software skills, such as online courses and coding bootcamps

  • Example...read more

Add your answer
Discover NeoSales interview dos and don'ts from real experiences

Q5. If an application designed by you does not runs on PC, is it your fault or PCs fault?

Ans.

It could be either my fault or the PC's fault depending on the circumstances.

  • If the application was designed to run on a specific operating system or hardware configuration and the PC does not meet those requirements, it would be the PC's fault.

  • If the application has bugs or errors in the code, it would be my fault.

  • If the PC has outdated software or hardware that cannot support the application, it would be the PC's fault.

  • If the application requires certain settings or configu...read more

Add your answer

Q6. In the given series: 0,0,2,1,4,2,6,3,8,4,10,5,12,6,14,7,16,8 Write a program to find the nth term in this series.

Ans.

Program to find the nth term in a given series.

  • The series follows a pattern of even and odd numbers multiplied by the position of the term.

  • Use a loop to generate the series and return the nth term.

  • For n=5, the output should be 4.

View 1 answer
Are these interview questions helpful?

Q7. What is Abstraction ? Explain with example

Ans.

Abstraction is the process of hiding complex details and showing only essential features.

  • Abstraction helps in reducing complexity and increasing efficiency.

  • It allows us to focus on the important aspects of an object or system.

  • For example, a car can be abstracted as a mode of transportation with certain features like speed, fuel efficiency, and safety.

  • Abstraction can be achieved through encapsulation and inheritance in object-oriented programming.

Add your answer

Q8. What is your favorite programming language, and which languages are you comfortable using?

Ans.

My favorite programming language is Python, and I am also comfortable using Java, C++, and JavaScript.

  • Favorite language: Python

  • Comfortable using: Java, C++, JavaScript

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

Q9. Write a function that takes an array called scores and 2 pointer parameters min and max and determines the minimum and maximum values and returns them to the calling function.

Ans.

A function to find minimum and maximum values in an array using pointer parameters.

  • Declare two variables to hold minimum and maximum values

  • Loop through the array and compare each element with the current minimum and maximum values

  • Update the minimum and maximum values accordingly

  • Return the minimum and maximum values

View 1 answer

Q10. In a string given reduce the size of the string using mathematical logic.

Ans.

Use mathematical logic to reduce the size of a given string.

  • Consider using compression algorithms like Huffman coding or Lempel-Ziv-Welch.

  • Look for patterns or repetitions in the string that can be represented more efficiently.

  • Consider using mathematical formulas or equations to represent the string.

Add your answer

Q11. Describe cloud computing in detail and what are its models?

Ans.

Cloud computing is the delivery of computing services over the internet.

  • Cloud computing allows users to access data and applications from anywhere with an internet connection.

  • There are three main models of cloud computing: Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS).

  • IaaS provides virtualized computing resources, such as servers and storage, over the internet.

  • PaaS provides a platform for developers to build and deploy appl...read more

Add your answer

Q12. What is the difference between lists and tuples?

Ans.

Lists are mutable while tuples are immutable in Python.

  • Lists use square brackets [] while tuples use parentheses ().

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

  • Lists are used for collections of data that need to be modified while tuples are used for collections of data that should not be modified.

  • Example of a list: my_list = [1, 2, 3]

  • Example of a tuple: my_tuple = (1, 2, 3)

View 1 answer

Q13. What is Sdlc? And difference between waterfall and agile

Ans.

SDLC stands for Software Development Life Cycle. Waterfall and Agile are two different approaches to SDLC.

  • SDLC is a process followed by software development teams to design, develop, and test high-quality software.

  • Waterfall is a linear approach where each phase of the SDLC must be completed before moving on to the next phase.

  • Agile is an iterative approach where the development team works in short sprints to deliver working software quickly and continuously improve it.

  • Waterfal...read more

Add your answer

Q14. What are the concepts of Object-Oriented Programming (OOP)?

Ans.

OOP is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.

  • Encapsulation: Objects can encapsulate data and behavior within a single unit.

  • Inheritance: Objects can inherit attributes and methods from parent classes.

  • Polymorphism: Objects can take on multiple forms and behave differently based on their specific type.

Add your answer

Q15. What are some fundamental questions to assess your communication skills?

Ans.

Some fundamental questions to assess communication skills include asking about past experiences, conflict resolution, active listening, and clarity in conveying information.

  • Can you provide an example of a time when you effectively communicated with a team to achieve a common goal?

  • How do you handle conflicts or disagreements in a professional setting?

  • Describe a situation where you had to actively listen to someone's concerns and how you responded.

  • How do you ensure that your me...read more

Add your answer

Q16. Write a code to capitalize the first and last letter of each word into uppercase.

Ans.

Code to capitalize first and last letter of each word into uppercase.

  • Split the string into words using split() method

  • Loop through each word and capitalize the first and last letter using slice() and toUpperCase() methods

  • Join the modified words back into a string using join() method

View 1 answer

Q17. What is public static void main in java?

Ans.

public static void main is the entry point of a Java program.

  • It is a method that is called when the program starts.

  • It must be declared as public, static, and void.

  • It takes an array of strings as an argument.

  • It is where the program's execution begins.

  • Example: public static void main(String[] args) { }

View 1 answer

Q18. How will you solve a hardware issue in speakers of a laptop?

Ans.

To solve a hardware issue in speakers of a laptop, I would first check the sound settings and update the drivers. If that doesn't work, I would open up the laptop and check the connections and replace the speakers if necessary.

  • Check sound settings and update drivers

  • Open up laptop and check connections

  • Replace speakers if necessary

Add your answer

Q19. If a laptop doesnt turn on, what are the primary measures which will be done by you?

Ans.

I would check the power source, battery, and hardware components.

  • Check if the laptop is properly plugged in and the power source is working.

  • Remove the battery and try turning on the laptop with just the power cord.

  • Check if any hardware components are loose or damaged, such as the RAM or hard drive.

  • Try resetting the laptop by holding down the power button for 10-15 seconds.

  • If none of these steps work, seek professional help or contact the manufacturer for support.

Add your answer

Q20. What is an optimized program to generate prime numbers?

Ans.

The Sieve of Eratosthenes is an optimized algorithm to generate prime numbers.

  • Use the Sieve of Eratosthenes algorithm to efficiently generate prime numbers.

  • Start by creating a list of numbers from 2 to n, where n is the maximum number you want to check for primes.

  • Iterate through the list and mark multiples of each number as non-prime.

  • The remaining unmarked numbers are prime.

  • Example: For n=10, the prime numbers generated are 2, 3, 5, 7.

Add your answer

Q21. What will be the sorting algorithm for find the gist of Review on e commerce website

Ans.

The sorting algorithm for finding the gist of reviews on an e-commerce website can be based on sentiment analysis and keyword extraction.

  • Use sentiment analysis to categorize reviews as positive, negative, or neutral.

  • Extract keywords from reviews to identify common themes or topics.

  • Sort reviews based on relevance to the product or service being reviewed.

  • Consider using algorithms like TF-IDF or LDA for topic modeling.

Add your answer

Q22. Tell me some products of TATA which people use it most frequently

Ans.

Some popular products of TATA include Tata Salt, Tata Tea, Tata Motors vehicles, Tata Steel, and Tata Consultancy Services.

  • Tata Salt

  • Tata Tea

  • Tata Motors vehicles

  • Tata Steel

  • Tata Consultancy Services

Add your answer

Q23. Explain the project you made and how would you sell it in market

Ans.

I created a mobile app that helps users track their daily water intake and reminds them to stay hydrated.

  • The app allows users to set daily water intake goals based on their weight and activity level.

  • Users can log their water consumption throughout the day and receive notifications to drink more water if they are falling behind.

  • The app also provides visual representations of their daily water intake to help users stay motivated.

  • To sell the app in the market, I would highlight ...read more

Add your answer

Q24. how to delete a file in python?

Ans.

Use the os module to delete a file in Python.

  • Import the os module

  • Use os.remove() function to delete the file

  • Provide the file path as argument to os.remove() function

Add your answer

Q25. 1. what is open loop and close loop system. 2. Air conditioning system is which type of system. 3.what is object. 4.If data member is in class is protected can we acess to derived class.

Ans.

Answers to technical questions related to open loop and closed loop systems, air conditioning, object, and data member access in derived classes.

  • Open loop system is a system where the output is not controlled by the input, while closed loop system is a system where the output is controlled by the input.

  • Air conditioning system is a closed loop system as it maintains a constant temperature by adjusting the input based on the output.

  • An object is an instance of a class that has i...read more

Add your answer

Q26. what is an array and pointers?

Ans.

An array is a collection of similar data types stored in contiguous memory locations. A pointer is a variable that stores the memory address of another variable.

  • Arrays are accessed using index numbers, while pointers are accessed using the * and & operators.

  • Arrays can be passed to functions as arguments, while pointers can be used to pass the address of a variable to a function.

  • Arrays can be initialized with values at the time of declaration, while pointers need to be assigne...read more

View 1 answer

Q27. What is the use of static keyword

Ans.

The static keyword in programming is used to declare variables, methods, or classes that belong to the class itself rather than instances of the class.

  • Static variables are shared among all instances of a class and can be accessed without creating an object of the class.

  • Static methods can be called without creating an instance of the class.

  • Static classes cannot be instantiated and are used to group related methods and variables together.

Add your answer

Q28. Write a query IN SQL which prints salary of all employees which have there starting name from A

Ans.

Query to print the salary of employees whose names start with 'A'.

  • Use the SELECT statement to retrieve the 'salary' column from the 'employees' table.

  • Use the WHERE clause with the LIKE operator to filter employees whose names start with 'A'.

  • The query would look like: SELECT salary FROM employees WHERE name LIKE 'A%';

Add your answer

Q29. language of preference? ( c, c++, java, python)

Ans.

I am proficient in C++, Java, and Python, but my language of preference is Python.

  • Proficient in C++, Java, and Python

  • Prefer Python for its readability and versatility

  • Examples: C++ for performance-critical tasks, Java for Android development, Python for data analysis

Add your answer

Q30. What is the difference between Artificial intelligence and machine learning

Ans.

Artificial intelligence is the broader concept of machines being able to carry out tasks in a way that we would consider 'smart', while machine learning is a subset of AI that allows machines to learn from data without being explicitly programmed.

  • AI is the broader concept of machines simulating human intelligence, while machine learning is a subset of AI that focuses on the development of computer programs that can access data and use it to learn for themselves.

  • AI can be appl...read more

Add your answer

Q31. write a program using runtime polymorphism, find are of square, circle and rectangle

Ans.

Program using runtime polymorphism to find area of square, circle, and rectangle.

  • Create a base class 'Shape' with a virtual function 'calculateArea'.

  • Derive classes 'Square', 'Circle', and 'Rectangle' from 'Shape' class.

  • Override 'calculateArea' function in each derived class to calculate area of respective shape.

Add your answer

Q32. What is polymorphism?

Ans.

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

  • It 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 shape class can have different subclasses like circle, square, and triangle, each with their own implementation of the draw method.

  • Example: A method can take in different types of objects as parameters, as long as they share a common interface or ...read more

View 1 answer

Q33. .What is Encapsulation?

Ans.

Encapsulation is the process of hiding implementation details and exposing only necessary information.

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

  • It helps in achieving data abstraction and information hiding.

  • It allows for better control over the data and prevents unauthorized access.

  • For example, a class can have private variables and public methods to access them.

  • This way, the internal details of the class are hidden from the outside world.

View 1 answer

Q34. What was your Btech project?

Ans.

I am an AI language model and do not have a Btech project.

    Add your answer

    Q35. What is a Dictionary?

    Ans.

    A dictionary is a collection of words and their meanings.

    • It is used to look up the meaning of a word.

    • It can also include synonyms, antonyms, and pronunciation guides.

    • Examples include Merriam-Webster, Oxford English Dictionary, and Urban Dictionary.

    View 1 answer

    Q36. Can an array store different elements?

    Ans.

    Yes, an array can store different elements of different data types.

    • Arrays can store elements of different data types such as strings, numbers, and booleans.

    • For example, an array can store ['apple', 5, true, 'banana']

    • However, it is not recommended to mix data types in an array as it can lead to confusion and errors.

    Add your answer

    Q37. Can foreign keys store null values?

    Ans.

    Yes, foreign keys can store null values.

    • A foreign key can be set to NULL if the corresponding record in the parent table is deleted or updated.

    • This can be useful in cases where the relationship between the tables is optional.

    • However, it is important to ensure that the foreign key constraint is properly defined to avoid data inconsistencies.

    Add your answer

    Q38. What is method overloading and method overriding?

    Ans.

    Method overloading is when multiple methods have the same name but different parameters. Method overriding is when a subclass provides a specific implementation of a method that is already provided by its superclass.

    • Method overloading involves creating multiple methods in the same class with the same name but different parameters.

    • Method overriding occurs in a subclass that provides a specific implementation of a method that is already provided by its superclass.

    • Example of met...read more

    Add your answer

    Q39. How will you provide solution for the customer?

    Ans.

    We will provide customized solutions based on the customer's specific needs and requirements.

    • Listen carefully to the customer's concerns and requirements

    • Analyze the problem and identify the root cause

    • Provide a range of possible solutions and discuss the pros and cons of each

    • Recommend the best solution based on the customer's needs and budget

    • Implement the solution and provide ongoing support and maintenance

    Add your answer

    Q40. Can you show me your Identity card?

    Ans.

    I do not have my Identity card with me at the moment.

    • I do not have my ID card on me right now.

    • I can provide other forms of identification if needed.

    • I can provide my driver's license or passport as alternative IDs.

    View 1 answer

    Q41. Differentiate between tuple and dictionary What is a list

    Ans.

    A list is a collection of ordered and changeable elements of any data type in Python.

    • Lists are created using square brackets []

    • Elements in a list are separated by commas

    • Lists can contain duplicates and elements of different data types

    Add your answer

    Q42. What is range and xrange difference between them?

    Ans.

    range and xrange are used to generate a sequence of numbers, but xrange is deprecated in Python 3.

    • range generates a list of numbers from start to end (exclusive)

    • xrange generates a sequence of numbers on-the-fly, saving memory

    • xrange is deprecated in Python 3, range is used instead

    Add your answer

    Q43. What is your take on ai

    Ans.

    AI has the potential to revolutionize industries by automating tasks, improving efficiency, and enabling new capabilities.

    • AI can automate repetitive tasks, freeing up time for more complex work.

    • AI can analyze large amounts of data quickly and accurately, leading to better decision-making.

    • AI can enable new capabilities such as natural language processing and image recognition.

    • AI has the potential to transform industries like healthcare, finance, and transportation.

    Add your answer

    Q44. what is monkey patching?

    Ans.

    Monkey patching is a technique in programming where existing code is changed or extended at runtime.

    • Monkey patching involves modifying or adding new methods to existing classes or modules.

    • It is often used in dynamic languages like Python or Ruby to alter behavior without modifying the original source code.

    • Example: Adding a new method to a built-in class in Python to customize its functionality.

    Add your answer

    Q45. what is GIL in python?

    Ans.

    GIL stands for Global Interpreter Lock in Python, which is a mutex that protects access to Python objects.

    • GIL is a mechanism used in CPython to ensure that only one thread executes Python bytecode at a time.

    • It can limit the performance of multi-threaded Python programs, as only one thread can execute Python code at a time.

    • GIL is specific to CPython and does not apply to other Python implementations like Jython or IronPython.

    Add your answer

    Q46. what is pip in python?

    Ans.

    pip is a package management system used to install and manage software packages written in Python.

    • pip is included by default with Python installations since Python 3.4.

    • It allows you to easily install, uninstall, and manage Python packages.

    • You can use pip to install packages from the Python Package Index (PyPI) or from other sources.

    • Example: 'pip install numpy' installs the numpy package.

    Add your answer

    Q47. Write program to sort the array in descending order with the help of one variable

    Ans.

    Sort array in descending order using one variable

    • Initialize a variable to store the current maximum value

    • Iterate through the array and find the maximum value

    • Swap the maximum value with the current element in the array

    Add your answer

    Q48. What is SDLC?

    Ans.

    SDLC stands for Software Development Life Cycle. It is a process used to design, develop, and test software applications.

    • SDLC is a structured approach to software development.

    • It consists of several phases including requirements gathering, design, coding, testing, and maintenance.

    • Each phase has specific activities and deliverables.

    • SDLC helps ensure that software is developed efficiently and meets the needs of users.

    • Examples of SDLC models include Waterfall, Agile, and DevOps.

    View 1 answer

    Q49. What is OS?

    Ans.

    OS stands for Operating System, which is a software that manages computer hardware and software resources.

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

    • It manages memory, processes, and input/output devices.

    • Examples of OS include Windows, macOS, Linux, and Android.

    • OS determines the type of software that can be run on a computer.

    • It provides security features to protect the system from malware and unauthorized access.

    View 1 answer

    Q50. what is the difference between DDL DML?

    Ans.

    DDL stands for Data Definition Language and is used to define the structure of database objects. DML stands for Data Manipulation Language and is used to manipulate data within the database.

    • DDL is used to create, modify, and delete database objects such as tables, indexes, and views.

    • DML is used to insert, update, delete, and retrieve data from database tables.

    • Examples of DDL statements include CREATE TABLE, ALTER TABLE, and DROP TABLE.

    • Examples of DML statements include INSERT...read more

    Add your answer

    Q51. explain diff b/w osi/iso and tcp/ip model

    Ans.

    OSI/ISO and TCP/IP models are both networking models, but differ in their layer structure and protocols used.

    • OSI/ISO has 7 layers while TCP/IP has 4 layers

    • OSI/ISO is a theoretical model while TCP/IP is a practical model

    • OSI/ISO uses protocols such as X.25 and ISDN while TCP/IP uses protocols such as HTTP and FTP

    • OSI/ISO is more complex and difficult to implement than TCP/IP

    View 1 answer

    Q52. What is IOT?

    Ans.

    IOT stands for Internet of Things. It refers to the network of physical devices, vehicles, home appliances, and other items embedded with sensors, software, and connectivity.

    • IOT enables devices to communicate with each other and with humans over the internet.

    • It allows for remote monitoring and control of devices and systems.

    • Examples include smart homes, wearable technology, and industrial automation.

    • IOT has the potential to improve efficiency, reduce costs, and enhance safety...read more

    Add your answer

    Q53. What is cloud computing?

    Ans.

    Cloud computing is the delivery of computing services over the internet.

    • Cloud computing allows users to access data and applications from anywhere with an internet connection.

    • It eliminates the need for physical servers and hardware, reducing costs and increasing scalability.

    • Examples include Amazon Web Services, Microsoft Azure, and Google Cloud Platform.

    Add your answer

    Q54. Features of Django Explain your final year project What is meta class What is transaction

    Ans.

    Django is a high-level Python web framework known for its simplicity and flexibility.

    • Django is known for its built-in features like authentication, URL routing, template engine, and ORM.

    • Final year project likely involved building a web application using Django.

    • Meta class in Django is used to define custom behavior for models, forms, and views.

    • Transactions in Django are used to ensure the atomicity of database operations.

    Add your answer

    Q55. What is singleton class

    Ans.

    A singleton class is a class that can only have one instance created at a time.

    • Singleton classes are often used for logging, caching, database connections, and thread pools.

    • They have a private constructor to prevent multiple instances from being created.

    • They provide a global point of access to the instance.

    Add your answer

    Q56. What is DBMS?

    Ans.

    DBMS stands for Database Management System. It is a software system that manages and organizes data in a database.

    • DBMS is used to create, modify, and delete databases and their objects.

    • It provides a way to store and retrieve data efficiently.

    • Examples of DBMS include MySQL, Oracle, and Microsoft SQL Server.

    Add your answer

    Q57. 3) What is malloc and calloc?

    Ans.

    malloc and calloc are functions used for dynamic memory allocation in C programming language.

    • malloc() allocates a block of memory of specified size and returns a pointer to the first byte of the allocated memory.

    • calloc() allocates a block of memory of specified size and initializes all the bytes to zero.

    • Both functions are used to allocate memory dynamically during runtime.

    • The memory allocated by these functions must be freed using the free() function to avoid memory leaks.

    Add your answer

    Q58. what is git and github, how to use it

    Ans.

    Git is a version control system that tracks changes in code, while GitHub is a platform for hosting and collaborating on Git repositories.

    • Git is a distributed version control system used to track changes in code.

    • GitHub is a web-based platform for hosting Git repositories and collaborating with others.

    • To use Git, you can initialize a repository, add files, commit changes, create branches, merge branches, and push changes to a remote repository.

    • GitHub provides features like pul...read more

    Add your answer

    Q59. SQL Query to create a table of Employees ?

    Ans.

    SQL query to create a table of Employees

    • Use CREATE TABLE statement

    • Specify column names and data types

    • Add any constraints like primary key or foreign key if needed

    Add your answer

    Q60. Polymorphism It's types

    Ans.

    Polymorphism refers to the ability of objects to take on multiple forms.

    • Polymorphism can be achieved through method overloading and method overriding.

    • Method overloading allows multiple methods with the same name but different parameters.

    • Method overriding allows a subclass to provide its own implementation of a method already defined in its superclass.

    • Polymorphism allows for more flexible and reusable code.

    • Example: Animal class with a method called makeSound(). Subclasses like...read more

    Add your answer

    Q61. Check if a node is present in level sorted Binary Tree

    Ans.

    Check if a node is present in level sorted Binary Tree

    • Traverse the tree level by level

    • Use a queue to store the nodes at each level

    • Check if the node is present in the current level

    • If not, move to the next level

    • Repeat until the node is found or all levels are traversed

    Add your answer

    Q62. what is diff b/w c and c++

    Ans.

    C++ is an extension of C with added features like object-oriented programming, templates, and exception handling.

    • C++ supports object-oriented programming while C does not.

    • C++ has templates for generic programming while C does not.

    • C++ has exception handling while C does not.

    • C++ has a standard library that includes the C standard library.

    • C++ allows function overloading while C does not.

    Add your answer

    Q63. What will be the output of null==null ?

    Ans.

    The output of null==null is true.

    • In Java, comparing two null values using the == operator will return true.

    • This is because null is a special literal that represents a reference with no value.

    • Example: Boolean result = (null == null); // result will be true

    Add your answer

    Q64. Any location preferences?

    Ans.

    I prefer locations with a vibrant gaming community and good internet connectivity.

    • Preferably in a city with a lot of gaming events and tournaments

    • Good internet connectivity is a must-have for streaming and online gaming

    • Examples: Los Angeles, Tokyo, Seoul

    Add your answer

    Q65. What is big data?

    Ans.

    Big data refers to large and complex data sets that cannot be processed using traditional data processing methods.

    • Big data involves the collection, storage, and analysis of massive amounts of data

    • It requires advanced technologies and tools to process and make sense of the data

    • Examples of big data include social media data, sensor data, and financial transaction data

    View 1 answer

    Q66. what is the computer networking

    Ans.

    Computer networking is the practice of connecting devices together to share resources and communicate with each other.

    • Computer networking involves the use of hardware and software to connect devices together, such as computers, printers, and servers.

    • Networking protocols, such as TCP/IP, are used to facilitate communication between devices.

    • Examples of computer networking include local area networks (LANs), wide area networks (WANs), and the internet.

    • Networking can also involve...read more

    Add your answer

    Q67. Find the maximum element from a given list

    Ans.

    To find the maximum element from a given list.

    • Iterate through the list and compare each element with a variable storing the maximum value.

    • Update the variable if a larger element is found.

    • Return the maximum value at the end.

    Add your answer

    Q68. what are hashmaps?

    Ans.

    Hashmaps are data structures that store key-value pairs and allow for efficient retrieval of values based on keys.

    • Hashmaps are also known as dictionaries or associative arrays.

    • Keys in a hashmap must be unique, but values can be duplicated.

    • Example: {"apple": 5, "banana": 3, "orange": 7}

    Add your answer

    Q69. linear search algorithm in python

    Ans.

    Linear search algorithm in Python is a simple search algorithm that sequentially checks each element in a list until a match is found or the whole list has been searched.

    • Iterate through each element in the list

    • Compare the current element with the target value

    • Return the index if a match is found, otherwise return -1

    Add your answer

    Q70. What do you know about TCS?

    Ans.

    TCS (Tata Consultancy Services) is an Indian multinational IT services and consulting company.

    • TCS is one of the largest IT services companies in the world.

    • It is a part of the Tata Group, a conglomerate in India.

    • TCS offers services in areas such as IT consulting, software development, and business process outsourcing.

    • The company has a global presence with offices in multiple countries.

    • TCS is known for its innovation and digital transformation solutions.

    Add your answer

    Q71. Can you bring it in 3 hours?

    Ans.

    Yes, I can bring it in 3 hours.

    • I have the necessary resources and skills to complete the task within the given time frame.

    • I will prioritize the task and work efficiently to ensure it is completed on time.

    • For example, I have successfully completed similar tasks within tight deadlines in the past.

    View 1 answer

    Q72. Why TCS?

    Ans.

    TCS is a global IT services company with a strong reputation for innovation and customer satisfaction.

    • TCS has a proven track record of delivering high-quality IT services to clients around the world.

    • TCS is known for its innovative approach to technology and its ability to stay ahead of the curve.

    • TCS has a strong focus on customer satisfaction and works closely with clients to understand their needs and deliver customized solutions.

    • TCS offers a wide range of services, includin...read more

    Add your answer

    Q73. Difference between C & C++

    Ans.

    C++ is an extension of C with object-oriented programming features.

    • C++ supports classes and objects while C does not.

    • C++ has better support for polymorphism and inheritance.

    • C++ has a standard template library (STL) which provides useful data structures and algorithms.

    • C++ allows function overloading while C does not.

    • C++ has exception handling while C does not.

    View 1 answer

    Q74. Code to write Armstrong number.

    Ans.

    Armstrong number is a number that is equal to the sum of its own digits each raised to the power of the number of digits.

    • Iterate through each digit of the number

    • Raise each digit to the power of the number of digits

    • Sum up the results

    • Check if the sum is equal to the original number

    View 1 answer

    Q75. What is virtual memory?

    Ans.

    Virtual memory is a memory management technique that allows a computer to use more memory than is physically available.

    • Virtual memory is a combination of physical memory (RAM) and disk space.

    • It allows programs to run as if they have more memory than is actually available.

    • When the physical memory is full, the operating system moves some data from RAM to the hard disk, freeing up space for other programs.

    • Virtual memory helps in multitasking by allowing multiple programs to run ...read more

    View 1 answer

    Q76. function in python? syntax

    Ans.

    Function in Python is a block of reusable code that performs a specific task.

    • Functions are defined using the 'def' keyword followed by the function name and parentheses.

    • Functions can take parameters and return values.

    • Syntax: def function_name(parameters):

    Add your answer

    Q77. What is object oriented programming?

    Ans.

    Object oriented programming is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.

    • Objects are instances of classes, which define the structure and behavior of the objects.

    • Encapsulation, inheritance, and polymorphism are key principles of object oriented programming.

    • Example: In a banking system, a 'Customer' class can have data fields like name and account balance, and methods like deposit and...read more

    Add your answer

    Q78. Explain block diagram of your project?

    Ans.

    The block diagram of the project visually represents the flow of information and processes within the system.

    • The block diagram typically consists of blocks representing different components or processes

    • Arrows indicate the flow of information or signals between the blocks

    • Each block may have inputs and outputs that connect to other blocks

    • Example: In a robotic arm project, blocks could represent sensors, actuators, and control algorithms

    Add your answer

    Q79. What is an array?

    Ans.

    An array is a collection of elements of the same data type, stored in contiguous memory locations.

    • Arrays can be of any data type, including integers, floats, and objects.

    • Elements in an array can be accessed using their index number.

    • Arrays can be multidimensional, with each dimension representing a different set of elements.

    • Arrays can be dynamically resized in some programming languages.

    • Example: string[] names = {"John", "Jane", "Bob"};

    Add your answer

    Q80. What are pointers?

    Ans.

    Pointers are variables that store memory addresses of other variables. They allow direct manipulation of memory.

    • Pointers are declared using the * symbol.

    • They can be used to pass variables by reference.

    • Pointers can be used to dynamically allocate memory.

    • Example: int *ptr; ptr = # *ptr = 10;

    • Example: void swap(int *a, int *b) { int temp = *a; *a = *b; *b = temp; }

    Add your answer

    Q81. program to write character occurance in astring

    Ans.

    Program to count character occurrences in a string

    • Iterate through the string and count occurrences of each character

    • Use a dictionary to store character counts

    • Return the dictionary with character counts

    Add your answer

    Q82. 2) Difference between array and pointer.

    Ans.

    Array is a collection of similar data types while pointer is a variable that stores the memory address of another variable.

    • Array name represents the base address of the array while pointer stores the address of a variable.

    • Array size is fixed while pointer size depends on the data type it points to.

    • Array elements can be accessed using index while pointer needs to be dereferenced to access the value.

    • Example: char arr[5] = {'a', 'b', 'c', 'd', 'e'}; char *ptr = arr;

    • Example: int ...read more

    Add your answer

    Q83. What is OOPS concept?

    Ans.

    OOPS concept stands for Object-Oriented Programming System. It is a programming paradigm based on the concept of objects.

    • OOPS focuses on creating objects that contain data in the form of attributes and code in the form of methods.

    • Encapsulation, inheritance, polymorphism, and abstraction are the four main principles of OOPS.

    • Example: Inheritance allows a class to inherit properties and behavior from another class, promoting code reusability.

    Add your answer

    Q84. What is Inheritance ?

    Ans.

    Inheritance is a concept in object-oriented programming where a class can inherit properties and methods from another class.

    • Allows a class to use properties and methods of another class

    • Promotes code reusability and reduces redundancy

    • Types of inheritance include single, multiple, multilevel, and hierarchical

    • Example: Class 'Car' can inherit properties and methods from class 'Vehicle'

    Add your answer

    Q85. What is dbms , Sql query

    Ans.

    DBMS stands for Database Management System. SQL is a programming language used to manage and manipulate data in a DBMS.

    • DBMS is a software system that allows users to create, manage, and manipulate databases.

    • SQL is used to communicate with a DBMS and perform tasks such as querying, inserting, updating, and deleting data.

    • Examples of popular DBMS include MySQL, Oracle, and Microsoft SQL Server.

    • Examples of SQL queries include SELECT, INSERT, UPDATE, and DELETE statements.

    Add your answer

    Q86. Write a program on reverse of number?

    Ans.

    A program to reverse a given number.

    • Take input number from user

    • Initialize a variable to store the reversed number

    • Extract the last digit of the input number using modulo operator and add it to the reversed number

    • Remove the last digit from the input number using integer division

    • Repeat the above two steps until input number becomes zero

    • Print the reversed number

    Add your answer

    Q87. What is negative indexing?

    Ans.

    Negative indexing is accessing an array from the end instead of the beginning.

    • Negative indexing starts from -1 and goes backwards.

    • It is useful when you want to access the last element of an array without knowing its length.

    • Example: arr[-1] returns the last element of the array arr.

    • Example: arr[-2] returns the second last element of the array arr.

    Add your answer

    Q88. merge sort program in python

    Ans.

    Merge sort is a popular sorting algorithm that divides the array into two halves, sorts them separately, and then merges them back together.

    • Divide the array into two halves recursively until each subarray has only one element

    • Merge the sorted subarrays back together in a sorted manner

    • Time complexity of merge sort is O(n log n)

    • Example: def merge_sort(arr): ...

    Add your answer

    Q89. Polymorphism examples

    Ans.

    Polymorphism is the ability of an object to take on many forms. It allows objects of different classes to be treated as the same type.

    • Polymorphism is achieved through method overriding and method overloading.

    • Example of method overriding: a superclass Animal with a method 'makeSound', and subclasses Dog and Cat that override the 'makeSound' method.

    • Example of method overloading: a class Calculator with multiple methods named 'add' that accept different parameters.

    • Polymorphism p...read more

    View 1 answer

    Q90. who is the CEO of TCS

    Ans.

    Rajesh Gopinathan is the CEO of TCS.

    • Rajesh Gopinathan took over as CEO of TCS in 2017.

    • He has been with TCS since 2001 and has held various leadership roles.

    • Under his leadership, TCS has continued to grow and expand globally.

    Add your answer

    Q91. How to create a table in SQL

    Ans.

    To create a table in SQL, you can use the CREATE TABLE statement.

    • Use the CREATE TABLE statement followed by the table name and column definitions

    • Specify the data type for each column

    • Add any constraints such as primary key or foreign key

    • Example: CREATE TABLE employees (id INT PRIMARY KEY, name VARCHAR(50), department_id INT)

    Add your answer

    Q92. Explain project , write code for arrays in c++

    Ans.

    Code for arrays in C++

    • Declare an array using data type and size

    • Access array elements using index

    • Loop through array using for loop

    • Example: int arr[5] = {1, 2, 3, 4, 5};

    • Example: for(int i=0; i<5; i++) { cout << arr[i] << endl; }

    Add your answer

    Q93. Http https difference

    Ans.

    HTTP is unsecured protocol while HTTPS is secured with SSL/TLS encryption.

    • HTTP stands for Hypertext Transfer Protocol and is used for transmitting data over the internet.

    • HTTPS stands for Hypertext Transfer Protocol Secure and adds a layer of security using SSL/TLS encryption.

    • HTTPS is used for secure online transactions, login pages, and any other sensitive data.

    • HTTP is vulnerable to attacks like man-in-the-middle, while HTTPS provides secure communication.

    • Example: HTTP://exam...read more

    Add your answer

    Q94. Explain what are OOPs ?

    Ans.

    OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects, which can contain data and code.

    • OOPs focuses on creating objects that interact with each other to solve problems

    • It involves concepts like classes, objects, inheritance, polymorphism, and encapsulation

    • Example: In a banking system, you can have classes like Account, Customer, and Transaction, each with their own properties and methods

    Add your answer

    Q95. What is inheritance? Explain

    Ans.

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

    • Inheritance allows for code reuse and promotes modularity.

    • The class that is being inherited from is called the superclass or base class.

    • The class that inherits from the superclass is called the subclass or derived class.

    • The subclass inherits all the public and protected members of the superclass.

    • Inheritance can be single, where a subclass inherits from on...read more

    Add your answer

    Q96. What is generators in python?

    Ans.

    Generators are functions that return an iterable sequence of items, one at a time, instead of returning a complete list.

    • Generators use the 'yield' keyword to return values one at a time.

    • They are memory efficient as they don't store the entire sequence in memory.

    • They can be used to generate an infinite sequence of values.

    • Example: def countdown(n): while n > 0: yield n n -= 1

    • Example: for i in countdown(5): print(i)

    Add your answer

    Q97. Write a program to find prime number

    Ans.

    A program to find prime numbers in a given range.

    • Iterate through numbers in the given range

    • Check if each number is divisible by any number other than 1 and itself

    • If not divisible, it is a prime number

    Add your answer

    Q98. example of function overriding

    Ans.

    Function overriding is when a subclass provides a different implementation of a method that is already defined in its superclass.

    • The method in the subclass must have the same name, return type, and parameters as the method in the superclass.

    • The method in the subclass must have a higher or same level of access as the method in the superclass.

    • Example: class Animal { void makeSound() { System.out.println('Animal sound'); } } class Dog extends Animal { void makeSound() { System.o...read more

    Add your answer

    Q99. what is runtime polymorphism

    Ans.

    Runtime polymorphism is the ability of a function to behave differently based on the object it is called with at runtime.

    • Runtime polymorphism is achieved through method overriding in object-oriented programming.

    • It allows a subclass to provide a specific implementation of a method that is already provided by its superclass.

    • The actual method that gets called is determined by the type of object at runtime.

    • Example: Animal class has a method 'makeSound', Dog and Cat classes overri...read more

    Add your answer

    Q100. What is class and object

    Ans.

    A class is a blueprint for creating objects, while an object is an instance of a class.

    • A class defines the properties and behaviors of objects.

    • An object is a specific instance of a class.

    • Classes can be used to create multiple objects with similar characteristics.

    • Objects can interact with each other by calling methods defined in their class.

    • Example: Class 'Car' defines properties like 'color' and behaviors like 'drive'. An object 'myCar' can be created from this class.

    Add your answer
    1
    2
    Contribute & help others!
    Write a review
    Share interview
    Contribute salary
    Add office photos
    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