Friday 23 June 2017


WHAT IS COMPUTER NETWOR

    
A computer network is a system in which multiple computers are connected to each 
 other to share information and resources. 
                   
Characteristics of a computer network 

•Share Resources from one computer to   another 
•Create files and store them in one computer, access those files from the other computer(s) 
 connected over the network 
•Connect a printer, scanner, or a fax machine to  one  computer  within  the  network  and  let 
 other   computers  of   the   network   use   the  machines available over network. 
  
                  
   Data communications 

•Data       communications       refers   to       the   transmission of this digital data between two 
  or more computers and a computer network   or   data   network  is   a   telecommunications 
  network  that  allows  computers  to  exchange   data. Data communications 

•The  physical  connection  between  networked  computing devices is established using either 
 cable  media  or  wireless  media.  The   best- known computer network is the Internet. 
 Classification of Computer Networks 

•A  system  of  interconnected  computers  and   computerized  peripherals  such  as  printers  is 
  called            computer            network.            This   interconnection  among  computers  facilitates 
  information sharing among them. Computers   may connect to each other by either wired or 
  wireless media. 
   
    Classification of Computer Networks                        

•Computer networks are classified based on  various factors.  They includes: 
•Geographical span 
•Inter-connectivity 
•Administration 
•Architecture 
  
           
   Geographical Span 

•Geographically a network can be seen in one of the  following categories: 
•It may be spanned across your table, among Bluetooth   enabled devices,. Ranging not more 
than few meters. 
•It may be spanned across a whole building, including   intermediate devices to connect all floors. 
•It may be spanned across a whole city. 
•It may be spanned across multiple cities or provinces. 
•It may be one network covering whole world. 
   
             
Inter-Connectivity 

 •Components of a network can be connected to  each   other   differently  in  some   fashion.  By 
  connectedness  we    mean    either    logically    ,   physically , or both ways. 
•Every single device can be connected to every   other device on network, making the network 
  mesh. 
•All devices can be connected to a single medium   but geographically disconnected, created buslike 
  structure. 
•Each device is connected to its left and right   peers only, creating linear structure. 
•All devices connected together with a single   device, creating star like structure. 
•All devices connected arbitrarily using all   previous ways to connect each other, resulting 
  in a hybrid structure. 
   
             
 Administration 

 •From  an  adiistrator’s   point  of   view,   a   network    can  be    private    network    which 
  belongs   a   single   autonomous   system   and   cannot  be  accessed  outside  its  physical  or 
  logical domain. A network can be public which   is accessed by all. 
   
                       
 Network Architecture 
•Computer networks can be discriminated into   various  types  such  as  Client-Server,  peer-to-
  peer   or     hybrid,     depending     upon   its   architecture.
•There can be one or more systems acting as   Server. Other being Client, requests the Server 
  to serve requests . Server takes and processes   request on behalf of Clients. 
   
•Two systems can be connected Point-to-Point, or in back-to-back fashion. They both reside at 
 the same level and called peers. 
•There can be hybrid network which involves  network architecture of both the above types. 
  
          Network Applications 

                        

•Computer     systems     and     peripherals     are connected to form a network . They provide 
 numerous advantages: 
•Resource sharing such as printers and storage  devices 
•Exchange of information by means of e-Mails  and FTP 
•Information sharing by using Web or Internet 
•Interaction with other users using dynamic  web pages 
•IP phones 
•Video conferences 
•Parallel computing 
•Instant messaging 
        
          Geographical Span 
•Generally,  networks  are  distinguished  based   on their geographical span. A network can be 
  as  small  as  distance  between  your  mobile   phone  and  its  Bluetooth  headphone  and  as 
  large as the internet itself, covering the whole   geographical world, 
   
        
   Personal Area Network 

 •A  Personal  Area  Network  (PAN)  is  smallest  network  which  is  very  personal  to  a  user.  This  
may  include   Bluetooth    enabled    devices  or    infra-red    enabled   devices. PAN has connectivity 
range up to 10 meters.   PAN  may  include  wireless  computer  keyboard  and   mouse,    Bluetooth
   enabled    headphones,    wireless   printers and TV remotes. 
•For  example,  Piconet  is  Bluetooth-enabled  Personal   Area  Network  which  may  contain  up  to  8  devices   connected together in a master-slave fashion. Personal Area Network 
            Local Area Network 
•A  computer  network  spanned  inside  a  building   and operated under single administrative system 
  is generally termed as Local Area Network (LAN).   Usually  ,  LAN  covers  an  orgaizatio’  offices, 
  schools, colleges or universities.  
•LAN   provides   a   useful   way  of   sharing   the   resources  between  end  users  .  The  resources 
  such  as   printers,   file   servers,   scanners,   and   internet are easily sharable among computers. 
 •LANs are composed of inexpensive networking and routing equipment. It may contains local 
 servers serving file storage and other locally  shared  applications.  It  mostly  operates  on 
 private  IP  addresses  and  does  not  involve  heavy routing. LAN works under its own locl 
 domain and controlled centrally. 
  
•LAN    uses    either    Ethernet  or    Token-ring technology. Ethernet is most widely employed 
  LAN technology and uses Star topology, while   Token-ring is rarely seen. 
•LAN can be wired , wireless, or in both forms 
  at once. 
   
                        
       Metropolitan Area Network 
•The    Metropolitan    Area    Network    (MAN)   generally  expands  throughout  a  city  such  as 
  cable  TV  network.  It  can  be  in  the  form  of   Ethernet     ,     Token-ring,     ATM,   or     Fiber 
  Distributed Data Interface (FDDI). 
   •Metro Ethernet is a service which is provided by ISPs. This service enables its users to expand their 
  Local Area Networks. For example, MAN can help   an organization to connect all of its offices in a 
  city.  
•Backbone  of  MAN  is  high-capacity  and  high-  speed fiber optics. MAN works in between Local 
  Area  Network  and  Wide  Area  Network.  MAN   provides uplink for LANs to WANs or internet. 
   

                   Wide Area Network  

                        

•As the name suggests, the Wide Area Network  (WAN)  covers  a  wide  area  which  may  span 
 across  provinces  and  even  a  whole  country.  Generally,   telecommunication   networks   are 
 Wide Area Network. These networks provide  connectivity to MANs and LANs. Since they are  
equipped  with   very  high  speed  backbone,  WANs use very expensive network equipment. 
  •WAN may use advanced technologies such as Asynchronous  Transfer  Mode  (ATM),  Frame 
 Relay,    and    Synchronous    Optical    Network  (SONET). WAN may be managed by multiple 
 administration. 
               
                          Internetwork 

                           
•A network of networks is called an internetwork,   or simply the internet. It is the largest network in 
  existence  on  this  planet  .  The  internet  hugely   connects all WANs and it can have connection to 
  LANs and  Home networks. Internet uses TCP/IP   protocol   suite   and   uses  IP  as   its   addressing 
  protocol.     Present     day,     Internet   is     widely   implemented using IPv4. Because of shortage of 
  address spaces, it is gradually migrating from IPv4   to IPv6. 
 •Internet enables its users to share and access enormous amount of information worldwide. 
  It uses WWW, FTP, email services, audio and   video  streaming  etc.  At  huge  level,  internet 
  works on Client-Server model. Internet  uses  very  high  speed  backbone  of   fiber      optics.
  To      inter-connect      various   continents, fibers are laid under sea known to 
  us as submarine communication cable. 
   •Internet  is  widely  deployed  on  World  Wide  Web services using HTML linked pages and is 
 accessible  by  client  software  known  as  Web Browsers. When a user requests a page using 
 some  web  browser  located  on  some  Web  Server anywhere in the world, the Web Server 
 responds  with  the  proper  HTML  page.  The  communication delay is very low. 
  •Internet is serving many proposes and is involved  in many aspects of life. Some of them are: 
•Web sites 
•E-mail 
•Instant Messaging 
•Blogging 
•Social Media 
•Marketing 
•Networking 
•Resource Sharing 
•Audio and Video Streaming 
   
                                           RING Topology
•It is called ring topology because it forms a  ring as each computer is connected to another  computer, 
with the last one connected to the  first. Exactly two neighbors for each device.RING 
     
                                                              Features of Ring Topology
•A number of repeaters are used for Ring topology with large  number of nodes, because if someone
wants to send some data to  the last node in the ring topology with 100 nodes, then the data will 
 have to pass through 99 nodes to reach the 100th node. Hence to  prevent data loss repeaters are used 
in the network.

•The transmission is unidirectional, but it can be made bidirectional  by having 2 connections between 
each Network Node, it is  called Dual Ring Topology.

•In Dual Ring Topology, two ring networks are formed, and data flow  is in opposite direction in them.
Also, if one ring fails, the second  ring can act as a backup, to keep the network up.

•Data is transferred in a sequential manner that is bit by bit. Data  transmitted, has to pass through each 
node of the network, till the  destination node.
                                                    •Advantages of Ring Topology
•Transmitting network is not affected by high traffic or  by adding more nodes, as only the nodes having tokens 
 can transmit data.
•Cheap to install and expand
•Disadvantages of Ring Topology
•Troubleshooting is difficult in ring topology.
•Adding or deleting the computers disturbs the network 
 activity.
•Failure of one computer disturbs the whole network.
                     
                                             MESH Topology
•It is a point-to-point connection to other nodes or  devices. All the network nodes are connected to each 
 other. Mesh has n(n-2)/2 physical channels to  link n devices.
•There are two techniques to transmit data over the 
 Mesh topology, they are :
•Routing
•Flooding
•Routing
•In routing, the nodes have a routing logic, as per the  network requirements. Like routing logic to direct the 
 data to reach the destination using the shortest  distance. 
•Flooding
•In flooding, the same data is transmitted to all  the network nodes, hence no routing logic is 
 required. The network is robust, and the its  very unlikely to lose the data. But it leads to 
 unwanted load over the network.
                                                  Types of Mesh Topolog
Partial Mesh Topology : In this topology some of the systems 
 are connected in the same fashion as mesh topology but 
 some devices are only connected to two or three devices.

Full Mesh Topology: Each and every nodes or devices are 
 connected to each other.

                                                                             Features of Mesh Topology•Fully connected.
•Robust.
•Not flexible.
Advantages of Mesh Topology
•Each connection can carry its own data load.
•It is robust.
•Fault is diagnosed easily.
•Provides security and privacy.
Disadvantages of Mesh Topology
•Installation and configuration is difficult.
•Cabling cost is more.
•Bulk wiring is required.
                                                                     TREE TOPOLOGY
•It has a root node and all other nodes are 
 connected to it forming a hierarchy. It is also 
 called hierarchical topology. It should at least 
 have three levels to the hierarchy.
TREE
       Features of Tree Topology
•Ideal if workstations are located in groups.
•Used in Wide Area Network.
 Advantages and Disadvantages Advantages
Extension of bus and star topologies.
•Expansion of nodes is possible and easy.
•Easily managed and maintained.
•Error detection is easily done.
•Disadvantages
•Heavily cabled.
•Costly.
•If more nodes are added maintenance is difficult.
•Central hub fails, network fails.
                                                           
                                                                   HYBRID Topology
•It is a mixture of two or more topologies. For  example if in an office in one department ring  topology is used 
and in another star topology  is used, connecting these topologies will result  in Hybrid Topology 
(ring topology and star 
 topology).
  Features of Hybrid Topology
•It is a combination of two or topologies
•Inherits the advantages and disadvantages of the topologies included
BUS and TREE 
Advantages of Hybrid Topology
Reliable as Error detecting and trouble shooting is easy.
Effective.
Scalable as size can be increased easily.
Flexible.

Disadvantages of Hybrid Topology
Complex in design.
Costly.

Thursday 22 June 2017

         How to print string


<php

echo "<h2>PHP is Fun!</h2>";
echo "Hello world!<br>";
echo "I'm about to learn PHP!<br>";
echo "This ", "string ", "was ", "made ", "with multiple parameters.";

?>

          Variables in PHP


<php

$txt = "Hello world!";
$x = 5;
$y = 10.5;
?>


                    PHP Variables Scope

In PHP, variables can be declared anywhere in the script.
The scope of a variable is the part of the script where the variable can be referenced/used.
PHP has three different variable scopes:
local
global
static

               First program in PHP


<!DOCTYPE html>
<html>
<body>
<h1>My first PHP page</h1><?php
echo "Hello World!";
?>
</body>
</html>

                                     Wha is PHP


  • PHP is an acronym for "PHP: Hypertext Preprocessor"
  • PHP is a widely-used, open source scripting language
  • PHP scripts are executed on the server
  • PHP is free to download and use


PHP is a server-side scripting language designed primarily for web development but also used as a general-purpose programming language. Originally created by Rasmus Lerdorf in 1994,[4] the PHP reference implementation is now produced by The PHP Development Team.[5] PHP originally stood for Personal Home Page,[4] but it now stands for the recursive acronym PHP: Hypertext Preprocessor.[6]

PHP code may be embedded into HTML or HTML5 markup, or it can be used in combination with various web template systems, web content management systems and web frameworks. PHP code is usually processed by a PHP interpreter implemented as a module in the web server or as a Common Gateway Interface (CGI) executable. The web server software combines the results of the interpreted and executed PHP code, which may be any type of data, including images, with the generated web page. PHP code may also be executed with a command-line interface (CLI) and can be used to implement standalone graphical applications.[7]

The standard PHP interpreter, powered by the Zend Engine, is free software released under the PHP License. PHP has been widely ported and can be deployed on most web servers on almost every operating system and platform, free of charge.[8]

The PHP language evolved without a written formal specification or standard until 2014, leaving the canonical PHP interpreter as a de facto standard. Since 2014 work has gone on to create a formal PHP specification.[

Wednesday 21 June 2017

Top Programming Languages & their Creators









All Full Form's

                                     Full Form's


1. PAN - permanent account number.

2. PDF - portable document format.

3. SIM - Subscriber Identity Module.

4. ATM - Automated Teller machine.

5. IFSC - Indian Financial System Code.

6. FSSAI(Fssai) - Food Safety & Standards Authority of India.

7. Wi-Fi - Wireless fidelity.

8. GOOGLE - Global Organization Of Oriented Group Language Of Earth.

9. YAHOO - Yet Another Hierarchical Officious Oracle.

10. WINDOW - Wide Interactive Network Development for Office work Solution.

11. COMPUTER - Common Oriented Machine. Particularly United and used under Technical and Educational Research.

12. VIRUS - Vital Information Resources Under Siege.

13. UMTS - Universal Mobile Telecommunicati ons System.

14. AMOLED - Active-matrix organic light-emitting diode.

15. OLED - Organic light-emitting diode.

16. IMEI - International Mobile Equipment Identity.

17. ESN - Electronic Serial Number.

18. UPS - Uninterruptible power supply.

19. HDMI - High-Definition Multimedia Interface.

20. VPN - Virtual private network.

21. APN - Access Point Name.

22. LED - Light emitting diode.

23. DLNA - Digital Living Network Alliance.

24. RAM - Random access memory.

25. ROM - Read only memory.

26. VGA - Video Graphics Array.

27. QVGA - Quarter Video Graphics Array.

28. WVGA - Wide video graphics array.

29. WXGA - Widescreen Extended Graphics Array.

30. USB - Universal serial Bus.

31. WLAN - Wireless Local Area Network.

32. PPI - Pixels Per Inch.

33. LCD - Liquid Crystal Display.

34. HSDPA - High speed down-link packet access.

35. HSUPA - High-Speed Uplink Packet Access.

36. HSPA - High Speed Packet Access.

37. GPRS - General Packet Radio Service.

38. EDGE - Enhanced Data Rates for Globa Evolution.

39. NFC - Near field communication.

40. OTG - On-the-go.

41. S-LCD - Super Liquid Crystal Display.

42. O.S - Operating system.

43. SNS - Social network service.

44. H.S - HOTSPOT.

45. P.O.I - Point of interest.

46. GPS - Global Positioning System.

47. DVD - Digital Video Disk.

48. DTP - Desk top publishing.

49. DNSE - Digital natural sound engine.

50. OVI - Ohio Video Intranet.

51. CDMA - Code Division Multiple Access.

52. WCDMA - Wide-band Code Division Multiple Access.

53. GSM - Global System for Mobile Communications.

54. DIVX - Digital internet video access.

55. APK - Authenticated public key.

56. J2ME - Java 2 micro edition.

57. SIS - Installation source.

58. DELL - Digital electronic link library.

59. ACER - Acquisition Collaboration Experimentation Reflection.

60. RSS - Really simple syndication.

61. TFT - Thin film transistor.

62. AMR- Adaptive Multi-Rate.

63. MPEG - moving pictures experts group.

64. IVRS - Interactive Voice Response System.

65. HP - Hewlett Packard.

Do we know actual full form of some words??? 

66. News paper = 
North East West South past and present events report.

67. Chess =
Chariot, Horse, Elephant, Soldiers.

68. Cold =
Chronic Obstructive Lung Disease.

69. Joke =
Joy of Kids Entertainment.

70. Aim =
Ambition in Mind.

71. Date =
Day and Time Evolution.

72. Eat =
Energy and Taste.

73. Tea =
Taste and Energy Admitted.

74. Pen =
Power Enriched in Nib.

75. Smile =
Sweet Memories in Lips Expression.

76. etc. =
End of Thinking Capacity

77. OK =
Objection Killed

78. Or =
Orl Korec (Greek Word)

79. Bye =♥
Be with you Everytime.


History of C Language

                                                               History of C


C is a general-purpose high level language that was originally developed by Dennis Ritchie for the Unix operating system. It was first implemented on the Digital Eqquipment Corporation PDP-11 computer in 1972.
The Unix operating system and virtually all Unix applications are written in the C language. C has now become a widely used professional language for various reasons.
Easy to learn
Structured language
It produces efficient programs.
It can handle low-level activities.
It can be compiled on a variety of computers.
Facts about C
C was invented to write an operating system called UNIX.
C is a successor of B language which was introduced around 1970
The language was formalized in 1988 by the American National Standard Institute (ANSI).
By 1973 UNIX OS almost totally written in C.
Today C is the most widely used System Programming Language.
Most of the state of the art software have been implemented using C
Why to use C ?
C was initially used for system development work, in particular the programs that make-up the operating system. C was adoped as a system development language because it produces code that runs nearly as fast as code written in assembly language. Some examples of the use of C might be:
Operating Systems
Language Compilers
Assemblers
Text Editors
Print Spoolers
Network Drivers
Modern Programs
Data Bases
Language Interpreters
Utilities
C Program File
All the C programs are written into text files with extension ".c" for example hello.c. You can use "vi" editor to write your C program into a file.
This tutorial assumes that you know how to edit a text file and how to write programming insturctions inside a program file.
C Compilers
When you write any program in C language then to run that program you need to compile that program using a C Compiler which converts your program into a language understandable by a computer. This is called machine language (ie. binary format). So before proceeding, make sure you have C Compiler available at your computer. It comes along with all flavors of Unix and Linux.
If you are working over Unix or Linux then you can type gcc -v or cc -v and check the result. You can ask your system administrator or you can take help from anyone to identify an available C Compiler at your computer

All about Visual Basic or VB

All about Visual Basic or VB

😍Developer on Weekends #shorts #officememes #developermemes

😍Developer on Weekends #shorts #officememes #developermemes Welcome to the latest viral YouTube shorts meme for developers! 😍Developer on...