Posts

Showing posts from February, 2014

unique values in array C#

http://www.dreamincode.net/forums/topic/138385-distinct-values-in-an-array/ http://www.dotnetperls.com/count-array http://bytes.com/topic/net/answers/793607-count-unique-values-arraylist-c http://www.dreamincode.net/forums/topic/77959-find-unique-strings-for-a-string-array/

namespace PassingArray Class PassingArray

static void Main( string [] args) { int [ ] temperature = new int [5]; int [ ] t = new int [5]; InputValues(temperature); //Array t will reference the same array //as the temperature array t = temperature; t[1] = 44; Console .WriteLine( "Value stored in temperature[1]: {0}" , temperature[1]); Console .ReadKey(); } public static void InputValues( int [ ] temp) { string inValue; for ( int i = 0; i < temp.Length; i++) { Console .Write( "Enter temperature {0}: " , i + 1); inValue = Console .ReadLine(); if ( int .TryParse(inValue, out temp[i]) == false ) Console .WriteLine( "Invalid data entered - ...

palindrome assignment

http://www.vcskicks.com/palindrome-string.php http://www.dotnetperls.com/palindrome http://www.codeproject.com/Articles/28904/Palindromes-in-C http://www.softwareandfinance.com/CSharp/Palindrome_Number.html

SDLC scope of the project

user requirements document http://www.docstoc.com/docs/26533470/EXAMPLE-FLIGHT-ITINERARY http://www.mulesoft.org/documentation/display/33X/Flight+Reservation+Example dailyrazor.com

dependency

http://www.bing.com/search?q=rational+rose&src=IE-TopResult&FORM=IE11TR&conversationid = http://www.bing.com/search?q=uml&src=IE-TopResult&FORM=IE11TR&conversationid =   http://www.ask.com/question/transitive-dependency http://databases.about.com/od/specificproducts/a/Database-Dependency.htm http://en.wikipedia.org/wiki/Transitive_dependency

legacy principles today figure 7-6 pg 399

Normalization notes

First normal form: each attribute value must be a single value only. all values for a given attribute must be of the same type. each attribute name must be unique. the order of attributes is insignificant. no two tuples in a relation can be identical. if you have a key defined for the relation then you can meet the unique row requirement example relation in 1nf: STOCKS(Company, Symbol , Headquarters, Date, Close_Price)
the mean of a standard deviation of a discrete population probability distribution are found by using these formulas: expected value of x is the sum of all x multiplied by the probabilities of each where x is the value of a random variable the sum is taken for all values of the random variable mew is the population mean and theta is the standard deviation

make a relationship

visio experiemental Entity relationship models don't have the data types http://en.wikipedia.org/wiki/Pythagorean_triple databaseanswers.org