Structure of the Telephone System

Samual Sam
Updated on 03-Aug-2019 19:51:13

16K+ Views

The telephone system model is organized as a highly redundant, multilevel hierarchy. It comprises of the following components −Telephone of the subscriber or end userEnd office − Local central office directly connected to end user at a distance of 1 – 10km.Local loop − A two-way connection between the telephone and the end office.Toll office − switching centres which are called tandem offices when located within the same local area.Toll connecting trunk − Lines that connect end offices with toll offices.Intermediate switching offices − Interconnected non-hierarchical switching offices for connecting toll offices.Inter toll trunk − Very high bandwidth channels that ... Read More

Fiber Optics vs Satellites

Chandu yadav
Updated on 03-Aug-2019 19:43:53

3K+ Views

Fiber optic communications and satellite communications are complementary to each other. Their properties are very different from one another and consequently their usage varies.Comparison between satellite communication and optical fiber communication can be done based upon the following areas −TerrainSatellite communication is best suited for rough terrains, poorly connected areas and places where it is difficult to lay wires.On the other hand, fibers are suited for urban areas with good infrastructures, where it is convenient to lay communication lines.BandwidthFiber optic promises extremely higher bandwidth with negligible electromagnetic interference. Satellites have lesser bandwidth and are prone to interferences.Data Rate and DelayThe ... Read More

Baseband Transmission

George John
Updated on 03-Aug-2019 19:40:08

8K+ Views

In baseband transmission, the data bits are directly converted into signals. Generally a higher voltage level represents the bit 1, while a lower voltage level represents bit 0.The different encoding schemes are shown in the diagram. Among these, the first three are come in the category of polar encoding. In polar signaling, one logical state is represented by only one voltage state. In bipolar schemes, two voltage levels may be used to represent a logical state.NRZ (Non – Return to Zero)NRZ is an unipolar coding scheme. Here, a high voltage represents 1, while a low voltage represents 0. Non-return to ... Read More

Medium Earth Orbit Satellites

Samual Sam
Updated on 03-Aug-2019 19:32:16

2K+ Views

Medium earth orbit (MEO) satellites lie between the two Van Allen Belts. MEOs are also called Intermediate Circular Orbits (ICOs).The altitudes of these satellites range from 2, 000 km to 35, 000 km, i.e. above the low earth orbits and below the geosynchronous orbits. The orbital periods of MEOs range from 2 hours to more than 23 hours, depending upon their attitudes.Types of MEOs according to orbitsMEOs with circular orbits − They revolve at constant speed at an constant altitude.MEOs with elliptical orbits − Lowest altitude is called perigee and the speed is highest here. Highest altitude is called apogee ... Read More

ArrayIndexOutOfBounds vs ArrayStoreException in Java

Maruthi Krishna
Updated on 02-Aug-2019 14:40:57

427 Views

An array is a data structure/container/object that stores a fixed-size sequential collection of elements of the same type. The size/length of the array is determined at the time of creation.The position of the elements in the array is called as index or subscript. The first element of the array is stored at the index 0 and, the second element is at the index 1 and so on.Creating an arrayIn Java, arrays are treated as referenced types you can create an array using the new keyword similar to objects and populate it using the indices as −int myArray[] = new int[7]; ... Read More

Drawbacks of Arrays in Java

Maruthi Krishna
Updated on 02-Aug-2019 14:16:04

2K+ Views

Array is a container which can hold a fix number of items and these items should be of the same type. Most of the data structures make use of arrays to implement their algorithms. Following are the important terms to understand the concept of Array.Element − Each item stored in an array is called an element.Index: Each location of an element in an array has a numerical index, which is used to identify the element.The size of the array will be determined at the time of creation.Disadvantages of arraysDeleting or inserting − You cannot insert a new element at the ... Read More

Find Continuous Sub-array Whose Sum Equals Given Number in Java

Maruthi Krishna
Updated on 02-Aug-2019 14:12:53

2K+ Views

To find continuous sub array whose sum is equal to a given number −Iterate through the array.At each element add the next n elements one by one, when the sum equals to the required value print the sub array.Exampleimport java.util.Arrays; import java.util.Scanner; public class sub_arrays {    public static void main(String args[]){       //Reading the array from the user       Scanner sc = new Scanner(System.in);       System.out.println("Enter the size of the array that is to be created: ");       int size = sc.nextInt();       int[] myArray = new int[size];   ... Read More

Separate Zeros from Non-Zeros in an Integer Array Using Java

Maruthi Krishna
Updated on 02-Aug-2019 14:09:27

3K+ Views

To separate zeros from non-zeros in an integer array, and push them to the end, you need to rearrange it array by assigning all the nonzero elements to its positions, sequentially, starting from zero. Then, from last position of the array to its end populate it with zeros.ExampleFollowing Java program pushes all the zeros in an array to its end.import java.util.Arrays; import java.util.Scanner; public class ZerosFromNonZeros {    public static void main(String args[]){       //Reading the array from the user       Scanner sc = new Scanner(System.in);       System.out.println("Enter the size of the array that ... Read More

Find All Pairs of Elements in Java Array Whose Sum is Equal to a Given Number

Rama Giri
Updated on 02-Aug-2019 14:05:01

7K+ Views

To find all pairs of elements in Java array whose sum is equal to a given number −Add each element in the array to all the remaining elements (except itself).Verify if the sum is equal to the required number.If true, print their indices.Exampleimport java.util.Arrays; import java.util.Scanner; public class sample {    public static void main(String args[]){       //Reading the array from the user       Scanner sc = new Scanner(System.in);       System.out.println("Enter the size of the array that is to be created: ");       int size = sc.nextInt();       int[] myArray ... Read More

Static Variables Storage During Object Serialization in Java

Maruthi Krishna
Updated on 02-Aug-2019 13:58:39

1K+ Views

In Java, serialization is a concept using which we can write the state of an object into a byte stream so that we can transfer it over the network (using technologies like JPA and RMI).To serialize an object −Make sure the class implements the Serializable interface.Create a FileOutputStream object representing the file (abstract path) of the file to which the object is to be stored.Create a ObjectOutputStream object by passing the above created FileOutputStream object.Write the object to the file using the writeObject() method.To de-serialize an objectCreate a FileInputStream object representing the file that contains the serialized object.Read the object ... Read More

Advertisements