Resolved Question: Starting point for
I understand it's a daunting task if you don't know what you're doing (which I do not) and am willing to start from the very bottom so long as small steps in success are made along the way. Really I am up for programming anything, although I have always wanted to build my own Linux O.S. from scratch. More realistically I would be up for learning Python, HTLM - CSS, or anything that would bear immediate results and keep me motivated to learn.
Also, what are some good resources for beginning steps? I have been looking at "The Linux Bible", "HTML and CSS: Design and Build Websites" and would be open other suggestions including those for Python.
Posted on 26 August 2013 | 1:53 am
Resolved Question: How to spell ZAPH in
I am interested in the name. There is a famous type designer Hermann Zapf who developed fonts for Donald Knuth's TeX.
Posted on 14 August 2013 | 1:43 am
Resolved Question: Pseudo-Random Number
So we've been told that math.random for example is a pseudo random number generator.
I have to write an essay on them but the internet isnt being quite useful (maybe im not searching correctly)
Please can you give me information on them. I need good information, this is for extra marks and based on my first test, i need them :)
Thank you :) No language .. we just need to write a paper on pseudo random number generators for university ,, so wiki isnt allowed :/
Posted on 1 April 2013 | 5:55 pm
Resolved Question: HELP!! I don't get this
Donald Knuth's binary method.
First, pull out all factors of 2 so that both numbers are odd.
Now, subtract the smaller odd number from the larger, halve the difference, and keep halving it until it is odd.
Repeat the above step using the new number and the smaller of the two numbers you started with, until you get two odd numbers the same. This is the greatest common factor of the two original odd numbers. Multiply it by the smaller number of factors of 2 that you had to pull out at the start.
Sounds complicated? Watch it work with 926084 and 745744.
926084 divide by 2 twice = 231521.
745744 divide by 2 four times = 46609.
231521 - 46609 = 184912 reduces to 11557.
46609 - 11557 = 35052 reduces to 8763.
11557 - 8763 = 2794 reduces to 1397.
8763 - 1397 = 7366 reduces to 3683.
3683 - 1397 = 2286 reduces to 1143.
1397 - 1143 = 254 reduces to 127.
1143 - 127 = 1016 reduces to 127.
The greatest common factor of 926084 and 745744 is 127 * 2 * 2 = 508. With this method, you have finished, while everybody else is still struggling to find the prime factors of 46609.
PLS. help me!!!
Posted on 19 January 2013 | 9:58 pm
Resolved Question: C programming text files
Please write a C program to sort the following text file from smallest to largest:
the file has the format string, string, integer
the integers need to be sorted and kept with their respect first and last names
Fname1 Lname1 5
Fname2 Lname2 2
Fname3 Lname3 3
Fname4 Lname4 1
Fname5 Lname5 4
Posted on 11 December 2012 | 9:25 pm