Q1: Draw a flowchart for work the traffic lights ? Q2: Write the algorithm required to find the largest number from the numbers A, B. and C ? Q3: Write the algorithm for a program that calculates the cost of the phone bill according to the following three rules ? (1) The first 50 minute: each minute with 10 DI. (2) The next 100 minute: each minute with 15 DI. (3) Whats more: cach minute with 20 DI.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
i need the answer quickly
Qt: Draw a flowchart for work the traffic lights ?
Q2: Write the algorithm required to find the largest number from the numbers A, B.
and C ?
Q3: Write the algorithm for a program that calculates the cost of the phone bill
according to the following three rules ?
(1) The first 50 minute: each minute with 10 DI.
(2) The next 100 minute: each minute with 15 DI.
(3) Whats more: each minute with 20 DI.
04: Write the algorithm to find the sum of the number from 1 to 20 ?
Q5: Draw a flowchart for the following algorithm ?
(1) Put value of sum equal zero and value of N equal 1.
(2) Add N to the sum
(3) If N<6 add 1 to the current value of N, then go to step 2.
(4) Print value of sum.
(5) Stop
06: Draw a flowchart to find the sum m of real numbers (X, X2, X............X)
So that the result is the sum of the numbers T such that T = Em, X, ?
07: Write an algorithm to print the multiplication table for number 92
O8: Write an algorithm to calculate the average numbers that the factorial result of
last number equal to 5040?
09: Draw a flowchart to find the greater common factor between two numbers?
010: Draw a flowchart to find the prime numbers for N numbers?
Transcribed Image Text:Qt: Draw a flowchart for work the traffic lights ? Q2: Write the algorithm required to find the largest number from the numbers A, B. and C ? Q3: Write the algorithm for a program that calculates the cost of the phone bill according to the following three rules ? (1) The first 50 minute: each minute with 10 DI. (2) The next 100 minute: each minute with 15 DI. (3) Whats more: each minute with 20 DI. 04: Write the algorithm to find the sum of the number from 1 to 20 ? Q5: Draw a flowchart for the following algorithm ? (1) Put value of sum equal zero and value of N equal 1. (2) Add N to the sum (3) If N<6 add 1 to the current value of N, then go to step 2. (4) Print value of sum. (5) Stop 06: Draw a flowchart to find the sum m of real numbers (X, X2, X............X) So that the result is the sum of the numbers T such that T = Em, X, ? 07: Write an algorithm to print the multiplication table for number 92 O8: Write an algorithm to calculate the average numbers that the factorial result of last number equal to 5040? 09: Draw a flowchart to find the greater common factor between two numbers? 010: Draw a flowchart to find the prime numbers for N numbers?
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY