Infosys
30+ Throughout Technologies Interview Questions and Answers
Q1. Split the String Problem Statement
You are given a string str
consisting of N
lowercase alphabets. Your task is to determine if it is possible to divide the string into three non-empty substrings such that one ...read more
Determine if it is possible to divide a string into three non-empty substrings where one is a substring of the other two.
Check if any substring of the string is a substring of the other two substrings.
Iterate through all possible divisions of the string into three non-empty substrings.
Use two pointers to find all possible substrings efficiently.
Q2. Are you okay to learn front end and back end technologies to ensure you are a complete developer in the longer run? Would you be able to learn the concepts if a timeline is given?? If yes, explain your learning...
read moreYes, I am willing to learn front end and back end technologies and have a learning strategy in place.
I believe in continuous learning and growth as a developer.
I have experience in learning new technologies quickly and efficiently.
My learning strategy involves breaking down concepts into smaller parts and practicing regularly.
I also utilize online resources and seek guidance from experienced colleagues.
Examples of technologies I have learned include React, Node.js, and MongoD...read more
Q3. Count Ways to Reach the N-th Stair Problem Statement
You are provided with a number of stairs, and initially, you are located at the 0th stair. You need to reach the Nth stair, and you can climb one or two step...read more
The problem involves counting the number of distinct ways to climb N stairs by taking 1 or 2 steps at a time.
Use dynamic programming to solve the problem efficiently.
The number of ways to reach the Nth stair is equal to the sum of ways to reach (N-1)th stair and (N-2)th stair.
Handle edge cases like N=0 and N=1 separately.
Consider using modulo operation to handle large values and prevent overflow.
The time complexity of the solution should be O(N) and space complexity should be...read more
Q4. what do you know about latest technologi in market,have you any idea about AI(Artificial Intelligence), tell me about about AI and where AI used
AI is a technology that enables machines to learn from experience and perform tasks that typically require human intelligence.
AI is used in various industries such as healthcare, finance, and transportation
AI can be used for natural language processing, image recognition, and predictive analytics
Examples of AI include virtual assistants like Siri and Alexa, self-driving cars, and fraud detection systems
AI has the potential to revolutionize industries and improve efficiency an...read more
Q5. Are you comfortable using Command Line Interfaces (CLIs) or Integrated Development Environments (IDEs) as part of your daily tasks?
Yes, I am comfortable using both CLIs and IDEs for my daily tasks.
I have experience using various CLIs such as Git Bash, Windows Command Prompt, and Terminal on macOS.
I am proficient in using IDEs such as Visual Studio Code, Eclipse, and IntelliJ IDEA.
I understand the benefits and drawbacks of both CLIs and IDEs and can choose the appropriate tool for the task at hand.
Q6. Do you think algorithms and pseudocodes still play a role in the world of IT Services?
Yes, algorithms and pseudocodes are still important in IT Services.
Algorithms are used in various fields of IT such as machine learning, data analysis, and cryptography.
Pseudocodes are used to plan and design algorithms before coding them.
Understanding algorithms and pseudocodes is essential for software engineers to write efficient and optimized code.
Examples of algorithms include sorting algorithms, search algorithms, and graph algorithms.
Q7. Do you have experience with working on Linux?
Yes, I have experience working on Linux.
I have worked on various Linux distributions such as Ubuntu, CentOS, and Debian.
I am familiar with command-line interface and shell scripting on Linux.
I have experience setting up and configuring web servers like Apache and Nginx on Linux.
I have worked with Linux-based cloud platforms like AWS and Google Cloud.
I have also contributed to open-source projects on Linux.
Q8. Explain the scenarios where If and Switch Case statements are used.
If and Switch Case statements are used for conditional branching in programming.
If statements are used for simple conditional branching.
Switch Case statements are used for multiple conditional branching.
If statements are more flexible than Switch Case statements.
Switch Case statements are more efficient than If statements for large number of conditions.
If statements can be nested, but Switch Case statements cannot.
Examples: If statement - if(age > 18) { //do something }, Swit...read more
Q9. What are the differences between C and C++?
C++ is an extension of C with object-oriented programming features.
C++ supports classes and objects while C does not.
C++ has built-in support for polymorphism and inheritance.
C++ has a standard template library (STL) while C does not.
C++ allows function overloading while C does not.
C++ has exception handling while C does not.
Q10. Do you know about hashing function?
Hashing function is a mathematical function that converts data of arbitrary size to a fixed size.
Hashing is used for data integrity and security purposes.
Hash functions are one-way functions, meaning it is difficult to reverse engineer the original data from the hash value.
Examples of hashing algorithms include MD5, SHA-1, and SHA-256.
Q11. What is circular linked list and doubly linked list?
Circular linked list is a linked list where the last node points to the first node. Doubly linked list has nodes with pointers to both previous and next nodes.
Circular linked list is useful for applications where data needs to be accessed in a circular manner, such as a playlist.
Doubly linked list allows for traversal in both directions, making it useful for applications such as a browser history.
Both types of linked lists require extra memory for storing pointers to previous...read more
Q12. What do you know about AI?
AI stands for Artificial Intelligence, which is the simulation of human intelligence in machines.
AI involves the development of intelligent machines that can perform tasks that typically require human intelligence.
It encompasses various subfields such as machine learning, natural language processing, computer vision, and robotics.
AI is used in various applications like virtual assistants (e.g., Siri), recommendation systems (e.g., Netflix), and autonomous vehicles.
Deep learni...read more
Q13. What is SDLC,explain steps in SDLC
SDLC stands for Software Development Life Cycle, which is a process used to design, develop, and test software.
The steps in SDLC are planning, analysis, design, development, testing, deployment, and maintenance.
During planning, the project scope and requirements are defined.
Analysis involves gathering and analyzing user requirements.
Design involves creating a detailed plan for the software.
Development involves coding and building the software.
Testing involves verifying that t...read more
Q14. software and office equipment are you proficient in using
I am proficient in using various software and office equipment.
Proficient in using Microsoft Office Suite (Word, Excel, PowerPoint, Outlook)
Familiar with project management tools like Trello and Asana
Experience with programming languages such as Java and Python
Comfortable using printers, scanners, and copiers
Adept at troubleshooting technical issues
Q15. Software testing in company
Software testing is an essential part of the development process in any company.
Testing ensures that the software meets the requirements and functions as expected.
It helps to identify and fix bugs and errors before the software is released.
Different types of testing such as unit testing, integration testing, and acceptance testing are performed.
Automated testing is becoming increasingly popular to save time and improve accuracy.
Testing should be done throughout the developmen...read more
Q16. Major Project and Describe about any new technology
Developed a web-based project management tool using React and Node.js
Utilized React for front-end development
Implemented Node.js for back-end functionality
Incorporated features such as task tracking and user authentication
Used MongoDB for database management
Q17. Jvm vs jre, comparable and comparator
JVM is the Java Virtual Machine, while JRE is the Java Runtime Environment. Comparable is an interface used for comparing objects, while Comparator is an interface used for custom sorting.
JVM is responsible for running Java bytecode, while JRE includes JVM along with libraries and other components necessary for running Java applications.
Comparable interface is used to define a natural ordering for a class, while Comparator interface is used to define custom ordering for a cla...read more
Q18. what is object
An object is a self-contained entity that consists of both data and behavior.
An object is an instance of a class.
It encapsulates data and provides methods to manipulate that data.
Objects have state, behavior, and identity.
For example, a car object can have properties like color and speed, and methods like accelerate and brake.
Q19. How to sort elements of a BST
BST elements can be sorted using in-order traversal
Perform in-order traversal of the BST
Store the elements in a temporary array
Sort the array using any sorting algorithm
Replace the elements in the BST with the sorted array
Q20. What is sdlc?
SDLC stands for Software Development Life Cycle. It is a process used to design, develop, and maintain software.
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 models include Waterfall, Agile, and DevOps.
Example: In the requirements gathering phase, the software engineer works with stakeholders to understand th...read more
Q21. Layers in ISO OSI model
The ISO OSI model consists of 7 layers that define the functions and protocols of network communication.
The layers are: Physical, Data Link, Network, Transport, Session, Presentation, and Application.
Each layer has specific responsibilities and interacts with adjacent layers.
For example, the Physical layer deals with the physical transmission of data, while the Application layer handles user interfaces and network services.
Q22. Find second largest number in 3 numbers
Find the second largest number in a set of three numbers.
Compare all three numbers and find the largest one.
Then compare the remaining two numbers and find the largest one.
The largest of the remaining two numbers is the second largest number.
Q23. Explain the concept of oops?
OOPs is a programming paradigm that uses objects to represent real-world entities and provides concepts like inheritance, polymorphism, and encapsulation.
OOPs stands for Object-Oriented Programming.
It focuses on creating reusable code by organizing data and behavior into objects.
Inheritance allows the creation of new classes based on existing ones, promoting code reuse.
Polymorphism enables objects of different classes to be treated as objects of a common superclass.
Encapsulat...read more
Q24. What is foreign key
A foreign key is a column or a set of columns in a table that refers to the primary key of another table.
It establishes a relationship between two tables.
It ensures referential integrity.
It helps in maintaining data consistency.
It can be null or have duplicate values.
Example: A 'customer_id' column in an 'orders' table that refers to the 'id' column in a 'customers' table.
Q25. What is pickling?
Pickling is a process of serializing and de-serializing Python objects into a byte stream.
Pickling is used to store Python objects in a file or transfer them over a network.
The pickle module in Python is used for pickling and unpickling.
The pickled data can be stored in a file or transferred over a network.
The pickled data can be easily unpickled to get back the original Python object.
Q26. what is 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 of the same class.
It is achieved through method overriding and/or method overloading.
Examples include function overloading in C++ and method overriding in Java.
Polymorphism helps in achieving loose coupling and flexibility in code design.
Q27. What are triggers
Triggers are database objects that automatically execute in response to certain events or changes in data.
Triggers are used to enforce business rules or data integrity.
They can be used to audit changes to data.
Triggers can be set to execute before or after an event, such as an insert, update, or delete operation.
They can be defined on tables, views, or schemas.
Examples of triggers include sending an email notification when a new record is added to a table, or updating a relat...read more
Q28. What is tree
A tree is a data structure consisting of nodes connected by edges that represent a hierarchical structure.
Nodes represent elements of the tree
Edges represent the relationships between nodes
The topmost node is called the root
Each node can have zero or more child nodes
Examples include binary trees, AVL trees, and B-trees
Q29. Sort a list of string
Sort an array of strings
Use built-in sorting functions like sort() in JavaScript
Implement custom sorting algorithms like bubble sort or quicksort
Consider the case sensitivity of the strings while sorting
Q30. Difference between c and c++
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 function overloading and templates.
C++ has a standard library while C does not.
C++ is more complex than C.
C++ is backward compatible with C.
C++ allows for both procedural and object-oriented programming.
C++ has a more strict type checking system than C.
Q31. Any Program logic In
Program logic refers to the sequence of steps or instructions that a program follows to achieve a specific task.
Program logic is the backbone of any software application.
It involves breaking down a problem into smaller, more manageable parts.
Each part is then solved using a specific set of instructions or algorithms.
Examples of program logic include sorting algorithms, search algorithms, and decision-making algorithms.
Top HR Questions asked in Throughout Technologies
Interview Process at Throughout Technologies
Top Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month