Tuesday, October 18, 2016

Sunday, October 9, 2016

Number tasks

Tasks for number study:
1.)
Project. Create a stand-alone web page that illustrates some part of the history of numbers. It should have at least 5 pictures and contain tables, lists and a small form. (You do not have to use the results of the form.) A total of 10 different tags should be used.  Be prepared to talk to the class about your page. Think about colour, layout, style, tone, grammar  and spelling. This is worth 4% of the final assessment. Due 5th November at 23:55.

2)Write a spreadsheet which graphs y=3*x from x=0 to x=20. Take a screenshot for your blog.

3)Also do y = x+4, y=x-2, y=2*x, y=2*x + 1, y = 3*x, y= 3*x +2, y= 3*x – 2, y= 5*x, y = 100*x, y = -2*x. Put the graphs into your blog .Do a table with x from x=0 to x=20.

3.5) Write a paragraph in your blog explaining how the Sieve of Eratosthanes works. Construct a table that shows the Sieve and write down the first 20 prime numbers. If possible use colour and fonts to show the number patterns. 

4)Randoms
Generate a list 200 random numbers between 0 and 100 using RANDBETWEEN()
Add up the numbers in your list. What is the average number? Can you work out how to graph this list.
4.1)Randoms
Generate a list 100 random numbers between 0 and 1000 using RANDBETWEEN()
Add up the numbers in your list. What is the average number? Can you work out how to graph this list.
4.2)Randoms
What is the longest list of randoms  between 1 and 100 you can do in Excel using RANDBETWEEN().
Add up the numbers in your list. What is the average number? Can you work out how to graph this list.
4)Randoms
Generate a list 200 random numbers between 0 and 100 using RANDBETWEEN()
Add up the numbers in your list. What is the average number? Can you work out how to graph this list.

5) Do the same as above but this time use 600  random numbers between 1 and 6. This is simulation for dice. Use COUNTIF() to count the number of 1’s, 2’s, … 6’s thrown . Copy your results into a HTML table for your blog and add a sentence about what’s in the table. What were you expecting?

6) Repeat, but this time simulate 1000 tosses of a coin. (So you just want a big list or 0,s and 1,s). Write up your results in the same way. 

7) Make a list of 100 random numbers between 0 and 100. Add them up and divide by 100 to give you the average. You can recalculate several times by pressing F9. Put in your blog three different averages with a suitable sentence.

Prime numbers. Put your answers into your blog.
8) Construct a list of all the prime numbers between 1 and 100 using the Sieve of Eratosthanes.
9) Construct a Sieve of Eratosthanes using a spreadsheet where the primes are coloured differently and all the even numbers have the same colour.
10) Find a list of primes on the Internet. Make  a screen shot of this list and put into your blog.
11) Find the biggest prime number so far.
12) Write out all the numbers between 30 and 50 as a product of primes.  
13) Goldbach's conjecture. Write out all the even numbers between 20 and 50 as the sum of two primes.

Some numbers make a pattern.



  • x  y
  • 1  1
  • 2  2
  • 3  3 
  • 4  4
  • 5  5







Some numbers are random




The sieve of Eratosthanes

Some we have to check for patterns

There are all sorts of ways to generate (pseudo) random numbers.


Some number systems

Current systems

Some older systems



One to one correspondence came first.





Tuesday, July 26, 2016

There are heaps of HTML editors out there

There are people who always use special HTML editors to write their HTML scripts. Others use only simple text editors.


We often write HTML scripts in a text editor. There are many available and most are free.




Others are Notepad++, EditPlus and Ultra Edit. There is not a "best one" , they all have their own set of features. A lot of people just stick with Notepad in Windows and TextEdit on Macs. One of your tasks is to explore different text editors.


Sunday, July 17, 2016

Tasks

Respond to these tasks by writing any answers or code into your own blog. Please number your responses so they can be found.

1. Start your blog in Blogger. Write a sentence about yourself, with a graphic that represents you, say, a photo or something that you like. Remember the address of your blog. This is where all the feedback on tasks will be given.

2. Write a MS Word assignment called My Four Most Favorite Sites. Write about 50 words about each site and say why you like it. Include a screen shot of each site. Make the layout nice and put it in the Moodle drop-box by the closing date.

3. Checkout the Classroom Protocols PowerPoint in our Moodle site. Write about three aspects of the protocols that you consider are the most important. Three sentences are enough but you can do more. Add a picture.

4. Put a link in your blog to the w3schools HTML site with a screen shot.

5. What does HTML stand for. Paste in a few lines of HTML.

6. Define Tag, Element and Attribute. Give examples if you can.

7. What does this do:     <p> Hello world! </p>

8.  Copy this in to Notepad or TextWrangler and run it through a browser.


<html>
  <head>
    <title>My First Page</title>
  </head>
</html>

Where does the text "My First Page" appear?

9. Same as 8 but this time,  change the text to your name. Put your full HTML program into your blog.

10. Go to this pagehttp://www.w3schools.com/html/html_examples.asp) and run the example called "HTML document" from the HTML basic section. Run their example, think about the tags then alter their script in some interesting way. eg. include your name in the script somewhere. Run your new script and copy the HTML into your blog with a suitable comment.

11. Same as 10, but this time run the HTML headings script.

12. Same as 10, but this time run the HTML paragraphs script.


13. Do the exercise at the the bottom of the attributes page in w3 schools. Check out the answers in each of the five exercise and copy the correct HTML code into your blog with a small change to the code given. Comment on what change you have made. For instance say <!-- I changed the name of the picture. --> 

Technical writing.
14.1 Write 100 words or more about yourself, your educational history, what IT things you like and what sort of job you'd like. Hand in to your teacher.

14.2 Write 100 words or more about your cell phone. Technical description, what you use it for, how you got it, what are it's best and worst features and what you'd like to buy next.


14.3 Write 100 words or more about the computer you use at home. Give some technical details as well as how you came to have it, its advantages and limitations compared to others and what you use it for. Any tips, tricks and comments could be added too. Hand in on a piece of paper as well as put into your blog.

14.4 Write a hundred words or more on your favorite computer game. Why do you like it? Does it have a big following? Are there others like it? Any tips and tricks?

15.  Start preparing  your talk on an interesting tag by picking one that appeals to you and preparing a three (or more) page PowerPoint. Put your name and tag onto the Wiki in Moodle.

16.  Do an Internet search on at least two HTML Editors. Take a screen shot of each editor and write a comment on what people say about it and what you think too.

17. Write a simple script that includes the following tags : underline, italics and bold.

18. Write an HTML script that uses all the header tags <h1>, <h2>, ..., <h6>.


19. Write a script that will link to wikipedia's Dunedin page.

20. Links. Do the exercises on the bottom of this page and do some changes like above.

21. Images Create a little HTML page on the Rio Olympics that has three pictures and a little text. Zip it up, if there's more than one file, and put into  appropriate drop box.

22. Write a little web page on Otago Polytechnic. It should contain 4 images and each immager should have a title. It should also contain one link to an external website, and one internal link to the top or bottom of your page.

23. Revise HTML images on this page. Some of the theory on image maps is quite hard but it's worthwhile to slowly work through their examples. Then do the exercises at the bottom of the page making the usual small changes with your comment nearby.


24. Do the exercises on headings on this page making the usual small changes with a comment and put the answers into your blog. 

25. Paragraphs. Same as above but take the four exercises from this page  .

26. Write a small html script that will display an animated image of your favorite animal.

27) Find a good picture of the solar system with all the planets and make your own image map so that clicking on a planet gives a close-up of each planet with its name. Code in blog.

28) Same as above but this time your click should take you to the appropriate Wikipedia page. Code in blog.

29) Use a picture of the Otago Polytechnic campus to output a little message or go to a relevant website when you click on three different buildings.

30) Take the quackit example and change the area around the person to be a circle around his head. Put the code with comments into your blog.


31) Styles. Do the exercise in the styles page in the usual way.

32) Write a simple web page the uses background-color, color, font-family, font-size and text-align in one document.

33) Do the five formatting exercises on this page in the usual way.

34) Write a HTML sentence that uses bold, strong, italic, subscript, superscript, del and marked text.

35) Do the quotation exercises on this page in the usual way with little changes and comments.

36) Write a little HTML script that uses abbr, address, bdo, blockquote, cite and q.


37) Do the exercises on computer code in the usual way from this page.

38) Write some lines of code in Python, C or some other language and use the tags from the two pages above to format it nicely.

39) Do these questions from the board on colours:

40. Tables. Check out the w3 Schools page on HTML tables. Run any three examples on the page then make some interesting changes (words, colours, borders, fonts etc.)  and make sure the scripts work. Then copy these scripts into your blog with a comment about what you've changed. Just small changes are OK.

41. Look at this movie site on some popular movies of 2012. Make a table out of the top five giving the ranking and the number of stars this site awards each movie. Can you also copy out some of the graphics and put them on your page too?


42. Lists :  Do the exercise on the bottom of this page. Do the exercises and make sure you understand all the list elements. Make some small changes and display the changed HTML in your blog with a comment about what you've changed. 


43. Check out this page of lists. Find a list that interests you and make a web page that includes a table with at least 5 rows and two columns with headings and a caption on the table. Add at least two graphics.

44. Go back to the page of lists mentioned above and create an ordered list from it with 4 items.


Welcome



Welcome to our class, CT422 Professional Skills, second semester 2016. Here you'll learn skills that will give you an extra edge in IT.


Keep an eye on this blog and do the tasks in the tasks page. Do the answers to any questions, or written code in your own blog. Please put the answer number in your post.


So your first task is to create a blog in Blogger. When you have done this remember your blog address so it can be pasted into our wiki in Moodle.