FullCircleTechUK

69 posts

FullCircleTechUK

FullCircleTechUK

@FullCTechUK

Programming, IT news and Computer Science

Inscrit le Haziran 2021
1 Abonnements1 Abonnés
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
010 01101 011 00101 011 00101 011 11001 001 00000 010 11000 011 01101 011 00001 011 01110
0
0
0
0
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
Networking: Switch Layer 2 device Uses MAC Addresses Has a MAC Address Table. Used within LANs. A switch has multiple ports to connect multiple devices. Switch is at the centre of any Star Topology Network
English
0
0
0
0
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
Networking: The Router Layer 3 device! (Network Layer) Deals with IP addresses! Has a Router table to direct packets! Faces the Internet! Enables devices to access the internet and other WANs!
English
0
0
0
0
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
XOR continued... Lets work with two numbers 3 and 2 and apply XOR to swap the numbers around. x = 2 (010) y =3 (011) x = x XOR y 'Answer: 001 y = x XOR y 'Answer: 010 x = x XOR y 'Answer: 011 print x 'Displays 3 print y 'Displays 2 #coding #XOR #fullcircletechUk
English
0
0
0
0
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
Discovered a cool trick using the XOR function to Swap 2 numbers 🤗 XOR works by comparing the individual binary values that make up of both numbers. The XOR rule is as follows: 0 and 0 makes a 0 0 and 1 makes a 1 1 and 0 makes a 1 1 and 1 makes a 0
English
0
0
0
0
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
Network Topologies: Mesh: all devices are connected together. Star: Switch at the centre of a network. All devices connect to the Switch.
FullCircleTechUK tweet mediaFullCircleTechUK tweet media
English
0
0
0
0
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
Networking: MAC Address A unique MAC address is 'burnt' onto a Network interface card. Also known as NIC. MAC addresses are used when requesting or sending data to another device. A senders & destination MAC address is used by a SWITCH to direct the data to the correct device
English
0
0
0
0
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
Networking: Mac Address M.EDIA A.CCESS C.ONTROL A MAC address is made up of 48 bits, but these are represented by 12 Hexadecimal Values: 3322AA - FF4411 Each Hex value is made up of 4 bits 3 = 0011 3322AA 0011,0011,0010,0010,1010,1010
English
0
0
0
0
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
Networking: TCP IP Stack --> Recieving PC Link: Mac Addresses | Network: IP Addresses | Transport: TCP or UDP | Application:Protocols | V
English
0
0
0
0
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
Networking: TCP IP Stack Sending PC -> Application:Protocols | Transport: TCP or UDP | Network: IP Addresses | Link: Mac Addresses | V
English
0
0
0
0
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
Networking: accessing a website on the internet PC --> router -->DNS DNS translate web address to IP address. Using its database. DNS --> Router --> PC --> Website If website is unknown to DNS: DNS --> Other DNS --> Webserver. Webserver --> DNS Updates DNS Database
English
0
0
0
0
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
Networking: IP Address Made up of 4 Octets 10.0.0.1 Each Octet is made up of 8 bits. 00001010. (10) 00000000. (0) 00000000. (0) 00000001 (1) IP addresses can be Public (on the Internet) or Private (on a network, not on the internet.)
English
0
0
0
0
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
This tweet will be broken down into packets and sent to a Twitter server. A packet contains: 1.Senders IP address 2.Destination IP address 3.Sequence Number ?/? 4.TimeToLive (Hop count) 5.Error checking & more importantly.... The payload (the data)
English
0
0
0
0
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
import time numbers (2,4,6,8) for x in numbers: print (x) time.sleep (1) ‐ - - - - - - - - - - - - - - - - - - - - 2 'Pause 4 'Pause 6 'Pause 8 'Pause ‐ - - - - - - - - - - - - - - - - - - - - #pythonprogramming #pythoncode #python #python試験
English
0
1
0
0
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
IsItRaining = input(' Y or N?') Yanswer =('y','Y') if IsItRaining in Yanswer: print ('Welcome to the UK') ‐ - - - - - - - - - - - - - - - - - - - Y or N ? y Welcome to the UK ‐ - - - - - - - - - - - - - - - - - - - #pythonprogramming #pythoncode #python #python試験
English
0
2
1
0
FullCircleTechUK
FullCircleTechUK@FullCTechUK·
Num=input('Enter a num? ') if num%2 == 0: print('Even Number') else: print('Odd Number') - - - - - - - - - - - - - - - - - - - - - - Enter a num? 6 Even Number - - - - - - - - - - - - - Enter a num? 5 Odd Number - - - - - - - - - - - - - - - - - - - - - - #Python #Modulo
English
0
0
0
0