Infosys
Interview Questions and Answers
Q1. Father of the C ? Explain oops ? Difference Between printLn & printf ? Self introduction.
Answers to questions related to programming concepts and history.
Father of the C language is Dennis Ritchie.
OOPs stands for Object-Oriented Programming. It is a programming paradigm that uses objects to represent real-world entities and their interactions.
println() is used to print a string and move the cursor to the next line, while printf() is used to format and print data with placeholders.
Self-introduction should include name, education, work experience, and skills releva...read more
Q2. Difference between knowledge and learning
Knowledge is the information or skills acquired through experience or education, while learning is the process of acquiring knowledge.
Knowledge is the information or skills that a person has acquired through experience or education.
Learning is the process of acquiring new knowledge or skills through study, experience, or teaching.
Knowledge is static and can be applied in various situations, while learning is dynamic and ongoing.
Knowledge is what we already know, while learnin...read more
Q3. What is accounting?
Accounting is the process of recording, summarizing, analyzing, and reporting financial transactions of a business.
Involves recording financial transactions
Summarizing financial data in financial statements
Analyzing financial information to make business decisions
Reporting financial results to stakeholders
Examples: preparing balance sheets, income statements, cash flow statements
Q4. What is inheritance
Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.
Allows for code reusability and promotes the concept of hierarchy
Derived class can access the properties and methods of the base class
Types of inheritance include single, multiple, multilevel, hierarchical, and hybrid
Example: Class 'Car' can inherit from class 'Vehicle' to access common attributes like 'color' and methods like 'drive'
Q5. What is data type
Data type is a classification that specifies which type of value a variable can hold.
Data types include integers, floating point numbers, strings, and booleans.
Examples: int x = 5; float y = 3.14; string name = 'John'; bool isTrue = true;
Q6. Calculate Ratio or Percentage
To calculate ratio or percentage, divide the part by the whole and multiply by 100.
To calculate ratio: divide the part by the whole and express it in the form of a:b.
To calculate percentage: divide the part by the whole, multiply by 100, and add a percentage sign.
Example for ratio: If there are 20 boys and 30 girls in a class, the ratio of boys to girls is 20:30.
Example for percentage: If 25 out of 50 students passed the exam, the percentage of students who passed is 50%.
Q7. Golden rules of accounts
Golden rules of accounts are basic principles that guide the recording of financial transactions.
Maintain accuracy in recording transactions
Ensure completeness of all financial records
Follow the principle of consistency in accounting methods
Adhere to the principle of conservatism in financial reporting
Q8. Types of accounting?
Types of accounting include financial accounting, management accounting, tax accounting, and forensic accounting.
Financial accounting focuses on preparing financial statements for external stakeholders.
Management accounting involves providing information for internal decision-making.
Tax accounting deals with tax-related matters and compliance.
Forensic accounting is used in legal cases to investigate financial fraud or discrepancies.
Top HR Questions asked in null
Interview Process at null
Top Processing Executive Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month