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
Ainat [17]
3 years ago
8

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

Computers and Technology
1 answer:
Hunter-Best [27]3 years ago
8 0
You want to throw 2 dice and get (or show?) their value.
    Their value is random, so you need to generate two numbers between 1 & 6.
    You may need to display the numbers
    The main part of the program needs to know the numbers to limit what the user may do next.


That's most of the first level of decomposition. You need to keep decomposing (breaking into smaller simpler pieces) (think of an outline) and deciding what objects, functions, data structures and logic you're going to use to code this.
You might be interested in
Changes in computer technology have an effect on _____. computer scientists only people who work with computers only everybody p
luda_lava [24]
Changes in computer technology have an effect on <span>everybody.</span>
6 0
4 years ago
Read 2 more answers
A.) Write a code statement to assign the value 7.3 to a variable with an identifier<br> timer.
Georgia [21]

The code segment that assigns value to the variable named timer is:

timer = 7.3

<h3>How to write the code</h3>

To assign a value to a variable, we make use of the following syntax:

variable = value

In this case;

The variable is timer and the value is 7.3

Hence, the required code segment is: timer = 7.3

Read more about code segments at:

brainly.com/question/18430675

8 0
2 years ago
Don is creating a very long document, and he would like to create an introductory page that contains the title of the document a
prohojiy [21]

Answer:

The answer is "Title page".

Explanation:

Don uses the title page to create it's designed because this page contains basic information like names, dates, titles, and the names of the author.  On this heading tab, it does not have a paper summary, and wrong choices can be described as follows:

  • The Blank Page is the wrong choice because it doesn't contain any layout.
  • The Bibliography is also a wrong choice because it describes the source of the information.
  • The Cover Page is also a wrong choice because it is also known as the main page it describes the name, the title of the document but it can't contain the date.  
8 0
3 years ago
Read 2 more answers
You will create two classes, one for a box and one for a triangle. Each of the figures, the box and the triangle, will have an o
Softa [21]

I believe it should be

6 0
3 years ago
Which line in the following program will cause a compiler error? 1 #include 2 using namespace std; 3 4 int main() 5 { 6 int numb
KATRIN_1 [288]

Answer:

Line 8 gives a compiller Error

Explanation:

In line 8, the statement: if (number >= 0 && <= 100) will give a compiller error because when using the logical and (&&) It is required to state the same variable at both sides of the operator. The correct statement would be

if (number >= 0 && number <= 100). The complete corrected code is given below and it will display the output "passed"

#include <iostream>

using namespace std;

int main()

{

   int number = 5;

   if (number >= 0 && number <= 100)

       cout << "passed.\n";

   else

       cout << "failed.\n";

   return 0;

}

3 0
4 years ago
Other questions:
  • All waves consist of a continuous series of _____.
    11·2 answers
  • What is the Difference between CUI and GUI
    14·2 answers
  • Which letters appear in the home row on a keyboard?
    14·2 answers
  • What is the purpose of an internet protocol address (ip address)?
    5·1 answer
  • A right turn should be from the right lane into the right lane of the roadway entered. True or false. A. True B. False
    11·1 answer
  • Nadia has inserted an image into a Word document and now would like to resize the image to fit the document better. What is the
    6·1 answer
  • 3 applications of cumulative probability distribution in medical field?​
    9·1 answer
  • Which of the following best describes a situation where software should be upgraded instead of replaced?
    6·1 answer
  • What are your thoughts about this re-designed Logo? Is it good? Or is poorly designed? Explain your answer below.
    13·1 answer
  • State the domain and range for the following relation. Then determine whether the relation represents a function. A box labeled
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!