Q1. Write an algorithm and draw a flow chart to check whether the given number is...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Q1. Write an algorithm and draw a flow chart to check whether the given number is equal to 5 or greater than 5 or less than 5. (2 Marks) Q2. Write an algorithm and draw a flow chart to calculate the area of circle and calculate the area of rectangle and finally calculate the total area. (area of circle= лr² an area of rectangle= L * B). Q3. Write an algorithm and draw a flow chart to solve the mathematical equation given below. X = - b ± √√√b² - 4ac 2 2a Q4. Write an algorithm and draw a flow chart to get cgpa of student. If CGPA is more than equal to 2.7 display "Good" otherwise display "Bad" Q5. Write an algorithm and draw a flow chart to check if person is vaccinated or not. If single dose or two doses of vaccination, then "allowed" otherwise "Not allowed" Q1. Write an algorithm and draw a flow chart to check whether the given number is equal to 5 or greater than 5 or less than 5. (2 Marks) Q2. Write an algorithm and draw a flow chart to calculate the area of circle and calculate the area of rectangle and finally calculate the total area. (area of circle= лr² an area of rectangle= L * B). Q3. Write an algorithm and draw a flow chart to solve the mathematical equation given below. X = - b ± √√√b² - 4ac 2 2a Q4. Write an algorithm and draw a flow chart to get cgpa of student. If CGPA is more than equal to 2.7 display "Good" otherwise display "Bad" Q5. Write an algorithm and draw a flow chart to check if person is vaccinated or not. If single dose or two doses of vaccination, then "allowed" otherwise "Not allowed"
Expert Answer:
Answer rating: 100% (QA)
1 Algorithm and flowchart to check whether the given number is greater than equal to or less than 5 Step 1 Start Step 2 Input an integer value of the ... View the full answer
Related Book For
Mathematical Statistics with Applications in R
ISBN: 978-0124171138
2nd edition
Authors: Chris P. Tsokos, K.M. Ramachandran
Posted Date:
Students also viewed these programming questions
-
A computer technology firm wishes to check whether the speed of a new processor exceeds that of an existing processor when used in one of its popular laptop computer models. Accordingly, it measures...
-
Write an algorithm and assembly language program using 8086 instructions set. Copy a block of 8-bit array input data having 28 from one memory location to another m emory location i.e., from 2000H to...
-
Write an algorithm and draw a flowchart to a) read an employee name (NAME), overtime hours worked (OVERTIME), hours absent (ABSENT) and b) detemine the bonus payment (PAYMENT). ALGORITHM: Bonus...
-
A solid homogeneous disk 900 mm in diameter with a mass of 140 kg is rolled up 20 incline by a force of 1000 N, applied parallel to the plane. Assuming no slipping. determine the speed of the disk...
-
What are the major foreign exchange trading activities per-formed by financial institutions?
-
Your task is to connect the modules in Figure P12-14. so that the gain of the transfer function is 5 and the cutoff frequency of the filter is \(500 \mathrm{rad} / \mathrm{s}\) when connected between...
-
Plaintiffs W. O. and J. C. Lucy had wanted to purchase Ferguson Farm from the Zehmers for at least eight years. One night, Lucy stopped by the establishment the Zehmers operated and said that he bet...
-
Accounting for R&D Costs Margaret Avery Company from time to time embarks on a research program when a special project seems to offer possibilities. In 2009 the company expends $325,000 on a research...
-
what is meant by the term functionality of a database management system? Explain the responsibility of any two functionalities of a database management system. Discuss how a database transaction is...
-
Southeastern Foods has hired you to analyze their distribution-system design. The company has 11 distribution centers, with monthly volumes as listed below. Seven of these sites can support...
-
Find an article regarding full disclosure or the treatment of accounting changes. Summarize the article that you found and post that summary in the discussion forum. Post the article name in the...
-
Training and development are not always mutually exclusive, though they do have a different focus. Though training programs tend to be focused on improving employee performance in a current job, they...
-
For the differential equation " +2y +1y-zin(8z) Part 1: Solve the homogeneous equation The differential operator for the homogeneous equation is List the complementary functions Part 2: Find the...
-
The following table is domestic supply and demand schedules for a product. Suppose that the world price of the product is $1. Quantity supplied (domestic) Price $3 2 10 7 3 1 Quantity demanded...
-
*St. Louis Spirits Distillery has two bond issues outstanding, each making semiannual interest payments. The bonds are listed in the table below. If the corporate tax rate is 22 percent, what is...
-
Which 2 Cloud platforms support integrated features such as dynamic licensing ?
-
Describe the role that law enforcement plays in community oriented policing. Also, offer recommendations for local, state, and federal law enforcement officers for actively improving community...
-
If you want to solve a minimization problem by applying the geometric method to the dual problem, how many variables and problem constraints must be in the original problem?
-
Let X1, X2, . . ., Xn be Poisson random variables with parameter . Assume that has a Gamma (a, b) prior. (a) Compute the posterior distribution of . (b) Obtain the Bayes estimate of . (c) Compare...
-
Let X ~ N( , 2 ). Show that (a) (b) Z=K- isN(0, 1).
-
A person plans to start an Internet service provider in a large city. The plan requires an estimate of the average number of minutes of Internet use of a household in a week. How many households must...
-
Consider the system of Fig. P4.4-5. The filter transfer function is \(D(z)\). (a) Express \(C(z)\) as a function of \(E\). (b) A discrete state model of this system does not exist. Why? (c) What...
-
Find the \(z\)-transform of the following functions. The results of Problem 4.5-3 may be useful. (a) \(E(s)=\frac{6 \varepsilon^{-0.3 T s}}{(s+1)(s+2)(s+3)}\) (b) \(E(s)=\frac{4 \varepsilon^{-0.6 T...
-
Consider again the system of Fig. P4.4-5. Add a sampler for \(E(s)\) at the input. Given \[ G_{1}(s)=\frac{1}{s+10} \quad D(z)=\frac{z-0.5}{z-1} \quad G_{2}(s)=\frac{s}{s^{2}+9 s+23} \] find \(c(k...
Study smarter with the SolutionInn App