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

GIAC Python Coder

Domain 1Objective 1

Python Basics GPYC Practice Questions (Page 5)

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 21–25

  1. 21foundation · easy

    Which standard library module provides the sqrt() function?

    Select an answer first
  2. 22foundation · easy

    What is the output of the following code? def add(a, b): return a + b print(add(2, 3))

    Select an answer first
  3. 23foundation · easy

    What is the output of the following code? for i in range(3): print(i)

    Select an answer first
  4. 24foundation · easy

    What does the read() method do when called on a file object?

    Select an answer first
  5. 25foundation · easy

    What is the result of the following lambda expression? (lambda x: x + 1)(5)

    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.