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
Setler79 [48]
3 years ago
6

Look at pseudocode segment below. y ← x + x + x + x + x // line a z ← y + y + y // line b If x = 6 before this segment is execut

ed, what is the value of z after execution?
Mathematics
1 answer:
r-ruslan [8.4K]3 years ago
6 0

Answer:

90.

Step-by-step explanation:

We have two lines of code:

y ← x + x + x + x + x

z ← y + y + y

and, x=6 before the execution. Then, when the program starts to run we obtain:

y ← 6 + 6 + 6 + 6 + 6

y ← 30

z ← 30+30+30

z ← 90.

Then, the value of z after excecution is 90.

You might be interested in
Suppose you went to a carnival. the price in was $6, and you paid $0.50 to get on each ride. if you went to the carnival and rod
Maksim231197 [3]
You'd do $0.50 × 11 = $5.50 which is the total cost for the rides, and then you'd add $6 to make $11.50 which is the total amount you spent.
7 0
3 years ago
Read 2 more answers
A package of Big Bubbles Gum has 10 pieces and sells for 2.90. A package of fruity gum has 20 pieces and sells for 6.20. Compare
larisa86 [58]

Answer:

The unit price for the Big Bubbles Gum is 0.29 cents, while the unit price for the fruity gum is 0.31 cents.

Step-by-step explanation:

First identify what you know:

1) A package of Bug Bubbles Wrap, containing 10 pieces of gum, sells for a total of $2.90.

2) A package of fruity gum, with 20 pieces of gum, sells for a total of $6.20.

What is the unit price? The unit price is how much you're selling for a single piece within the package! If you were to buy just one packet, how much would it cost? To calculate this, simply divide the total cost of the package, but the number of units, or rather, pieces!

$2.90/10 = 0.29 cents

$6.20/20 = 0.31 cents

From this, we see that a single unit (piece) of the Big Bubble Gum, is only 29 cents, while a single unit (piece) of the fruity gum is 31 cents. So, it would be a better deal to buy the Big Bubble Gum!

For, twenty of the Big Bubble Gum, you'd buy two packages, for $5.80, which is 40 cents less than one package of 20 pieces of fruity gum!

Hope this helps! :)

6 0
3 years ago
Read 2 more answers
Hey guys, i would appreciate it if yall could help me out :)
exis [7]

Answer:

Equation should have an equal sign

Inequality should have the inequality sign

Expression has no signs

Step-by-step explanation:

8 0
2 years ago
3
Ierofanga [76]

Answer:

A

Step-by-step explanation:

Sum the product of the components in the first row of A with the corresponding components of the first column in B

Repeat this with the components in the second row of A with the corresponding components of the second column in B, that is

AB

= \left[\begin{array}{ccc}2&1\\3&4\\\end{array}\right] \left[\begin{array}{ccc}3&1\\5&2\\\end{array}\right]

= \left[\begin{array}{ccc}2(3)+1(5)&2(1)+1(2)\\3(3)+4(5)&3(1)+4(2)\\\end{array}\right]

= \left[\begin{array}{ccc}6+5&2+2\\9+20&3+8\\\end{array}\right]

= \left[\begin{array}{ccc}11&4\\29&11\\\end{array}\right]  → A

6 0
3 years ago
REVIEWNy Long Division with Whole Numbers
dalvyx [7]

Answer

a= 15

b= 2

So, 647÷3= 215 + 2/3

Step-by-step explanation:

i just got it correct

7 0
3 years ago
Other questions:
  • Which of the following is the shape of a cross-section of the figure shown
    15·1 answer
  • Suppose that x and y are positive integers such that x^2 * y^3=46656. What is the sum of all possible values of x?
    7·1 answer
  • How many significant digits are in thus number 74.30
    10·1 answer
  • The sum of n and 6 total 15
    7·2 answers
  • I WILL GIVE YOU ALL MY POINTS PLEASE JUST ANSWER THIS BEFORE I BREAKDOWN AND CRY HAHA NO BUT SERIOUSLY PLEASE ANSWER PLEASEEE IM
    7·1 answer
  • The base of a rectangular prism has an area of 12 square centimeters. The height of the rectangular prism is 3 centimeters. What
    12·2 answers
  • Suppose you have a bag of colored plastic disks and you choose one without looking. The probability the disk you choose is yello
    6·1 answer
  • Compare the two integers: -10 and -3
    14·2 answers
  • Please look at the image
    14·1 answer
  • Two angles are complementary. The measure of ∠ABC is x° and the measure of ∠DBC is (3x + 10)°. What is the value of x?
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!