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...
-
What tools can managers use to enhance the understandability and comparability of performance analysis?
-
You are a senior financial analyst with IBM in its capital budgeting division. IBM is considering expanding in Australia. The new facility would require an initial investment in fixed assets of 5...
-
Prepare journal entries to record the following transactions of an Internal Service Fund: 1. Paid salaries of $10,000. Additional salaries accrued but not paid totaled $300. 2. Purchased equipment...
-
Stewiacke Ltd. is currently considering a project with a four-year life that it believes may return the company to profitability. Stewiacke recently did a market survey at a cost of $100,000. The...
-
Through market research and competitor analysis Nebraska Toaster Company has found a market for toaster oven new product that is not currently being produced by competitors. This new toaster can...
-
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)...
-
Write a mini article on: Glaxo sizes up approach for Pfizer's $15bn consumer business
-
Choose a marketing/ business you'd like to solve ? How would Isolve the issue of online vs in person retail shopping? how do I entice shoppers to in person retail shopping with the convenience of...
-
SITXFIN010 For this Exercise you are required to complete the following tasks: Review your previous budgets for the year ending 30 June 2022 based on the results and outcomes identified in the...
-
Recently, More Money 4U offered an annuity that pays 5.1% compounded monthly. If $1,404 is deposited into this annuity every month, how much is in the account after 9 years? How much of this is...
-
Required information Problem 7-42 (LO 7-2) (Algo) [The following information applies to the questions displayed below.] Dahlia is in the 32 percent tax rate bracket and has purchased the following...
-
Rewrite this: The cost of product warranties (or product guarantees) cannot be predicted with certainty. However, to match expenses and revenues, we estimate the cost. The estimated warranty...
-
Why would we expect atmospheric testing of nuclear weapons to increase the relative abundance of carbon- 14 in the atmosphere? Why would we expect the widespread burning of fossil fuels to decrease...
-
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...
-
grocery store collects inventory data about its produce section. What is an appropriate naming convention for this file? 1 point
-
To build a relationship on trust and help your clients understand the value of your services, what should you do? please explain in your own wordings.
-
ceberg Products Inc. declared cash dividends of $66,900 to shareholders on record on December 1, 2023. Outstanding shares include 75,100 common shares worth $225,300 and 11,800, $2 non-cumulative...
Study smarter with the SolutionInn App