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
Taya2010 [7]
3 years ago
9

What value will be stored in the variable t after each of the following statements

Computers and Technology
1 answer:
olga55 [171]3 years ago
7 0

Answer:

A) t = true

B) t = false

C) t = false

D) t = true

Explanation:

Part A, here 12 is greater than 1 so the condition is true.That is why "t" will hold "true".Part B, here 0 is not greater than 2 so this condition fails.Therefore "t" will hold "false" in this case.Part C,3*2=6 and we are comparing 5 with 6  Therefore condition fails here.That is why "t" will hold "false".Part D, here  we are comparing 5 with 5 and both are equal.So "t" will hold "true".

You might be interested in
Your computer is taking longer than usual to open files and you notice that your hard drive light stays on longer than usual. Wh
777dan777 [17]
There might be insufficient storage space so your computer usually takes a longer time to load.The bigger your file, the longer it takes to load. So the solution is to clear up your storage space



7 0
3 years ago
What is a feature of Print Preview
Leona [35]

Answer:

It shows you how the paper would look as if u printed it.

Explanation:

4 0
3 years ago
Read 2 more answers
Over the past week, every time Larry has started his computer, he has noticed that the time is not correct. Larry didn't conside
DiKsa [7]

Answer + Explanation:

You can tell Larry to set his device's location on 'enabled' at all times. That way, you get the time zone too. For example. if you live in the US, and your Location is not enabled, then the device may think that you are in China, or where the device was last at.

4 0
3 years ago
Good english songs to put in a power point
zheka24 [161]
Depends on what the powerpoint is about...
7 0
3 years ago
Let us consider the easiest sorting algorithms – Maxsort. It works as follows: Find the largest key, say max, in the unsorted se
schepotkina [342]

Answer:

count = 0

for x in range(len(array)):

if count == Len(array) -1:

break

max = max(array[:-1 - count])

count += 1

if array.index(max) == -1:

break

else:

hold = array[-1]

array[-1] = max

array[array.index(max)] = hold

Explanation:

The python program is an implementation of a maxsort. The for loop iterates over the array, getting the maximum number for each reduced array and swaps it with the corresponding last items.

3 0
3 years ago
Other questions:
  • How many bits do you need to count up to 30 help please
    14·1 answer
  • How can we set the color of a text that acts as a link in a web page​
    10·2 answers
  • Which of the following is NOT a major type of crime reported to the IC3.
    12·1 answer
  • What is the difference between throughput and bandwidth?
    14·1 answer
  • 3.2 lesson practice edhesive ​
    6·1 answer
  • What is metrical task system algorithm?? and can we use that in online shopping project??
    11·1 answer
  • I need help, thank you
    12·1 answer
  • Explain the<br>4 ways<br><br>ways of arranging icons.<br><br>​
    6·1 answer
  • The Freeze Panes feature would be most helpful for which situation?
    6·1 answer
  • What is the name of the User-defined function that is mentioned in the code?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!