Skip to main content

DAY 3 - JULY 22

GITHUB FOR TASK SUBMISSION

May be Next week they have a separate session for GITHUB Beginners.


INTERNET PROTOCOL

In general Protocol means set of rules.

Internet protocols have a set of rules for transmission of data using Internet

Normally whatever data we are transferring through internet it will divided into packets and received at receiver end after that those packets are assembled and displayed for Receiver

These happen either by  TCP (TRANSMISSION CONTROL PROTOCOL) or  UDP (USER DATAGRAM PROTOCOL)


TCP (TRANSMISSION CONTROL PROTOCOL)

Connection Oriented   --> 3 step process

Handshake  --   Synchronization  -- Acknowledgement

Handshake in sense establishing connection with the receiver after that it will check whether all the packets are received and  rearrange them(synchronization) then it will send the acknowledgement to the sender.
if any pockets missed then it will send acknowledgement that it need to send once again similarly if itsperfect for that too its send acknowldgement

Reliable

Slower than UDP because it need to do the three step process so its take some extra time

UDP (USER DATAGRAM PROTOCOL)

Connection Less Protocol  --> Never synchronize/Acknowledge

Not reliable

Faster than TCP

HTTP / HTTPS

HTTP  - HyperTextTransferProtocol

HTTPS -  HyperTextTransferProtocolSecured

HTTP/HTTPS are the protocols used in web.Maximum they use TCP method.TCP  is responsible for transmission of data and HTTP is responsible presenting that data to the end user.In addition to presenting HTTPS will take care of security also.


IP ADDRESS & MAC ADDRESS

MAC ADDRESS  --  Physical Address of a device whenever the company manufacture the device (Laptop/Pc) it will give a separate MAC address for each device to identify the device.This one is fixed

IP ADDRESS -- IP address will be provided by Internet Provider. Its varaiable depend upon the service provider.And it helps to locate the address of the Device

MAC & IP address are simillar to phone IMEI No and Phone No

MYTH
The same IP address will be used by more than one device

FACT

The same IP address will be used by more than one device but not at the same time .If suppose i gets logout from the internet then that particular IP address will be given to the other device but not at the same time when i am working.If suppose multiple devices are connected with WiFi and working at the same time every devices will get different IP address only

REST COUNTRIES JSON SIMPLE TASK

Comments

Popular posts from this blog

CODEKATA BITWISE

Given a number N and an array of N elements, find the Bitwise XOR of the array elements. Input Size : N <= 100000 Sample Testcase : INPUT 2 2 4 OUTPUT 6   // ONE TESTCASE PASSED const   readline  =  require ( "readline" ); const   inp  =  readline . createInterface ({    input :   process . stdin }); const   userInput  = []; inp . on ( "line" , ( data )  =>  {    userInput . push ( data ); }); inp . on ( "close" , ()  =>  {    var   N  =  Number ( userInput [ 0 ]);    var   str  = String ( userInput [ 1 ])    var   arr  =  str . split ( ' ' ). map (( val ) => Number ( val ))       var   first  =  arr [ 0 ]       for ( i = 1 ; i < N ; i ++)   {  first  = first ^ arr [ i ]}    console . log ( first ...

DATA BASE

  DATA BASE Backend deals with Server and Data Base CLOUD COMPUTING Cloud – Cloud Computing -- Rented Computer Service Ram, Processor, OS, Storage WHY WE PREFER CLOUD COMPUTING 1. Capital Investment (at initial stage renting is better than purchasing) 2. Maintenance Problem (Power Backup, Hard Disk, Upgrade) 3. Easily Swappable (Scale Up & Scale Down) (festival time ecommerce need extra storage and facilities after that it may need less, College websites during exam time (E.g)   Anna university website ,recent time – income tax website – pan card & aadhar card linking) 4.   Don’t need any separate place to keep those Systems. TOP COMPANIES AWS – Amazon Web Service - Netflix GCP – Google Cloud Platform Azure - Microsoft Azure WHY LINUX PREFERRED THAN OTHER OS Linux, Windows, Mac 1. Open Source 2.   Secure than Windows & Mac. 3. Command Line Usage In the Linux OS, the command line is a very handy and powerful tool used for...

DAY 15 - AUG 08

  DOM – DOCUMENT OBJECT MODE   HTML DOC –Browser – Browser Engine(html parser) – DOM   Tree structure takes less time for searching that’s why we prefer tree structure in DOM. Why we prefer object model? Object model means OOPS concept based it have features like data abstraction, encapsulation…. Window   -- Window is the default thing available in the Browser’s JavaScript Engine. Document -- Document is property of Window Screen – Physical dimension of   the browser   Draw some sampl tree We can create html with the help of tag and make it dynamic(to do some action) by adding   javascript   using script tag then why specifically we need this dom à Will understand in future classes that we can’t do something directly with the tag.   DOM MANIPULATION   var element =document.createElement(‘tag’) Element.setAttribute(“attribute”,”name”) If we have morethan one same attribute for the element we can’t use s...