Explain what you understand by data encapsulation.

1 Answer

Answer :

image

Each layer in the layered architecture provides service to the layers which are directly above and below it. The outgoing information will travel down through the layers to the lowest layer. While moving down on the source machine, it acquires all the control information which is required to reach the destination machine. The control information is in the form of headers and footers which surrounds the data received from the layer above. This process of adding headers and footers to the data is called as data encapsulation. The headers and footers contain control information in the individual fields. it is used to make message packet reach the destination. The headers and footers form the envelope which carries the message to the desired destination.

image

image

image

The figure shows the example of five layer stack for data encapsulation. The fifth layer of sending machine wants to send a message M to the fifth layer of destination machine. The message M is produced by layer 5 of machine 1 and given to layer 4 for transmission. Layer 4 adds header H4 in front of the message and pass it to layer 3. Layer 3 breaks up the incoming message into small units as M1 and M2 and pass these packets to layer 2. Layer 2 adds the header as well as footer to each packet obtained from layer 3 and pass it to layer 1 for physical transmission.

Related questions

Description : Describe data encapsulation.

Last Answer : In figure which gives an overall view of the OSI layers, D7 means the data unit at layer 7, D6 means the data unit at layer 6, and so on. The process starts at layer 7 (the application layer), ... trailer. For level N-1, the whole packet coming from level N is treated as one integral unit.

Description : What do you understand by subnet masking?

Last Answer : A subnet mask is a screen of numbers used for routing traffic within a subnet. Once a packet has arrived at an organization's gateway or connection point with its unique network number, it can be routed to ... to handle the entire 32 bit address; it can simply look at the bits selected by the mask.

Description : What do you understand by active preventive maintenance?

Last Answer : Active preventive maintenance includes i) Regular cleaning of the system using cleaning tools & cleaning solutions ii) Preventive maintenance of the system, which are either weekly or monthly.  Weekly ... startup disk Check for updated drivers O.S. updates Cleaning the drivers

Description : Explain data encapsulation and data abstraction.

Last Answer : Data encapsulation: The wrapping up of data and function into a single unit (called class) is known as encapsulation. The data is not accessible to the outside world, and only those functions ... as they hold information. The functions that operate on these data are called as member functions.

Description : Which of the following technique isused for encapsulation? A. a technique used inbest-effort delivery systems toavoid endlessly loopingpackets. B. a technique used by protocols in which a lower level ... network that cannothandle the originaldatagram size D. All of theabove E. None of the above

Last Answer : a technique used by protocols in which a lower level protocol accepts a message from ahigher level protocol and places it in the data portion of the low level frame

Description : Which OSI layer adds a trailer during encapsulation of data? a. Layer 3 b. Layer 4 c. Layer 2 d. Layer 5,6,7

Last Answer : d. Layer 5,6,7

Description : Define what is meant by data encapsulation?

Last Answer : Data encapsulation also referred to as data hiding, is the mechanism whereby the implementation details of a class are kept hidden from the user. The user can only perform a restricted set of operations on the hidden members of the class by executing special functions called methods.

Description : ………… enable us to hide, inside the object, both the data fields and the methods that act on that data. A) Encapsulation B) Polymorphism C) Inheritance D) Overloading

Last Answer : A) Encapsulation

Description : Describe following terms: Inheritance, data abstraction, data encapsulation, dynamic binding.

Last Answer : Inheritance: 1. Inheritance is the process by which objects of one class acquire the properties of objects of another class. 2. It supports the concept of hierarchical classification. It also provides the ... with a given procedure call is not known until the time of the call at run-time.

Description : Briefly explain encapsulation and why it is important in object-oriented - programming.

Last Answer : Encapsulation is the principle that all of the data and functionality required by an object be contained by that object. This allows objects to exist as independent, interchangeable units of functionality without maintaining dependencies on other units of code.

Description : Explain encapsulation with example.

Last Answer : Each layer in the layered architecture provides service to the layers which are directly above and below it. The outgoing information will travel down through the layers to the lowest layer. While ... to each packet obtained from layer 3 and pass it to layer 1 for physical transmission. 

Description : Compare LAN, WAN and MAN on the basis of following point: 1) Geographical area covered 2) Communication Medium used 3) Rate of data transmission 4) Example / Application

Last Answer : Comparison LAN WAN MAN Geographical area covered Covers small geographical area.(up to 1km.)  Covers large locality and connects countries together. ( Area above 100km) Covers ... School, Hospital. Internet/ Country, Continent. Cable TV network / Small towns, City.

Description : What are the processes involved in the encapsulation of the somatic embryos? -Biology

Last Answer : answer:

Description : What are the processes involved in the encapsulation of the somatic embryos? -Biology

Last Answer : answer:

Description : Coating of solid waste with impervious material is known as – (1) Encapsulation (2) Chemical fixation (3) Landfill (4) Capping

Last Answer : (1) Encapsulation Explanation: Containment of toxic or hazardous constituents in industrial solid wastes is currently being accomplished using: (i) coating grains of waste material with an ... coating blocks of waste material with an inert, non-reactive impervious material (macroencapsulation).

Description : What is an encapsulation?

Last Answer : Wrapping up of data and function into a single unit is known as Encapsulation.

Description : NAT limits the use of ………………….. and ……………… A. encryption, authentication. B. encryption, decryption C. encapsulation, translation D. authentication, verification

Last Answer : A. encryption, authentication.

Description : What is difference between Encapsulation And Abstraction?

Last Answer : Ans. 1.Abstraction solves the problem at design level while encapsulation solves the problem at implementation level 2.Abstraction is used for hiding the unwanted data and giving relevant data. ... and Display Screen are connect with each other using different circuits , it explains Encapsulation.

Description : What is Encapsulation? How is it implemented in Java?

Last Answer : A: Binding up of data and associated functions together into a single unit called (class) is called Encapsulation. In Java, it is implemented by the use of a class.

Description : Define Encapsulation.

Last Answer : Ans. Encapsulation is the process of bundling state (instance variables) and behaviour (methods) is a single unit (class).

Description : Define Encapsulation.

Last Answer : Encapsulation is one of the fundamentals of OOP (object-oriented programming). The process of binding data (instance variables) and corresponding methods (behaviour) together into a single unit ... class only that binds variables and methods together and hides their complexity from other classes.

Description : What is encapsulation?

Last Answer : Packaging an object‟s variables within its methods is called encapsulation.

Description : What is encapsulation?

Last Answer : Encapsulation means wrapping up of Data and Code…this is what i got from data structures book.

Description : In........................mode, a common technique in packet-switched networks consists of wrapping a packet in a new one. A) Tunneling B) Encapsulation C) Both A and B D) None of the above

Last Answer : C) Both A and B

Description : …………. Is the process of creating new classes, called derived classes from existing classes called base class. A) Inheritance B) Encapsulation C) Polymorphism D) Overloading

Last Answer : A) Inheritance

Description : In ……………………. mode, a common technique in packet-switched networks consists of wrapping a packet in a new one. A) Tunneling B) Encapsulation C) Both A and B D) None of the above

Last Answer : C) Both A and B

Description : Define the following: a. Aggregation among objects. b. Class. c. Repeated inheritance. d. Encapsulation. e. Scenario.

Last Answer : Ans: a).Aggregation among objects Aggregation among objects represents a relationship. It is a whole/part relationship. Aggregation may imply containment. b).Class A class is a template that specifies the ... or it can be shown as an event trace diagram in which events between objects are shown.

Description : .................. allows to create classes which are derived from other classes, so that they automatically include some of its "parent's" members, plus its own members. (A) Overloading (B) Inheritance (C) Polymorphism (D) Encapsulation 

Last Answer : (B) Inheritance

Description : The “part-whole”, or “a-part-of”, relationship in which objects representing the components of something associated with an object representing the entire assembly is called as (A) Association (B) Aggregation (C) Encapsulation (D) Generalisation

Last Answer : (B) Aggregation

Description : Module design is used to maximize cohesion and minimize coupling. Which of the following is the key to implement this rule? (A) Inheritance (B) Polymorphism (C) Encapsulation (D) Abstraction

Last Answer : (C) Encapsulation

Description : Abstraction and encapsulation are fundamental principles that underlie the object oriented approach to software development. What can you say about the following two statements? I. Abstraction allows us to focus on what something ... and II are correct. (3) Only II is correct. (4) Only I is correct.

Last Answer : (1) Neither I nor II is correct.

Description : The technology used in the electronic printer is called (1) Micro array (2) Micro millimetric (3) Micro technology (4) Micro encapsulation

Last Answer : Micro encapsulation

Description : Coating of solid waste with impervious material is known as (1) Encapsulation (2) Chemical fixation (3) Landfill (4) Capping

Last Answer : Encapsulation

Description : Define Protocol and Encapsulation.

Last Answer : i. Protocol: Protocol is defines as the set of rules and regulations to communicate between layers in networking. OR It is set of rules and conventions sender and receiver in data communication ... of encapsulation. OR Encapsulation is the process of adding the headers and footers to the data.

Last Answer : The encapsulation of transistor is necessary for mechanical ruggedness.

Description : Name the different TCP/IP Protocols. Explain the working of FTP.

Last Answer : TCP/IP Protocols: 1. DNS (Domain Naming System) 2. HTTP(Hypertext Transfer Protocol) 3. Telnet 4. FTP (File Transfer Protocol), 5. TFTP (Trivial File Transfer Protocol), 6. SNMP (Simple ... TCP ports: port 21 is used for the control connection and port 20 is used for the data connection.

Description : Explain importance characteristics of fiber optic cable.

Last Answer : 1. Fiber optic cabling can provide extremely high bandwidths in the range from 100 mbps to 2 gigabits because light has a much higher frequency than electricity. 2. The number of nodes which a fiber ... to twisted pair and co-axial. 6. The installation of fiber optic cables is difficult and tedious.

Description : Explain the working principle of Firewall.

Last Answer : 1. A firewall is a part of computer system or network that is designed to block unauthorized access while permitting authorized communications. 2. It is a device or set of devices configured to permit, ... Packet filter ii. Proxy server iii. Circuit-level Gateway iv. Application Gateway

Description : Explain how preventive maintenance of CD ROM drive is carried out.

Last Answer : 1. Cleaning of the head: use head cleaning diskettes for purposes. 2. Disk drive heads can also be manually cleaned using alcohol and foam swab rapped in a lint free material with immense care. ... off the interior of the drive. 6. Use the silicon lubricant ion whatever items that need lubrication.

Description : Explain the recording process of CDROM drive.

Last Answer : The CD-ROM drive reads the data on the CD and sends the information to the interface connector (expansion board) attached to the computer motherboard. The information then travels to the CPU ... the detector is the digital signal that will be amplified and then processed into an audio signal. 

Description : Explain how preventive maintenance of Laser printer is performed.

Last Answer : Since printer is partly mechanical, it requires more maintenance. 1. Clean the exterior of printer using soft cloth with mild organic solvent. 2. Do not place printer near heat generating machines ... The mechanics of different printers vary with their types. So consult their manual for their PM.

Description : Explain the different classes of IP addressing.

Last Answer : Class A Addressing: 1. First byte specifies the network portion. 2. Remaining bytes specify the host portion. 3. The highest order bit of the network byte is always 0. 4. Network values of ... E addressing. This format begins with 1110 that show a it is reversed for the future use.

Description : Draw and explain the block diagram of SMPS.

Last Answer : SMPS used in a PC has five sections AC input section Receives unregulated input AC supply from mains. This signal is filtered using line filter and given to full wave rectifier for ... circuits shut off the output section of the SMPS, thereby avoiding damage due to over current flow.

Description : Explain working principle of LCD monitor. 

Last Answer : Backlight: The amount of light supplied by Back Light is determined by the amount of movement of the liquid crystals in such a way as to generate color. Driving Circuit Unit Driving ... color LCD is subdivided into three subpixels, where one set of RGB subpixels is equal to one pixel.

Description : Explain keyboard, hard disk, mouse and scanner related problems

Last Answer : Keyboard Problems: 1. During initialization, No keyboard error displayed or Complete non operation of the keyboard. KEYBOARD FAILURE message is displayed when booting. Solution: Check the keyboard ... and scanner software is set to the appropriate setting for the type of image being scanned.

Description : What is network topology? Explain star and bus topology with its advantages 

Last Answer : Topology of LANs  Networks can be laid out in different ways. The physical layout, or shape of network, or the way in which network connections are made is called a topology. It refers ... computer failure does not bring down the whole network It is more flexible among the remaining topology.

Description : Explain Passive matrix LCD with diagram.

Last Answer : Passive Matrix: Passive-matrix is a technology that uses a grid of vertical and horizontal wires to display an image on the screen. Each pixel is controlled by an intersection of two wires in the grid. ... are no switching devices, and each pixel is addressed for more than one frame time. 

Description : Explain construction of DVD.

Last Answer : A DVD is composed of several layers of plastic, totaling about 1.2 millimeters thick. Each layer is created by injection molding polycarbonate plastic. This process forms a disc that has microscopic Lands ... , each one is coated with lacquer, squeezed together and cured under infrared light. 

Description : Explain the preventive maintenance of printers.

Last Answer : 1. Clean the exterior of printer using soft cloth with mild organic solvent. 2. Do not place the printer near heat generating machines such as heaters and furnaces. 3. Periodically, clean ... of different printers vary with their types. So, consult their manuals for their preventive maintenance. 

Description : With the help of diagram explain working of UPS

Last Answer : The UPS delivers uninterrupted power to the ac load. It consists of the following functional blocks: AC mains section contains filter, transformer and rectifierIt receives ac supply, ... has synchronization circuits for smooth change-over from mains to inverter ac avoid waveform distortion.