GradePack

    • Home
    • Blog
Skip to content

Identify whether or not each of the following statements is…

Posted byAnonymous March 26, 2026March 27, 2026

Questions

Identify whether оr nоt eаch оf the following stаtements is true regаrding aldosterone.

  Cоnsider the аbоve tаble, which query will sоrt products from cheаpest to most expensive?

Prоgrаmming Midterm Yоu must cоmplete this without tаlking or chаtting or emailing or contacting or asking for help from other people. You may not use AI tools. You may use your books, labs, or resources on your computer etc. You may not use online resources (unless you are using your book or look up the slides). Everything you do must be on your computer's screen (so no phones) where honorlock is recording. All work on the exam must in the exam room and must be recorded on honorlock up to (and including) when you submit. You may organize this program however you desire. However, if you repeat variables or methods (methods in multiple classes that could be consolidated to one class), I will take points off. Or if you violate rules of public/private variables, etc., I will take points off.       Idea of the Exam Your program will be simulating the growth of plants. There are two kinds of plants. Small plants and big plants. The difference is how much they grow. Plants “growth” is demonstrated by how they are show in the text output. The small plant stages are: .   -   ~   =   & (@) The large plant stages are: .   -   ~   =   &  (-)  (*) (&) Each time a plant is told it grow, it either grows by 1 step or by 2 steps. A plant that is a . that grows one step will become a -. A - that grows one step will become a ~, etc. Program Details Create a program that loops over the following: (the loop does not end) Prints the plants! please note that the plants are each 3 characters. If there is only 1 character printed, it is in the middle of the three characters. Let’s the user enter in an input to… Option 1: Create a new plant. The user will indicate whether the plant is a big plant (B) or small plant (S). If the plant is a big plant, the user also gets to indicate whether it is fertilized (Y) or not fertilized (N). A fertilized plant grows twice the rate of normal plants. Option 2: Wait That is, do nothing this round. Option 3: Water flood All plants at or below the ‘~’ stage are removed. After the user selects an option and the option is performed, you grow the plants. Non-fertilized plants grow 1 stage each time. Fertilized plants grow 2 stages each time.  You cannot grow a plant beyond the last stage - if it would be beyond the last stage because of its growth, it will stay at the last stage. During this process, all plants who have been at the last stage for 2 rounds, go back to stage 1. That is, the last stage will have been printed twice before they go back to stage 1. Note: because of the order of operations, during a plant’s first growth cycle, a non-fertilized plant will show stage ‘-‘ the first time it prints and a fertilized plant will show stage ‘~’ the first time it prints. The ‘.’ Won’t be shown until the second time through. Example run through: >> denotes input. Current plants:----------1. Create a plant2. Wait3. FloodPlease enter an option:>> 1Enter S (small) or B (big) plant to make>> SCurrent plants:----- - -----1. Create a plant2. Wait3. FloodPlease enter an option:>> 1Enter S (small) or B (big) plant to make>> BDoes this plant use fertilizer?>> NCurrent plants:----- ~  - -----1. Create a plant2. Wait3. FloodPlease enter an option:>> 1Enter S (small) or B (big) plant to make>> BDoes this plant use fertilizer?>> YCurrent plants:----- =  ~  ~ -----1. Create a plant2. Wait3. FloodPlease enter an option:>> 2Current plants:----- &  =  & -----1. Create a plant2. Wait3. FloodPlease enter an option:>> 2Current plants:-----(@) & (*)-----1. Create a plant2. Wait3. FloodPlease enter an option:2Current plants:-----(@)(-)-----1. Create a plant2. Wait3. FloodPlease enter an option:>> 2Current plants:----- . (*)-----1. Create a plant2. Wait3. FloodPlease enter an option:>> 2Current plants:----- - (&) . -----1. Create a plant2. Wait3. FloodPlease enter an option:>> 3Current plants:----------1. Create a plant2. Wait3. FloodPlease enter an option:>> 2Current plants:----------1. Create a plant2. Wait3. FloodPlease enter an option:>> 2Current plants:----- . -----1. Create a plant2. Wait3. FloodPlease enter an option:.....

Tags: Accounting, Basic, qmb,

Post navigation

Previous Post Previous post:
Where does final digestion of lactose normally occur?
Next Post Next post:
Oxygen content differs from oxygen capacity because oxygen c…

GradePack

  • Privacy Policy
  • Terms of Service
Top