An online game is played with two dice. In this context, explain what is meant by decomposition.

Answers

Answer 1

Answer:

The answer to this question is given below in the explanation section.

Explanation:

This question is about desinging a game that is played with two dice and gets or shows their value to the player.

The dice value is random, and it can be between one and six. So, you need to generate two numbers between 1 and 6. You may also need to display the numbers

The main part of this program is that you need to know the numbers to limit or restrict what the user may do next while playing.

That's most of the first level of decomposition for solving a problem. In decomposition, you need to keep decomposing (breaking) the problem into smaller pieces, thinking outline of the program and deciding what objects, functions, variables, and logic you're going to implement in the coding.


Related Questions

Which TWO pieces of information does a TCP/IP data packet contain?

the source address
the destination address
its position in the series
the type of data it carries

Answers

The TCP/IP is an encrypted communication protocol that is used to communicate over the internet. The protocol was made by DoD and is multilayered.

The protocol under the OSI model consists of seven layers such as a physical layer, data link layer, network, transport layer, session presentation, and application layer. The TCP/IP layer packets consist of the head and body having source and data.

Thus the option A and D are correct.

Learn more about the 2 information which makes up the TCP/IP.

brainly.in/question/19565899.

six security issues and six descriptions are shown below.

Answers

Answer:

The answer to this question is given below in the explanation section

Explanation:

This question contains six securities terms and definitions.

The goal of this question is to properly map the term to its correct description/definition.

You can find the complete mapping in the attached image.

What is the 4w problem canvas?

Answers

Answer: Under problem scoping, we use the framework of 4Ws problem canvas where we look into the Who, What, Where and Why of a problem. ... The project cycle consists of 5 steps namely: problem scoping, data acquisition, data exploration, modelling and evaluation. Each of the stages holds importance in the framework.

Explanation:

If the active cell contains a formula, it will be shown on _______.

Answers

The answer would be: a formula bar

Serena, an analyst at an environmental agency, wants to prepare a report using data from the Car Emissions database.
In her report she plans to include written analysis as well as circle graphs. To best complete this task, she can
O export the query results from the database to a spreadsheet, then export the graph to a document.
O export the query results into a word processing document, then import the graph into the same document.
O export the graph into a spreadsheet.
export the query into a word processing document.

Answers

Answer:

The correct answer is:

Option 1: export the query results from the database to a spreadsheet, then export the graph to a document.

Explanation:

Spreadsheets are used to represent numerical data, perform calculations and display the results numerically or graphically.

When using a database, the query results can be exported to other software using the query web address.

So in order to include the graph in her report, Serena will export the result to spreadsheet and then export the graph to document.

Hence,

The correct answer is:

Option 1: export the query results from the database to a spreadsheet, then export the graph to a document.

Answer:

the guy above me is correct and its a on edge

Explanation:

What can help an interface user understand or navigate an online interface?​

Answers

Answer:

1. Add options and names.

2. Allow to provide back feedback.

3.Pay attention to patterns.

4.Stay consistent.

5.Use visual hierarchy.

Explanation:

Navigating an online interface describes how to move and locate features of an application software or program. He, some implementation which might aid easy navigation include ;

Adopting a simple User interface :

The use of a simple rather than a complex user interface will usually allow users get used to working with an application more easily.

Use of color and texture :

Color schemes may be adopted in other to aid segmentation of categorization of features or classes in other to make reasonable grouping of features or classes.

Visual hierarchy :

This describes logical and strategic arrangement of features or elements in such a way that users could easily grasp the pattern in the arrangement.

Learn more :https://brainly.com/question/20380750


What type of cost will reduce with the introduction of a CAM system in a manufacturing plant?
A.
capital cost
B.
fixed cost
C.
labor cost
D.
material cost

Answers

Answer:

a.capital cost

Explanation:

because capital cost is to reduce introduction of CAM system

........ is used to move and select and move items on he computer screen and to give different commands to the computer.

Answers

Answer:

Isn't it the mouse?

Tell me if wrong. :) Hope it helps!

Explanation:

________ programs help solve the problem of running out of storage space by providing lists of application programs, stored videos, and other program files so that you can eliminate unused applications or archive large files elsewhere.

Answers

Answer:

Storage management

Explanation:

The programs that do this are known as Storage management programs. They are incredibly useful since they allow you to see which files are taking up the most amount of space as well as the importance that each file has on the system. Many of these programs have a different visual representation of the files such as pie charts or system blocks showing the percentage of space it is taking up. Everything in these programs is made to help the end-user visualize and analyze their data thoroughly.

A(n) _____ is a request for the database management software to search the database for data that match criteria specified by the user.

Answers

Answer:

Query

Explanation:

A query is the request form for accessing the data from a database to change it or retrieve it. It also permits the logic along with the information that we received in response

Here the data is to be search and that should be matched the criteria prescribed by the user

hence, the last option is correct

The following loop is intended to print the numbers 1, 2, 3, 4, 5.
Fill in the blank:

for i in _____ (1, 6):
print (i)

Answers

Answer:

range

Explanation:

range(num1, num2) returns the numbers from num1 up to but not including num2.

Example: range(1, 4) will return the numbers 1, 2, 3.

Hope this helps :)

In the loop, that is intended to print the numbers 1, 2, 3, 4, 5. The fill up of the blank is  for i in range (1, 6): print (i)

What is the range?

The range is known to be the difference that can be seen between the largest and smallest numbers in any series.

From the above, we can see that in the loop, the fill up of the blank is  for i in range (1, 6): print (i) as it tells the range between them.

Learn more about range from

https://brainly.com/question/2264373

#SPJ2

Which of the following is not a type of application software?
A)Microsoft Office
B)Encyclopedias
C)Games
D)Windows 98

Answers

Answer:

windows 98

Explanation:

Answer:

I think the best answer would indeed be B.

Explanation:

B. Encyclopedias

Most tweets are not _____; anyone can see them.
O private
O public
O political
O educational

Answers

Most tweets are not private anyone can see them

In Word, you can format the font, size, and alignment but not the color of text.

Answers

Answer:

You can change color of text as well.

Explanation:

It is false that in word one can format the font, size, and alignment but not the color of text.

What is text formatting?

In computing, formatted text, styled text, or rich text, as opposed to plain text, is digital text that contains styling information in addition to the bare minimum of semantic elements: colors, styles, sizes, and special HTML features.

Formatted text is text that is displayed in a specific manner. Formatting data may be associated with text data in computer applications to generate formatted text.

The operating system and application software used on the computer determine how formatted text is created and displayed.

In Word, you can change the font, size, alignment, and even the color of the text.

Thus, the given statement is false.

For more details regarding text formatting, visit:

https://brainly.com/question/766378

#SPJ2

Data collection begins only after completing the research design process. after determining whether there are any objections. whenever the researcher wants to. after creating the presentation format. after analyzing the data.

Answers

Answer:

Data collection begins only

after completing the research design process.

Explanation:

The nature of the research problem and design process provides the basis for data collection.  Data collection can be carried out from primary or secondary sources or both.  The collection system will indicate if the research is exploratory, descriptive, or conclusive.  Data collection provides an important way to understand the characteristics of the research interest.  A clear definition of the research interest is provided by a correct research question, which also provides focus and direction for the study.

To transfer files to your company's internal network from home, you use FTP. The administrator has recently implemented a firewall at the network perimeter and disabled as many ports as possible. Now you can no longer make the FTP connection. You suspect the firewall is causing the issue. Which ports need to remain open so you can still transfer the files? (Select TWO

Answers

Answer:

Ports 20 and 21

Explanation:

For the FTP to work, there are two parts that are required; the command and the data.  These two parts are sent on the two ports 21 and 20 respectively.  If the firewall is indeed blocking connections on ports 21 and 20, then your FTP will not work.

Hence, you need to open ports 20 and 21 to allow FTP to remain functional.

Cheers.

what is the missing term in the code that handles that error??

Answers

Answer:

try typing that into gooy gle im sorry if i didnt help

if tickets >400 What is the missing term in the code that handles that error??wat over400error

Explanation:

Which of these number formats would you want to apply to a cell showing the total sales for the month? Currency, Number, or Percentage


I didn't know what to put it as because it is kind of business but its a question I have for a technology class

Answers

Answer:

Currency!

Explanation:

I hope this helped

The number formats that would you want to apply to a cell showing the total sales for the month is currency. The correct option is A.

What is currency?

Currency is the number format used to apply to the cell showing the total sales for the month. To display numbers as monetary values, they need to be structured as currency.

To do this, prepare the desired cells using either the Accounting number format or the Currency number format. Options for number formatting can be found under the Number group on the Home tab.

You can display a number with the default currency sign by choosing the cell or range of cells, then clicking the Accounting Number Format button in the Number group on the Home page. (Press Ctrl+Shift+$ after selecting the cells to use the Currency format.)

Therefore, the correct option is A, currency.

To learn more about currency, refer to the link:

https://brainly.com/question/22802393

#SPJ6

The culture of the Internet is interlinked in dependence between technological advances and the way in which ____.


humans increased personal capacity by using these advances

humans have become entirely dependent on digital technology

humans increased their processing knowledge with technology

humans have become interdependent on various technologies

Answers

Answer: humans increased personal capacity by using these advances.

Explanation:

The culture of the Internet is interlinked in dependence between technological advances and the way in which humans increased personal capacity by using these advances.

Technological advancement has to do with how information is being generated which brings about the improvement and inventions regarding technology.

Answer:

C) humans increased personal capacity by using these advances

A jackhammer uses pressurized gas to transmit force to the hammer bit. What type of mechanical system is it?

Answers

Answer:

Constant Volume Forced Air system

Explanation:

A Constant Volume Forced Air system is a form of a mechanical system that is considered the most basic type of system. It is most common in use and high yielding in the application.

It is characterized by using any natural gas, oil, and electricity as the fuel to power the generated force.

Hence, in this case, the correct answer is "Constant Volume Forced Air system."

what is intellectual property rights law ?​

Answers

Intellectual property law deals with the rules for securing and enforcing legal rights to inventions, designs, and artistic works. Just as the law protects ownership of personal property and real estate, so too does it protect the exclusive control of intangible assets.

who is considered as the father of computer science​

Answers

Answer:

Turing is considered as the father of computer science

Answer:

Charles Babbage of course. this Ans should be in Ur book

JAVA
Write a program to find the sum of the given series:
S = 1 + (1*2) + (1*2*3) + --------- to 10 terms.

plz help....​

Answers

public class MyClass {

   public static void main(String args[]) {

     int x = 1;

     int total = 0;

     for (int i = 1; i <= 10; i++){

         x *= i;

         total += x;

     }

     System.out.println(total);

   }

}

This program finds the sum of that series to the tenth term, the sum is: 4037913. I hope this helps.

write a note on Excel2016, where and how can we use it​

Answers

Answer:

It is used for a thing previously mentioned or easily identified. The pronoun it also serves as a placeholder subject in sentences with no identifiable actor, such as "It rained last night", "It boils down to what you're interested in", or the impersonal "It was a dark and stormy night".

The three main parts of a computer are the CPU, Memory, and Motherboard Imagine you are explaining what a computer is to a kindergarten student. What analogy could you use to explain the hardware parts of a computer?

Answers

Answer:

the cpu is like your brain, the memory is like a library and the motherboard is like the roads in your town

True or False: Python code can include a script that returns the operating system platform
your code is running on with the .sys

Answers

True

import sys

print(sys.platfom)

This will print, to the console, which type of platform is running.

1.
List any five importance of environment health. Describe any two of
them briefly​

Answers

Answer:

The answer to this question is given below in this explanation section.

Explanation:

            "Environmental health"

The environment can be directly and indirectly impact our health and well being .Environmental health examines the interaction between the environmental and over health.

 Environmental health refers to aspects of human health that are determined by physical,chemical,biological,social and psycho social factors in the environment.

                "importance of environmental health"

Maintaining a healthy environment is central to increasing quality of life and years of healthy life. Globally 23% of all death and 26% of deaths among children under age 5 are due to preventable factors are diverse and far reaching.

Exposure to hazardous substance in the air,water,soil and foodNatural and technological disastersClimate changeOccupational hazardsThe built environment

climate change:

             Climate change includes both the global warming driven by human emissions of greenhouse gases,and the resulting large scale shifts in weather patterns.Through there have been previous period of climate change.

The built environment:

     The term built environment refers to the human made surroundings that provide the setting for human activity ranging scale from building and parks are green space to neighborhoods and cities can often include their supporting such as water supply and energy supporting.

Definenation monitor​

Answers

Answer:

A computer monitor is an output device that displays information in pictorial form. A monitor usually comprises the visual display, circuitry, casing, and power supply. .

Write a program that asks the user for a positive nonzero integer value. The program should use a loop to get the sum of all the integers from 1 up to the number entered. For, example if the user enters 50 , the loop will find the sum of 1,2,3,4,...,50. while loop

Answers

num = 0

while num <= 0:

   num = int(input("Enter a number: "))

i = 1

total = 0

while i <= num:

   total += i

   i += 1

print(total)

I wrote my code in python 3.8. Best of luck.

The spreadsheet below shows how much money each store raised for charity during the months of January, February, and March. A1: Blank. B1: Store 1. C1: Store 2. D1: Store 3. A2: January. B2: 170 dollars. C2: 100 dollars. D2: 150 dollars. A 3: February. B3: 235 dollars. B4: 80 dollars. D3: 240 dollars. A4: March. B4: 300 dollars. C4: 75 dollars. D4: 450 dollars. Using this information, answer the following questions. To obtain the total amount raised by Store 1, which range of cells would you use?

PLEASE HURRY I HAVE TO FINISH BY 12:00

Answers

Answer:

B2:B4

Explanation:

Answer:B2:B4 ,sum ,using the sum and average functions on the range of cells

Explanation:

trust i took the test

Other Questions
Diego collected x kg of recycling. Lin collected 2/5 more than that. [ Select ] Lin biked x km. Diego biked 3/10 less than that. y = 10/3x Diego read for x minutes. Lin read 4/7 of that. y = 7/4x An airplane traveling 245 m/s east experienced turbulence, so the pilot decided to slow down to 230 m/s. It took the pilot 7 seconds to get down to this speed. What is the acceleration of the plane? (Round your answer to the nearest integer.)2 m/s22 m/s267 m/s267 m/s2 Compare and contrast a perceptual region and a formal region.A. A perceptual region does not have any formal, agreed upon boundaries. A formal region doeshave defining boundaries.B. A formal region does not have any formal, agreed upon boundaries. A perceptual region doeshave defining boundaries.C. A perceptual region is current and changing. A formal region is based on historicalboundaries.cl NoginskyD. A perceptual region is based on culture. A formal region is based on political boundaries. Which phrase describes a liquid?O A. Changing shape and fixed volumeOB. Fixed shape and changing volumeO C. Changing shape and volumeO D. Fixed shape and volume what is the value of x? Help asap please HELP ASAP1. A term that is a known number without variables. is called?2. A term that includes a variable. is called? How did the Civil Rights Act of 1964 and the Voter Registration Act of 1965 contribute to the cause of racial equality in America? which weather change usually occurs when the difference between the air temperature and the dewpoint temperature is decreasing Plz and quick!I rly rly need this What rate of return is expected from a stock that sells for $30 per share, pays $1.54 annually in dividends, and is expected to sell for $32.80 per share in one year? A. 15.03% B. 14.28% C. 14.09% D. 14.47% what are the importance of constitution What position did the criollos have in the spanish empire 01:41A student randomly selected 20 novels from the local library and recorded the number of pages in each of thenovels. The data are as follows: 225, 252, 191, 218, 246, 259, 204, 216, 219, 247 207 279, 241, 224, 216, 225222, 218, and 220To make a stemplot, what should the stems be? what is the best example of acknowledging a counterargument What is the correlation between the number of hours studying and the number of questions correct on the quiz?a. not enough information is given b. negatively correlated c. positively correlated PLEASE HELP THANKS :)Q2.) Twice a number plus four times another is 42. The sum of the numbers is 18. What is the larger number?310158 Can someone answer me please Cindy pours cool milk into a hot bowl of oatmeal and then stirs it with a room-temperature spoon. Which substance will have heat flow from it to the other substances?the milkthe spoonthe oatmealthe surrounding air what is constitution Hey guys im board if u answer on my last question and on this one ill give u brainlyiest Steam Workshop Downloader