In software design, what is the primary difference between the Factory Method and the Abstract Factory design patterns?
Software Engineering
Question · Medium
Which structural design pattern is best suited to dynamic adding of responsibilities to an individual object without affecting other objects of the same class?
Question · Easy
Under the SOLID principles of object-oriented design, which principle states that software entities should be open for extension but closed for modification?
Tech Exam Prep Podcast
Listen on Spotify
Podcast
In a microservices architecture, which pattern is designed to prevent a cascading failure across services by stopping operations that are highly likely to fail?
What is the primary objective of requirements validation in software engineering?
In cyclomatic complexity, if a control flow graph of a program has 10 nodes, 12 edges, and 1 connected component, what is the cyclomatic complexity of the program?
Which of the following describes the 'Liskov Substitution Principle' (LSP) in object-oriented design?
In Domain-Driven Design (DDD), what represents an object that is defined by its identity rather than its attributes, and whose identity continues across its lifecycle?
What is the role of continuous integration (CI) in a modern DevOps software delivery pipeline?
Which pattern is used to decouple an abstraction from its implementation so that the two can vary independently?
Question · Hard
In database design, which level of schema definition describes how data is physically stored on disk, including indexes and storage structures?
In the context of software testing, what is the difference between white-box testing and black-box testing?
In requirements engineering, which of the following is classified as a non-functional requirement?
What is the primary purpose of the 'Observer' behavioral design pattern?
Which of the following architectural patterns separates the modification of data (writes) from the retrieval of data (reads) to optimize performance and scalability?
Which refactoring technique is most appropriate when a single method is too long and complex, performing multiple distinct operations that can be named?
In clean code terminology, what does the term 'God Class' refer to?
In RESTful API design, which HTTP verb is guaranteed to be idempotent and is used to completely replace an existing resource with a new payload?
According to the CAP Theorem, when a network partition occurs in a distributed data store, what trade-off must the system make?
What type of software maintenance involves modifying a software system to adapt it to changes in its operating environment, such as a new operating system version or database engine?
In the 3D graphics rendering pipeline, which coordinate space is represented immediately after the vertex shader applies the projection transformation but before homogeneous division?
Computer Graphics
Why are homogeneous coordinates used in computer graphics transformations?
Which matrix represents the 3D homogeneous translation by tx, ty, and tz?
What is a primary advantage of Bresenham's line drawing algorithm over the Digital Differential Analyzer (DDA) algorithm?
How does Gouraud shading differ from Phong shading in terms of illumination calculations?
In the Phong reflection model, which component represents light that has bounced off other surfaces in the environment so many times that it is distributed uniformly in all directions?
In texture mapping, what is 'mipmapping' used to resolve?
In ray tracing, which type of ray is cast from an intersection point on a surface toward a light source to determine if the point lies in a shadow?
Which color model is subtractive and is primarily used in physical printing processes?
What is the computational complexity of the standard Z-buffer (depth-buffer) algorithm for hidden surface removal, in terms of the number of polygons (N) and the number of pixels (P)?
Which of the following anti-aliasing techniques is a post-processing shader-based approach that detects edges in screen space and smooths them without supersampling?
A cubic Bézier curve is defined by how many control points?
In the Cohen-Sutherland line clipping algorithm, what do the 4-bit outcodes represent?
Which global illumination method simulates the diffuse reflection of light between surfaces by solving a system of energy transfer equations, assuming perfectly diffuse (Lambertian) surfaces?
What is a primary disadvantage of shadow mapping compared to shadow volumes?
What makes the A* search algorithm 'optimal' in terms of search tree exploration?
Artificial Intelligence
In adversarial search, how does alpha-beta pruning improve the performance of the minimax algorithm?
Which machine learning paradigm involves training an agent to make a sequence of decisions by rewarding desired behaviors and punishing undesired ones?
Which of the following activation functions resolves the 'vanishing gradient problem' in deep neural networks by outputting the input directly if it is positive, and zero otherwise?
Which neural network architecture is explicitly designed to process grid-like topology, such as images, by sharing weights through local receptive fields?
In natural language processing, how does the Transformer architecture differ fundamentally from Recurrent Neural Networks (RNNs)?
In machine learning, what does the 'bias-variance trade-off' refer to?
Which of the following is a regularization technique used in deep learning to reduce overfitting by randomly disabling a percentage of neurons during each training step?
In artificial intelligence, what is the role of an 'inference engine' within an expert system?
Which search algorithm expands nodes in order of their heuristic value h(n), ignoring the path cost g(n) entirely, making it fast but not guaranteed to find the shortest path?
In machine learning evaluation, what does the F1-score represent?
Which clustering algorithm starts by assigning K random centroids and iteratively refines them by assigning points to the nearest centroid?
Loading more…