Design an algorithm in flowchart that will receive two integer

Berikut ini adalah pertanyaan dari fikrinaufal411 pada mata pelajaran TI untuk jenjang Sekolah Menengah Atas

Design an algorithm in flowchart that will receive two integer items from a terminal operator, and display to the screen their sum, difference, product, and quotient. Note that the quotient calculation (first integer divided by second integer) is only to be performed if the second integer does not equal zerotolong bantu membuat flowchartnya​

Jawaban dan Penjelasan

Berikut ini adalah pilihan jawaban terbaik dari pertanyaan diatas.

Jawaban dan Penjelasan:

To design the required flowchart/algorithm, there are many possible ways.

2 alternatives are given:

  • Method 1: by using one variable for each mentioned integer arithmetic operation. Thus, we need 4 variables.
    This method is shown on Flowchart #1.
  • Method 2: by using ONLY one variable for all mentioned integer arithmetic operations.
    This method is shown on Flowchart #2.

Some important things to be considered here:

  • Flowchart shows “the flow” of process. So, it should be in sequential manner.
    For this problem, particularly, it is incorrect if we “branch out” the outcome of input to 4 processes.
    In flowchart, branches can only be drawn out from a decision/conditional symbol.
  • The division of two integers yields in integer, too, in the form of quotient + remainder.
    For example: 5 / 2 = 2, remainder = 1. The quotient is 2.

Jawaban dan Penjelasan:To design the required flowchart/algorithm, there are many possible ways. 2 alternatives are given:Method 1: by using one variable for each mentioned integer arithmetic operation. Thus, we need 4 variables.This method is shown on Flowchart #1.Method 2: by using ONLY one variable for all mentioned integer arithmetic operations.This method is shown on Flowchart #2.Some important things to be considered here:Flowchart shows “the flow” of process. So, it should be in sequential manner.For this problem, particularly, it is incorrect if we “branch out” the outcome of input to 4 processes.In flowchart, branches can only be drawn out from a decision/conditional symbol.The division of two integers yields in integer, too, in the form of quotient + remainder.For example: 5 / 2 = 2, remainder = 1. The quotient is 2.Jawaban dan Penjelasan:To design the required flowchart/algorithm, there are many possible ways. 2 alternatives are given:Method 1: by using one variable for each mentioned integer arithmetic operation. Thus, we need 4 variables.This method is shown on Flowchart #1.Method 2: by using ONLY one variable for all mentioned integer arithmetic operations.This method is shown on Flowchart #2.Some important things to be considered here:Flowchart shows “the flow” of process. So, it should be in sequential manner.For this problem, particularly, it is incorrect if we “branch out” the outcome of input to 4 processes.In flowchart, branches can only be drawn out from a decision/conditional symbol.The division of two integers yields in integer, too, in the form of quotient + remainder.For example: 5 / 2 = 2, remainder = 1. The quotient is 2.Jawaban dan Penjelasan:To design the required flowchart/algorithm, there are many possible ways. 2 alternatives are given:Method 1: by using one variable for each mentioned integer arithmetic operation. Thus, we need 4 variables.This method is shown on Flowchart #1.Method 2: by using ONLY one variable for all mentioned integer arithmetic operations.This method is shown on Flowchart #2.Some important things to be considered here:Flowchart shows “the flow” of process. So, it should be in sequential manner.For this problem, particularly, it is incorrect if we “branch out” the outcome of input to 4 processes.In flowchart, branches can only be drawn out from a decision/conditional symbol.The division of two integers yields in integer, too, in the form of quotient + remainder.For example: 5 / 2 = 2, remainder = 1. The quotient is 2.

Semoga dengan pertanyaan yang sudah terjawab oleh henriyulianto dapat membantu memudahkan mengerjakan soal, tugas dan PR sekolah kalian.

Apabila terdapat kesalahan dalam mengerjakan soal, silahkan koreksi jawaban dengan mengirimkan email ke yomemimo.com melalui halaman Contact

Last Update: Thu, 01 Dec 22