What possible values can a boolean variable hold

Assignment Help Programming Languages
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.

Reference no: EM131324220

Questions Cloud

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 ..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd