Infosys interview technical questions

Page 1

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. 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) { a=a+b; b=a-b; a=a-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; printf(“%d%d%d”,i,++i,i++); 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.


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.