
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
- 41
What is the purpose of a decorator in Python?
Select an answer first - 42
What is the first parameter of a class method conventionally named?
Select an answer first - 43
What is the effect of prefixing an attribute name with two underscores (e.g., `__secret`)?
Select an answer first - 44
What is the naming convention for a 'protected' attribute in Python?
Select an answer first - 45
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.