Add office photos
Employer?
Claim Account for FREE

TickerPlant

3.1
based on 37 Reviews
Filter interviews by

Foxconn Interview Questions and Answers

Updated 22 Apr 2024

Q1. Do you have an experience in multithreading

Ans.

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

Add your answer

Q2. what is oops concepts what is difference between get and post

Ans.

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

Add your answer

Q3. What is mutex and atomic variable

Ans.

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

Add your answer

Q4. What is MFC application?

Ans.

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.

Add your answer
Discover Foxconn interview dos and don'ts from real experiences

Q5. Difference between TCP and UDP

Ans.

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

Add your answer

Q6. what is inheritance and polymorphism

Ans.

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

Add your answer

Q7. what is annotations ,

Ans.

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.

Add your answer

Q8. what is rest Controller

Ans.

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

Add your answer

Q9. what is hash map?

Ans.

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++.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Foxconn

based on 2 interviews
Interview experience
3.5
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.7
 • 403 Interview Questions
3.4
 • 282 Interview Questions
4.0
 • 157 Interview Questions
4.1
 • 141 Interview Questions
3.8
 • 138 Interview Questions
3.8
 • 135 Interview Questions
View all
Top TickerPlant Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter