A programmer used Scratch to create a program with three frog sprites. If a
user clicks any of the frogs, they make a "boing" sound and glide to a random
position in the stage panel.
In this scenario, what are two examples of an algorithm?
A. The combination of panels that compose the Scratch interface
B. The code that instructs the computer to move the sprite after it is
clicked
C. The user's decision about which frog to click
D. The code that generates a random location each time.

Answers

Answer 1

Answer:

D. The code that generates a random location each time.

Explanation:

An algorithm is a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.

An algorithm is needed to get a random location.

Answer 2

The code that instructs the computer to move the sprite after it is clicked and the code that generates a random location each time are examples of an algorithm in this scenario. The correct options are B and D.

What is algorithm?

A set of instructions or rules that must be followed in order to complete a task or solve a problem is referred to as an algorithm.

The programmer in this scenario used Scratch to create a programme with three frog sprites that respond to user input by making a "boing" sound.

In this scenario, the combination of panels that comprise the Scratch interface and the user's decision about which frog to click are not examples of algorithms.

The panels that make up the Scratch interface are part of the programming environment, but they have no effect on the program's behaviour.

Similarly, the user's choice of which frog to click is a user input, but it does not form part of the algorithm that governs the program's behaviour.

Thus, the correct options are B and D.

For more details regarding algorithm, visit:

https://brainly.com/question/22984934

#SPJ7


Related Questions

A network administrator wants to authenticate server machines using Transport Layer Security (TLS). What can the administrator install on the servers to validate the server's identity and establish a secure transmission channel

Answers

Answer:

When enabling TLS 1.2 for your Configuration Manager environment, start by ensuring the clients are capable and properly configured to use TLS 1.2 before enabling TLS 1.2

Explanation:

When enabling TLS 1.2 for your Configuration Manager environment, start by ensuring the clients are capable and properly configured to use TLS 1.2 before enabling TLS 1.2

Point to ______ of a cell to fill the cell to the right or down.

A. The bottom right corner

B. An edge

C. The bottom left corner

D. The center

Answers

Answer:

It's "The bottom left corner"

Explanation:

C: Bottom left corner

Hope this helps:):)

3 of 10 Taking more than four years to graduate will increase costs and may impact a return on investment. What could you check to see how long most students take to finish at an institute of higher education?

Answers

The things to check is Why would finding graduation rates be useful in knowing an institution's ROI?

What is an institution of higher education?

The term “institution of higher learning” is known to be often called a college, university, or other kind of institution.

Note that it is one that takes about 4 years to complete or more. By answering the question of Why would finding graduation rates be useful in knowing an institution's ROI?., one can be able to know the reasons for the above.

Learn more about institute from

https://brainly.com/question/6947486

#SPJ1

An organization has two servers that are connected and are exactly alike. Should one server fail for any reason, all traffic is diverted to the other server. This configuration is called __________.

Answers

An organization has two servers that are connected and are exactly alike. Should one server fail for any reason, all traffic is diverted to the other server. This configuration is called mirrored servers.

What is mirrored servers?

Server mirroring is a network management technology that creates a real-time exact clone of a server. Server mirroring is a business continuity, disaster recovery, and backup solution.

When the automated fails and the secondary server has to take over the role of the primary server.

Thus, mirrored servers is the configuration

For more details about mirrored servers, click here

https://brainly.com/question/14970649

#SPJ1

Andy works for a TV broadcasting company. He needs to set up a network covering a small area on the work floor. However, he notices the area suffers from a lot of electrical interference from other equipment. What form of network should he set up to overcome this problem?
A. wi-fi
B. LAN
C. CDMA
D. WLAN

Answers

I believe it’s B)LAN

Explanation:
A LAN connects computers over a relatively short distance, allowing them to share data, files, and resources. For example, a LAN may connect all the computers in an office building, school, or hospital. Typically, LANs are privately owned and managed.

How to unlock your iphone when you forgot the password?.

Answers

Answer:

go to customer service

Explanation:

Ariana has decided to allow some of her co-workers to use the personal photographs
that she took for their business website. Before doing this, however, what does she
need to obtain to grant them permission?
A. a sticker

B. the property value

C. watermark

D. a license

Answers

Answer: D. a license

Ariana needs a license in order to obtain to grant them permission. Thus, the correct option for this question is D.

What are Business websites?

Business websites may be defined as a space that significantly provides general information about the company or a direct platform for e-commerce.

It involves the collection of World Wide Web pages usually containing links to each other and made available online by an individual, company, or organization.

Before deciding to allow some of her co-workers to use their personal photographs, Ariana needs to obtain to grant them permission in the form of a license. This is because it captures the personal identity of co-workers.

Therefore, Ariana needs a license in order to obtain to grant them permission. Thus, the correct option for this question is D.

To learn more about Business websites, refer to the link:

https://brainly.com/question/23060064

#SPJ2

Data digitalization is one of the techniques of the 21st century to process and store physical data. It’s however not without its shortcoming.

State at least six ways by which data digitalization are at disadvantage

Answers

digitization is the process of changing from analog to digital format.” This process creates digitized data “without any different-in-kind changes to the process itself

Removing and disabling ________ that may contain sensitive security data presents an excellent example of the trade-off between improved security and cost.

Answers

Answer:

Removing and disabling _____ that may contain sensitive security data presents an excellent example of the trade-off between improved security and cost. cookies.

Explanation:

In information security, which of the following is TRUE about managing risk?

difine the term pigment​

Answers

Explanation:

pigment is material which give color to skin

Answer:

a substance occurring in plant or animal tissue and producing a characteristic colour, such as chlorophyll in green plants and haemoglobin in red blood. any substance used to impart colour.

Explanation:

Sara wants to set up her lights to turn on when she arrives home. She has heard that she might be able to do this using IoT. What should Sara be concerned about when setting up her IoT lights

Answers

Sara should be concerned about security when setting up her loT lights.

What are loT lights?

loT light are otherwise called parking lot lights are outdoor lights that are placed on poles which are located on parking lots, pathways and driveways.

The loT light are used to provide bright light to the individuals so as to safely perform their various duties.

Therefore, Sara should be concerned about security when setting up her loT lights.

Learn more about security here:

https://brainly.com/question/25720881

The aspect that Sara should be concerned about when setting up her IoT lights is Security.

What is Security in IoT?

This is known to be the process of keeping Internet devices and the networks that a person is connected from any form of threats or data breaches. This is often done by protecting the devices from any security risks.

Note that aspect that Sara should be concerned about when setting up her IoT lights is Security and if it is secured, her mind will be at peace from any kind of malware attack.

Learn more IoT from

https://brainly.com/question/19995128

The purpose of assigning a number to each of the consequences in a grid analysis is to _______.

Answers

Answer: Allow the consequence to be weighed and measured

Answer: I took the test

It is indirectly referenced from required. Class files.

Answers

Answer:

ohh the class file

Explanation:

is not me own it my class

You have two users who work on the same floor and belong to the same department. The organization has strict rules implemented for printer access. One of the users is unable to access the printer but has access to the Internet. What should you check on your switch

Answers

The thing that one should you check on your switch is the networking model.

What is a networking model?

The networking model is a term that tells one about the structure, parts, and design that are known to be used to set up a communication between a source and their destination.

Note that when you  check on your switch, the networking model, one can be able to know if it allows two users or not.

Learn more about printer from

https://brainly.com/question/14879865

#SJ1

Sean wants to create a backup of the information on his computer. He wants to create this backup in a media that is portable, has high transfer speed, a life span of at least 10 years, and is not sensitive to magnets. Which storage media should he use?
A. hard disk
B. CD
C. Blu-ray
D. USB drive

Answers

Honestly a CD might work. It’s not attracted to magnets.

For this assignment, you will follow detailed instructions to format an Excel worksheet demonstrating your knowledge of how to manage nested and date functions.


To be successful in this assignment, you will need to know how to create and save an Excel worksheet, enter data, name ranges, use proper syntax formation, use date functions, and nest formulas into functions.


I WILL REPORT SPAM ANSWERS

Answers

A date function in Excel is a function that enables one to enter the various values for a date such that it comprises the values for:

YearMonthDay.

What is a Nested Date Function?

A nested date function is a formula that uses a date function in carrying out a calculation.

In this case, we used nested the dates of purchase in the function that calculated the expiry date of the items purchased using the following formula:

=DATE(YEAR(A2)+5,MONTH(A2),DAY(A2))-1

Learn more about Nested Formulas at:

https://brainly.com/question/17041438

#SPJ1

what is excel in ibca

Answers

Answer:

Excel is mostly used for data storage. It also more or less has its own programming language within it for automation of data transfer and storage. It's used in a grid layout or what you'd see as a sheet.

I have taken IBCA (Intro to Business Computer Applications) but I'm surprised that you're taking excel in IBCA, perhaps just the basics I'm assuming. Completing IBCA should get you Microsoft certifications in Word and BCA will get you certifications in Powerpoint and Excel. If you pass of course.

Within a classful addressing subnet mask, the ____ bits indicate that corresponding bits in an IPv4 address contain network information.

Answers

Within a classful addressing subnet mask, the 32 bits indicate that corresponding bits in an IPv4 address contain network information.

What is classful IP addressing?

IP address is the address or the code of location to reach at a specific location. It is a unique address of 32 bit.

This address is classified in five classes.

Class AClass BClass CClass DClass E

These class are necessary to obtained the bits for network ID.

Thus, within a classful addressing subnet mask, the 32 bits indicate that corresponding bits in an IPv4 address contain network information.

Learn more about the classful IP addressing here:

https://brainly.com/question/16842000

#SPJ1

If one of the resistors is turned off (I.e. , a light bulb goes out), what happens to the other resistors (light bulbs) in the circuit? Do they remain on? (I.e., lit)?

Answers

Answer:

No, they don't remain on because If any of bulbs in a series circuit is turned off from its socket, then it is observed that the other bulbs immediately go out. In order for the devices in a series circuit to work, each device must work. If one goes out, they all go out.

Write a method that makes the input string of sentences ending with and
combines them into a single sentence. The result should keep the final period.
For example,
runOnSentence("A sentence. That runs on.")
returns
"A sentence that runs on."

Answers

Had to send the code through a .txt since brainly doesn't support .py

Please tell me if you have any questions or if the code doesn't function correctly.

All of the following are personal security safeguards except ________. Select one: A. send no valuable data via email B. Use https C. pop-ups D. remove high-value assets from computers E. regularly update antivirus software

Answers

The option that is not a personal security safeguards is the use of pop-ups.

What are safeguards security?

The term above connote a kind of protective steps that are often taken along with some controls measures that helps one to be able to meet their own security requirements needed for their information system.

Conclusively, Note that some  the use of pop-ups is risky as they may contain malware which can hinder the safety of your personal security.

Learn more about security safeguards from

https://brainly.com/question/4021912

#SJ1

A(n) _____ is an organization's management support system that combines many databases to improve management decision making.

Answers

An organization's management support system that combines many databases to improve management decision making is; Data warehouse

What is Data Warehouse?

A data warehouse is defined as a management support system that combines many databases across a whole company into one central database that supports management decision-making.

Using a data warehouse system, managers can easily access and share data across the enterprise to get a broad overview rather than just isolated segments of information.

Read more about Data Warehouse at; https://brainly.com/question/25885448

The chain of _____ documents that the evidence was under strict control at all times and no unauthorized person was given the opportunity to corrupt the evidence.

Answers

Answer:

custody.

I hope I could help

To reposition the legend to the left-hand side of a chart, click the _________ button, point to legend, click the right arrow icon, and click left.

Answers

Answer:

To reposition the legend to the left-hand side of a chart, click the chart elements button, point to legend, click the right arrow icon, and click left. the

Explanation:

Chart Element button is used to add and remove chart elements. It is located in the Charts Layout group on the Chart tools design tab

Write a function that receives a StaticArray and returns an integer that describes whether the array is sorted. The method must return:

Answers

Answer:

is_sorted(arr: StaticArray) -> int: Write a function that receives a StaticArray and returns an integer that describes whether the array is sorted. The method must return: 1

Explanation:

range paramters - for loop
question in picture

Answers

Answer:

start,stop,step_size

Explanation:

Starting at 5 to for loop will count backward by 1 (hence the step_size being -1) until it reaches 0 (stop).

Jorge, a sports statistician for soccer, has kept track of how many shots-on-goal each player on a team made in each game. This is recorded in the "SOG" column. Jorge also has the total number of goals each player made during each game. He now wants to create a custom function that will find the average number of goals a player made per shots-on-goal in each game. He will calculate the averages as percents and will call the function "PctPerShots. "


What code will Jorge’s function most likely include?


A. PctPerShots (SOG)

PctPerShots=SOG*goals/100


B. PctPerShots (goals)

PctPerShots=goals*SOG/100


C. PctPerShots (SOG, goals)

PctPerShots=SOG/goals%


D. PctPerShots (SOG, goals)

PctPerShots=goals/SOG%

Answers

The answer is A
Explanation it’s A

_____ is an application programming interface that allows a Java program to interact with a wide range of data sources (relational databases, tabular data sources, spreadsheets, and text files).

Answers

Answer:

Java Database Connectivity

Kylee needs to ensure that if a particular client sends her an email while she is on vacation, the email is forwarded to a coworker for immediate handling. What should she do?

Configure a response for external senders.
Configure a response for internal senders.
Only send during a specific time range.
Configure an Automatic Reply Rule.

Answers

I believe the answer would be

A. Configure a response for external senders.

Hope this helps :)

If a user wants to change one small section of the formatting of a document and leave the rest the same, which
process should be completed?
• importing a style
• overriding a style a
• modifying a style
exporting a style

Answers

the answer is modifying a style
Other Questions
The graph shows the relationship between the distance a bicyclist travels and the time in hours.100908070Distance (mi)6050403020.10Time (h) Solve the inequality.7x 7A.x 1B.x 14C.x 1D.x > 14 WHO CAN HELP ME ON THIS ITS DUE SOON! How can a reader best decide if a scientific article is current? 10m^2n+30mn^2+5mnfactor the polynomial a gas has a volume of 2.00 at 323k and 3.00 ATM What would be the new volume if the temperature is changed to 273 K in the pressure is changed to 1ATM Just need a bit off help! 10 points for each question and another 10 for the help so 50 points what does Advent means How is leadership taught?( I need the answer to this to be a very creative and long speech, please be creative!! ) PLEASE 200 POINTS AND BRANLIEST DUE in 10 MINS PLS HELPAncient Chinese BeliefsConfucianismDaoismLegalismHow would you define philosophy?Which philosopher is associated with the ideas?What is the role of family in the philosophy?What is the role of government in the philosophy? Helium is a gas lighter than air that is used in balloons. The density ofhelium is approximately 0.14 kilograms per cubic meter. You get 5 helium balloons for your 5th birthday, each with a volume of 14 cubic meters. How many kilograms of helium do the balloons contain, to the nearest hundredth? Who is father of biology The kidneys are made of millions of tiny tubes and cells. These tubes pull liquid waste from the what What is the solution to the inequality |2n +5| > 1? What historical period is associated with these events?A) the RenaissanceB) the French RevolutionE) the American RevolutionD) the Protestant Reformation Audio Director meaning A perceived or real incompatibility of goals, values, expectations, or processes between two or more interdependent parties is known as What was done to the linear parent function, f(x) =X, to get the function g(x) =X1/5x How do you say in chinese " I speak Chinese really well"? which three statements explain how the berlin wall affected germans