What is the Software Engineering?
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
WithoutBook brings subject-wise interview questions, online practice tests, tutorials, and comparison guides into one responsive learning workspace.
Know the top Software Engineering interview questions and answers for freshers and experienced candidates to prepare for job interviews.
Know the top Software Engineering interview questions and answers for freshers and experienced candidates to prepare for job interviews.
Search a question to view the answer.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Synchronous: Blocking I/O operations. Asynchronous: Using callbacks or promises in JavaScript.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
In Java, using 'this' to refer to instance variables in a constructor.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
In Java, catching an 'IOException' when reading from a file within a 'try-catch' block.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Abstraction: Using abstract classes in Java to define common interfaces. Encapsulation: Using private access modifiers to protect the internal state of a class.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Inheritance-based polymorphism: Overriding a method in a subclass. Interface-based polymorphism: Implementing multiple interfaces in a class.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Implementing the Observer pattern in a GUI framework to update multiple UI components when a data model changes.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Creating and running threads in Java using the Thread class or implementing the Runnable interface.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
In Java, objects that are no longer referenced are automatically identified and reclaimed by the garbage collector.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Using a stack to implement function call management. Using a queue for printing tasks in the order they are received.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Designing a web API that uses HTTP methods for CRUD operations on resources.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Allocating memory for a local variable on the stack. Allocating memory for an object with 'new' in C++ on the heap.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Injecting a database dependency into a service class rather than creating it inside the class.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Using Git to create branches for feature development and merging changes back into the main branch.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Creating a shallow copy of an array in Python using 'copy.copy()'. Creating a deep copy using 'copy.deepcopy()'.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Using Docker to containerize a web application and deploy it across different environments.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Implementing the 'finalize' method in a class for resource cleanup, but not relying on it for critical cleanup tasks.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Implementing the Singleton pattern in Java to create a single instance of a configuration manager.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Expressing the time complexity of a sorting algorithm as O(n log n) based on the size of the input data.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Creating a shallow copy of an array in Python using 'copy.copy()'. Creating a deep copy using 'copy.deepcopy()'.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Single Responsibility: A class should have only one reason to change. Open-Closed: Software entities should be open for extension but closed for modification.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Breaking down a large table into smaller tables and establishing relationships to eliminate redundant data in a relational database.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Declaring a virtual function in a base class and providing specific implementations in derived classes.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Illustrating a deadlock scenario with two threads competing for resources without proper synchronization.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Declaring a variable as 'volatile' in Java to ensure proper visibility in a multithreaded environment.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Example:
Implementing an MVC architecture in a web application with separate classes for the model, view, and controller.
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.