Question: Question: 1.1.1:A basic computer program. Start 2x speed Input (keyboard) Output (screen) x = Get next input y = Get next input z = x

Question:

1.1.1:A basic computer program.

Start

2x speed

Input (keyboard)

Output (screen)

x = Get next input

y = Get next input

z = x + y

Put z to output

2

5

7

Computer program

2

5

7

x:

y:

z:

2

5

Captions

keyboard_arrow_down

PARTICIPATIONACTIVITY

1.1.2:A basic computer program.

Consider the example above.

1)

The program has _____ instructions.

2)

Suppose a new instruction were inserted as follows:

...

z = x + y

Add 1 more to z (new instruction)

Put z to output

What would the last instruction then output to the screen?

3)

Consider the instruction: z = x + y. If x is 10 and y is 20, then z is assigned with _____.

It's 3rd time I uploading questions. Please kindly help with all questions clearly

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!