
- Define the termalgorithm.
- What are the different ways to describe algorithms?
- What is the difference between an algorithm for solving a problem and a computer program that solves this problem?

(a)
To define:
The term “algorithm”
Answer to Problem 1RQ
A finite set of rules or instructions to solve a problem is called as Algorithm.
Explanation of Solution
Given:
The term “algorithm”
A set of rules executed in finite amount of steps to produce a unique output from a valid input is called as Algorithm.
(or)
A finite set of rules or instructions to solve a problem is called as Algorithm.

(b)
To explain:
The different ways to describe algorithms
Answer to Problem 1RQ
The different ways to describe the algorithm
- Simply use the English language:
- Using a computer language
- Using a pseudo code
Explanation of Solution
Given:
The different ways to describe algorithms
There are different ways to describe the algorithm
- Simply use the English language
- Using a computer language:
- Using a pseudo code

(c)
To explain:
The difference between an algorithm for solving a problem and a computer program that solves the problem,
Answer to Problem 1RQ
Algorithm: It is a self-contained step-by-step set of rules to be performed to solve a specific problem. It is not language specific.
computer program: It is a set of instructions that compile the rules of a programming language. Generally algorithms are implemented by program
Explanation of Solution
Given:
An algorithm for solving a problem and a computer program that solves the problem,
Algorithm:It is a self-contained step-by-step set of rules to be performed to solve a specific problem. It is not language specific.
computer program:It is a set of instructions that compile the rules of a programming language. The program is written to perform a specified task with a computer. The program depends on computer language. Generally algorithms are implemented by program
Want to see more full solutions like this?
Chapter 3 Solutions
Discrete Mathematics And Its Applications 7th Edition
- step by step on Microssoft on how to put this in excel and the answers please Find binomial probability if: x = 8, n = 10, p = 0.7 x= 3, n=5, p = 0.3 x = 4, n=7, p = 0.6 Quality Control: A factory produces light bulbs with a 2% defect rate. If a random sample of 20 bulbs is tested, what is the probability that exactly 2 bulbs are defective? (hint: p=2% or 0.02; x =2, n=20; use the same logic for the following problems) Marketing Campaign: A marketing company sends out 1,000 promotional emails. The probability of any email being opened is 0.15. What is the probability that exactly 150 emails will be opened? (hint: total emails or n=1000, x =150) Customer Satisfaction: A survey shows that 70% of customers are satisfied with a new product. Out of 10 randomly selected customers, what is the probability that at least 8 are satisfied? (hint: One of the keyword in this question is “at least 8”, it is not “exactly 8”, the correct formula for this should be = 1- (binom.dist(7, 10, 0.7,…arrow_forwardQuality Control: A factory produces light bulbs with a 2% defect rate. If a random sample of 20 bulbs is tested, what is the probability that exactly 2 bulbs are defective? (hint: p=2% or 0.02; x =2, n=20; use the same logic for the following problems) Marketing Campaign: A marketing company sends out 1,000 promotional emails. The probability of any email being opened is 0.15. What is the probability that exactly 150 emails will be opened? (hint: total emails or n=1000, x =150) Customer Satisfaction: A survey shows that 70% of customers are satisfied with a new product. Out of 10 randomly selected customers, what is the probability that at least 8 are satisfied? (hint: One of the keyword in this question is “at least 8”, it is not “exactly 8”, the correct formula for this should be = 1- (binom.dist(7, 10, 0.7, TRUE)). The part in the princess will give you the probability of seven and less than seven. When you subtract it from 1, that will give you the probability of at least eight,…arrow_forwardFind binomial probability if: x = 8, n = 10, p = 0.7 x= 3, n=5, p = 0.3 x = 4, n=7, p = 0.6 Quality Control: A factory produces light bulbs with a 2% defect rate. If a random sample of 20 bulbs is tested, what is the probability that exactly 2 bulbs are defective? (hint: p=2% or 0.02; x =2, n=20; use the same logic for the following problems) Marketing Campaign: A marketing company sends out 1,000 promotional emails. The probability of any email being opened is 0.15. What is the probability that exactly 150 emails will be opened? (hint: total emails or n=1000, x =150) Customer Satisfaction: A survey shows that 70% of customers are satisfied with a new product. Out of 10 randomly selected customers, what is the probability that at least 8 are satisfied? (hint: One of the keyword in this question is “at least 8”, it is not “exactly 8”, the correct formula for this should be = 1- (binom.dist(7, 10, 0.7, TRUE)). The part in the princess will give you the probability of seven and less than…arrow_forward
- Pam, Ron, and Sam are using the method of sealed bids to divide among themselves four items. Table on the next page shows the bids that each player makes for each item. Use this example to answer questions 19 to 23 Pam Ron Sam Bedroom Set $860 $550 $370 Dining Room Set $350 $420 $500 Television $230 $440 $340 Sofa set $480 $270 $230 What is the value of Sam’s fair share Group of answer choices None of these $360 $370 $500 $480arrow_forwardQ2. Write the following Mayan numeral (base 20) as a Hindu-Arabic numeral (base 10). Show your work. b) : || || ·| 0 ⠀ || | || ||arrow_forwardQ12. Using the prime factorization tree, simplify the following square roots. Show your work. √2646 a) √300 b) √4050 - √1800arrow_forward
- Kate, Luke, Mary and Nancy are sharing a cake. The cake had previously been divided into four slices (s1, s2, s3 and s4). What is an example of fair division of the cake S1 S2 S3 S4 Kate $4.00 $6.00 $6.00 $4.00 Luke $5.30 $5.00 $5.25 $5.45 Mary $4.25 $4.50 $3.50 $3.75 Nancy $6.00 $4.00 $4.00 $6.00arrow_forwardKate, Luke, Mary and Nancy are sharing a cake. The cake had previously been divided into four slices (s1, s2, s3 and s4). The following table shows the values of the slices in the eyes of each player. What is fair share to nancy? S1 S2 S3 S4 Kate $4.00 $6.00 $6.00 $4.00 Luke $5.30 $5.00 $5.25 $5.45 Mary $4.25 $4.50 $3.50 $3.75 Nancy $6.00 $4.00 $4.00 $6.00arrow_forwardQ9. Complete the multiplication table below, then use it to perform divisions given below. Show your work. ☑ 0 1 2 3 0 0 0 0 1 0 1 3 2 0 2 4 11 13 3 0 3 14 4 0 13 3 a) ) 224 five five b) 23 five ) 4234 fivearrow_forward
- Faye cuts the sandwich in two fair shares to her. What is the first half s1arrow_forwardQ7. Using the numeral symbols given in Question 4, calculate the following addition and subtraction. Show your work. a) cce+yгг b) Γ Γ Θ Δ - Θ Δ Υ Υarrow_forwardFor the system consisting of the lines: and 71 = (-8,5,6) + t(4, −5,3) 72 = (0, −24,9) + u(−1, 6, −3) a) State whether the two lines are parallel or not and justify your answer. b) Find the point of intersection, if possible, and classify the system based on the number of points of intersection and how the lines are related. Show a complete solution process.arrow_forward
- Linear Algebra: A Modern IntroductionAlgebraISBN:9781285463247Author:David PoolePublisher:Cengage LearningHolt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGALMathematics For Machine TechnologyAdvanced MathISBN:9781337798310Author:Peterson, John.Publisher:Cengage Learning,
- Algebra: Structure And Method, Book 1AlgebraISBN:9780395977224Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. ColePublisher:McDougal LittellAlgebra and Trigonometry (MindTap Course List)AlgebraISBN:9781305071742Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage Learning





