First American Corporation
TPAC Packaging India Interview Questions and Answers
Q1. What is C++ programming language?
C++ is a high-level programming language used for developing system software, application software, device drivers, and video games.
C++ is an extension of the C programming language.
It supports object-oriented programming concepts like classes, inheritance, and polymorphism.
C++ is used in developing operating systems, browsers, databases, and more.
Examples of popular software written in C++ include Adobe Photoshop, Microsoft Office, and MySQL.
C++ is known for its performance ...read more
Q2. What do you mean by call by value and call by reference?
Call by value and call by reference are two ways of passing arguments to a function in programming.
Call by value passes a copy of the value to the function.
Call by reference passes the memory address of the value to the function.
Changes made to the parameter inside the function affect the original value in call by reference.
In call by value, changes made to the parameter inside the function do not affect the original value.
Q3. What is virtual function?
Virtual function is a function in base class that is overridden in derived class.
Virtual functions allow polymorphism in C++.
They are declared in base class with 'virtual' keyword.
They are overridden in derived class with 'override' keyword.
They are called based on the object type at runtime.
Q4. What is SQL query features?
SQL query features include SELECT, FROM, WHERE, GROUP BY, ORDER BY, JOIN, and more.
SELECT: used to select specific columns from a table
FROM: used to specify the table to retrieve data from
WHERE: used to filter data based on a condition
GROUP BY: used to group data based on a column
ORDER BY: used to sort data based on a column
JOIN: used to combine data from multiple tables
Other features include subqueries, aggregate functions, and more
Q5. Oops questions: abstract class vs interface
Abstract class is a class that can have both abstract and non-abstract methods, while interface only has abstract methods.
Abstract class can have constructors, while interface cannot
A class can implement multiple interfaces, but can only inherit from one abstract class
Abstract class can have instance variables, while interface cannot
Abstract class is used when there is a need for a common base class for multiple related classes, while interface is used when there is a need fo...read more
Q6. How would you create a drop-down in angular. Write a code for this.
Creating a drop-down in Angular
Use the
Q7. Explain oops and solid principal
OOPs is a programming paradigm that focuses on objects and their interactions. SOLID is a set of principles for designing maintainable software.
OOPs stands for Object-Oriented Programming, which is a programming paradigm that organizes code around objects and their interactions.
SOLID is an acronym for five principles: Single Responsibility, Open-Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion.
The Single Responsibility Principle states that a class...read more
Q8. Explain store procedure and joins
Stored procedures are precompiled SQL statements stored in a database, while joins are used to combine rows from different tables.
Stored procedures are used to improve performance, security, and code reusability.
Joins are used to retrieve data from multiple tables based on a related column between them.
There are different types of joins: inner join, left join, right join, and full outer join.
Example of a stored procedure: CREATE PROCEDURE GetEmployees AS SELECT * FROM Employe...read more
Q9. Explain authentication and authorisation
Authentication is the process of verifying the identity of a user, while authorization determines what actions a user is allowed to perform.
Authentication confirms the identity of a user through credentials like username and password.
Authorization determines the level of access a user has based on their authenticated identity.
Authentication is the gatekeeper, while authorization defines the permissions.
Examples of authentication include login forms, biometric scans, or two-fa...read more
Interview Process at TPAC Packaging India
Top Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month