当前位置:高等教育资讯网  >  中国高校课件下载中心  >  大学文库  >  浏览文档

西安电子科技大学:《大学计算机基础 Fundamentals of Computers》课程教学资源(PPT课件讲稿)Chapter 6-8 Lecture_Computer Codes

资源类别:文库,文档格式:PPT,文档页数:86,文件大小:413KB,团购合买
◼ 6. Computer Codes ◼ 7. Computer Arithmetic
点击下载完整版文档(PPT)

Computer Codes A computer is a digital system that stores and processes different types of data in the form of 0s and 1s. The different types of data handled by a computer system include numbers,alphabets and some special characters. Therefore,there is a need to change the data entered by the users into a form that the computer system can understand and process

Computer Codes ◼ A computer is a digital system that stores and processes different types of data in the form of 0s and 1s. ◼ The different types of data handled by a computer system include numbers, alphabets and some special characters. ◼ Therefore, there is a need to change the data entered by the users into a form that the computer system can understand and process

Computer Codes Different types of codes have been developed and used to represent the data entered by the users in the binary format. The binary system represents each type of data in terms of binary digits,0s and 1s. Since these codes convert the data into the binary form,the computer codes are also referred as binary codes

Computer Codes ◼ Different types of codes have been developed and used to represent the data entered by the users in the binary format. ◼ The binary system represents each type of data in terms of binary digits, 0s and 1s. ◼ Since these codes convert the data into the binary form, the computer codes are also referred as binary codes

Computer Codes Computer professionals use different number systems according to their requirements to communicate with the computer system. All the number systems used by computer professionals to interact with computer systems come under the category of positional number system. The positional number system is a number system in which numbers are represented using some symbols called digits and the values of these numbers can be determined by taking the position of digits into consideration

Computer Codes ◼ Computer professionals use different number systems according to their requirements to communicate with the computer system. ◼ All the number systems used by computer professionals to interact with computer systems come under the category of positional number system. ◼ The positional number system is a number system in which numbers are represented using some symbols called digits and the values of these numbers can be determined by taking the position of digits into consideration

Computer Codes The different positional number systems are: 。Decimal system ·Binary system 。Hexadecimal system 。Octal system

Computer Codes The different positional number systems are: ⚫ Decimal system ⚫ Binary system ⚫ Hexadecimal system ⚫ Octal system

Decimal System The decimal system is the most common number system used by human beings. ■ It is a positional number system that uses 10 as a base to represent different values.Therefore,this number system is also known as base 10 number system. In this system,10 symbols are available for representing the values.These symbols include the digits from 0 to 9.The common operations performed in the decimal system are addition (+) subtraction (-)multiplication (x),and division (/

Decimal System ◼ The decimal system is the most common number system used by human beings. ◼ It is a positional number system that uses 10 as a base to represent different values. Therefore, this number system is also known as base 10 number system. ◼ In this system, 10 symbols are available for representing the values. These symbols include the digits from 0 to 9. The common operations performed in the decimal system are addition (+), subtraction (-), multiplication (), and division (/)

Decimal System ◆ The decimal system can be used to represent both the integer as well as floating point values.The floating point values are generally represented in this system by using a period called decimal point. ◆ The decimal point is used to separate the integer part and the fraction part of the given floating point number. The value of any number represented in the decimal system can be determined by first multiplying the weight associated with each digit in the given number with the digit itself and then adding all these values produced as a result of multiplication operation

Decimal System ◼ The decimal system can be used to represent both the integer as well as floating point values. The floating point values are generally represented in this system by using a period called decimal point. ◼ The decimal point is used to separate the integer part and the fraction part of the given floating point number. ◼ The value of any number represented in the decimal system can be determined by first multiplying the weight associated with each digit in the given number with the digit itself and then adding all these values produced as a result of multiplication operation

Decimal System 6543.124 Digit 6 5 43 1 2 4 Weight 103 102 101 100 Decimal Point 101 10-2 10-3 The powers to the base increases by 1 towards the left for the integer part and decreases by 1 towards the right for the fraction part

Decimal System Digit 6 5 4 3 . 1 2 4 Weight 103 102 101 100 Decimal Point 10-1 10-2 10-3 6543.124 The powers to the base increases by 1 towards the left for the integer part and decreases by 1 towards the right for the fraction part

Binary System The binary system uses base 2 to represent different values.Therefore,the binary system is also known as base-2 system. ■ As this system uses base 2,only two symbols are available for representing the different values in this system.These symbols are 0 and 1,which are also know as bits in computer terminology. 0 Using binary system,the computer systems can store and process each type of data in terms of 0s and 1s only

Binary System ◼ The binary system uses base 2 to represent different values. Therefore, the binary system is also known as base-2 system. ◼ As this system uses base 2, only two symbols are available for representing the different values in this system. These symbols are 0 and 1, which are also know as bits in computer terminology. ◼ Using binary system, the computer systems can store and process each type of data in terms of 0s and 1s only

Binary System The following are some of the technical terms used in binary system: o I Bit:It is the smallest unit of information used in a computer system.It can either have the value 0 or 1.Derived from the words anary dit/7. Nibble:It is a combination of 4 bits. Byte:It is a combination of 8 bits. ■ Word:It is a combination of 16 bits. Double word:It is a combination of 32 bits. Kilobyte(KB):It is used to represent the 1024 bytes of information. Megabyte(MB):It is used to represent the 1024 KBs of information. Gigabyte (GB):It is used to represent the 1024 MBs of information

Binary System The following are some of the technical terms used in binary system: ◼ Bit: It is the smallest unit of information used in a computer system. It can either have the value 0 or 1. Derived from the words Binary ditIT. ◼ Nibble: It is a combination of 4 bits. ◼ Byte: It is a combination of 8 bits. ◼ Word: It is a combination of 16 bits. ◼ Double word: It is a combination of 32 bits. ◼ Kilobyte (KB): It is used to represent the 1024 bytes of information. ◼ Megabyte (MB): It is used to represent the 1024 KBs of information. ◼ Gigabyte (GB): It is used to represent the 1024 MBs of information

Binary System We can determine the weight associated with each bit in the given binary number in the similar manner as we did in the decimal system. In the binary system,the weight of any bit can be determined by raising 2 to a power equivalent to the position of bit in the number. 1011.101 Digit 1 0 1 1 1 0 1 Weight 23 22 21 20 Binary Point 21 22 2-3

Binary System ◼ We can determine the weight associated with each bit in the given binary number in the similar manner as we did in the decimal system. ◼ In the binary system, the weight of any bit can be determined by raising 2 to a power equivalent to the position of bit in the number. Digit 1 0 1 1 . 1 0 1 Weight 2 3 2 2 2 1 2 0 Binary Point 2 -1 2 -2 2 -3 1011.101

点击下载完整版文档(PPT)VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
共86页,可试读20页,点击继续阅读 ↓↓
相关文档

关于我们|帮助中心|下载说明|相关软件|意见反馈|联系我们

Copyright © 2008-现在 cucdc.com 高等教育资讯网 版权所有