.

Saturday, March 30, 2019

Principles Of Software Development

Principles Of Softw atomic number 18 DevelopmentGagandeep Singh(a) Different types of make out clay-1 binary star program The binary exit system tail end be equal by 2 digits (0 and 1) . all the selective information of our electronic computer is in the form of binary numbers. Binary number is to the highest degreely apply in electronic circuit to check there voltages (i.e., on/off switch) where 0 consider when switch is off and 1 when switch is on. besides the beastly of binary number is 2 because it has only 2 digits and each binary digit is known as go. physical exercises-a (010101)2 B (1010.101)2Decimal- decimal number system suffer be delineate by 10 types of digits from 0 to 9, so the base of decimal number system is 10. This is one of the most simple and familiar with everyone.Examples-A (456374)10 B (143.345)10Octal- it back tooth be introduceed by 8 different types from 0 to 7, so the base of octal is 8. The group of 3 binary digit is equal to 1 octal number . For example- 000 binary number is equal to 0, 001 binary number is equal to 1 and so on. Moreover in this octal number system some(prenominal) digit is always less than 8 because 8 has not a valid digit. For example-a (6342)8 B (2473.564)8 hex- hexadecimal tail end be represented by 16 digits from 0 to 15 but 0 to 9 send word be in digits but 10 to 15 in alphabets like 10 =A, 11=B, 12=C, 13=D, 14=E, 15=F. Only complex or wide numbers are used in this system.For example-A (CD45)16 B (D77.4A6)16. ( calculatesand tutorials)(b) convert 10310 to binary Answer = binary 1100111Hexadecimal is 67Octal is 147(c) Convert (1011010)2 to decimal and hexadecimal.Answer =Decimal(1011010)2(1011010)2 =126 + 0x25 + 124 + 123 + 0x22 + 121 + 0x20 =164 + 0x32 + 116 + 18 + 0x4 + 12 + 0x1 =64 + 0 + 16 + 8 + 0 + 2 + 0 = (90)10Hexadecimal is 5A.Integer it consist whole number that can be positive or negative like 12, 0, -12 or 1344. tho integers cant be in decimals. It is used to search the items in t he computer with the help of array. It strike 2 and 4 bytes. And the range for signed integers is -32,468 to 32767 or -2,147,483,648 to 2,147,483,647. For unsigned the range value is 0 to 65,535 or 0 to 4,294,967,295.Example- Int id (Techterm) singeacter a character may be any letter, number or symbol than can be typed on computer. There are two types of the character information types. Signed and unsigned. Each character occupy 1 byte of storage. Range of signed char is -128 to 127 and for unsignedis 0 to 255.Example- Char name (techterm)Float when we want to store a decimal determine in the variable than we can say this is blow out. It is also known as real number data type and the storage size of float is 4 bytes. The range is 1.2E-38 to 3.4E+38.Float avgDouble when we have to use data type on big eateries that type of data is double data type. Moreover storage size of double data type is 8 bytes.Boolean-when we have only two option like yes/no or true/false then we can sa y this type of data is known as Boolean data.Different types of coding system1. BCD autographThe full form of BCD is binary enrolld system. It has represented by 4 binary digits because it has 4 bit code. This code is more often than not used in the past.2. EBCDIC lawEBCDIC means extended binary coded decimal interchange code which can be represented by 256 characters and it has 8 bit code.3. ASCIIASCII stands for American received code for information interchange. The founder of this is ANSI (American National Standard Institute) in 1968 and mostly prefers to use on personal computer. It has 7 bit code which can be represented by 128 characters. This code is not enough to represent the graphics character on computer screen. As 8 bit character represent 256 character and the extended 128 character has unique code represent graphic symbols.4. UnicodeUnicode has a 16 bit code and it can be representing by 65536 characters. The main purpose of this is to replace ASCII code because it can represent all the characters of all languages in the world. (Ameen, 2011)5 BarcodeA barcode is adept like a image of small lines which shows the retails and identify the particular items. The code of the product is entered in the computer before to put on the shells. Moreover it has five main parts a quiet zone, a stimulate character, data character, a stop character, and another quiet zone. (manufacturingERP)

No comments:

Post a Comment