Monday, March 19, 2012

Sound files in Database

Today in class I told Mr Cavill about my issues with completing the sound recording activity and asked him to show me the simplest way to insert a music file into a database. He said basically, in design view you name type column e.g. Sample and then go to datasheet view and drag the music file into the row desired. This gave me a heading saying “Package” and sir asked me to click it and observe what it did. It opened windows media player and opened the file. So I asked him if there was a neater way of letting the viewer play the file and then I asked if that was what the adding buttons to a form was the relating theory task and he said yes. I am now going to give that a try as we had inserted an image into a database lessons prior to this. 1,2,3.

Wednesday, March 14, 2012

Bits and Bytes

1. What is a digit? 
A digit is a single place that can hold numerical values between 0 and 9. Digits are normally combined together in groups to create larger numbers. For example, 6,357 has four digits. It is understood that in the number 6,357, the 7 is filling the "1s place," while the 5 is filling the 10s place, the 3 is filling the 100s place and the 6 is filling the 1,000s place. So you could express things this way if you wanted to be explicit:
(6 * 1000) + (3 * 100) + (5 * 10) + (7 * 1) = 6000 + 300 + 50 + 7 = 6357
2.
What is the base-10 system?
When working in base 10, ten different digits 0, ..., 9 are used and the position of a digit is used to signify the power of ten that the digit is to be multiplied with, as in 304 = 3×100 + 0×10 + 4×1.

3. Where does the word bit come from?
The word bit is a shortening of the words "Binary digIT."

4. 4321 would be written as (4*1000) + (3*100) + (2*100) + (1*1) = 4000 + 300 + 20 + 1 = 4321

5.  Write the following numbers in binary (base 2)
21 = (1*2^4) + 0*2^3) + (1*2^2) + (0*2^1) + (1*2^0) = 16 + 4 + 1 = 21
24 = (1*2^4) + (1*2^3) + (0*2^2) + (0*2^1) + (0*2^0) = 16 + 8 = 24
30 =  (1*2^4) + (1*2^3) + (1*2^2) + (1*2^1) + (0*2^0) = 16 + 8 + 4 + 2 = 30
Mr. Cavill assisted me in understanding the binary system. (base-2)


Creating a form

I was reading through the activity of creating a form when i realised that the previous data types database which i created was already in a form. So i skipped this activity and moved onto the next one.

Tuesday, March 13, 2012

Data types

I completed the data types activity today with the assistance of Clare T. Here are the snapshots of it. :)

Monday, March 12, 2012

Class

Today Mr. Cavill explained our assessmemt task to us and answered all our questions. He also mentioned that we shouldnt make it TOO complicated,as we didnt have much time to it. It is due in week 10 and I plan to start by this weekend.

Monday, March 5, 2012

Sunday, March 4, 2012

Querying a database

After completing all the steps, I have the displayed are the results of my query.

 What sort of information has the query selected?
The query selected all products with a unit price of $10.


I asked for Mr. Cavill's assistance in class, so he told me toe nter another value in the criteria row of the cost column. (with a greater than symbol). I entered >12


What sort of information has this second query selected? My seccond information selected all the products with a unit price of greater than $12.


I then selected to ascend my query, where it ordered the products from cheapest to most expensive, but still within my query rang i.e. >12