Modules, Packages & Libraries MCQs

Topic-wise practice questions for Programming (C++ / Java / Python). Test your knowledge, check solutions on demand, and pace your preparation.

Zero-leak answer engine • Rate-limited explanations
Practice in Timed Mode
Q1medium
You are trying to compile a project, but the compiler says "Module not found" or "Include file missing," even though the code is perfect. What is the most likely cause?
Q2medium
A developer is using npm for a JavaScript project and pip for a Python project. These tools are best classified as:
Q3easy
What is a major disadvantage of using a Static Library compared to a Dynamic Library?
Q4easy
In C/C++, what is the role of a Header File (.h) compared to a Source File (.cpp)?
Q5medium
In software architecture, "Inversion of Control" (IoC) is the technical distinction between:
Q6easy
Which of the following is an example of Semantic Versioning (SemVer)?
Q7easy
Look at this Java import: import java.util.*;. What does the * signify?
Q8easy
What is a Circular Dependency?
Q9easy
What is the primary purpose of a Namespace in languages like C++, C#, or PHP?
Q10medium
You want to share your code so that other developers can use it, but you don't want them to see your actual source code. How should you distribute your logic?