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?

  • 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


guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x