This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
start [2011/05/10 11:23] kel |
start [2013/02/21 15:53] lomanstein |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Multiple Choices Algorithm - by Mark Kelly | + | Should the ceiling from the clear space is wonderful for any bedroom fluff, you could possibly elect to extend a room to suit 1. [[http://www.topfliteloftconversions.co.uk/about-us/| loft conversion lancashire ]]There are several characteristics that one could create within the attic room space or room, plus the 1st step will be to properly design your innovative living space. [[http://www.topfliteloftconversions.co.uk/loft-conversions/| loft conversion]] There are various connected with criteria, such as the chance for together with a bathroom, rest room pieces of furniture along with the stipulation regarding sun rays with the glass windows tech. [[http://www.topfliteloftconversions.co.uk/| loft conversion]] 1 * PlanningBring proportions of this attic space place making strategies of which complement the dwelling of this attic oblasti.Esli vaulted threshold, you should arrange your room to achieve the smallest amount with spent living space from the the surface of the spot. But if your attic will not at present consist of a window, you have to make considerations for your one in the right pane. [[http://www.topfliteloftconversions.co.uk/loft-conversions/> loft conversion liverpool ]] Also you can need to think about adding any water aquariums in other places in the attic space place. Imagine your stairway to the attic space, and exactly how this technique would certainly resemble. [[http://www.topfliteloftconversions.co.uk/showroom/| velux loft conversion ]] You should be able to get ones home furniture inside of a space was reconstructed.Step # 2 ( space ) Having a budgetThink about the supplies and merchandise necessary to develop your loft area living space. It's possible you'll experience unpredicted difficulties if you do not strategy your allowance as you can. [[http://www.topfliteloftconversions.co.uk/showroom/|dormer loft conversion ]] Make a note of each of the required components and also funktsii.Schet pertaining to basique adjustments for example putting the sash microsoft windows, doors in addition to stairways to attain the actual attic.The third step -- Microsoft windowsYou should get preparation authorisation to manufacture a home window within the loft living space, so check along with your area organizing office for almost any policies on architectural changes to your dwelling. [[http://www.topfliteloftconversions.co.uk/| topfliteloftconversions ]] When you work explicitly, high light, where home window will go in addition to minimize the correct measurements gap. Arranged ones in-take into position and also protected the idea while using appropriate that it had.Step . 4 ( space ) Setting up support framesYour own dry divider will need to fix this structure p.Ispolzovanie A single inch-by-2 half inch timber creating, the introduction of acceptable employees for putting your current dried out wall. The roof sort will probably stipulate the design on the shape is going to take. [[http://www.topfliteloftconversions.co.uk/| topflite conversions ]] You can also put warmth presently between new column figure.Step . 5 * dry wallSoon after organizing to use ultimate step, begin developing your current fluff bedroom. [[http://www.topfliteloftconversions.co.uk/| topfliteloftconversions.co.uk]]First, you need to close up this partitions by using dried up walling konstruktsiy.Izmerte dried out wall membrane solar panels you'll need as well as slice them into size. Place all of them dried divider nails for the limit beams that will create the wall structure of the living space using vertical planks dry out wall. You have got to generate a wood frame in order for the top to bottom panels may have a harmless razmescheniya.Ispolzuyte video tape in addition to putty to seal joint capsules in addition to finishes dried walls .The sixth step ( blank ) Build your spaceImmediately after installment is finished, dry-wall, you can now add your entry frames and also cloths planks. Appraise the entire mother board up against the completely new wall surfaces in addition to cut miter perspective to be able to Forty-five degrees to get a thoroughly clean file format. [[http://www.topfliteloftconversions.co.uk/| topfliteconversions company]] Put the entrance frame as well as baseboards butting from the border. Bankruptcy lawyer las vegas door framework into position, you may look at the front door and hang up them in the space.Phase 6 - Piece of artYour room is now generally comprehensive, plus it must hits. Ensure the putty to be able to dry-wall knees and lower back suhoy.Pokrasit wall by using a curler as well as clean. You might most probably need two clothes regarding fresh paint to the wall structure. |
- | + | ||
- | Another in the Fun with Algorithms series | + | |
- | + | ||
- | Stuff Pty Ltd sells stuff. The unit cost of the stuff varies according to the quantity ordered. Customers can order any number of items. Stuff Pty Ltd use this scale: | + | |
- | 1-9 items = $100 each | + | |
- | 10-19 items = $97 each | + | |
- | 20-29 items = $92 each | + | |
- | 30-39 items = $88 each | + | |
- | 40-49 items = $85 each | + | |
- | 50 or more = $82 each | + | |
- | + | ||
- | Task: using pseudocode, create an algorithm to calculate the unit cost of the items at different quantities. Then calculate a total cost with 10% GST added. | + | |
- | Convert the pseudocode into code. | + | |
- | Create test data to fully test all aspects of the solution’s functionality. | + | |
- | Note: Input data need not be validated, and the interface can be very basic. | + | |
- | + | ||
- | Sample VB2010 solution | + | |
- | Public Class Form1 | + | |
- | ' Multiple options algorithm | + | |
- | ' by M.Kelly 10 May 2011 | + | |
- | ' Version 1.0 | + | |
- | ' To Do Next: nil | + | |
- | + | ||
- | Private Sub btnCalc_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalc.Click | + | |
- | Dim Qty As Integer = CInt(txtQty.Text) | + | |
- | Dim inctax As Single = 0 'declare and initialise in one hit | + | |
- | ' deliberately lacks validation of qty | + | |
- | Select Case Qty | + | |
- | Case 1 To 9 | + | |
- | lblCostper.Text = 100 | + | |
- | Case 10 To 19 | + | |
- | lblCostper.Text = 97 | + | |
- | Case 20 To 29 | + | |
- | lblCostper.Text = 92 | + | |
- | Case 30 To 39 | + | |
- | lblCostper.Text = 88 | + | |
- | Case 40 To 49 | + | |
- | lblCostper.Text = 85 | + | |
- | Case Else | + | |
- | lblCostper.Text = 82 | + | |
- | End Select | + | |
- | + | ||
- | lblSubtotal.Text = Qty * CInt(lblCostper.Text) 'using labels for output | + | |
- | + | ||
- | 'inctax is here as a sample use of variables for calculations and | + | |
- | 'using labels just for display purposes. | + | |
- | 'Using variables mean less converting back & forth between text and number. | + | |
- | + | ||
- | inctax = CInt(lblSubtotal.Text) * 1.1 'add GST | + | |
- | 'The final total is nicely formatted currency just to show how it's done. | + | |
- | 'Nice formatting is not needed in U3O2. | + | |
- | lblIncTax.Text = Format(inctax, "$#,####.#0") | + | |
- | End Sub | + | |
- | + | ||
- | + | ||
- | Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click | + | |
- | End | + | |
- | End Sub | + | |
- | + | ||
- | End Class | + | |
- | + | ||
- | + | ||
- | + | ||
- | Sample output | + | |
- | Perhaps more decorative that it needs to be for U3O2, but I can’t abide messy interfaces. | + | |
- | + | ||
- | <can't insert image!> | + | |
- | + | ||
- | + | ||
- | + | ||
- | --------------------------------------------------------------------------------------------- | + |