User Tools

Site Tools


start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
start [2011/05/10 11:30]
kel
start [2013/02/11 17:57]
careylspencer
Line 1: Line 1:
-Multiple Choices Algorithm - by Mark Kelly+Being a new business owner is quite challenging. What's even more complicated is setting up a company to a degree where it could be properly called a “new company.” Businesses are difficult; there isn't any use declaring otherwise. They may occupy a large amount of your time, and occasionally there can be large times in which the firm quite frankly is not rewarding. Virtually nothing typically transpire at specific times, and this can be substantially disheartening if you've never owned a company before. Nonetheless there are answers to the woes of setting up a new enterprise. Unlike the companies before you, it's not wholly necessary for you to experience all of the hard times and the great difficulties of constructing your new business. Having a firm specifically along on the experience with you to assist you through the process and assist you in getting a foot hold and build your enterprise, let alone get all the things that your company requires, is a real chance.
  
-Another in the Fun with Algorithms series+Utilizing a Business Start Up Organization for Direction and Service
  
-Stuff Pty Ltd sells stuff. The unit cost of the stuff varies according to the quantity orderedCustomers can order any number of items Stuff Pty Ltd use this scale: +Business start up companies are scattered all over the world. These are companies which are developed specially to aid people like you appreciate their ambitions and commence their own firm effectively. The drawback with these sorts of businesses is that there are just a lot of themAt present there are thousands of start up organizations in Europe alone, and a number of these organizations are scams that aim on charging you for very few or no solutions at allGetting wound up in one of these ripoffs can mean a negative ending and no true start to your organization,​ and as unfair as it can be, this is a reality that many unaware business start ups face every year. Therefore it's essential that you do your research before agreeing to acquire any offerings from any company.
-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 quantitiesThen calculate ​total cost with 10% GST added. ​  +One of the best business start-up firms operating today is PanlegisPanlegis is Europe based firm with knowledge ​in business start upTheir primary aim as a company ​is to help along would-be businesses ​to get their feet on the groundThis is amongst ​the most difficult things for firm to undertake, and thusPanlegis’s services have had lot of success around Europe, and they'​ve a lot of business knowledge in this fieldHoweverthere are other businesses out there that can undoubtedly provide to you identical ​or even the exact same serviceshowever only few have the successful track record ​that [[panlegis.dk|Panlegis]] has, and even less have the same degree ​of affordability ​with their services
-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!>​ +
- +
-:-( +
- +
- +
---------------------------------------------------------------------------------------------- +
- +
-Fun with Algorithms - Mark Kelly +
- +
-Use flow charts or N-S charts ​to elegantly solve the following algorithms Some are harder than others... ​ Try actually coding it after doing the brainwork. +
--- +
- +
-Round any decimal number UP to the next highest multiple of 0.25. +
- +
--- +
- +
-Convert any Roman number to decimal (e.g. MCMLXIX to 1969) - and/or vice versa +
- +
--- +
- +
-Convert any binary number to decimal. +
- +
--- +
- +
-Find the lowest (or greatest) common denominator of 2 integers (or report that there is no LCD or GCD). +
- +
--- +
- +
-List prime numbers up to 100 +
- +
--- +
- +
-Simulate ​the display of single-digit liquid crystal display  +
- +
- +
-Assume there are 7 LCD bars like this +
- +
- _ +
-|_| +
-|_| +
- +
-Feed it any numeral or alphabetic character ​ in hexadecimal range (0 to F) and it should turn on the right bars.  (Efficiency is the key requirement here!) +
- +
--- +
- +
-Given a price including 10% GSTgive the ex-tax price and the tax componente.g. $11 inc = $10 ex + $1 GST. +
- +
--- +
- +
-Create ​virtual deck of cards encoded as numbers 1 to 52.  Given any number from 1 to 52the algorithm should return the suit and rank represented by the card. +
- +
--- +
-Create an algorithm to shuffle the virtual deck of cards  +
- +
- +
--- +
- +
-Create an algorithm to play naughts and crosses - it should be unbeatable if the algorithm plays first. +
- +
--- +
- +
-Given an number of dollarscalculate what notes or coins need to be given as change from $100.  e.g. $67 = 1 x $201 x $10, 1 x $2, 1 x $1. +
- +
--- +
- +
-An electrical company is developing ​new main-powered sensorlight with the following requirements:​ +
- +
-• It turns on its LED light for a predetermined time (e.g. 60 seconds) after sensing movement with its passive infrared (PIR) detector. +
- +
-• It does not turn the light on if its light detector senses ​that the room is already well illuminated (e.g. during the day) +
- +
-• While its light is onany further movement detection resets the timer back to its starting value and the countdown starts again. +
- +
-Convert your algorithm into a working simulation ​of the light. ​ You will need to simulate: +
- +
-• The day/night sensor (e.g. with radio buttons) +
- +
-• The movement sensor (e.g. with a mouse click or keypress) +
- +
-• The LED light (e.g. with a shape changing its colour) +
- +
-Show the value of the countdown time onscreen to verify its behaviour. +
- +
- +
------------------------------------------------------------------------------------------------+
  
 +What to look for in a Business Start-up Organization
  
 +Since we cited them in the last paragraph, we’ll make use of Panlegis as our distinction point for other firms. One of Panlegis’s principal characteristics is that they aid prospective businesses correspond with banks. This is among the most important steps of setting up any business; your bank is going to figure out how much cash you can make on existing funds, and if you need financing, how much of your annual gross will go toward repaying your loan debt. 
  
 +The principle attribute to consider, and one that Panlegis does extremely well with, is company formation. This involves aiding you to uncover well matched folks to employ as employees for your new business. Figuring out how to uncover these individuals is essential, because the grade of your workers determines the caliber of your company all together. The better your personnel recognize your business, and the better they'​re capable to promote and service, the more chances your organization will become a huge success out there.
  
 +Another crucial feature Panlegis has that you ought to be evaluating is legal offerings. As a company, you are going to encounter some legal difficulties at least once in your lifetime. This can be caused by anything, from an hostile client looking to get money from your organization due to their misuses of one of your products, to a rival firm trying to tie you up in court so that your productivity falls. Obviously, these are intense illustrations,​ however they do define the precise need for legal solutions for your company. You need to be guaranteed that irrespective of what happens, your company is wholly guarded in full.