If you declare a flag variable with a Boolean data type, you can set its value to ____. Group of answer choices any integer "Y" or "N" 1 or -1 true or false
Added by Mariano R.
Step 1
A Boolean variable can only hold two possible values: true or false. Show more…
Show all steps
Your feedback will help us improve your experience
Maria Dearborn and 67 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Maria D.
Binary variables are variables whose only possible values are 0 or 1. Select one: 1.True 2.False
Varun I.
Which of the following is an example of a valid variable initialization or declaration? Note: Assume statements are pseudo-code. There is no need to add ";" at the end.: * A) int a B) int a = 1.3 C) int a = 'c' D) double f = 0 E) All of the above are valid
Akash M.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD