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

GIAC Foundational Cybersecurity Technologies

Domain 4Objective 1

Logic & Programming GFACT Practice Questions (Page 1)

Part of the Programming and Logic domain, which makes up ~12% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 120-minute exam (~50–80 total, ~6–10 in this domain), expect 6–10 from this objective — we provide 40 practice questions to prepare you well beyond it. (estimate)

40questions here
8free pages
6concepts

Questions 1–5

  1. 1application · medium

    A C developer needs to allocate memory for an array of 10 integers and initialize all elements to zero. Which function is the most appropriate for this task?

    Select an answer first
  2. 2foundation · easy

    What is the purpose of the free function in C?

    Select an answer first
  3. 3expert · medium

    A developer is debugging a Python script that calculates the average of a list of numbers. The code is: total = 0; for num in numbers: total += num; average = total / len(numbers). The script raises a ZeroDivisionError. What is the most likely cause?

    Select an answer first
  4. 4foundation · easy

    Which programming construct repeatedly executes a block of code as long as a condition remains true?

    Select an answer first
  5. 5foundation · easy

    In a program, function A calls function B, and function B calls function C. After C completes, which function resumes execution?

    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). “GFACT” is a trademark of its owner, used for identification only.