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
PolarNik [594]
2 years ago
15

Hello, this is for my compute science class, and I don’t know the answer, please help? Thank you in advance =)

Computers and Technology
2 answers:
quester [9]2 years ago
8 0

Haven't taken Computer Science in a year so my answer may be wrong (APCSA).

Defining Column B,

  • Selection is when a piece of code is run only when its conditions are met.
  • Iteration is typically represented by for loops, enhanced for loops, and while loops, and will all repeat until a condition is met.
  • Sequence is usually the simplest, carrying out commands in order.

From what I see, the first box in column A is a sequence as it defines and casts num1 and num2, computes its difference in int form, and prints it out. The second box in column A is a selection even though it counts to 5 in the first segment of code. The key here is the if else statement as it checks that num1 is greater than num2 before it subtracts. The third box in column A is an iteration due to its enhanced for loop.

Hope that helps! :)

Olin [163]2 years ago
3 0

Answer:bd

Explanation:

You might be interested in
Which Python expression results in 49?<br><br> 7 * 2<br><br> 7^2<br><br> 7 // 2<br><br> 7 ** 2
Juliette [100K]

Answer:

7^2

Explanation:

7^2 is the same as 7*7

7 0
2 years ago
Read 2 more answers
Write a program to calculate the area of a triangle whose base is 10cm and height is 6cm
Tcecarenko [31]

Answer:

30cm

Explanation:

Height X Base

6cm X 10cm

60cm

Then take half because a triangle is half a square and we are using a square formula.

60cm divided by 2

=30cm

7 0
2 years ago
Anyone else having problems with edg?
Kamila [148]
No what’s your problem on edge
4 0
2 years ago
Match the limits of the user with an appropriate design response. 1. severe arthritis, unable to type or use a mouse on a reliab
ololo11 [35]
Idk........................
4 0
3 years ago
Technician A says that wheel speed sensors are a highly probable cause of illuminated EBC warning lamps. Technician B says that
Blababa [14]

Technician A because

3 0
2 years ago
Other questions:
  • Why would you want to minimize the Ribbon?
    11·1 answer
  • Type the correct answer in the box. Spell all words correctly.
    9·1 answer
  • Create an instance of your queue that accepts java.lang.String Objects. Starting with an empty queue, use the enqueue(E e) metho
    15·1 answer
  • Could this be restored? And is it worth the money it’d take?
    9·2 answers
  • What options of the hierarchical star topology within the ANSI/TIA-568-C allow the ability to move the workgroup switches closer
    7·1 answer
  • A personal business letter is a letter that is ____.
    13·1 answer
  • What does NCR stand for
    12·2 answers
  • Write a program to find all integer solutions to the equation 4x + 3y -9z = 5 for values of x, y, and z between 0 to 100.
    11·1 answer
  • What option would fit the most content on a page?
    10·1 answer
  • For a certain company, the cost function for producing x items is C(x)=50x+100 and the revenue function for selling x items is R
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!