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
AlekseyPX
3 years ago
9

Can someone help me with this trace table - its computer science

Computers and Technology
1 answer:
Rasek [7]3 years ago
8 0

TThe while loop keeps going until count is greater than or equal to 10.

count = 0, sum = 0

count = 2, sum =2

count = 4, sum = 6

count = 6, sum = 12

count = 8, sum = 20

count = 10, sum = 30

Now that count is equal to 10, it exits the while loop and the program ends. The values above complete your trace table.

You might be interested in
In the following code segment, assume that the ArrayList numList has been properly declared and initialized to contain the Integ
KATRIN_1 [288]

Answer:

e. 4

Explanation:

The code segment will not work as intended if the value of the variable val is 4. This is because the while loop is comparing the value of the variable val to the value of each element within the numList. Since there is no element that is bigger than or equal to the number 4, this means that if the variable val is given the value of 4 it will become an infinite loop. This would cause the program to crash and not work as intended.

8 0
3 years ago
Angle parking spaces are generally entered at an angle about __________ from the curb.
Artyom0805 [142]
Probably B. 45 degrees
8 0
3 years ago
Read 2 more answers
Software ............. the hardware what to display on the user's screen​
likoan [24]
A monitor? This displays on the users screen but I’m not sure if that’s what your asking good luck on finding the right answer.
7 0
2 years ago
Sending packets with false ip source addresses is called ____. ip address spoofing a port scanning attack a ip address scanning
Eddi Din [679]
<span>Sending packets with false IP source addresses is called </span>IP address spoofing 
6 0
3 years ago
Which is the simplest way to permanently get rid of an unwanted file
Law Incorporation [45]
I guess you could take the file and drag it to your trash can and then you could clear your trash can.
6 0
3 years ago
Read 2 more answers
Other questions:
  • What two images did you have to add to the wds server to handle the windows installation?
    7·1 answer
  • If you use the ___ template, as opposed to a formatted theme, you must make all design decisions?
    15·1 answer
  • Open source software is copyrighted software that is distributed at no cost for a trial period.
    11·1 answer
  • Jason Has A Science Video Project, As He Creats His Project, He Saves, Then Comes Back A Minute Later. The File Is Now Unreadabl
    8·2 answers
  • When mapping a drive, you can type in the path to the shared folder on the host computer. what is the syntax for the path?
    7·1 answer
  • Climatologist use weather balloons, stethoscopes, and satellites true or false
    14·1 answer
  • _____ is confirming the significance of what another person is feeling.
    9·2 answers
  • What is the HTML tag used to define a block of content?<br> O <br> O class<br> O #id<br> O
    8·2 answers
  • CODEHS: WHY is it important to know the difference between div and span?
    11·1 answer
  • Taking a break is necessary while using your computer or any other gadget. What are ways of having a break? Give five examples
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!