Samual Sam

Samual Sam

1,507 Articles Published

Articles by Samual Sam

Page 147 of 151

Digital Advanced Mobile Phone System

Samual Sam
Samual Sam
Updated on 30-Jul-2019 2K+ Views

Digital Advanced Mobile Phone System (D-AMPS)is a digital version of Advanced Mobile Phone Systems (AMPS), the original analog standard for cellular phones. D-AMPS uses a combination of time division multiple access (TDMA) and frequency division multiple access (FDMA). It adds TDMA to get three channels per AMPS channel, thus tripling the number of calls on a channel. Features They are standardised by IS-54 and IS-136. As in AMPS, D-AMPS also uses frequencies from 800 to 900MHz for transmission. Half of the spectrum is used for sending signals and the other half is used for receiving signals. The frequency ...

Read More

Network Physical Layer

Samual Sam
Samual Sam
Updated on 30-Jul-2019 1K+ Views

The network physical layer is the lowest network layer in the Open System Interconnections (OSI) model. The primary concern of this layer is transmission of individual bits from one node to another over a physical medium. In TCP/IP model, the physical layer and the data link layer are combined as the host - to - network layer. Physical Layer in the OSI Model The Open System Interconnections (OSI) model is a layered networking framework that conceptualizes how communications should be done between heterogeneous systems. The physical layer is its lowest layer. The following diagram depicts the position of the physical ...

Read More

How do we use a #line directive in C#?

Samual Sam
Samual Sam
Updated on 30-Jul-2019 246 Views

It lets you modify the compiler's line number and (optionally) the file name output for errors and warnings. Let us see some examples. #line 100 "demo" int a; // CS0168 on line 100 int b; // CS0168 on line 101 int c; // CS0168 on line 102 As shown above the example reports three warnings associated with line numbers. The #line 100 directive forces the line number to be 100 and until the next #line directive, the filename will be reported as "demo”. Let’s see ...

Read More

What is the difference between a float, double and a decimal in C#?

Samual Sam
Samual Sam
Updated on 30-Jul-2019 2K+ Views

Float , double and a decimal are all Value Types in C#. Value type variables can be assigned a value directly. They are derived from the class System.ValueType. The value types directly contain data. Float Value Type Float is a 32-bit single-precision floating point type with range 3.4 x 1038 to + 3.4 x 1038 Memory Size is 4 bytes. float a = 3.5f; Double Value Type Double is a 64-bit double-precision floating point type with range (+/-)5.0 x 10-324 to (+/-)1.7 x 10308 Memory Size is 8 bytes. double d = 5.78788 Decimal Value ...

Read More

Recommended IDEs for C# on Windows/Linux/Mac OS

Samual Sam
Samual Sam
Updated on 30-Jul-2019 469 Views

The best IDE for C# on Windows is Microsoft Visual Studio. It is an IDE to develop websites, web apps, mobile apps, etc. The following are the features of Visual Studio IDE − Code Editor − Visual Studio has a code editor supporting syntax highlighting and code completion using IntelliSense. Breakpoints − Set breakpoints and allow monitoring the variable values as the execution progress. Extend Capability − With Visual Studio, you can extend the functionality of the IDE. The extension includes macros, packages, etc. Built-in-languages − Visual Studio supports more than 30 programming ...

Read More

Dynamic Programming in JavaScript

Samual Sam
Samual Sam
Updated on 30-Jul-2019 3K+ Views

Dynamic programming breaks down the problem into smaller and yet smaller possible sub-problems. These sub-problems are not solved independently. Rather, results of these smaller sub-problems are remembered and used for similar or overlapping sub-problems. Dynamic programming is used where we have problems, which can be divided into similar sub-problems so that their results can be re-used. Mostly, these algorithms are used for optimization. Before solving the in-hand sub-problem, the dynamic algorithm will try to examine the results of the previously solved sub-problems. The solutions of sub-problems are combined in order to achieve the best solution. For a problem to be ...

Read More

Underscore(_) in Python

Samual Sam
Samual Sam
Updated on 30-Jul-2019 733 Views

In Python in some cases we use Single Underscore(_) and some cases we use Double Underscores (__). In Python has following cases, where we use underscore. If we want to store the value of last expression in interpreter. If we want to ignore some values. For declaration of variable or function. To separate digits of number lateral value. It is also used as ‘Internationalization (i18n)’ or ‘Localization (l10n)’ functions. Now some examples on every cases. Used in interpreter The Python Interpreter stores the last expression value in the '_'. >>> 20 20 >>> _ ...

Read More

Plotting solar image in Python

Samual Sam
Samual Sam
Updated on 30-Jul-2019 425 Views

In Python provides SunPy package for create solar image. In this package has different files which are solar data of proton/electron fluxes from various solar observatory and solar labs. Using pip install sunpy command, we can install sunpy package. Here we plot a sample AIA image. AIA is Atmospheric Imaging Assembly. This is another instrument board of the SDO. Here we use sunpy.Map() function to create a map from one of the supported data products. Example code import sunpy.map import matplotlib.pyplot as plt import sunpy.data.sample my_aia = sunpy.map.Map(sunpy.data.sample.AIA_171_IMAGE) fig = plt.figure() ax = plt.subplot(111, projection=my_aia) my_aia.plot() my_aia.draw_limb() ...

Read More

Create a Website Alarm Using Python

Samual Sam
Samual Sam
Updated on 30-Jul-2019 571 Views

In this section we will see how to create the website alarm system using Python. Problem Statement Open a website URL on the browser by taking a website URL and time. When the system time reaches the specified time, the webpage will be opened. We can store different web pages in our bookmark sections. Sometimes we need to open some web pages every day on a specific time to do some work. For that purpose, we can set this type of website alarm to do the work. In this case we are using some standard library modules like sys, web ...

Read More

Morse Code Translator in Python

Samual Sam
Samual Sam
Updated on 30-Jul-2019 3K+ Views

Morse Code Translator is used in Cryptography. It is named by Samuel F. B. Morse. By this technique we convert a message to a series of dots, commas, "-", "/". This technique is very simple. Every alphabet in English signifies a series of ".", ", ", "/", "-". We just encrypt the message from message to symbols and decrypt from symbols to English. The dictionary is given below 'A':'.-', 'B':'-...', 'C':'-.-.', 'D':'-..', 'E':'.', 'F':'..-.', 'G':'--.', 'H':'....', 'I':'..', 'J':'.---', 'K':'-.-', 'L':'.-..', 'M':'--', 'N':'-.', 'O':'---', 'P':'.--.', 'Q':'--.-', 'R':'.-.', 'S':'...', 'T':'-', 'U':'..-', 'V':'...-', 'W':'.--', 'X':'-..-', 'Y':'-.--', 'Z':'--..', '1':'.----', '2':'..---', '3':'...--', '4':'....-', '5':'.....', ...

Read More
Showing 1461–1470 of 1,507 articles
« Prev 1 145 146 147 148 149 151 Next »
Advertisements