GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

Author Archives: Anonymous

According to Rogers’s beliefs, which of the following is mot…

According to Rogers’s beliefs, which of the following is motivated by the actualization tendency in people?

Read Details

Suppose that if your income is $100,000, your tax is $20,000…

Suppose that if your income is $100,000, your tax is $20,000, but if your income is $200,000, your tax is $45,000. This income tax is:

Read Details

Explain the concepts of explicit costs and implicit costs. W…

Explain the concepts of explicit costs and implicit costs. Why do economists include implicit costs in their calculation of profits?

Read Details

How will a decrease in technology from a natural disaster su…

How will a decrease in technology from a natural disaster such as a hurricane, ceteris paribus, affect an economy’s production possibilities curve?

Read Details

If approximately 70% of Titan’s total variance is unsystemat…

If approximately 70% of Titan’s total variance is unsystematic, what is the most important implication for a well-diversified investor?

Read Details

Which investor is most likely to find Titan attractive?

Which investor is most likely to find Titan attractive?

Read Details

Titan’s jewellery segment increased to ~80–85% of revenue. W…

Titan’s jewellery segment increased to ~80–85% of revenue. Which of the following best captures the implication?

Read Details

The case reports Titan’s beta to be approximately 1, despite…

The case reports Titan’s beta to be approximately 1, despite operating in a jewellery business. Why is this considered surprisingly high?

Read Details

Programming Midterm You must complete this without talking o…

Programming Midterm You must complete this without talking or chatting 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! 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:…..

Read Details

The distance between the lowest and highest notes of a melod…

The distance between the lowest and highest notes of a melody is called its:

Read Details

Posts pagination

Newer posts 1 … 1,054 1,055 1,056 1,057 1,058 … 82,040 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top