TickerPlant
Foxconn Interview Questions and Answers
Q1. Do you have an experience in multithreading
Yes, I have experience in multithreading.
Implemented multithreading in Java to improve performance of a web application
Used pthreads in C to create parallel processing for a data processing application
Utilized Python's threading module to handle concurrent tasks in a server application
Q2. what is oops concepts what is difference between get and post
OOPs concepts refer to Object-Oriented Programming concepts like inheritance, encapsulation, polymorphism, and abstraction. GET and POST are HTTP methods used for sending data to a server.
OOPs concepts include inheritance, encapsulation, polymorphism, and abstraction.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation involves bundling data and methods that operate on the data into a single unit.
Polymorphism allows objects to be trea...read more
Q3. What is mutex and atomic variable
Mutex is a synchronization mechanism used to control access to shared resources, while atomic variables ensure atomicity in operations.
Mutex is used to prevent multiple threads from accessing shared resources simultaneously
Atomic variables ensure that operations on the variable are indivisible and not interrupted by other threads
Mutexes are typically used in multithreaded programming to avoid race conditions
Atomic variables are often used for simple operations like incrementi...read more
Q4. What is MFC application?
MFC (Microsoft Foundation Class) application is a framework for building Windows-based applications using C++.
MFC provides classes for GUI components like windows, controls, and dialogs.
It simplifies the process of creating Windows applications by providing pre-built classes and functions.
MFC applications are typically developed using Visual Studio.
Examples of MFC applications include Microsoft Word and Visual Studio itself.
Q5. Difference between TCP and UDP
TCP is connection-oriented, reliable, and slower, while UDP is connectionless, unreliable, and faster.
TCP is connection-oriented, meaning a connection is established before data transfer.
TCP is reliable, as it ensures all data packets are received in order and without errors.
TCP is slower than UDP due to the overhead of error-checking and retransmission.
UDP is connectionless, meaning data can be sent without establishing a connection.
UDP is unreliable, as it does not guarante...read more
Q6. what is inheritance and polymorphism
Inheritance is a mechanism in OOP where a class inherits properties and behaviors from another class. Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Inheritance allows a class to inherit attributes and methods from another class, promoting code reusability.
Polymorphism allows objects of different classes to be treated as objects of a common superclass, enabling flexibility and extensibility.
Example of inheritance: class Dog ex...read more
Q7. what is annotations ,
Annotations are metadata added to code to provide additional information or instructions.
Annotations are used in Java to provide metadata about classes, methods, variables, etc.
They can be used for documentation purposes, code analysis, or to generate code.
Examples include @Override, @Deprecated, and @SuppressWarnings annotations.
Q8. what is rest Controller
A rest controller is a component in a web application that handles incoming HTTP requests and returns appropriate responses.
Handles HTTP requests and maps them to appropriate handler methods
Typically used in RESTful web services to implement CRUD operations
Can be implemented using frameworks like Spring MVC in Java
Q9. what is hash map?
A hash map is a data structure that stores key-value pairs and allows for efficient retrieval of values based on their keys.
Hash maps use a hash function to map keys to indexes in an array, where the corresponding values are stored.
They offer constant-time average case complexity for inserting, deleting, and searching for elements.
Examples of hash map implementations include HashMap in Java and unordered_map in C++.
Interview Process at Foxconn
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month