Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
GIAC (SANS) logo

GIAC Python Coder

Domain 1Objective 4

Functions, Classes and Objects GPYC Practice Questions (Page 9)

Part of the Python Fundamentals domain, which makes up ~43% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 120-minute exam (~50–80 total, ~22–34 in this domain), expect 4–7 from this objective — we provide 45 practice questions to prepare you well beyond it. (estimate)

45questions here
9free pages
14concepts

Questions 41–45

  1. 41foundation · easy

    What is the purpose of a decorator in Python?

    Select an answer first
  2. 42foundation · easy

    What is the first parameter of a class method conventionally named?

    Select an answer first
  3. 43foundation · easy

    What is the effect of prefixing an attribute name with two underscores (e.g., `__secret`)?

    Select an answer first
  4. 44foundation · easy

    What is the naming convention for a 'protected' attribute in Python?

    Select an answer first
  5. 45foundation · easy

    In an instance method, what is the first parameter conventionally named?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

No more pagesBack to GPYC

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GIAC (SANS). “GPYC” is a trademark of its owner, used for identification only.