Docsity

Introduction to information technology, Lecture notes of Information Technology

Partial preview of the text

Download Introduction to information technology and more Lecture notes Information Technology in PDF only on Docsity!

mCa I semeTer NOTes

ON

INTrOdUCTION TO INfOrmaTION

TeChNOlOGy

mCa I year I semeTer

(sUBCOd-101)

mr. Umesh KUmar, mCa

deParTmeNT Of COmPUTer sCIeNCe aNd INfOrmaTION

TeChNOlOGy

GUrU GhasIdas VIshWaVIdyalay, BIlasPUr

BIlasPUr, (C.G), KONI, ChhaTTIsaGarh 495009

MCA-

Introduction to Information Technology

  1. Introduction Basics concept of IT, Concept of data and information, Generations and Classification of Computers, Organization of computers: CPU, Memory, Input and Output devices, File organizations.
  2. Software and Computer Languages- Software, Types of software: System software, Application software, Utility software, Firmware. Generations and Types of Programming Languages, Programming Paradigms: procedural oriented and object oriented programming, Computer Security.
  3. Communications and Internet- Data communications, Analog and digital signal, Communication media, Network topology, Network categories, The OSI model and TCP/IP model, Internet addressing, Internet Service Provider (ISP), Web browsers, URL, WWW, HTTP, E-mail, File transfer, Domain Name System (DNS), Wireless technology: GPS, Wi-Fi.
  4. Applications of IT IT in Home, Entertainment, Business, Industry, Science, Engineering and Medicine, Online banking, Online shopping, E-Learning, E-commerce, M-Commerce, E- Government.
  5. Latest IT Trends Artificial intelligence, Data warehousing, Data mining, Overview of geographic information system (GIS), Cloud computing, Information and communications technology (ICT), Parallel computing, Introduction to web services. Readings:
  6. Fundamental of Computer 5th Edition By V. Rajaraman, PHI Publication.
  7. Introduction to Information Te chnology by V. Rajaraman, PHI Publication.
  8. Information technology today By S. Jaiswal.
  9. Fundamental of IT: Leon and Leon, Leon Tec World.
  10. Introduction to Information Technology by Aksoy and DeNardis, Cengage Learning.

๏ƒ˜ Analog data, such as the sounds made by a human voice, take on continuous values. ๏ƒ˜ When someone speaks, an analog wave is created in the air. ๏ƒ˜ This can be captured by a microphone and converted to an analog signal or sampled and converted to a digital signal. ๏ƒ˜ Digital data take on discrete values. ๏ƒ˜ For example, data are stored in computer memory in the form of Os and 1 s. ๏ƒ˜ They can be converted to a digital signal or modulated into an analog signal for transmission across a medium. Analog and Digital Signals-: ๏ƒ˜ Like the data they represent, signals can be either analog or digital. ๏ƒ˜ An analog signal has infinitely many levels of intensity over a period of time. ๏ƒ˜ As the wave moves from value A to value B, it passes through and includes an infinite number of values along its path. ๏ƒ˜ A digital signal, on the other hand, can have only a limited number of defined values. Although each value can be any number, it is often as simple as 1 and 0. ๏ƒ˜ The following figure illustrates an analog signal and a digital signal. ๏ƒ˜ The curve representing the analog signal passes through an infinite number of points. ๏ƒ˜ The vertical lines of the digital signal, however, demonstrate the sudden jump that the signal makes from value to value. Periodic and No periodic Signals ๏ƒ˜ Both analog and digital signals can take one of two forms: periodic or no periodic. ๏ƒ˜ A periodic signal completes a pattern within a measurable time frame, called a period, and repeats that pattern over subsequent identical periods. ๏ƒ˜ The completion of one full pattern is called a cycle. A no periodic signal changes without exhibiting a pattern or cycle that repeats over time. Communication Media ๏ƒ˜ Transmission media are actually located below the physical layer and are directly controlled by the physical layer. ๏ƒ˜ Transmission media belong to layer zero.

๏ƒ˜ Figure 7.1 shows the position of transmission media in relation to the physical layer. ๏ƒ˜ A transmission medium can be broadly defined as anything that can carry information from a source to a destination. ๏ƒ˜ For example, the transmission medium for two people having a dinner conversation is the air. ๏ƒ˜ The transmission medium is usually free space, metallic cable, or fiber-optic cable. ๏ƒ˜ The information is usually a signal that is the result of a conversion of data from another form. ๏ƒ˜ In telecommunications, transmission media can be divided into two broad categories: guided and unguided. ๏ƒ˜ Guided media include twisted-pair cable, coaxial cable, and fiber-optic cable. Unguided medium is free space. GUIDED MEDIA ๏ƒ˜ Guided media, which are those that provide a conduit from one device to another, include twisted-pair cable, coaxial cable, and fiber-optic cable. ๏ƒ˜ A signal traveling along any of these media is directed and contained by the physical limits of the medium. ๏ƒ˜ Twisted-pair and coaxial cable use metallic (copper) conductors that accept and transport signals in the form of electric current. ๏ƒ˜ Optical fiber is a cable that accepts and transports signals in the form of light.

Fiber-Optic Cable ๏ƒ˜ A fiber-optic cable is made of glass or plastic and transmits signals in the form of light. ๏ƒ˜ To understand optical fiber, we first need to explore several aspects of the nature of light. ๏ƒ˜ Light travels in a straight line as long as it is moving through a single uniform substance. ๏ƒ˜ If a ray of light traveling through one substance suddenly enters another substance (of a different density), the ray changes direction. Figure 7.10 shows how a ray of light changes direction when going from a more dense to a less dense substance. UNGUIDED MEDIA: WIRELESS ๏ƒ˜ Unguided media transport electromagnetic waves without using a physical conductor ๏ƒ˜ This type of communication is often referred to as wireless communication. Signals are normally broadcast through free space and thus are available to anyone who has a device capable of receiving them. ๏ƒ˜ Figure shows the part of the electromagnetic spectrum, ranging from 3 kHz to 900 THz, used for wireless communication. ๏ƒ˜ We can divide wireless transmission into three broad groups: radio waves, microwaves, and infrared waves. Radio Waves ๏ƒ˜ Electromagnetic waves ranging in frequencies between 3 kHz and 1 GHz are normally called radio waves; waves ranging in frequencies between 1 and 300 GHz are called microwaves. ๏ƒ˜ However, the behavior of the waves, rather than the frequencies, is a better criterion for classification.

๏ƒ˜ Radio waves, for the most part, are unidirectional. ๏ƒ˜ When an antenna transmits radio waves, they are propagated in all directions. ๏ƒ˜ This means that the sending and receiving antennas do not have to be aligned. ๏ƒ˜ A sending antenna sends waves that can be received by any receiving antenna. ๏ƒ˜ The unidirectional property has a disadvantage, too. The radio waves transmitted by one antenna are susceptible to interference by another antenna that may send signals using the same frequency or band. ๏ƒ˜ Radio waves, particularly those waves that propagate in the sky mode, can travel long distances. ๏ƒ˜ This makes radio waves a good candidate for long-distance broadcasting such as AM radio. ๏ƒ˜ Radio waves, particularly those of low and medium frequencies, can penetrate walls. ๏ƒ˜ This characteristic can be both an advantage and a disadvantage. It is an advantage because, for example, an AM radio can receive signals inside a building. ๏ƒ˜ It is a disadvantage because we cannot isolate a communication to just inside or outside a building. The radio wave band is relatively narrow, just under 1 GHz, compared to the microwave Microwaves ๏ƒ˜ Electromagnetic waves having frequencies between I and 300 GHz are called microwaves. ๏ƒ˜ Microwaves are unidirectional. When an antenna transmits microwave waves, they can be narrowly focused. ๏ƒ˜ This means that the sending and receiving antennas need to be aligned. The unidirectional property has an obvious advantage. ๏ƒ˜ A pair of antennas can be aligned without interfering with another pair of aligned antennas. The following describes some characteristics of microwave propagation: ๏ƒ˜ Microwave propagation is line-of-sight. ๏ƒ˜ Since the towers with the mounted antennas need to be in direct sight of each other, towers that are far apart need to be very tall. ๏ƒ˜ The curvature of the earth as well as other blocking obstacles does not allow two short towers to communicate by using microwaves. ๏ƒ˜ Repeaters are often needed for long distance communication. ๏ƒ˜ Very high-frequency microwaves cannot penetrate walls. ๏ƒ˜ This characteristic can be a disadvantage if receivers are inside buildings. ๏ƒ˜ .The microwave band is relatively wide, almost 299 GHz. Therefore wider sub bands can be assigned, and a high data rate is possible ๏ƒ˜ .Use of certain portions of the band requires permission from authorities. Infrared ๏ƒ˜ Infrared waves, with frequencies from 300 GHz to 400 THz (wavelengths from 1 mm to 770 nm), can be used for short-range communication. ๏ƒ˜ Infrared waves, having high frequencies, cannot penetrate walls.

๏ƒ˜ The term dedicated means that the link carries traffic only between the two devices it connects. ๏ƒ˜ Node 1 must be connected to n-1 nodes, node 2 must be connected to n-1 n nodes, and finally node n must be connected to n-1 nodes. We need n(n-1) physical links. However, if each physical link allows communication in both directions (duplex mode), we can divide the number of links by In other words, we can say that in a mesh topology, we need n(n - 1) / 2 Duplex-mode links. Advantages. ๏ƒ˜ A mesh topology is robust. ๏ƒ˜ If one link becomes unusable, it does not incapacitate the entire system. ๏ƒ˜ There is the advantage of privacy or security. ๏ƒ˜ When every message travels along a dedicated line, only the intended recipient sees it. ๏ƒ˜ Physical boundaries prevent other users from gaining access to messages. ๏ƒ˜ Point-to-point links make fault identification and fault isolation easy. ๏ƒ˜ Traffic can be routed to avoid links with suspected problems. ๏ƒ˜ This facility enables the network manager to discover the precise location of the fault and aids in finding its cause and solution. The main disadvantages ๏ƒ˜ Installation and reconnection are difficult. ๏ƒ˜ The sheer bulk of the wiring can be greater than the available space (in walls, ceilings, or floors) can accommodate. ๏ƒ˜ The hardware required to connect each link (I/O ports and cable) can be prohibitively expensive. ๏ƒ˜ For these reasons a mesh topology is usually implemented in a limited fashion, for example, as a backbone connecting the main computers of a hybrid network that can include several other topologies. Star Topology ๏ƒ˜ In a star topology, each device has a dedicated point-to-point link only to a central controller, usually called a hub. ๏ƒ˜ The devices are not directly linked to one another. Unlike a mesh topology, a star topology does not allow direct traffic between devices. ๏ƒ˜ The controller acts as an exchange: If one device wants to send data to another, it sends the data to the controller, which then relays the data to the other connected device.

Advantages: ๏ƒ˜ A star topology is less expensive than a mesh topology. ๏ƒ˜ In a star, each device needs only one link and one I/O port to connect it to any number of others. ๏ƒ˜ This factor also makes it easy to install and reconfigure. ๏ƒ˜ Far less cabling needs to be housed, and additions, moves, and deletions involve only one connection: between that device and the hub. ๏ƒ˜ Other advantages include robustness. If one link fails, only that link is affected. All other links remain active. ๏ƒ˜ This factor also lends itself to easy fault identification and fault isolation. As long as the hub is working, it can be used to monitor link problems and bypass defective links. Disadvantages: ๏ƒ˜ One big disadvantage of a star topology is the dependency of the whole topology on one single point, the hub. ๏ƒ˜ If the hub goes down, the whole system is dead. ๏ƒ˜ Although a star requires far less cable than a mesh, each node must be linked to a central hub. ๏ƒ˜ For this reason, often more cabling is required in a star than in some other topologies. Bus Topology ๏ƒ˜ The preceding examples all describe point-to-point connections. A bus topology, on the other hand, is multipoint. ๏ƒ˜ One long cable acts as a backbone to link all the devices in a network. ๏ƒ˜ Nodes are connected to the bus cable by drop lines and taps. ๏ƒ˜ A drop line is a connection running between the device and the main cable

Advantages: ๏ƒ˜ A ring is relatively easy to install and reconfigure. ๏ƒ˜ Each device is linked to only its immediate neighbors. ๏ƒ˜ To add or delete a device requires changing only two connections. ๏ƒ˜ The only constraints are media and traffic considerations (maximum ring length and number of devices). ๏ƒ˜ In addition, fault isolation is simplified. Generally in a ring, a signal is circulating at all times. ๏ƒ˜ If one device does not receive a signal within a specified period, it can issue an alarm. ๏ƒ˜ The alarm alerts the network operator to the problem and its location. Disadvantages: ๏ƒ˜ Unidirectional traffic can be a disadvantage. ๏ƒ˜ In a simple ring, a break in the ring (such as a disabled station) can disable the entire network. ๏ƒ˜ This weakness can be solved by using a dual ring or a switch capable of closing off the break. Hybrid Topology ๏ƒ˜ A network can be hybrid. For example, we can have a main star topology with each branch connecting several stations in a bus topology as shown: Network categories-: OSI Model & TCP/IP reference model THE OSI MODEL ๏‚ท The OSI model is a layered framework for the design of network systems that allows communication between all types of computer systems. ๏‚ท It consists of seven separate but related layers, each of which defines a part of the process of moving information across a network.

Physical Layer ๏ƒ˜ The physical layer coordinates the functions required to carry a bit stream over a physical medium. ๏ƒ˜ It deals with the mechanical and electrical specifications of the interface and transmission medium. ๏ƒ˜ It also defines the procedures and functions that physical devices and interfaces have to perform for transmission to occur. ๏ƒ˜ The following figure shows the position of the physical layer with respect to the transmission medium and the data link layer. The physical layer is also concerned with the following:

  • Physical characteristics of interfaces and medium. ๏ƒ˜ The physical layer defines the characteristics of the interface between the devices and the transmission medium. ๏ƒ˜ It also defines the type of Transmission medium.
  • Representation of bits. ๏ƒ˜ The physical layer data consists of a stream of bits (sequence of 0s or ls) with no interpretation. ๏ƒ˜ To be transmitted, bits must be encoded into signals - electrical or optical. ๏ƒ˜ The physical layer defines the type of encoding (how 0s and 1s are changed to signals).
  • Data rate.

๏ƒ˜ The data link layer divides the stream of bits received from the network layer into -Manageable data units called frames.

  • Physical addressing. ๏ƒ˜ If frames are to be distributed to different systems on the network, ๏ƒ˜ the data link Layer adds a header to the frame to define the sender and/or receiver of the frame. ๏ƒ˜ If the frame is intended for a system outside the sender's network, the receiver address is the address of the device that connects the network to the next one.
  • Flow control. ๏ƒ˜ If the rate at which the data are absorbed by the receiver is less than the rate at which data are produced in the sender, the data link layer imposes a flow control mechanism to avoid overwhelming the receiver.
  • Error control. ๏ƒ˜ The data link layer adds reliability to the physical layer by adding mechanisms to Detect and retransmit damaged or lost frames. ๏ƒ˜ It also uses a mechanism to recognize duplicate frames. ๏ƒ˜ Error control is normally achieved through a trailer added to the end of the frame.
  • Access control. ๏ƒ˜ When two or more devices are connected to the same link, data link layer protocols are necessary to determine which device has control over the link at any given time. Network Layer ๏ƒ˜ The network layer is responsible for the source-to-destination delivery of a packet, possibly across multiple networks (links). ๏ƒ˜ Whereas the data link layer oversees the delivery of the packet between two systems on the same network (links), the network layer ensures that each packet gets from its point of origin to its final destination. ๏ƒ˜ If two systems are connected to the same link, there is usually no need for a network layer. ๏ƒ˜ However, if the two systems are attached to different networks (links) with connecting devices between the networks (links), there is often a need for the network layer to accomplish source-to-destination delivery. ๏ƒ˜ The figure shows the relationship of the network layer to the data link and transport layers. responsibilities of the network layer include the following:
  • Logical addressing.

๏ƒ˜ The physical addressing implemented by the data link layer handles the addressing problem locally. If a packet passes the network boundary, we need another addressing n system to help distinguish the source and destination systems. ๏ƒ˜ The network layer adds a header to the packet coming from the upper layer that, among other things, includes the logical addresses of the sender and receiver.

  • Routing. ๏ƒ˜ When independent networks or links are connected to create internetworks (network of networks) or a large network, the connecting devices (called routers or switches) route or switch the packets to their final destination. ๏ƒ˜ One of the functions of the network layer is to provide this mechanism. Transport Layer ๏ƒ˜ The transport layer is responsible for process-to-process delivery of the entire message. A process is an application program running on a host. ๏ƒ˜ Whereas the network layer oversees source-to-destination delivery of individual packets, it does not recognize any relationship between those packets ๏ƒ˜ It treats each one independently, as though each piece belonged to a separate message, whether or not it does. ๏ƒ˜ The transport layer, on the other hand, ensures that the whole message arrives intact and in order, overseeing both error control and flow control at the source- to-destination level. ๏ƒ˜ The figure shows the relationship of the transport layer to the network and session layers. responsibilities of the transport layer include the following:
  • Service-point addressing. ๏ƒ˜ Computers often run several programs at the same time. ๏ƒ˜ For this reason, source-to-destination delivery means delivery not only from one computer to the next but also from a specific process (running program) on one computer to a specific process (running program) on the other. ๏ƒ˜ The transport layer header must therefore include a type of address called a service-point address (or port address). ๏ƒ˜ The network layer gets each packet to the correct computer; the transport layer gets the entire message to the correct process on that computer.

Specific responsibilities of the session layer include the following:

  • Dialog control. ๏ƒ˜ The session layer allows two systems to enter into a dialog. ๏ƒ˜ It allows the communication between two processes to take place in either half- duplex (one way at a time) or full duplex(two ways at a time) mode.
  • Synchronization. ๏ƒ˜ The session layer allows a process to add checkpoints, or synchronization points, to a stream of data. ๏ƒ˜ For example, if a system is sending a file of 2000 pages, it is advisable to insert checkpoints after every 100 pages to ensure that each 100-page unit is received and acknowledged independently. ๏ƒ˜ In this case, if a crash happens during the transmission of page 523, the only pages that need to be resent after system recovery are pages 501 to 523. ๏ƒ˜ Pages previous to 501 need not be resent. The figure illustrates the relationship of the session layer to the transport and presentation Presentation Layer ๏ƒ˜ The presentation layer is concerned with the syntax and semantics of the information exchanged between two systems. The figure shows the relationship between the presentation layer and the application and session layers. Specific responsibilities of the presentation layer include the following:
  • Translation. ๏ƒ˜ The processes (running programs) in two systems are usually exchanging information in the form of character strings, numbers, and so on.

๏ƒ˜ The information must be changed to bit streams before being transmitted. Because different computers use different encoding systems, the presentation layer is responsible for interoperability between these different encoding methods. ๏ƒ˜ The presentation layer at the sender changes the information from its sender- dependent format into a common format. ๏ƒ˜ The presentation layer at the receiving machine changes the common format into its receiver-dependent format.

  • Encryption. ๏ƒ˜ To carry sensitive information, a system must be able to ensure privacy. Encryption means that the sender transforms the original information to another form and sends the resulting message out over the network. ๏ƒ˜ Decryption reverses the original process to transform the message back to its original form.
  • Compression. ๏ƒ˜ Data compression reduces the number of bits contained in the information. ๏ƒ˜ Data compression becomes particularly important in the transmission of multimedia such as text, audio, and video. Application Layer ๏ƒ˜ The application layer enables the user, whether human or software, to access the network. ๏ƒ˜ It provides user interfaces and support for services such as electronic mail, remote file access and transfer, shared database management, and other types of distributed information services. ๏ƒ˜ The figure shows the relationship of the application layer to the user and the presentation layer. Specific services provided by the application layer include the following:
  • Network virtual terminal. ๏ƒ˜ A network virtual terminal is a software version of a physical terminal, and it allows a user to log on to a remote host.