All fields

“STL” in Information Technology

19 questions across 5 technologies.

Information Technology

19 questions in 5 technologies

#QuestionTechnologyTopicLevel
1What is the role of IHostLifetime, and how does it differ across console applications, Windows Services, and containers? .NET › Generic Host.NETGeneric HostIntermediate
2How does the HostListener decorator let a directive respond to events on its host element? Angular › DirectivesAngularDirectivesIntermediate
3How can a metaclass be used to implement the Singleton design pattern more robustly than overriding __new__ alone? Python › Metaclasses & Class CustomizationPythonMetaclasses & Class CustomizationAdvanced
4How would you implement a memory-efficient sparse matrix representation in Java when a large 2D array would mostly contain zero/default values, avoiding the memory waste of a full dense array? Java › Arrays & Multidimensional ArraysJavaArrays & Multidimensional ArraysAdvanced
5What is a lambda expression in C++? C++ › Lambda ExpressionsC++Lambda ExpressionsBeginner
6What is the capture list in a lambda? C++ › Lambda ExpressionsC++Lambda ExpressionsBeginner
7Where are lambdas most commonly used? C++ › Lambda ExpressionsC++Lambda ExpressionsBeginner
8What is the difference between auto x = {…} and auto x{…}? C++ › Type Deduction & autoC++Type Deduction & autoBeginner
9What is std::string and how does it differ from a C-string? C++ › Strings & string_viewC++Strings & string_viewBeginner
10How do you convert between std::string and numbers? C++ › Strings & string_viewC++Strings & string_viewBeginner
11What common operations does std::string provide? C++ › Strings & string_viewC++Strings & string_viewBeginner
12What are C++20 ranges? C++ › Ranges & ViewsC++Ranges & ViewsBeginner
13How do ranges make code safer than iterator pairs? C++ › Ranges & ViewsC++Ranges & ViewsBeginner
14Which header provides ranges and how do you use range algorithms? C++ › Ranges & ViewsC++Ranges & ViewsBeginner
15What is placement new? C++ › Memory ManagementC++Memory ManagementIntermediate
16What are some commonly used range adaptors? C++ › Ranges & ViewsC++Ranges & ViewsIntermediate
17What is the difference between a range and a container? C++ › Ranges & ViewsC++Ranges & ViewsIntermediate
18What is class template argument deduction (CTAD)? C++ › Type Deduction & autoC++Type Deduction & autoAdvanced
19How does lazy evaluation in views affect performance and behavior? C++ › Ranges & ViewsC++Ranges & ViewsAdvanced