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...
-
It has been said that a system without good documentation is worthless. Provide support for this statement. Then comment on how todays advanced tools might alleviate the documentation burden.
-
Discuss the importance and basic principles of property insurance, including types of exposure, indemnity, and co-insurance.LO1
-
Chance Company had two operating divisions, one manufacturing farm equipment and the other office supplies. Both divisions are considered separate components as defined by generally accepted...
-
Upton and Verlander Company uses a job-order costing system. Upton and Verlander has two manufacturing departmentsMolding and Fabrication. Upton and Verlander provided the following estimates at the...
-
Truck suspensions often have helper springs that engage at high loads. One such arrangement is a leaf spring with a helper coil spring mounted on the axle, as in Figure P7.17. The helper spring...
-
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)...
-
A6.1 On 1 May the Sea Traders Company purchased 200 spare parts for fishing boats, costing \( 20\) each. On 5 May, 60 of these spare parts were sold to a customer at a price of \( 25\) each. The...
-
Given below is some is a comparison of financial performance data of a project when flexibility is incorporated (I.e. flexible project) in comparison to when it is not. (i.e. inflexible project) The...
-
For Service Zone H, assuming your shipment chargeable weight is between 100 and 300 kg, at what weight does it become cheaper to declare the shipment weight to be 300 kg.? EG: What is the rate break...
-
Gold Dust Ltd has produced the following budgeted data for its current financial year:- Sales 2900000 Direct materials 400000 Direct labour 500000 Production overhead 1200000 Production cost 2100000...
-
Critical Review V Hide Assignment Information Instructions Williams, A. (2012). Worry, intolerance of uncertainty, and statistics anxiety. Click on the following link to retrieve the article....
-
(4.) Octopussy Company uses a predetermined overhead rate in applying overhead to production orders on a labor-cost basis for Dept. A and on a machine-hour basis for Dept. B. At the beginning of...
-
National Distributing Company uses a periodic inventory system to track its merchandise inventory and the gross profit method to estimate ending inventory and cost of goods sold for interim periods....
-
It is possible to investigate the thermo chemical properties of hydrocarbons with molecular modeling methods. (a) Use electronic structure software to predict cHo values for the alkanes methane...
-
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...
-
The cost of partially completed goods at the end of the period would be Ending work in process inventory Cost of goods sold Beginning finished goods inventory Beginning work in process inventory
-
At a 3% (EAR) rate of interest, you will quadruple (increase four folds) your money in approximately ____ years.
-
Smile Company makes baked goods. The budgeted sales are $620,000, budgeted variable costs are $260,400, and budgeted fixed costs are $237,800. What is the budgeted operating income?
Study smarter with the SolutionInn App