Reference no: EM131324220
Programming Logic and Design Questions
1 given the following pseudocode module header: module calculate something (real x,real y, real z,) when the following call executes: call calculate something (21.6, 43.1, 15.2) show what is the value of z,then the value of x, then the value of y. Write your answer as follows, z value is -----------,x value is ----------------,y value is ---------
2. what does the following pseudocode display on the computer screen? remember the + sign is used to append.
Module main ( )
declare integar A = 10
declare string Hello = "Hi,there"
Output hello + ","+ A
call morphymodule (hello,A)
Output hello +",+ A
end module
module morphmodule (string one, integer two)
set one = "goodbye"
set two = 50
output one + "," + two
end module
write each output to the display on separate lines.
3. Write a structure that assigns the value of "low" to the variable named pressure if the variable bloodpressure is less than 68 and it assigned "not low" to pressure if it is 68 or above.
Then display the result to the screen with a message that tells the user: your blood pressure is" and then the value. Just create the pseudocode for the structure, not the whole program. Put a; after each line of code so I can easily parse the statements in a word processor.
4. Write a simple pseudocode line that tests for the condition of an variable called num between the values of 60 and 70 ( Inclusive of those 2 values) that will result in a value of true if the number falls in the range.
5. What possible values can a Boolean variable hold?
6. Examine the following code and explain what is wrong with it .If 59 then output" The value is outside the valid range" end if.
Atlantis fisheries issues zero coupon bonds
: Atlantis Fisheries issues zero coupon bonds on the market at a price of $462 per bond. Each bond has a face value of $1,000 payable at maturity in 12 years. What is the yield to maturity for these bonds?
|
Marketing mix will change with phase in product life cycle
: Use the same product and organization you identified in your Week 3 Strategy and Positioning Analysis. Describe how your marketing efforts and marketing mix will change with each phase in the product life cycle?
|
What is the operating cash flow
: Enter your answer rounded off to two decimal points. Do not enter $ or comma in the answer box. For example, if your answer is $12.345 then enter as 12.35 in the answer box.
|
Show that all the eigenvalues of a unitary matrix
: Prove that the magnitude of determinant of a unitary transform is unity. Also show that all the eigenvalues of a unitary matrix have unity magnitude
|
What possible values can a boolean variable hold
: What possible values can a Boolean variable hold? Examine the following code and explain what is wrong with it .If 59 then output" The value is outside the valid range" end if.
|
Interventions to developmental needs from childhood
: Follow a person with this chronic illness through the lifespan, discussing how treatment approaches would be adapted to the development and growth of this individual. Note also the possible negative effects of not adjusting our interventions to th..
|
Transcription factors important for muscle development
: What are the transcription factors important for muscle development? i.e. There are different steps to get a muscle fiber, what are the transcription factors that are important for these steps?
|
Develop a computer program that determines shipping costs
: Develop a PAC and flowcharts for a program that does the warehousing company has contracted you to develop a computer program that determines shipping costs for items by size.0
|
Borrow the money from the credit union
: James and Corrine are considering what to do about purchasing a new car. They plan to acquire a new 2016 Toyota Highlander. The dealer quotes a price of $40,000 with the options they want. They have choices: Lease, Buy with a zero interest loan from ..
|