Write down a list of instructions for someone who is not in the class to tell them how to perform a linear and binary search.
Linear sort, this is when you sort through a list of ordered numbers until you find what you need.
Binary sort, this is wen you cut the list in half and the sort through the unordered nubers
Linear
-Look at people
-Ask for their names
-Compare to register item
-If a name isn't called but is on register, they aren't in
Mylist = (1,2,3,4,5,6,7)
i = 7
i - 1 until = 7
Binary
Mylist = (1,3,2,9,7,8,5)
i = 7
i - i/2
if mylist is in i stop sort
else ,loop
Computer Science
Wednesday, April 24, 2019
Monday, February 4, 2019
Networking
What are packets of data? They are units of data that travels to the destination using networks.
Why do we need packets of data? They make it easier to transport the data through the networks by changing it to binary.
Key Protocols
TCP/IP: It's used to interconnect network devices on the internet it can also be used as a communications protocol in a private network .
HTTP: This is used by the world wide web and this protocol defines how messages are formatted and transmitted.
HTTPS: The 'S' at the end of HTTPS stands for 'Secure'. It means all communications between your browser and the website are encrypted.
FTP: Is a standard network protocol used for the transfer of computer files between a client and server.
POP: This is a standard protocol that extracts and retrieves email from a remote mail server for access by the host machine.
IMAP: Imap is used by email clients to retrieve email messages from a mail server over a TCP/IP connection.
SMTP: SMTP is used when email is delivered from an email client, such as Outlook Express, to an email server or when email is delivered from one email server to another.
Why do we need packets of data? They make it easier to transport the data through the networks by changing it to binary.
Key Protocols
TCP/IP: It's used to interconnect network devices on the internet it can also be used as a communications protocol in a private network .
HTTP: This is used by the world wide web and this protocol defines how messages are formatted and transmitted.
HTTPS: The 'S' at the end of HTTPS stands for 'Secure'. It means all communications between your browser and the website are encrypted.
FTP: Is a standard network protocol used for the transfer of computer files between a client and server.
POP: This is a standard protocol that extracts and retrieves email from a remote mail server for access by the host machine.
IMAP: Imap is used by email clients to retrieve email messages from a mail server over a TCP/IP connection.
SMTP: SMTP is used when email is delivered from an email client, such as Outlook Express, to an email server or when email is delivered from one email server to another.
Monday, September 17, 2018
Subscribe to:
Comments (Atom)