 # Pt1420 Unit 3 Assignment 1 Data Type Analysis

Improved Essays
Data
Type Description and example use
**You must provide an example of what each data type could be used for**
String A data type used in programmings such as an integer and floating point unit, but is used to represent text rather than numbers.
• I bought 3 CD’s which were from 3 different artists. It shows that I bought it from 3 different people.
• If (Option 1==Option 2) If the values are the same, then it is true. If they are different, then it is false.
• Usernames are an example of string data type.
Integer A data type which consists of a whole number. Examples would be numbers 1-10.
• Addition, subtraction, multiplication, division are examples when integer data types are used. When the integer is added, subtracted, multiplied or
It basically stores the date.
• Date on the lock screen for the iPhone or a Samsung smartphone device, used in digital calendars.
Boolean A data type which has two values intended to represent the truth values of logic and Boolean algebra.
• Used in True/False statements.
Single A 4-byte data type which includes a floating point up to a definite amount. It holds up to 7 digits.
• Shouldn’t be used for currency as the decimals will represent a lower number and it isn’t exactly a big number.
• Used as a number up to 7 digits. If the number does not have 7 digits, it will be rounded to have a format of 7 digits. An example is with the value 1.23456789. As you can see, it exceeds 7 digits and so is rounded to 1.234568.
• Used for decimals as the pre-set value.
Double An 8 data type which can hold 14 digits compared to a single data type.
• Used for defining big amounts e.g. £65k can be known as £65000 and it shows that not all the data values are within the numerical value of 65k and can show an easier way of writing code to help with memory management. Basically, it is simplifying the code.
Fixed Point A data type which represents a real data for a number that has a fixed number of digits after the decimal

## Related Documents

• Improved Essays

8 information bits and 1 parity bit. Parity bit is an extra bit that is attached to the data bits. Parity bit is chosen so that the number of 1 bits in the code word is even or odd. Parity checking is a means of checking if the communication of a sequence of bits has been correctly received. The two types of most commonly used parity checking are simple parity and two-dimensional parity.…

• 727 Words
• 3 Pages
Improved Essays
• Decent Essays

Correct answer CONCATENATE A function that returns the specified number of characters from the end of a string of characters. Correct answer RIGHT A process of restricting records through the use of criteria conditions that displays records that answer a question about the data. Correct answer Query An organized collection of data related to a particular topic or purpose. Correct answer Database Facts about people, events, things, or ideas. Correct answer Data A predefined formula that performs calculations by using specific values, called arguments.…

• 680 Words
• 3 Pages
Decent Essays
• Decent Essays

ECET 340 Week 4 HomeWork 4 Purchase here http://devrycourse.com/ecet-340-week-4-homework-4 Product Description Determine the conversion time for an ADC0804 (8-bit), where 66 clocks per bit are required, if its clock frequency is 50 kHz. 2. If an 8-bit SAR has Vref = 10 V, what is the binary value for an input voltage of 7.28 V? 3. What is the percent error for the binary answer found in Problem #2?…

• 1985 Words
• 8 Pages
Decent Essays
• Superior Essays

Since IPv4 is binary-based, it can be converted to a decimal number from 0 to 255. For example, an IPv4 address is 11000000 10101000 00000111 00011011. The number converted into a decimal format is 192.168.7.27. The volume that 32 bits can present is 232 that are equal to 4,294,967,296. (Defense Advanced Research Projects 1981) IPv6 address owns 16 bytes that are equal to 128 bits…

• 771 Words
• 4 Pages
Superior Essays
• Improved Essays

On the first three disks we have the binary information 1010, 1100 and 0011, here representing some data, and now calculate the parity information for the fourth disk. We use XOR operation to calculate the Parity bit: For the first column of the disks, to the left we have 1, 1 and 0: 1XOR 1 XOR 0 = Parity bit Broken down: 1 XOR 1 = 0 and then 0 XOR 0 = The parity bit is 0. This means first 1 XOR 1…

• 572 Words
• 3 Pages
Improved Essays
• Superior Essays

Explain the decimal system of measuring size of information and binary system used to measure memory size. Binary system measures a kilobyte as 1,024bytes which is 10000000000 when converted into binary while the decimal system measures a kilobyte as 1,000bytes. However, the difference between the two systems is lesser. But it gets notable when you increase to megabytes and gigabytes. The binary value comes to 1,048,576byts and 1,073,741,824byts compared to 1,000,000byts and 1,000,000,000byts in the decimal system.…

• 1249 Words
• 5 Pages
Superior Essays
• Great Essays

4.1 Pre-processing stage The propagate and generate signals are computed as in equations (1) & (2). 4.2 Speculative Prefix-processing stage The last Kogge-Stone row of the n = 16 bit graph is shortened, resulting in a speculative prefix-processing stage with K = 8 is shown in Fig. 6. The length of the propagate chains is K = 8 only for i = 9,11,13,15, while for i = 10,12,14 the propagate chain length is K+1 = 9. The computed propagate and generate signals for the speculative Han-Carlson architecture…

• 1491 Words
• 6 Pages
Great Essays
• Improved Essays

We then have that N = (5)(7)(9) = 315 and y1 = 315/5 = 63, y2 = 315/7 = 45, and y3 = 315/9 = 35. This gives us that 2 ≡ 63−1 mod 5 5 ≡ 45−1 mod 7 8 ≡ 35−1 mod 9 and so z1 = 2, z2 = 5, and z3 = 8. Therefore, x = 1(63)(2)…

• 1385 Words
• 6 Pages
Improved Essays
• Improved Essays

2014; Ramakrishnan et al. 2015]. Workload C of YCSB is used in load mode to upload the data to one cluster of 8 nodes. Figure 12 shows the performance of Cassandra with ByteOrder partitioner, the load is condensed in a one or two nodes which result in uneven distribution of data. Figure 13 demonstrates that using Murmur (the current default Partitioners) in Cassandra the load is almost distributed on the 8 nodes but not…

• 2049 Words
• 9 Pages
Improved Essays
• Improved Essays

After extraction, factor 1 accounts for 35.721% of variance (contributes to the most variance, as each successive factor will account for less and less variance), factor 2, factor 3 and factor 4 accounts for 7.759%, 5.660% and 5.342% respectively. Moreover, the eigenvalues of the factors after rotation are displayed at the column called “Rotation Sums of Squared Loadings” that factor 1 only makes up 5.338% of variance (compared to 2.691%, 2.618% and 2.428%…

• 984 Words
• 4 Pages
Improved Essays