Computer programs have to evaluate expressions. Study the sequence of pseudocode statements. Write down the
Question:
Computer programs have to evaluate expressions.
– Study the sequence of pseudocode statements.
– Write down the value assigned to each variable.
a) Perimeter
b) Area
c) Z
d) A
Transcribed Image Text:
DECLARE h, w, r, Perimeter, Area : REAL DECLARE А, В, С, D, E BOOLEAN h e 13.6 w + 6.4 Perimeter + (h + w) * 2 r + 10 Area 3.142 * r^2 Z + 11 + r / 5 + 3 A + NOT (r > 10)
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 66% (12 reviews)
ANSWER a Perimeter 4224 b Area 3142 c Z 156 d A False EXPLANATION The expression hw ...View the full answer
Answered By
Churchil Mino
I have been a tutor for 2 years and have experience working with students of all ages and abilities. I am comfortable working with students one-on-one or in small groups, and am able to adapt my teaching style to meet the needs of each individual. I am patient and supportive, and my goal is to help my students succeed.
I have a strong background in math and science, and have tutored students in these subjects at all levels, from elementary school to college. I have also helped students prepare for standardized tests such as the SAT and ACT. In addition to academic tutoring, I have also worked as a swim coach and a camp counselor, and have experience working with children with special needs.
0.00
0 Reviews
10+ Question Solved
Related Book For
Cambridge International AS & A Level Computer Science
ISBN: 9781510457591
1st Edition
Authors: David Watson, Helen Williams
Question Posted:
Students also viewed these Computer science questions
-
The goal of many computer programs is to identify sequence elements within a long segment of DNA. What is a sequence element? Give two examples. How is the specific sequence of a sequence element...
-
Write down expressions for the electric and magnetic fields of a sinusoidal plane electromagnetic wave having a frequency of 3.00 GHz and traveling in the positive x direction. The amplitude of the...
-
Write the expressions for Kc for the following reactions. In each case indicate whether the reaction is homogeneous or heterogeneous.
-
Four years from now you hope to buy your dream car. Today, that car costs $54,500. You expect the price to increase by an average of 3.1 percent per year over the next four years. How much will your...
-
The distribution of heights of 18-year-old men in the United States is approximately normal, with mean 68 inches and standard deviation 3 inches (U.S. Census Bureau). In Minitab, we can simulate the...
-
1.Should information gathered be privileged? 2. Does this privilege give corporations an advantage? 3. Do you agree with the SCOTUS decision?
-
The accounting firm of Glofry and Tammar (G&T) has been asked to arrange for a $2 million loan for Tang En- terprises by its client Ted Hoover at Hoover Company. Hoover Company is involved in a...
-
Balance sheets for Salt Company and Pepper Company on December 31, 2010, follow: Pepper Company tentatively plans to issue 30,000 shares of its $20 par value stock, which has a current market value...
-
The vertices of quadrilateral MATH have coordinates M(-4,2), A(-1,-3), T(9,3), and H(6,8). Prove that quadrilateral MATH is a parallelogram. Prove that quadrilateral MATH is a rectangle. [The use of...
-
Can you help figure out the market measurements for this company? Equity: Preferred stock. $1.00 par value, 1,000,000 shares authorized; no shares outstanding Common stock, $0.01 par value,...
-
Describe, using an example, the process of stepwise refinement.
-
Study the pseudocode and answer the following questions. Line numbers have been added to help you. a) Give the line number of: i) An assignment statement ii) A selection iii) An iteration. b)...
-
Why are both the current measures and the trends of the ratios over time important measures of financial well-being?
-
1. An employee working in Ontario, being paid a Weekly Gross Salary of $1,500 has the following statutory deductions: CPP of 81.66, EI of 23.70, Combined Federal and Provincial Income Tax of 296.40...
-
A 440C stainless steel alloy has the following properties:density 0.28 lb/in3 , elastic modulus 29 Mpsi, yield strength 275ksi, and work hardening exponent 0.04. What would be the ultimatetensile...
-
Describe the role of the Process Control Block (PCB) in process management. What information does the PCB contain, and how does it support transitions between different process states?
-
Describe the process termination sequence in an operating system. How does the OS ensure that resources are properly released, and what mechanisms are used to manage orphaned processes or zombie...
-
Explore the concept of signals in process management. How do processes handle signals, and what precautions should be taken to avoid race conditions and signal misinterpretation ?
-
Anheuser-Busch InBev is the Belgian company that produces Budweiser, which has a large market share in the U.S. beer industry. According to an article in the New York Times, "Anheuser-Busch (InBev)...
-
Read Case Study Google: Dont Be Evil Unless and answer the following: Given its mission of providing information to the world, should Google censor searches in China?
-
Th is Exercise examines the single error correcting, double error detecting (SEC/DED) Hamming code. 1. What is the minimum number of parity bits required to protect a 128-bit word using the SEC/DED...
-
For a high-performance system such as a B-tree index for a database, the page size is determined mainly by the data size and disk performance. Assume that on average a B-tree index page is 70% full...
-
As described in Section 5.7, virtual memory uses a page table to track the mapping of virtual addresses to physical addresses. This exercise shows how this table must be updated as addresses are...
-
Hip Manufacturing produces denim clothing. This year it produced 3,340 denim jackets at a cost of $100,200. These jackets were damaged in the warehouse during storage. Management identified three...
-
Ratio Analysis Presentation One of the key learning outcomes in this course is to analyze financial statements using key financial ratios to enhance understanding of a company's financial...
-
Special Rules : CCA for rental property Question 10 options: Separate Class For Each Rental Property With A Cost Greater Than $50,000 Separate Class For Each Rental Property With A Cost Greater Than...
Study smarter with the SolutionInn App