A programmer is building a script that will test a condition of either true or false. Which data type would the programmer use?

IT Questions BankCategory: IT EssentialsA programmer is building a script that will test a condition of either true or false. Which data type would the programmer use?
A programmer is building a script that will test a condition of either true or false. Which data type would the programmer use? 1IT Exam Answers Staff asked 2 months ago

A programmer is building a script that will test a condition of either true or false. Which data type would the programmer use?

  • float
  • Bool
  • int
  • char

Explanation: The basic data types used in a script include:

  • int represents integers
  • char represents characters
  • float represents decimal numbers
  • strings represent alphanumeric characters
  • Bool represents true or false

More Questions: IT Essentials v7.0 – A+ 220-1002 Certification Practice Exam Answers