1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Dmitry [639]
3 years ago
8

Which of the following could NOT be represented by a boolean variable?

Computers and Technology
1 answer:
Len [333]3 years ago
8 0

Answer:

Whether a traffic light is green, yellow or red

Explanation:

Boolean variables are variables that can either take one out of two options at any given instance.

Analyzing the given options

1. Elevator:

Possible Directions = Up or Down; That's two possible values

But it can only move in one direction at a given instance.

<em>This can be represented using Boolean</em>

2. Traffic Light:

Possible Lights = Green, Yellow or Red

That's three options.

<em>This can be represented using Boolean</em>

<em />

The last two options can be represented using Boolean because they have just two possible values

<em>Hence, option (B) answers the question</em>

You might be interested in
In an advertisement, a speed specification, such as 2.66 ghz, indicates the speed of the microprocessor?
Ray Of Light [21]

Answer:

yes / true

Explanation:

it is one of the factors in determining the speed of the microprocessor

5 0
2 years ago
Which of the following is NOT a valid method to increase a variable named score by 1?
Fofino [41]

Answer:

a.

++score = score + 1

Explanation:

First you have to understand the increment operator;

There are three possible ways to increment the value of variable by 1.

1.  <u>post increment</u>

syntax:

name++

it using in expression first then increase the value by 1.

2. <u>Pre increment</u><u> </u>

syntax:

++name

it increase the value by 1 before it using in expression.

3. simple method

name = name +1

In the question,

option 1: ++score = score + 1

it increase the value of score by 2 because their are two increment is used first for (score + 1) and second ++score.

Therefore, the correct option is a.

5 0
3 years ago
MARKING BRAINLIEST
BabaBlast [244]

Answer: Well, first of all, you might want to change websites. I suggest khan academy.

anyways if your a begnner *Like me* The you might wanna try Java Script! in other words i do not know how to work Python

8 0
3 years ago
~50 points~ <br> how do you merge shapes in powerpoint
mojhsa [17]

Answer:

Merge shapes

Select the shapes to merge. Press and hold Shift to select multiple shapes. The Shape Format tab appears. ...

On the Shape Format tab, click Merge Shapes, and then pick the option you want. The order in which you select the shapes to merge may affect the options shown to you.

Explanation:

5 0
3 years ago
Read 2 more answers
Mail merge allows for the sending of an email to multiple recipients. True False
ale4655 [162]

Answer:

False

Explanation:

Mail merge lets you create a batch of documents that are personalized for each recipient. For example, a form letter might be personalized to address each recipient by name. A data source, like a list, spreadsheet, or database, is associated with the document.

8 0
3 years ago
Read 2 more answers
Other questions:
  • 1. How does inertia affect a person who is not wearing a seatbelt during a collision? 
    14·2 answers
  • What is a computer ?it types​
    11·2 answers
  • 1. Bluetooth
    5·1 answer
  • Every node (except of the last node) in a singly linked list contains ____
    5·1 answer
  • You want to create a set of instructions to teach your dog to walk, to bark on command, and to heel. Such software would similar
    6·1 answer
  • When I comes to saving money, what is good rule of thumb
    5·1 answer
  • 3.2 lesson practice edhesive ​
    6·1 answer
  • A company that provides finance services wants to shift to a mobile platform. What is the major advantage that the users of the
    10·2 answers
  • Page Setup options are important for printing a PowerPoint presentation a certain way. The button for the Page Setup dialog box
    15·1 answer
  • Explain the derived data types in C language with examples each
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!