
GIAC Python Coder
Domain 1Objective 1
Python Basics GPYC Practice Questions (Page 6)
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 33 practice questions to prepare you well beyond it. (estimate)
33questions here
7free pages
17concepts
Questions 26–30
- 26
A developer wants to use a function named 'sqrt' from the math module without prefixing it with 'math.' every time. Which import statement allows this?
Select an answer first - 27
What is a decorator in Python?
Select an answer first - 28
Which data structure is ordered, changeable, and allows duplicate elements?
Select an answer first - 29
Which of the following expressions evaluates to True?
Select an answer first - 30
Which mode string is used to open a file for writing in Python?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
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.