105 questions for “Scope”

Found in 2 fields. Select a question to see its full answer.

Information Technology

103 questions in 10 technologies

#QuestionTechnologyTopicLevel
1What is a file-scoped namespace declaration, and how does it reduce indentation compared to a traditional block-scoped namespace? C# › Modern C# Features (Global Usings, File-Scoped Namespaces, Top-Level Statements)C#Modern C# Features (Global Usings, File-Scoped Namespaces, Top-Level Statements)Beginner
2What is variable scope in PHP, and why can't a function normally access a variable defined outside of it? PHP › Functions & ScopePHPFunctions & ScopeBeginner
3What is Python's LEGB rule for variable scope resolution, and what does each letter stand for? Python › Functions & ScopePythonFunctions & ScopeIntermediate
4How does the 'nonlocal' keyword let a nested function modify a variable in its ENCLOSING (not global) scope? Python › Functions & ScopePythonFunctions & ScopeIntermediate
5How does a closure capture variables from its enclosing scope, and what pitfall occurs when creating multiple closures inside a loop? Python › Functions & ScopePythonFunctions & ScopeAdvanced
6How do variable variables and variable scope work in PHP, and what are common pitfalls to avoid? PHP › Basics & TypesPHPBasics & TypesIntermediate
7What is an enum class (scoped enum) and why is it preferred? C++ › Enums & Enum ClassesC++Enums & Enum ClassesBeginner
8How do you scope RBAC to specific projects and applications? ArgoCD › RBACArgoCDRBACIntermediate
9How do you create a read-only role scoped to one project? ArgoCD › RBACArgoCDRBACIntermediate
10What is the difference between Singleton, Scoped, and Transient service lifetimes in ASP.NET Core's DI container? C# › Dependency Injection & IoC PrinciplesC#Dependency Injection & IoC PrinciplesIntermediate

Accounting & Finance

2 questions in 1 technology

#QuestionTechnologyTopicLevel
1What is the scope of an audit? Auditing & Assurance › Audit Objectives & TypesAuditing & AssuranceAudit Objectives & TypesBeginner
2What is the difference between a misstatement and a scope limitation, and how do they map to opinions? Auditing & Assurance › Audit Report & OpinionsAuditing & AssuranceAudit Report & OpinionsIntermediate