Showing posts with label Computing. Show all posts
Showing posts with label Computing. Show all posts
Wednesday, 8 June 2011
Packet Switching - Exact Definition
Divides messages into packets and send each packet individually. The interent is based on a pcket-switching protocal.
Circuit Switching - Exact Definition
A type of communications in which a dedicated channel (or circuit) is established for the duration of a transmission. The most ubiquitous circuit-switching network is the telephone system, which links together wire segments to create a single unbroken line for each telephone call.
Protocol - Exact Definition
Unwritten rules or guidelines that are peculiar to every culture or organization, and are supposed to be observed by all parties in the conduct of buisness, entertaining, negotiating, politics, etc.
Wednesday, 16 March 2011
9.1 Code
Private Sub hsbRed_Scroll (...) Handles hsbRed.Scroll
Me.BackColor = ColorTranslator.FromO1e(RGB(hsbRed.Value, hsbGreen.Value, hsbBlue.Value.))
End Sub
---------------------------------------------------------------------------------------------------------Private Sub hsbGreen_Scroll (...) Handles hsbGreen.Scroll
Me.BackColor = ColorTranslator.FromO1e(RGB(hsbRed.Value, hsbGreen.Value, hsbBlue.Value.))
End Sub
---------------------------------------------------------------------------------------------------------Private Sub hsbBlue_Scroll (...) Handles hsbBlue.Scroll
Me.BackColor = ColorTranslator.FromO1e(RGB(hsbRed.Value, hsbGreen.Value, hsbBlue.Value.))
End Sub
---------------------------------------------------------------------------------------------------------Private Sub hsbBlue_scroll (ByVal sender As System. Object, ByVal e As System.Windows.For (...)
Call ShowFormColour( )
End Sub
---------------------------------------------------------------------------------------------------------Sub ShowFormColour( )
End Class
---------------------------------------------------------------------------------------------------------Me.BackColor = ColorTranslator.FromO1e(RGB(hsbRed.Value, hsbGreen.Value, hsbBlue.Value))
---------------------------------------------------------------------------------------------------------Private Sub hsbRed_Scroll (...) Handles hsbRed.Scroll
Call ShowFormColour( )
End Sub
---------------------------------------------------------------------------------------------------------Private Sub hsbRed_Scroll (...) Handles hsbRed.Scroll
Call ShowFormColour( )
End Sub
---------------------------------------------------------------------------------------------------------Private Sub hsbRed_Scroll (...) Handles hsbRed.Scroll
Call ShowFormColour( ) ---------------------------------------------------------------------------------------------------------
Me.BackColor = ColorTranslator.FromO1e(RGB(hsbRed.Value, hsbGreen.Value, hsbBlue.Value.))
End Sub
---------------------------------------------------------------------------------------------------------Private Sub hsbGreen_Scroll (...) Handles hsbGreen.Scroll
Me.BackColor = ColorTranslator.FromO1e(RGB(hsbRed.Value, hsbGreen.Value, hsbBlue.Value.))
End Sub
---------------------------------------------------------------------------------------------------------Private Sub hsbBlue_Scroll (...) Handles hsbBlue.Scroll
Me.BackColor = ColorTranslator.FromO1e(RGB(hsbRed.Value, hsbGreen.Value, hsbBlue.Value.))
End Sub
---------------------------------------------------------------------------------------------------------Private Sub hsbBlue_scroll (ByVal sender As System. Object, ByVal e As System.Windows.For (...)
Call ShowFormColour( )
End Sub
---------------------------------------------------------------------------------------------------------Sub ShowFormColour( )
End Class
---------------------------------------------------------------------------------------------------------Me.BackColor = ColorTranslator.FromO1e(RGB(hsbRed.Value, hsbGreen.Value, hsbBlue.Value))
---------------------------------------------------------------------------------------------------------Private Sub hsbRed_Scroll (...) Handles hsbRed.Scroll
Call ShowFormColour( )
End Sub
---------------------------------------------------------------------------------------------------------Private Sub hsbRed_Scroll (...) Handles hsbRed.Scroll
Call ShowFormColour( )
End Sub
---------------------------------------------------------------------------------------------------------Private Sub hsbRed_Scroll (...) Handles hsbRed.Scroll
Call ShowFormColour( ) ---------------------------------------------------------------------------------------------------------
9.4 Code
Public Class Form1
Private Sub btnNewName_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNewName.Click
Dim Name, NewName As String
Name = txtname.Text
NewName = UpperCaseFirstLetter(Name)
lblNewName.Text = NewName
End Sub
End Class
- - - - - - - - - - - - - - -
Module Module1
Function UpperCaseFirstLetter(ByVal OldString As String) As String
Dim FirstLetter As Char
Dim NewString As String
FirstLetter = Char.ToUpper(OldString.Substring(0, 1))
Mid(OldString, 1, 1) = FirstLetter
NewString = OldString
Return NewString
End Function
End Module
Private Sub btnNewName_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNewName.Click
Dim Name, NewName As String
Name = txtname.Text
NewName = UpperCaseFirstLetter(Name)
lblNewName.Text = NewName
End Sub
End Class
- - - - - - - - - - - - - - -
Module Module1
Function UpperCaseFirstLetter(ByVal OldString As String) As String
Dim FirstLetter As Char
Dim NewString As String
FirstLetter = Char.ToUpper(OldString.Substring(0, 1))
Mid(OldString, 1, 1) = FirstLetter
NewString = OldString
Return NewString
End Function
End Module
Sunday, 13 March 2011
Wiki, Blog, Microblog, RSS
- Wiki
-These websites can be edited and saved by any person in the world and all the information is compiled as a database of information.
-An example of a wiki, and the most well known wiki is Wikipedia
- Blog
-Blogs usually allow for people to place comments and to rate other peoples blogs.
-An example of a blogging website would be Blogger.com
- Microblog
-It is mainly used to give small and quick updates to friends and followers
-An example of this would be Twitter.com
- RSS
-An example of RSS is blog entries, news headlines, audio and video
Wednesday, 9 March 2011
Computing Mid-Term Test
Today i had a test on Chapters 1 and 2 and i found it pretty difficult but i think i got around 20/32
Tuesday, 8 March 2011
Types of Operating Systems
- Real Time Operating Systems - Used to control machinery, scientific instruments and industrial systems.
- Single User, Single Task - Used to manage the computer so that one user can effectively do one thing at a time.
- Signle User, Multi Tasking - This is the most common type of operating system used on Desktops and Laptops. An example is microsoft windows which lets the user access many different more than one program at once.
- Multi User - Allows many people to access a computer at the same time and use different programs.
Thursday, 3 March 2011
Purpose of Operating Systems
An operating system is a system that allows the computer to communicate with the harddrive. Without this you would not be able to tell the computer what to do and the computer would not have any instructions to follow.
Wednesday, 2 March 2011
Applications
Three different types of Applications
Commen Applications - eg IPhoto, MYOB
Generic Applications - eg Word, Powerpoint, Excel, etc
Custom Applications - eg For a unique scenario, for one task/purose
Commen Applications - eg IPhoto, MYOB
Generic Applications - eg Word, Powerpoint, Excel, etc
Custom Applications - eg For a unique scenario, for one task/purose
CPU & Hard Drive
CPU is running at such an incredible speed that it can not talk to a Hard Drive.
This is because it is like a person in a jet plane (CPU) trying to talk to someone on a bicycle (Hard Drive).
This is because it is like a person in a jet plane (CPU) trying to talk to someone on a bicycle (Hard Drive).
Monday, 21 February 2011
Definition of Array:
An array is a data structure that stores as many items as you require using a single variable.
Sunday, 20 February 2011
The 3 Types Of Loop.
There are 3 types of loop:
- For Loop
- While Loop
- Do-While Loop
For Loop - This is a Loop that 'Repeats a specified number of times'
While Loop - A while loop is 'A loop that repeats while some condition is satisfied', This loop tests the condition only at the begining of the loop.
Do-While Loop - This is a loop that 'repeats while some condition is satisfied', differs from a While Loop because a Do-While loop tests the condition at the end of the loop.
Subscribe to:
Posts (Atom)