Mathematics for Computing 2016-2017. Lecture 1: Course Introduction and Numerical Representation презентация
Содержание
- 2. Topics 2016-17 Number Representation Logarithms Logic Set Theory Relations & Functions
- 3. Assessment In Class Test (Partway through term, 31/10) (20% of
- 4. Lecture / tutorial plans Lecture every week 18:00 for 18:10 start.
- 5. Provisional Timetable
- 6. Course Textbook Schaum’s Outlines Series Essential Computer Mathematics Author: Seymour Lipschutz
- 7. Maths Support http://www.bbk.ac.uk/business/current-students/learning-co-ordinators/eva-szatmari See separate powerpoint file.
- 8. Lecture 1 Rule 1 Communication is not easy, How do
- 9. Welcome Rule 1 We want to get the computer to do
- 10. Memory for numbers We don’t know how our memory stores numbers
- 11. Great, we know how to store 1 and 0 in the
- 12. If we want extra numbers we add an extra cup! If
- 13. We don’t need the cups now. We don’t need the cups
- 15. Convert from Binary to Decimal When we translate from the binary
- 16. Convert from Binary to Decimal When we translate from the binary
- 17. The binary system (computer) The way the computer stores numbers Base
- 18. The decimal system (ours) Probably because we started counting with our
- 19. Significant Figures Significant Figures: Important in science for precision of measurements.
- 20. Some binary numbers!!!
- 21. Convert from Binary to Decimal Lets make this more mathematical,
- 22. Convert from Binary to Decimal Example of how to use what
- 23. Idea for Converting Decimal to Binary Digit at position 0
- 24. Convert from Decimal to Binary
- 25. What Happens when we Convert from Decimal to Binary
- 26. Decimal to Binary conversion Algorithmically: Natural Numbers 1. Input n (natural
- 27. Convert from Decimal to Binary
- 28. Numbers we can already represent Natural numbers: 1, 2, 3, 4,
- 29. What’s still missing Fractional numbers (real numbers) Versions of one and
- 30. Decimal numbers (base 10) String of digits - symbol for negative
- 31. Representing Decimal numbers in Binary We can use two binary numbers
- 32. Representing Fractions in Binary Use a decimal point like in decimal
- 33. Representing decimal numbers in binary
- 34. Convert fractional part from Decimal to Binary To convert the decimal
- 35. Negative numbers First bit (MSB) is the sign bit If it
- 36. Negative Numbers – Calculate two’s Complement The generate two’s complement Write
- 37. Negative Numbers – Two’s Complement (examples) 3bit 8bit 011 310 00011101 2910 number 100 11100010
- 38. Negative numbers – Two’s Complement(3 bits) First bit (MSB) is the
- 39. Negative numbers – Two’s Complement (4 bits)
- 40. Computer representation Fixed length Integers Real Sign
- 41. Bits, bytes, words Bit: a single binary digit Byte: eight bits
- 42. Integers A two byte integer 16 bits 216 possibilities 65536
- 43. Signed integers
- 44. Real numbers ‘Human’ form: 4563.2835 Exponential form: 0.45632835 x 104
- 45. Real numbers Conversion from Human to Exponential and back 655.54 =
- 46. Real numbers 2 For a 32 bit real number Sign, 1
- 47. Types of numbers Integers: …, -3, -2, -1, 0, 1, 2,
- 48. Other representations Base Index form Number = baseindex e.g. 100 =
- 49. Other number systems Bases can be any natural number except 1.
- 50. Convert from Decimal to Base 7
- 51. Convert from Base 7 to Decimal
- 52. Convert from Decimal to Base 5 and back
- 53. Octal Base eight Digits 0,1,2,3,4,5,6,7 Example: 1210 = 148 = 11002
- 54. Convert from Binary to Octal and back
- 55. Hexadecimal Base sixteen Digits 0,1,2,3,4,5,6,7,8,9,A(10), B(11), C(12),D(13),E(14),F(15). Example B316 = 17910
- 56. Convert from Binary to Hexadecimal and back
- 57. Writing down the hexadecimal conversion table
- 58. Extra Slides 1 0 1 0 0 1 1 +1 1
- 59. End of Lecture
- 60. Extra Slides The following slides present the same information already appearing
- 61. Decimal to Binary conversion 1: Mathematical Operations n div 2 is
- 62. Decimal to Binary conversion 2: Natural Numbers 1. Input n (natural
- 63. Decimal to Binary conversion 3: Fractional Numbers 1. Input n 2.
- 64. Some hexadecimal (and binary) numbers!!!
- 65. End
- 66. Скачать презентацию
Слайды и текст этой презентации
Скачать презентацию на тему Mathematics for Computing 2016-2017. Lecture 1: Course Introduction and Numerical Representation можно ниже: