This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Write a C++ program to check whether a number is palindrome or not. |
|
Answer» /* A palindrome number is a number that remains same after reversing the digits. */#include<iostream.h>#include<conio.h>void main(){ int num, n, rem, rev=0; clrscr(); cout<<"Enter a number:"; cin>>num; n=num; //Used for comparision after reversal of a number while(num>0) { /* In this block, we retrieve each digit from a given number and will get the reversed number at the end stored at rev variable. */ rem=num%10; rev=(rev*10)+rem; num=num/10; } if(n==rev) //Comparing given number with reversed number cout<<n<<" is a palindrome."; else cout<<n<<" is not a palindrome."; getch();}Conclusion: We hope that you found this article very INFORMATIVE and useful for your preparations for the Infosys interview process. Now prepare yourself for every question thoroughly as this is going to upgrade your understanding of the Infosys recruitment process. In addition, you can also take imagination from these questions as to what type of questions are being asked in the Infosys interview process and how effectively your RESPONSES should be put across to the interviewer. The Infosys interview will usually have a varied set of questions, however, the above questions will definitely touch every such aspect. In order to get a better hold on the Infosys interview questions, please spend your time learning deeper about concepts that are relevant to the job role. If a particular candidate is not been selected, then Infosys does not allow him/her to re-apply for the next six months, hence give it your BEST shot so as to pursue your dream CAREER in Infosys. Remember, while no one can predict the questions that are going to be asked by the interviewer, preparation becomes the key element to succeed in the Infosys placement process. To be precise, the interview process at Infosys is not very difficult; so you should be able to grab the opportunity with heavy preparations and a little bit of luck. Know More. |
|
| 2. |
Explain different levels of programming languages. |
|
Answer» The various programming language levels are given below:
|
|
| 3. |
Differentiate between white box and black box testing. |
||||||||||||
Answer»
|
|||||||||||||
| 4. |
What is a frame in HTML? |
Answer»
|
|
| 5. |
What is DLL and EXE file extension? |
Answer»
|
|
| 6. |
Explain about Agile model. |
Answer»
|
|
| 7. |
What are the disadvantages of the Waterfall model? |
Answer»
|
|
| 8. |
What is SDLC(Software Development Life Cycle)? |
|
Answer» SDLC is an end-to-end process that defines the software DEVELOPMENT flow starting from the requirements stage to the maintenance and support stage. The SDLC STAGES are requirements analysis, planning, definition, design, development, testing, DEPLOYMENT, maintenance, and support. |
|
| 9. |
What is meant by a null pointer? |
Answer»
|
|
| 10. |
Explain pointers in C++. |
|
Answer» A variable that holds the address of another variable of the same data type can be called a pointer. Pointers can be created for any data type or user-defined datatypes LIKE class, structure, etc. It allows variable passing by REFERENCES using the address. For example: int x = 25;int *ptr = &x;cout << ptr;Here, ptr will store the address of x. That means the address of x is the ptr value. Uses of pointers:
|
|
| 11. |
What is stored procedure? |
|
Answer» A stored procedure is a logical UNIT for a group of statements and is AVAILABLE for the applications that ACCESS an RDBMS(Relational Database Management System). These are stored in the database data DICTIONARY. It can be used for data validation or access-control MECHANISMS. |
|
| 12. |
What is the left outer join and the right outer join in SQL? |
| Answer» | |
| 13. |
Differentiate between DDL and DML commands in SQL. |
||||||||||
Answer»
|
|||||||||||
| 14. |
Why indexing in SQL is useful ? |
|
Answer» A SQL index is a QUICK lookup table that helps to find records that are FREQUENTLY SEARCHED by a user. An index is fast, small, and OPTIMIZED for quick look-ups. It is useful for establishing a connection between the relational tables, searching large tables, and fast retrieval of data from a database. |
|
| 15. |
Differentiate between TRUNCATE and DELETE commands in SQL. |
||||||||||
Answer»
|
|||||||||||
| 16. |
What are DDL and DML commands in SQL? |
Answer»
|
|
| 17. |
Distinguish between classes and interfaces in Java. |
||||||||||||||
Answer»
|
|||||||||||||||
| 18. |
How method overloading is different from method overriding? |
|
Answer» Method overloading MEANS methods are having the same name, but they differ either in the number of arguments or in the type of arguments. It is DONE during compile time, so it is known as compile-time POLYMORPHISM. Method OVERRIDING means the ability to define subclass and super-class methods with the same name as well as the same method SIGNATURES, here the subclass method will override the super-class method. It is performed during run time, so it is known as run-time polymorphism. |
|
| 19. |
Can we implement multiple inheritances in Java? |
|
Answer» Java does not DIRECTLY support multiple INHERITANCES. But we can ACHIEVE multiple inheritances with the help of an interface. It is POSSIBLE to implement multiple interfaces into our program. |
|
| 20. |
Explain four major OOP concepts in Java. |
|
Answer» Four major concepts RELATED to object-oriented programmings are:
|
|