Infosys Interview Frequently Asked Technical Questions!

Last time we saw some of the technical interview questions along with answers, as far as TCS was concerned. In this blog from SayTooLoud, we are going to see a few basic interview questions asked in Infosys interviews.

Infosys-Interview-Frequently-Asked-Technical-Questions (1)

1. State the 4 fundamentals of OOPS?

The four basics of OOPS are Inheritance, Abstraction, Polymorphism and Encapsulation.

2. What do you mean by a database Schema?

The official definition of a database schema is a collection of formulas (sentences) termed as integrity constraints laid down on a database.

3. Explain the difference between a socket and a session?

The Socket is a culmination of an IP address and Port Number (in pairing) Session is a Logical Connectivity within the source and destination.

4. Write a code to swap two numbers without using a temporary variable?

void swap(int &a, int &b)






5. What is known as a default gateway?

In case of organizational frameworks, a gateway happens to be a node that routes the traffic from one workstation to another network segment. The default gateway usually connects the inside networks and the Internet. In such a circumstance, the gateway hub could likewise go about as a proxy server and a firewall. The gateway is additionally connected with both a router, that utilizes headers and forwarding tables to figure out where packets are sent, and a switch, which gives the genuine path for the packet all through the gateway.

6. State the difference between a DLL and an EXE?

The term EXE is an abbreviated variant of the word executable as it distinguishes the file as a program. Then again, DLL stands for Dynamic Link Library, which usually consists of functions and procedures that can be utilized by rest of the programs.

7. Explain the difference between a foreign key and a reference key?

Reference Key happens to be the primary key that is referenced in the other table (linked through other tables’ Foreign Key). Foreign Key is the means by which you link the second table to the primary tables Primary Key (or Reference Key).

8. What will be the output of this program?

int i=10;


Answer = 10 12 12

So, if you are appearing for an interview with Infosys, you can practice these questions and answers during your interview preparation. SayTooLoud is your destination for interview tips and skills.

Leave a Reply