Courseiva
easyMultiple SelectObjective-mapped

FC0-U71 Practice Question: Which TWO of the following are valid data types…

Which TWO of the following are valid data types in most programming languages?

⚠ Common exam trap

CompTIA ITF+ tests the distinction between primitive data types and composite data structures, trapping candidates who think arrays or strings are primitive types when they are actually reference or aggregate types.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Boolean

Boolean is a valid data type in most programming languages, representing true/false values. It is fundamental for conditional logic and control flow, typically stored as a single bit but often aligned to a byte for memory access efficiency.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Boolean

    Why this is correct

    Boolean represents true/false values.

  • Character

    Why it's wrong here

    Character is also a primitive type, but we need exactly two; integer and boolean are universally recognized.

  • Array

    Why it's wrong here

    Array is a composite data structure, not a primitive type.

  • Integer

    Why this is correct

    Integer is a primitive data type for whole numbers.

  • Bit

    Why it's wrong here

    Bit is not a typical data type; boolean is used for true/false.

About these practice questions

Courseiva writes every FC0-U71 question from scratch — 988 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This FC0-U71 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the FC0-U71 exam.