Capgemini
60+ Perfect Auto Plast Interview Questions and Answers
Q1. 3. Do you know about OOP concepts? Explain.
Yes
OOP stands for Object-Oriented Programming
It is a programming paradigm that organizes code into objects
OOP concepts include encapsulation, inheritance, and polymorphism
Encapsulation allows bundling of data and methods into a single unit
Inheritance enables the creation of new classes based on existing ones
Polymorphism allows objects of different classes to be treated as the same type
Example: A car class can have properties like color and speed, and methods like start and st...read more
Q2. What are the fields in EXTC that are related to IT ?
Fields in EXTC related to IT
Digital Signal Processing
Microprocessors and Microcontrollers
Computer Networks
Data Communication
Wireless Communication
Mobile Communication
Internet of Things
Cloud Computing
Artificial Intelligence
Machine Learning
Q3. Output of the following code: integer a, b, c; set a = 11, b = 12, c = 10; if (b > 0) b++ else a++ end if for (each b from 0 to 5) a = a + 1 end for print (a + c)
The code sets values for three integers and performs conditional and loop operations to print the sum of two integers.
The value of 'a' is set to 11, 'b' to 12, and 'c' to 10.
The 'if' condition checks if 'b' is greater than 0 and increments 'b' if true, else increments 'a'.
The 'for' loop runs for each value of 'b' from 0 to 5 and increments 'a' by 1.
The final output is the sum of 'a' and 'c', which is 18.
Q4. What's the difference between final and finally keywords in java?
final keyword is used to declare a constant value while finally is used to define a block of code that will be executed after a try-catch block.
final keyword is used to declare a variable whose value cannot be changed
finally keyword is used to define a block of code that will be executed after a try-catch block
final can be used with classes, methods, and variables
finally is always used with try-catch block
Example: final int x = 10; try { //some code } catch(Exception e) { //s...read more
Q5. What is object-oriented language and give real-time examples?
Object-oriented language is a programming paradigm that uses objects to represent data and methods.
Objects contain data and methods that operate on that data.
Encapsulation, inheritance, and polymorphism are key concepts in object-oriented programming.
Examples of object-oriented languages include Java, C++, and Python.
Q6. How long it will take for you to pick up a new programming language or technology?
I am a quick learner and can pick up a new programming language or technology within a few weeks.
I have a strong foundation in programming concepts and principles.
I am familiar with multiple programming languages and can draw parallels to learn new ones.
I am proactive in seeking out resources and practice opportunities.
For example, I recently learned Python in about 3 weeks by taking an online course and practicing on my own.
I am confident in my ability to quickly adapt to ne...read more
Q7. Output of the pseudocode:- #include void main() { int a = 100; printf("%0 %x", a); }
The pseudocode will result in a compilation error due to incorrect printf format specifier.
The printf function has two format specifiers but only one argument is provided.
The first format specifier '%0' is incorrect and will result in a compilation error.
The correct format specifier for printing an integer in hexadecimal format is '%x'.
Q8. What is the importance of C language and its real time applications?
C language is important for its efficiency and low-level programming capabilities, with real-time applications in embedded systems and operating systems.
C is a low-level language that allows for direct memory manipulation and efficient code execution.
Real-time applications include embedded systems like microcontrollers and operating systems like Unix.
C is also used in game development, system programming, and scientific computing.
C's popularity has led to the creation of many...read more
Q9. What is a constructor?
A constructor is a special method that is used to initialize objects in a class.
Constructors have the same name as the class they are in.
They are called automatically when an object is created.
They can take parameters to set initial values for object properties.
Example: public class Car { public Car(String make, String model) { this.make = make; this.model = model; } }
Example: Car myCar = new Car("Toyota", "Corolla");
Q10. Deductive Logical Thinking - 6 minutes-Finding the missing symbol/ visual in a grid based on a rule-based logic
Finding missing symbol/visual in a grid based on rule-based logic in 6 minutes.
Analyze the given symbols and their placement in the grid
Identify the pattern or rule that governs the placement of symbols
Apply the rule to the empty space to find the missing symbol
Time management is crucial
Practice with similar puzzles to improve deductive logical thinking skills
Q11. Why do you prefer Java over other languages?(
Java is a versatile language with a vast community and excellent libraries.
Java is platform-independent, making it easy to write code that can run on any device.
It has a vast community of developers who contribute to its libraries and frameworks.
Java is highly secure and provides excellent support for multithreading.
It is an object-oriented language, making it easy to write modular and reusable code.
Java is widely used in enterprise applications, such as banking and e-commerc...read more
Q12. find whether the number is divisible by both 5 and 7.
To check if a number is divisible by both 5 and 7, we need to check if it is divisible by 35.
Divide the number by 35 and check if the remainder is 0.
Alternatively, check if the number is divisible by 5 and 7 separately.
Example: 245 is divisible by both 5 and 7 as it is divisible by 35 (245/35 = 7 with remainder 0).
Q13. What are the types of constructors?
There are two types of constructors in Java: Default and Parameterized.
Default constructor is provided by the compiler if no constructor is defined.
Parameterized constructor takes arguments and initializes the object's state.
Example: public class Person { public Person() {} public Person(String name, int age) { this.name = name; this.age = age; } }
Q14. had to take n input and check whether it is prime and composite or not.
To check if a number is prime or composite, take n input and perform the necessary checks.
A prime number is only divisible by 1 and itself
A composite number has more than 2 factors
Check if n is divisible by any number between 2 and n-1
If n is divisible by any number between 2 and n-1, it is composite
If n is not divisible by any number between 2 and n-1, it is prime
Q15. To check if the sum of the digits of a number is palindrome or not
To check if the sum of the digits of a number is palindrome or not
Extract the digits of the number using modulo operator and add them
Convert the sum to a string and check if it is a palindrome
If it is a palindrome, then the sum of digits is also a palindrome
Example: For number 12345, sum of digits = 15, which is not a palindrome
Example: For number 12321, sum of digits = 9, which is a palindrome
Q16. How would you rate your programming skills?
I would rate my programming skills as advanced.
I have experience in multiple programming languages such as Java, Python, and C++.
I have completed several complex projects that required advanced programming skills.
I am constantly learning and improving my skills through online courses and personal projects.
I am comfortable working with databases and have experience in data analysis and visualization.
Q17. Explain the working of Ultrasonic sensor.( in my project)
Ultrasonic sensor emits high frequency sound waves and detects the reflected waves to measure distance.
Ultrasonic sensor emits sound waves above the range of human hearing
The sound waves travel through the air and bounce off an object
The sensor then detects the reflected waves and calculates the distance based on the time taken
Commonly used in robotics, automotive parking sensors, and distance measurement applications
Q18. Find whether the given number is perfect number or not
A perfect number is a positive integer that is equal to the sum of its proper divisors.
Find all the divisors of the given number
Add all the divisors except the number itself
If the sum is equal to the given number, it is a perfect number
Q19. What is polymorphism and real time examples?
Polymorphism is the ability of an object to take on many forms. It allows objects of different classes to be treated as if they were the same type.
Polymorphism allows for code reusability and flexibility
Examples include method overloading and overriding, interfaces, and inheritance
A shape class can have multiple subclasses such as circle, square, and triangle, each with their own unique implementation of the draw method
Q20. SDLC Grant VS Revoke Alpha testing VS Beta Testing DDL VS DML
Answering questions related to SDLC, Grant VS Revoke, Alpha testing VS Beta Testing, DDL VS DML.
SDLC stands for Software Development Life Cycle and includes phases like planning, designing, testing, and maintenance.
Grant and revoke are SQL commands used to grant or revoke privileges to users.
Alpha testing is done by the developers before releasing the software to the public, while beta testing is done by the end-users.
DDL stands for Data Definition Language and is used to def...read more
Q21. What is a singleton class?
A singleton class is a class that can only be instantiated once in a program.
It has a private constructor to prevent multiple instances.
It provides a global point of access to the instance.
It is often used for managing resources or configuration settings.
Example: java.lang.Runtime, which provides access to the runtime environment.
Example: Database connection pool manager.
Q22. What is the use of scanf() and printf()?
scanf() and printf() are functions used for input and output operations in C programming language.
scanf() is used to read input from the user and store it in variables.
printf() is used to display output on the screen.
Both functions are part of the standard input/output library in C.
They are commonly used in programs for user interaction and displaying results.
Q23. What is destructive and construction?
Destructive refers to something that causes damage or destruction, while construction refers to building or creating something.
Destructive actions can include things like vandalism, arson, or warfare.
Construction can involve building structures like buildings, bridges, or roads.
Both destructive and construction can be used in a variety of contexts, from physical actions to abstract concepts like language or ideas.
In some cases, destruction can be necessary for construction to...read more
Q24. Explain the different types of loops?
Loops are used to execute a set of statements repeatedly until a certain condition is met.
There are three types of loops: for loop, while loop, and do-while loop.
For loop is used when the number of iterations is known beforehand.
While loop is used when the number of iterations is not known beforehand.
Do-while loop is similar to while loop, but it executes the statements at least once before checking the condition.
Example: for(int i=0; i<10; i++) { //statements }
Example: while...read more
Q25. Find perfect numbers within the given range
Perfect numbers within a given range
A perfect number is a positive integer that is equal to the sum of its proper divisors
The first few perfect numbers are 6, 28, 496, and 8128
To find perfect numbers within a given range, iterate through the range and check if each number is perfect
Q26. What is Database? Why they are used?
A database is a collection of data that is organized in a way that allows for efficient retrieval and manipulation.
Databases are used to store and manage large amounts of data.
They allow for easy retrieval and manipulation of data.
Examples of databases include MySQL, Oracle, and MongoDB.
Databases are used in various industries such as finance, healthcare, and e-commerce.
Q27. What is built-in functions in c What is Artificial Intelligence What is cloud computing
Built-in functions in C are pre-defined functions provided by the C standard library.
Built-in functions are ready-to-use functions that can be called in a C program without the need for their implementation.
Examples of built-in functions include printf(), scanf(), strlen(), and malloc().
These functions are included in the standard library header files such as stdio.h, string.h, and stdlib.h.
Built-in functions can save time and effort in programming by providing commonly used ...read more
Q28. Create a query for extracting information from students data
Query for extracting information from student data
Select specific columns such as name, age, gender, and grade level
Filter data based on criteria such as GPA or attendance
Join tables to gather additional information such as courses taken or extracurricular activities
Aggregate data to find averages or counts of certain attributes
Q29. What is your favourite programming language
My favorite programming language is Python.
Python is easy to learn and has a simple syntax.
It has a vast library of modules and frameworks for various purposes.
Python is versatile and can be used for web development, data analysis, machine learning, and more.
Q30. difference between DBMS and RDBMS?
DBMS is a software system to manage databases while RDBMS is a type of DBMS that uses a relational model.
DBMS stands for Database Management System while RDBMS stands for Relational Database Management System.
DBMS can manage any type of database while RDBMS manages only relational databases.
DBMS does not enforce any specific data model while RDBMS enforces a relational data model.
DBMS is simpler and less expensive than RDBMS.
Examples of DBMS include MySQL, Oracle, and Microso...read more
Q31. What about further studies?
I am considering further studies to enhance my skills and knowledge.
I am interested in pursuing a master's degree in my field.
I am also exploring certification programs to gain expertise in specific areas.
Attending workshops and conferences is another way I plan to continue learning.
I am open to any opportunities that will help me grow professionally.
Q32. What is the OOPS concept?
OOPS stands for Object-Oriented Programming System. It is a programming paradigm based on the concept of objects.
OOPS is based on four main concepts: Encapsulation, Inheritance, Polymorphism, and Abstraction.
Encapsulation is the process of hiding the implementation details of an object from the outside world.
Inheritance allows a class to inherit properties and methods from another class.
Polymorphism allows objects of different classes to be treated as if they were of the same...read more
Q33. Introduction, what is difference between C++ and Java
C++ is a compiled language with more control over hardware, while Java is an interpreted language with better portability.
C++ is faster and more efficient than Java due to its ability to directly access hardware.
Java is more portable and platform-independent than C++ due to its bytecode and virtual machine.
C++ allows for manual memory management, while Java has automatic garbage collection.
C++ supports multiple inheritance, while Java only supports single inheritance and inte...read more
Q34. Find subsets from a given string
The question asks to find all possible subsets from a given string.
Start with an empty string and add each character to it one by one to create all possible subsets.
Use recursion to generate all possible combinations of characters.
Exclude duplicates by using a set data structure.
Consider edge cases such as empty string and strings with repeating characters.
Q35. What is difference between list and tuple
List is mutable and tuple is immutable in Python.
List is defined using square brackets [] while tuple is defined using parentheses ().
Elements in a list can be changed, added, or removed after creation, while elements in a tuple cannot be changed.
Lists are typically used for collections of similar items, while tuples are used for fixed collections of items.
Example: list_example = [1, 2, 3] and tuple_example = (4, 5, 6)
Q36. What is Iteration?
Iteration is the process of repeating a set of instructions or steps multiple times.
Iteration is used to perform repetitive tasks or calculations.
It allows for the efficient execution of a block of code multiple times.
Examples of iteration include loops like for, while, and do-while.
Iterative algorithms are commonly used in programming and data analysis.
Iteration can be used to iterate over elements in a collection or perform a specific action until a condition is met.
Q37. Tell me the Architecture of a Flipflop.
A flip-flop is a digital circuit that can store one bit of information. It has two stable states and is used for memory storage and data transfer.
Flip-flops are made up of logic gates, such as NAND or NOR gates.
They have two stable states: SET and RESET.
The SET state is when the output is high and the RESET state is when the output is low.
Flip-flops can be edge-triggered or level-triggered.
Examples of flip-flops include D flip-flops, JK flip-flops, and T flip-flops.
Q38. What is polymorphism?
Polymorphism is the ability of an object to take on many forms.
Polymorphism allows objects of different classes to be treated as if they are of the same class.
It is achieved through method overriding and method overloading.
Examples include function overloading in C++ and Java's method overriding.
Polymorphism helps in achieving loose coupling and flexibility in code design.
Q39. What is run time polymorphism?
Run time polymorphism is the ability of an object to take on multiple forms at runtime.
It allows a subclass to provide its own implementation of a method that is already provided by its parent class.
It is achieved through method overriding.
It is also known as dynamic polymorphism.
Example: A parent class Animal has a method called makeSound(). The subclass Dog can override this method to make a different sound.
Example: A parent class Shape has a method called draw(). The subcl...read more
Q40. Who many types of performance appraisal is there
There are several types of performance appraisals, including 360-degree feedback, self-assessment, and management by objectives.
360-degree feedback: Involves feedback from multiple sources, such as peers, subordinates, and supervisors.
Self-assessment: Employees evaluate their own performance and discuss it with their managers.
Management by objectives: Setting specific goals and objectives for employees to achieve during a certain period.
Rating scales: Using a numerical or des...read more
Q41. What is Encapsulation?
Encapsulation is the process of hiding implementation details and exposing only necessary information.
Encapsulation is a fundamental concept in object-oriented programming.
It helps in achieving data abstraction and information hiding.
It allows for better control over the data and prevents unauthorized access.
Example: A class in Java that has private variables and public methods to access those variables.
Example: A capsule that contains medicine and only allows access to the m...read more
Q42. What is authentication and authorisation?
Authentication is the process of verifying the identity of a user, while authorization is the process of determining what actions a user is allowed to perform.
Authentication confirms the identity of a user through credentials like passwords, biometrics, or security tokens.
Authorization determines the level of access a user has to resources or actions based on their authenticated identity.
Examples of authentication include entering a password to log into a computer system, or ...read more
Q43. What is OOPs?
OOPs stands for Object-Oriented Programming, a programming paradigm that uses objects to represent real-world entities.
OOPs focuses on encapsulation, inheritance, and polymorphism.
Encapsulation refers to the bundling of data and methods within a single unit, i.e., an object.
Inheritance allows objects to inherit properties and methods from a parent object.
Polymorphism allows objects to take on multiple forms or behaviors.
Examples of OOPs languages include Java, C++, and Python...read more
Q44. What is react and for it is used ?
React is a JavaScript library for building user interfaces.
React is used for creating interactive user interfaces for web applications.
It allows developers to build reusable UI components.
React uses a virtual DOM for efficient rendering of components.
React can be used to create single-page applications or mobile apps.
Examples: Facebook, Instagram, Airbnb use React for their web interfaces.
Q45. What is Inheritance?
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows for code reuse and promotes the concept of hierarchical classification.
The existing class is called the superclass or parent class, while the new class is called the subclass or child class.
The subclass inherits all the properties and methods of the superclass, and can also add its own unique properties and methods.
For example...read more
Q46. DIctionaries in Python as my language was python.
Dictionaries in Python are key-value pairs used to store and retrieve data efficiently.
Dictionaries are created using curly braces {} or the dict() constructor.
Keys in a dictionary must be unique and immutable, while values can be of any data type.
Values in a dictionary can be accessed using their corresponding keys.
Dictionaries can be modified by adding, updating, or deleting key-value pairs.
Examples: {'name': 'John', 'age': 25}, dict(zip(['a', 'b', 'c'], [1, 2, 3]))
Q47. Difference between C and C++?
C++ is an extension of C with object-oriented programming features.
C++ supports classes and objects while C does not.
C++ has better support for polymorphism and inheritance.
C++ has a standard template library (STL) while C does not.
C++ is more complex and has more features than C.
C++ is used for developing large-scale software projects.
C is used for developing system-level software and embedded systems.
Q48. Strength and weakness?
My strength is my ability to adapt quickly to new situations. My weakness is that I can be too detail-oriented at times.
Strength: Quick adaptability to new situations
Weakness: Detail-oriented to a fault
Example for strength: Successfully adapting to a new team and project within a week
Example for weakness: Spending too much time on minor details and missing deadlines
Q49. What is meant by human resource
Human resource refers to the individuals who make up the workforce of an organization and are responsible for carrying out tasks and achieving goals.
Human resource management involves recruiting, training, and managing employees.
HR departments handle employee relations, benefits, and performance evaluations.
Effective human resource management is crucial for organizational success.
Examples of human resource activities include hiring new employees, conducting training programs,...read more
Q50. what is a universal language ?
A universal language is a communication system that is understood by people from different cultures and backgrounds.
A universal language allows for effective communication without the need for translation.
Examples include mathematics, music, and visual symbols like traffic signs.
It promotes unity and understanding among diverse groups of people.
Q51. oops concept 4 pillar of oops with example
The 4 pillars of OOP are Abstraction, Encapsulation, Inheritance, and Polymorphism.
Abstraction: Hiding implementation details and showing only necessary information. Example: A car dashboard only shows necessary information like speed, fuel level, etc.
Encapsulation: Binding data and functions that manipulate the data together. Example: A class in Python that has data attributes and methods that manipulate those attributes.
Inheritance: Creating new classes from existing ones. ...read more
Q52. Write code for Fibonacci series
Code for Fibonacci series
Declare variables for first two numbers of the series
Use a loop to generate subsequent numbers
Add the previous two numbers to get the next number
Print or store the numbers as required
Q53. Program to convert a number to string
Program to convert a number to string
Use a loop to extract digits from the number
Convert each digit to its corresponding character
Add each character to an array of strings
Join the array of strings to form the final string
Q54. What is a singleton pattern
Singleton pattern restricts the instantiation of a class to a single instance and provides a global point of access to it.
Used when only one instance of a class is required throughout the system
Ensures that the instance is created only once and provides a global point of access to it
Commonly used in logging, configuration settings, and database connections
Implemented by making the constructor private and providing a static method to access the instance
Example: Java's Runtime ...read more
Q55. what is python redundacy
Python redundancy refers to unnecessary repetition or duplication of code in Python programming.
Redundancy in Python can lead to longer and more complex code, making it harder to maintain and debug.
Common examples of redundancy in Python include repeating the same code multiple times instead of using functions or loops.
Using functions, loops, and other programming techniques can help reduce redundancy in Python code.
Q56. What is platform dependent
Platform dependent refers to software or hardware that is specific to a particular operating system or device.
Refers to software or hardware that only works on a specific operating system or device
Code that is written for one platform may not work on another platform without modifications
Examples include Windows-specific software, iOS apps, and hardware drivers for specific devices
Q57. What are the Hr functions
HR functions include recruitment, training, performance management, employee relations, and compliance.
Recruitment - sourcing, interviewing, and hiring new employees
Training - developing and implementing training programs for employees
Performance management - evaluating and rewarding employee performance
Employee relations - handling employee grievances and conflicts
Compliance - ensuring HR policies and practices comply with laws and regulations
Q58. What is meant by firm
A firm refers to a business entity or company that engages in economic activities to produce goods or services for profit.
A firm can be a sole proprietorship, partnership, corporation, or limited liability company.
Firms typically have a specific organizational structure, management team, and business goals.
Examples of firms include Apple Inc., Walmart, and small local businesses like a bakery or law firm.
Q59. Tell me smtg about capgemini
Capgemini is a global consulting and technology services company.
Provides consulting, technology, and outsourcing services
Operates in over 50 countries
Works with clients in various industries such as banking, healthcare, and retail
Offers services in areas such as digital transformation, cloud computing, and cybersecurity
Q60. Types of polymorphism
Polymorphism refers to the ability of objects to take on multiple forms. There are two types of polymorphism: compile-time and runtime.
Compile-time polymorphism is achieved through function overloading and operator overloading.
Runtime polymorphism is achieved through virtual functions and function overriding.
Polymorphism allows for more flexible and reusable code.
Example of compile-time polymorphism: function overloading - multiple functions with the same name but different p...read more
Q61. Different data types in python
Python supports various data types including integers, floats, strings, lists, tuples, dictionaries, and booleans.
Integers: whole numbers without decimals (e.g. 5, -3)
Floats: numbers with decimals (e.g. 3.14, -0.5)
Strings: sequences of characters enclosed in quotes (e.g. 'hello', '123')
Lists: ordered collections of items (e.g. [1, 'apple', True])
Tuples: ordered, immutable collections of items (e.g. (1, 'banana', False))
Dictionaries: unordered collections of key-value pairs (e...read more
Q62. Explain project
A project is a temporary endeavor with a defined beginning and end, undertaken to achieve unique goals and objectives.
Projects have a specific timeline and budget
They involve a team of people with different skills and roles
They aim to deliver a unique product, service, or result
Examples include building a new website, launching a marketing campaign, or constructing a building
Q63. Oops concept explains
Oops concept explains the principles of object-oriented programming.
Oops stands for Object-Oriented Programming
It focuses on creating objects that interact with each other to solve problems
Key principles include inheritance, encapsulation, polymorphism, and abstraction
More about working at Capgemini
Top HR Questions asked in Perfect Auto Plast
Interview Process at Perfect Auto Plast
Top Analyst Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month