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
A group of students are collaborating on an online research project. What is an example of appropriate online behavior?
german
Helping each other out
4 0
3 years ago
Read 2 more answers
How can i appear offline without fb messenger saying "last active 1 minute ago"?
Furkat [3]
Go to settings and hit privacy to change who can see your posts
5 0
3 years ago
_____ lets you look at two documents at the same time.
jasenka [17]
B. Side by side view
6 0
3 years ago
Which of the following technologies is the best choice to convey urgent and highly sensitive information?a. Telephone b. Fax Let
Setler79 [48]

Answer:

C. E-mail

Explanation:

Electronic mail is the best choice to convey urgent and highly sensitive information

8 0
3 years ago
Personal Web Page Generator Write a program that asks the user for his or her name, then asks the user to enter a sentence that
Fudgin [204]

Answer:

see explaination

Explanation:

The following code is in python 3.5 and above:

# Create a main method

def main():

# Accept name from the user

name = input("Enter your name: ")

# Accept describe yourself from the user.

describe = input("Describe yourself: ")

# Create a file object

f = open('person.html','w')

# Creat a string to store the html script.

message = """<html>

<head>

</head>

<body>

<center>

<h1>"""+name+"""</h1>

</center>

<hr/>"""+describe+"""<hr/>

</body>

</html>"""

f.write(message)

f.close()

main()

7 0
3 years ago
Other questions:
  • While working a night job at a call center, Eric creates an app called EatOut, which can be used to place orders at restaurants,
    14·1 answer
  • An example of a current disruptive technology is a?
    8·2 answers
  • Which of the following is a rule of thumb for cell phones or smartphone etiquette ?
    12·1 answer
  • What is not true about contracts?
    12·2 answers
  • How can i turn on my prinfer without getting up
    12·2 answers
  • Edhesive coding practice 3.4​
    13·2 answers
  • Best app in free to learn python
    7·1 answer
  • Anyone else like hunter x hunter?<br> lets talk abt it uwu<br><br> good day :)
    14·2 answers
  • Write a C# program named ProjectedRaises that includes a named constant representing next year’s anticipated 4 percent raise for
    15·1 answer
  • Which requires large computer memory?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!