Start learning →

ICSE Class 10 Classes, Encapsulation and Scope — practice questions — page 5

Explore 144 free Classes, Encapsulation and Scope questions in ICSE Class 10 Computer Applications. Open each question or exercise to read its content, reference answers and available explanation.

Practise Classes, Encapsulation and Scope with Quill →

Classes, Encapsulation and Scope questions and exercises with answers

Showing questions 121–144 of 144.

Match OOP basics: 1. Bundle: p. Data ops 2. Limit: q. Access 3. Object: r. UnitRead the answer and worked solution →Match API tasks: 1. Alloc: p. Create 2. Apply: q. Operate 3. Free: r. DeallocRead the answer and worked solution →Match Java vars: 1. Local: p. In method 2. Field: q. In class 3. Param: r. DeclaredRead the answer and worked solution →Match scope span: 1. Block: p. Brackets 2. Func: q. Routine 3. Prog: r. GlobalRead the answer and worked solution →Match spec tiers: 1. Public: p. Open all 2. Pack: q. Pkg only 3. Priv: r. StrictRead the answer and worked solution →Match OOP goals: 1. Hiding: p. Internal 2. Decoup: q. Unlink 3. State: r. IntegrityRead the answer and worked solution →Match scope models: 1. Lexic: p. Code text 2. Dynam: q. Run stack 3. Glob: r. Full appRead the answer and worked solution →Match Java parts: 1. Loop: p. Block var 2. Field: q. Class var 3. Arg: r. Input varRead the answer and worked solution →Match core ideas: 1. Scope: p. Name bind 2. Ctxt: q. Prog part 3. Extent: r. LifetimeRead the answer and worked solution →Match hiding roles: 1. Hide: p. Data state 2. Method: q. Inspect 3. Invar: r. ContractRead the answer and worked solution →Match spec rules: 1. Modif: p. Key word 2. Def: q. No keyword 3. Prot: r. SubclassesRead the answer and worked solution →Match name clashes: 1. Shadow: p. Hides 2. Mask: q. Inner win 3. Prefix: r. QualifyRead the answer and worked solution →Match storage types: 1. Static: p. Program 2. Auto: q. Stack 3. Heap: r. ManualRead the answer and worked solution →Match bind timing: 1. Static: p. Compile 2. Dynam: q. Runtime 3. Early: r. LexicalRead the answer and worked solution →Match unit levels: 1. Method: p. Routine 2. Class: q. Component 3. Module: r. PackageRead the answer and worked solution →Match memory life: 1. Static: p. Full run 2. Auto: q. Block run 3. Extent: r. LifetimeRead the answer and worked solution →Match Java fields: 1. Field: p. In class 2. Local: q. In block 3. Param: r. SignatureRead the answer and worked solution →Match OOP tension: 1. Design: p. Patterns 2. Subcls: q. Expose 3. Yo-yo: r. Hard bugRead the answer and worked solution →Match lang spec: 1. CPP: p. 3 keys 2. Java: q. 4 types 3. Swift: r. 5 levelsRead the answer and worked solution →Match scope nest: 1. Close: p. Keep env 2. Inner: q. Sub-func 3. Outer: r. Non-localRead the answer and worked solution →Match Java check: 1. Hide: p. Disallowed 2. Block: q. In braces 3. Top: r. Class modsRead the answer and worked solution →Match name scopes: 1. Prefix: p. Qualify 2. Pack: q. Ada Java 3. Space: r. C++ namesRead the answer and worked solution →Match stack flow: 1. Push: p. In scope 2. Pop: q. Exit scope 3. LIFO: r. Stack ruleRead the answer and worked solution →Match broad forms: 1. ADT: p. Data type 2. Libs: q. Modules 3. Cap: r. SecurityRead the answer and worked solution →

Worked practice questions

Match OOP basics: 1. Bundle: p. Data ops 2. Limit: q. Access 3. Object: r. Unit

  1. 1-p, 2-q, 3-r
  2. 1-p, 2-r, 3-q
  3. 1-q, 2-p, 3-r
  4. 1-r, 2-p, 3-q
Show answer and solution

Correct answer: A. 1-p, 2-q, 3-r

Encapsulation bundles data with operations, restricts direct external access, and encapsulates components within an object.

Open this question →

Match API tasks: 1. Alloc: p. Create 2. Apply: q. Operate 3. Free: r. Dealloc

  1. 1-p, 2-q, 3-r
  2. 1-p, 2-r, 3-q
  3. 1-q, 2-p, 3-r
  4. 1-r, 2-p, 3-q
Show answer and solution

Correct answer: A. 1-p, 2-q, 3-r

In opaque APIs, clients call functions to allocate instances, operate on internal data, and free memory through deallocation.

Open this question →

Match Java vars: 1. Local: p. In method 2. Field: q. In class 3. Param: r. Declared

  1. 1-p, 2-q, 3-r
  2. 1-p, 2-r, 3-q
  3. 1-q, 2-p, 3-r
  4. 1-r, 2-p, 3-q
Show answer and solution

Correct answer: A. 1-p, 2-q, 3-r

Local variables are defined inside methods or blocks, member fields belong to the class, and parameters are declared in method signatures.

Open this question →

How to practise

  1. Choose a Classes, Encapsulation and Scope question and try to work out your answer.
  2. Open the question to check the correct answer and read its worked solution.
  3. Continue in the app for bite-sized lessons, explanations and review with Quill. You can start without creating an account.

Put it into practice

Continue with Classes, Encapsulation and Scope practice for ICSE Class 10. Read explanations as you go. No signup form needed to start.

Practise Classes, Encapsulation and Scope →

More Computer Applications topics