Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
CompTIA logo

CompTIAIT Fundamentals+ (ITF+)

Domain 4Objective 2

Data Types: Char, Strings, Numbers (integers, Floats), and Boolean. IT-FUNDAMENTALS-ITF-CERTIFICATION Practice Questions (Page 3)

Part of the Software development concepts domain, which accounts for 13% of the IT-FUNDAMENTALS-ITF-CERTIFICATION exam.

16questions here
4free pages
6concepts
13%of the exam

Questions 11–15

  1. 11foundation · easy

    A program needs to store a user's age, the user's first name, and whether the user is a member. Which data types should be used, in order?

    Select an answer first
  2. 12application · easy

    A program checks whether a user has entered a valid discount code. The code is valid only if it matches 'SAVE10'. The program must store the result of this comparison so it can later decide whether to apply the discount. Which data type should store the comparison result?

    Select an answer first
  3. 13foundation · easy

    Which of the following is an example of a float value?

    Select an answer first
  4. 14expert · medium

    A developer is writing a program that tracks whether a light switch is on or off. The program must also count how many times the switch has been toggled. Which data types should be used for the switch state and the toggle count, respectively?

    Select an answer first
  5. 15application · medium

    A developer is building a form that collects a user's middle initial (one letter), full name, and whether they want to subscribe to a newsletter. Which set of data types correctly matches these three fields in order?

    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 CompTIA. “IT-FUNDAMENTALS-ITF-CERTIFICATION” is a trademark of its owner, used for identification only.