1. The following inputs screen has been designed to inputthe initial values for yeast, malt-extract and water (ingrams). Design a screen similar to the one on the right anduse a table in your design.

Note the values are only for display and you would have toenter them when you run your program. The boxes for Hops andTotal Hops are used later in the assignment but put zeros inthem for now. Put an appropriate title on the screen. (15 marks)

During marking, the marker may delete part of the table andyou will be asked to recreate it.

2. a) Insert two command buttons, Brew it, andClear Display Area (20 marks)

b) Write the code to support the actions of the brewingprocess. When the Brew it button is pushed, the yeast consumes an equal amount of malt-extract asits current weight in a day. During the day, the yeast multiplies (after it consumes themalt-extract) in number and weight to twice its initial size. This is repeated for each day in the brewingprocess. It normally takes 4 days for a lager beer.

When you are being marked, you may be required to change the code to make the brewing process last 6 days.

3 .a) Add a textarea to your screen design. Modify thecode in the Brew it button to display the simple ‘*’ graphsas shown to the right. One star is displayed for the percentof sugar in the mixture. One line of stars appears for eachday in the brewing process. The number on the left-hand-sideindicates the day.

Heres what I have so far, Really stuck on 2b and 3a


  
The Ingredients   Yeast

Malt-Extract

Water

Hops

TotalCops

Value of The Sale

<br>

_x000D_
<div id=”slidingDiv”>_x000D_
_x000D_
_x000D_
</div>_x000D_
</div>_x000D_
<div class=”postedDate”>_x000D_
<time id=”spnQuestionSubmittedDate” title=”Posted Date” itemprop=”datePublished” content=”2020-02-16T15:32:54″>Feb 16 2020 03:32 PM</time>_x000D_
</div>_x000D_
<div id=”dvPdfContentDescription” class=”discription”>_x000D_
_x000D_
</div>_x000D_
<a id=”answer”></a>_x000D_
</div>_x000D_
<div id=”dvTabMain” class=”answernotify”>_x000D_
<div id=”dvtab1″ class=””>_x000D_
<div id=”Panel1″>_x000D_
_x000D_
<div id=”ppacont”>_x000D_
<p id=”pnlAskSimilarQuestion” class=”btn” style=”display: none”>_x000D_
<a href=”../login.aspx?ppid=5346608″ id=”ancAskSimilarQuestionLnk” class=”btn” data-gaq=”true” data-action=”QS_AskSimilarQuestion” data-nonIntraction=”1″>Solution.pdf</a>_x000D_
</p>_x000D_
<div id=”divNotifyMe”>_x000D_
</div>_x000D_
<div id=”divNotifyMe1″>_x000D_
<div id=”divNotifyHeader”>_x000D_
<h2 id=”h2ExpertsSolution” itemprop=”learningResourceType”>Expert’s Answer</h2>_x000D_
<div class=”answernotify bluranswer”>_x000D_
<div class=”tab_content”>_x000D_
<div class=”expert_answer_box”>_x000D_
<p id=”pGetSolvedBtn” class=”btn” style=”display: block;”>_x000D_
<a href=”javascript:void(0);” id=”ancYes” class=”Proceedbtn” onclick=”_gaq.push([‘_trackEvent’, eventCategory, ‘QS_PPaSubscribe_’ + $(‘#hdnQuestionId’).val() + ‘_ppa’, eventLabel, 0, true]);” data-href=”/prepay.aspx?tId=5346608&q=2″>Solution.pdf_x000D_
</a>_x000D_
</p>_x000D_
</div>_x000D_
</div>_x000D_
<img src=”//files.transtutors.com/resources/images/answer-blur.webp” alt=”” />_x000D_
</div>_x000D_
</div>_x000D_
<span class=”spnmsg” id=”spnMsg”></span>_x000D_
</div>_x000D_
</div>_x000D_
_x000D_
</div>_x000D_
</div>_x000D_
</div>_x000D_
<div class=”clear”></div>_x000D_
_x000D_
<div class=”pps”>_x000D_
_x000D_
<div class=”purchased_popupmainCont” style=”display: none;”>_x000D_
<div class=”Innercont”>_x000D_
<div class=”close”><span class=”imgClose”></span></div>_x000D_
<div class=”header”>Rate this Solution </div>_x000D_
<div class=”ratingMain”>_x000D_
<div class=”ratingcont”>Rating : </div>_x000D_
<div class=”ratingsecCont”>_x000D_
<div id=”ratingImg” class=”rateit”>_x000D_
<input type=”hidden” name=”ctl00$ContentPlaceHolder1$QuestionSolution$hdnRateValue” id=”hdnRateValue” />_x000D_
<input type=”hidden” name=”ctl00$ContentPlaceHolder1$QuestionSolution$hdnAssignmentId” id=”hdnAssignmentId” />_x000D_
<input type=”hidden” name=”ctl00$ContentPlaceHolder1$QuestionSolution$hdnSolutionId” id=”hdnSolutionId” />_x000D_
</div>_x000D_
<div class=”clear”></div>_x000D_
(Lowest)        (highest) </div>_x000D_
</div>_x000D_
<div class=”feedbackcont”><span>Feedback :</span>_x000D_
<textarea name=”ctl00$ContentPlaceHolder1$QuestionSolution$txtComment” rows=”2″ cols=”20″ id=”txtComment” class=”textbox”>_x000D_



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *