Lesson Plan. Preparation

Size: px
Start display at page:

Download "Lesson Plan. Preparation"

Transcription

1 Math Practicum in Information Technology Lesson Plan Performance Objective Upon completion of this lesson, each student will be able to convert between different numbering systems and correctly write mathematical formulas for use in computer programs. Specific Objectives Students will explain the concept of binary. Students will convert numbers between binary and decimal. Students will explain the concept of hexadecimal. Students will convert numbers between hexadecimal, binary, and decimal. Students will solve and write equations as utilized in computer programming. This lesson should take 10-1 class days to complete. Preparation TEKS Correlations This lesson, as published, correlates to the following TEKS. Any changes/alterations to the activities may result in the elimination of any or all of the TEKS listed. Practicum in Information Technology (c) (3) The student applies academic knowledge and skills to research and develop projects. The student is expected to: (B) demonstrate proper use of mathematics concepts in the development of products or services; and (C) demonstrate proper use of science principles in the development of products or services. Interdisciplinary Correlations Reading I, II, III (b) (1) The student uses the following word recognition strategies. The student is expected to: (A) Apply knowledge of letter-sound correspondences, language structure, and context to recognize words; 1

2 (B) Use reference guides such as dictionaries, glossaries, and available technology to determine pronunciations of unfamiliar words; () The student acquires an extensive vocabulary through reading and systemic word study. The student is expected to: (A) Expand vocabulary by reading, viewing, listening, and discussing; (B) Determine word meanings through the study of their relationships to other words and concepts such as content, synonyms, antonyms, and analogies; (4) The student comprehends text using effective strategies. The student is expected to: (A) Use prior knowledge and experience to comprehend; (B) Determine and adjust purpose for reading; and (D) Summarize texts by identifying main ideas and relevant details. Public Speaking I, II, III (b) (4) Organization. The student organizes speeches. The student is expected to: (B) Organize speeches effectively for specific topics, purposes, audiences, and occasions. (7) Delivery. The student uses appropriate strategies for rehearsing and presenting speeches. The student is expected to: (C) Develop verbal, vocal, and physical skills to enhance presentations. Tasks Students will utilize provided notes and slide presentation to complete notes pages. Students will complete worksheets. Accommodations for Learning Differences It is important that lessons accommodate the needs of every learner. These lessons may be modified to accommodate your students with learning differences by referring to the files found on the Special Populations page of this website (cte.unt.edu). Preparation Copy the handouts. Have multimedia presentations ready to show the class. Instructional Aids Student Notes sheet Student worksheets Materials Needed Copies Pencils

3 Equipment Needed Teacher computer Projector (for slide presentation) Introduction Learner Preparation Review slides 1-6 of the multimedia presentation with the class (positional numbering systems - specifically decimal). Lesson Introduction Ask the class: o How is data represented within a computer system? o How would information be more readable or user friendly for programmers and technicians? Tell the class that every character and command given to a computer by a user is translated into binary before it can be sent to the CPU for processing. Explain that in-depth computer troubleshooting and programming requires a firm understanding of numbering systems and how to convert between them. 3

4 Outline MI OUTLINE Slides 1 6 Decimal Review a. Natural numbers b. Integers c. Positional numbering system d. Number base e. Review of exponent laws regarding 0 and 1 st power f. Review positional numbering system a. Hundreds b. Tens c. Ones Slides 8 11 Converting from binary to decimal Slides 9 16 Converting from decimal to binary Slides 17 Introduction to hexadecimal Conversion from hexadecimal to binary Slides 3 6 Conversion from decimal to hexadecimal Slides 7 31 Rewriting math in programming Slides 3 36 Using math in programming NOTES TO TEACHER Extension notes are provided in the multimedia presentation. Timeline of delivery is at discretion of instructor. Guidelines regarding division of information are suggestions only. Upon completion of Slide 11, give students the binary to decimal conversion worksheet. Upon completion of Slide 16, give students the decimal to binary worksheet. Upon completion of Slide, give students the hexadecimal to binary worksheet. Upon completion of Slide 6, give students the decimal to hexadecimal worksheet. Upon completion of Slide 31, give students the evaluation of expressions worksheet. Upon completion of Slide 36, give students the worksheet on using programs to write and solve mathematical formulas worksheet. Multiple Intelligences Guide Existentialist Interpersonal Intrapersonal Kinesthetic/ Bodily Logical/ Mathematical Musical/Rhythmic Naturalist Verbal/Linguistic Visual/Spatial 4

5 Application Guided Practice Students will use the provided slide presentation to complete the notes handouts pages. Independent Practice Students will complete all provided worksheets: o Binary to decimal o Decimal to binary o Hexadecimal to binary o Decimal to hexadecimal o Rewriting math for computer programs o Using math in computer programs Summary Review Why is it important to know how to use math properly? What is the fundamental language of computers? Why was binary chosen as machine language? Evaluation Informal Evaluation The teacher will check frequently for understanding Very small work group option (peer tutoring) Formal Evaluation Worksheets and test over the material 5

6 Binary, Hex, and Decimal, Oh My! Student Notes Handout a. numbers a. Zero and any number obtained by repeatedly adding one to it b. Ex. 0, 1, 3, 100 b. Integers a. Any number b. Includes negative numbers and zero c. Numbering System a. The number depends on the position of the digits to represent the number. d. Number base a. The (or radix) is the number of digits used to represent numbers in a positional numerical system. Any number to the power is equal to 1. Example: 0 = Any number to the power is equal to that. Example: 1 = 6

7 Converting from Decimal to Binary Base The base of a number is indicated by a value at the end of the number. If there is no subscript the base is assumed to be 10 (or decimal). Uses and Binary uses two as its base so each is equal to two to an exponent. Since we are using two single characters we use and as our two digits. Consider the binary number Binary Table Do you see how each in value? This makes binary one of the easiest numbering systems to convert to decimal. Using basic addition, we can take any binary number and convert it to a decimal equivalent. As long as you memorize the pattern all you have to do is the value of the placeholders where a 1 appears. 7

8 Look at the table. In the top row you notice there are only zeros and ones. This one is a little easier for you by adding the table and colors. This is the number we are going to convert to decimal,. By looking down the chart you can see that we are going to use the following values:,, and because there are 1s in those placeholders. Note that red indicates which numbers we will use to convert to a decimal value. Using the formal method, we would transfer the digits to the blue box you see on the right of the slide. I like to use the vertical alignment to make things easier to read. We start with ; determine that there is a zero in that placeholder. What is the answer when you multiply any number by zero? Answer: Moving down the line we have zeros until we get to the place holder right? This placeholder has a instead of a zero., which is equal to What is the product of any number multiplied by one? Answer: number Once you have calculated the of all the placeholders where a 1 appears, we add the answers together. What is the sum of 8+4+? Answer: The decimal equivalent of is, which is shown in the green box. 8

9 Converting from Decimal to Binary Can be done two different ways Long Division Convert from decimal to binary. Sort by the original number by our base, which is. Notice that we do not directly divide 35 by and get 16. You must divide the numbers so that you have a of or at the end of the process. Once you reach a 0 or 1 as the remainder you move to the next step. Using the we got in the first step (35 divided by ), we move to the second step, which is dividing by. We the process until we have in the,, and. Now here comes the tricky part. Example: Binary Each of the zeros and ones in the remainders represent individual. These bits are in order so we have to do what we call, meaning we rewrite them putting the bit in the position when we write the number in binary format. is flipped to. Once we rewrite the number, we see that 35 in binary is You can always check your answer by using the binary to decimal conversion method. Go ahead, check our math. = 9

10 Subtraction Convert 3710 to binary using subtraction Looking at our binary table what is the? Answer: number that is still less than To indicate that 3 will be used, we put a in the placeholder. Once we subtract 3 from 37 we have left, right? What is the number in our table that is still lower than 3? Answer: Skip down to the placeholder and put in a 1. What is the only number left that we can use that is lower than or equal to 1? Answer: Now we put a in the placeholder. Continue the subtraction process until we get zero as an answer. What do you think we do with all those blank spaces in the table? Answer: Unlike using the division method, you have to flip the bits in this case, so the binary representation of =. 10

11 Hexadecimal Characters You can convert directly from hex to decimal but not from decimal to hex. In order to represent the numbers (to give us our 16 characters) we use letters. A = 10, B = 11, C = 1, D = 13, E = 14, and F = 15. Each is equal to (combination of zeros and ones), and like binary, can be combined to create even larger numbers. Hexadecimal (Hex) Binary Decimal B 11 C E 14 F 1111 As with binary and decimal, is a numbering system. Each placeholder uses as its base and is equal to 16 to an exponent. 11

12 Look at the table. is the hexadecimal number we are going to convert to decimal. By looking at the chart, I can see that we are going to use the following values: and because there are characters in those placeholders. Note that the color red indicates which numbers we will use to convert to a value. Using the formal method again and for easier reading, we will we use to the blue box on the right of the slide. Just like converting binary, once you have calculated the where a character appears, we the answers together. the of all the placeholders What is the sum of ? Answer: The decimal equivalent of is,which is shown in the green box. 1

13 Decimal to Hex Conversion Convert 5410 to Hexadecimal The easiest way to convert a decimal number to hex is to go to at it using the subtraction method to go from decimal to binary. first. Let s look Convert from to binary Convert from binary to Now we know that is equal to in binary. Here is where we take the next step. Remember that when we first discussed hexadecimal and looked at the hex/binary/decimal table you learned that each hex character represents binary bits. Note that we have the binary bits into of. Each of the four bits are then into a character. Looking first at the left-hand group of four: hex? Answer: Look at the second group of four: Answer:. How would is that number represented in. How would you represent that number in hex? While it looks like 5410 in hex is thirty-six,it is actually read as. 13

14 Convert 1810 to Hexadecimal Decimal to binary Binary to hex Rewriting math in Programming Parentheses Multiplication and/or division in the order they appear Addition and/or subtraction in the Writing Formulas for Computer Programs What is the formula in the green box? Answer: Area of a circle Computer programs do not recognize the symbol for Pi and there are no options for superscripts to indicate exponents in the majority of compilers. This very common formula must be rewritten in a way a computer program can decipher it. 14

15 In order to represent exponents, we use what s called a carrot top, which you see in the red box and you get by pressing. To represent you must use the value. For most applications 3.14 is adequate; however, for more precise calculations, you can use as many decimal places as you require. You can use virtually any variable to represent the A; however, you must remember that certain words are and can vary from language to language, so be cautious and document your code so that other programmers will be able to understand your code easily. Looking at the blue box, we see how the same formula would be written in a computer program. Notice we have used the top to indicate the and the number 3.14 to represent. r has been left alone with the assumption that the radius is either in or by the user at some earlier point in the program. Rewrite the formula for the slope of a line Using Math in Computer Programming Math is universal. The of programs that are written involve some type of. The formulas can range from very simple to highly complex. Used to Solve and or complex calculations for a company Track data sets in calculations Create files (programs) Create systems Machine Language Everything that happens within a computer all the way from the GUI we see to the files we save is into language. Each entered into the machine; each the user issues is translated into codes. Boolean Operators Because of some of the programs you will write, we also need to discuss the or Boolean operators in computer programming. These operators have their own, fit into, and have a specific of operation. 15

16 Boolean/Logic (or bool) Operators a. Also called Operators or just b. Logical operators that or a. = false b. = true c. Three basic bool operators a. = arguments must be true for the statement to return True. b. = argument may be for the statement to return True. c. = the statement to if it returns and if it returns. d. Order of operations as with PEMDAS, groups are evaluated and operators are evaluated in the following order: a. b. c. d. e. f. g. 16

17 Truth Tables These are truth tables. tables help us to visualize all possible results of or comparisons. The results of AND and NOTAND are in the blue tables while the results of OR and NOTOR are in the green tables. Truth tables help us step through our program code and determine if our is sound. 17

18 Binary, Hex, and Decimal Oh My Student Notes Handout a. Natural numbers a. Zero and any number obtained by repeatedly adding one to it b. Ex. 0, 1, 3, 100 b. Integers a. Any whole number b. Includes negative numbers and zero c. Positional Numbering System a. The number depends on the position of the digits to represent the number. d. Number base a. The base (or radix) is the number of single digits used to represent numbers in a positional numerical system. Any number to the 0 power is equal to 1. Example: 0 = 1 Any number to the 1 st power is equal to that number. Example: 1 = 7 * 10 = 7 * 100 = * 10 = 4 * 10 = * 10 = 5 * 1 =

19 Converting from Decimal to Binary Base The base of a number is indicated by a subscript value at the end of the number. If there is no subscript the base is assumed to be 10 (or decimal). Uses 0 and 1 Binary uses two as its base so each placeholder is equal to two to an exponent. Since we are using two single characters we use zero and one as our two digits. Consider the binary number This is where binary digits (0s and 1s) go Do you see how each placeholder doubles in value? This makes binary one of the easiest numbering systems to convert to decimal. Using basic addition, we can take any binary number and convert it to a decimal equivalent. As long as you memorize the pattern all you have to do is add the value of the placeholders where a 1 appears. 19

20 Convert from binary to decimal Look at the table. In the top row you notice there are only have zeros and ones. This one is a little easier for you by adding the table and colors. This is the binary number we are going to convert to decimal, By looking down the chart you can see that we are going to use the following values: 3,, and 1 because there are 1s in those placeholders. Note that red indicates which numbers we will use to convert to a decimal value. Using the formal method, we would transfer the digits to the blue box you see on the right of the slide. The vertical alignment makes things easier to read. I like to use the vertical alignment to make things easier to read. We start with 18; determine that there is a zero in that placeholder. What is the answer when you multiply any number by zero? Answer: zero Moving down the line we have zeros until we get to the place holder 3, which is equal to 8 right? This placeholder has a one instead of a zero. What is the product of any number multiplied by one? Answer: That number Once you have calculated the products of all the placeholders where a 1 appears, we add the answers together. What is the sum of 8+4+? Answer: 14 The decimal equivalent of is 14, which is shown in the green box. Converting from Decimal to Binary Can be done two different ways 0

21 Long division Subtraction Long Division Convert 3510 from decimal to binary. Start by dividing the original number by our base, which is. Notice that we do not directly divide 5 by and get 16. You must divide the numbers individually so that you have a remainder of zero or one at the end of the process. Once you reach a 0 or 1 as the remainder you move to the next step. Using the quotient we got in the first step (35 divided by ), we move to the second step, which is dividing 17 by. We repeat the process until we have zero in the quotient, dividend, and remainder. Now here comes the tricky part. Example: Binary Each of the zeros and ones in the remainders represent individual bits. These bits are in reverse order so we have to do what we call flipping the bits, meaning we rewrite them putting the rightmost bit in the leftmost position when we write the number in binary format is flipped to Once we rewrite the number we see that 35 in binary is You can always check your answer by using the binary to decimal conversion method. Go ahead, check our math = 35 1

22 Subtraction Convert 3710 to binary using subtraction Looking at our binary table what is the highest number that is still less than 37? Answer: 3 To indicate that 3 will be used, we put a 1 in the 5 placeholder. Once we subtract 3 from 37 we have 3 left, right? What is the highest number in our table that is still lower than 3? Answer: Skip down to the 1 placeholder and put in a 1. What is the only number left that we can use that is lower than or equal to 1? Answer: 1 Now we put a 1 in the 0 placeholder. Continue the subtraction process until we get zero as an answer. What do you think we do with all those blank spaces in the table? Answer: Fill them with zeros because they are not used. Unlike using the division method, you do not have to flip the bits in this case, so the binary representation of =

23 Hexadecimal Characters 0 9 A F You can convert directly from hex to decimal but not from decimal to hex. In order to represent the numbers (to give us our 16 characters) we use letters. A = 10, B = 11, C = 1, D = 13, E = 14, and F = 15. Each character is equal to four bits (combination of zeros and ones), and like binary, can be combined to create even larger numbers. Hexadecimal (Hex) Binary Decimal A B C D E F As with binary and decimal, hexadecimal is a positional numbering system. Each placeholder uses 16 as its base and is equal to 16 to an exponent. 3

24 Look at the table. FF is the hexadecimal number we are going to convert to decimal. By looking down the chart, I can see that we are going to use the following values: 16 1 and 16 0 because there are characters in those placeholders. Note that I have used the color red to indicate which numbers we will use to convert to a decimal value. Using the formal method again and for easier reading, we will transfer the digits we use to the blue box on the right of the slide. Just like converting binary, once you have calculated the products of all the placeholders where a character appears, we add the answers together. What is the sum of ? Answer: 55 The decimal equivalent of FF16 is 55, which is shown in the green box. 4

25 Decimal to Hex Conversion Convert 5410 to Hexadecimal The easiest way to convert a decimal number to hex is to go to binary first. Let s look at it using the subtraction method to go from decimal to binary. Convert from decimal to Convert from binary to hex Now we know that 5410 is equal to in binary. Here is where we take the next step. Remember that when we first discussed hexadecimal and when we looked at the hex/binary/ decimal table you learned that each hex character represents four binary bits. Note that we have divided the binary bits into groups of four. Each of the four bits are then translated into a hex character. Looking first at the left-hand group of four: How would you represent that number in hex? Answer: 3 Look at the second group of four: How would you represent that number in hex? Answer: 6 While it looks like 5410 in hex is thirty-six, it is actually read as three six. 5

26 Convert 1810 to Hexadecimal Rewriting math in Programming PEMDAS Parentheses Exponents Multiplication and/or division in the order they appear Addition and/or subtraction in the order they appear Writing Formulas for Computer Programs What is the formula in the green box? Answer: Area of a circle 6

27 Computer programs do not recognize the symbol for Pi and there are no options for superscripts to indicate exponents in the majority of compilers. This very common formula must be rewritten in a way a computer program can decipher it. In order to represent exponents, we use what s called a carrot top, which you see in the red box and you get by pressing shift+6. To represent Pi you must use the numerical value For most applications 3.14 is adequate; however, for more precise calculations, you can use as many decimal places as you require. You can use virtually any variable to represent the A; however, you must remember that certain words are reserved words and can vary from language to language, so be cautious and document your code so that other programmers will be able to understand your code easily. Looking at the blue box we see the way we would write the same formula in a computer program. Notice we have used the carrot top for the exponent and the number 3.14 to represent Pi. r has been left alone with the assumption that the radius is either read in or entered by the user at some earlier point in the program. Rewrite the formula for the slope of a line Using Math in Computer Programming Math is universal. The majority of programs that are written involve some type of calculation. The formulas can range from very simple to highly complex. Used to Solve repetitive and or complex calculations Payroll for a company Track complex data sets in scientific calculations Create executable files (programs) Create automated systems Machine Language Everything that happens within a computer all the way from the GUI we see to the files we save is translated into machine language. Each character entered into the machine; each instruction the user issues is translated into binary codes. 7

28 Boolean Operators Because of some of the programs you will write, we also need to discuss the logical or Boolean operators in computer programming. These operators have their own symbols, fit into PEMDAS, and have a specific order of operations. Boolean/Logic (or bool) Operators a. Also called Logical Operators or just bool b. Logical operators that return true or false a. 0 = false b. 1 = true c. Three basic bool operators a. and = and - AND: both arguments must be true for the statement to return True. b. - OR: either argument may be true for the statement to return True. c.! NOT: toggles the statement to False if it returns True and True if it returns False. d. Order of operations As with PEMDAS, parenthetical groups are evaluated first and operators are evaluated in the following order: a. NOT (!) b. Multiplication/division (*, /) c. Addition/subtraction (+, -) d. Relational operators (<, <=, >, >=) e. NOT Equal (!=) f. AND (andand) g. OR ( ) 8

29 Truth Tables These are truth tables. Truth tables help us to visualize all possible results of Boolean or logical comparisons. The results of AND and NOTAND are in the blue tables while the results of OR and NOTOR are in the green tables. Truth tables help us step through our program code and determine if our logic is sound and rational. 9

30 Binary to Decimal Worksheet Convert the following numbers from binary to decimal. Please show your work. Do not use electronic devices. a b c d e f g h i j

31 Binary to Decimal Worksheet KEY Convert the following numbers from binary to decimal. Please show your work. Do not use electronic devices

32 Decimal to Binary Worksheet Convert the following decimal numbers to binary. For the first five you may use the subtraction method. For the second five you must use the long division method. You must show all work. No electronic devices are allowed. Please use a separate sheet of paper

33 Decimal to Binary Worksheet KEY Convert the following decimal numbers to binary. For the first five you may use the subtraction method. For the second five you must use the long division method. You must show all work. No electronic devices are allowed. Please use a separate sheet of paper = = = = = = = = = =

34 Hexadecimal to Decimal Conversion You will need to convert the numbers below from hexadecimal to decimal format. Please do not use a calculator (or any other electronic device) and show all work F16 5. F E AB16 9. C D16 34

35 Hexadecimal to Decimal Conversion KEY You will need to convert the numbers below from hexadecimal to decimal format. Please do not use a calculator (or any other electronic device) and show all work = = = F16 = F016 = E116 = = AB16 = C116 = D16 = 13 35

36 Binary to Hexadecimal Conversions Convert the following numbers from binary to hexadecimal. Please show your work. Do not use electronic devices

37 Binary to Hexadecimal Conversions KEY Convert the following numbers from binary to hexadecimal. Please show your work. Do not use electronic devices = A = = 3C = EC = = = = = FF =

38 Decimal to Hexadecimal Conversions Convert the numbers below from decimal to hexadecimal. Please show all your work and do not use electronic devices

39 Decimal to Hexadecimal Conversions KEY Convert the numbers below from decimal to hexadecimal. Please show all your work and do not use electronic devices = FF = = 1A = = A = AC = = = = F16 39

40 Evaluations of Expressions and Formulas Evaluate the following expressions as the computer does. Show your work NEATLY and include all calculations. Round your final answer to ONE decimal place * * 1 / 4 + 3^ ^ / (-0.6) 3. 8 * (4 6 / 3) (5 6 * 4 / 3) 4. (4.3.5) / (7 +.1 / 0.7 1) - * (4.5 / ) 5. 9 * 6 / 5 * ^ + 9 / 4 (-6) / / (6 / 3 + ^3) / (6 5) Write the following formulas in the correct form to be used in a BASIC expression. Alphabetic characters represent variables. Special symbols should be written numerically. 7. V = πh (r + ra + A ) 8. V = P 1 (1 + i) n 3 i mt 9. A = P 1 + r 10. C = (x h) + (y k) m 3a 4b 40

41 Evaluations of Expressions and Formulas KEY Evaluate the following expressions as the computer does. Show your work NEATLY and include all calculations. Round your final answer to ONE decimal place * * 1 / 4 + 3^ ^ / (-0.6) 8 * * 1 / / (-0.6) / (-.4) * (4 6 / 3) (5 6 * 4 / 3) 4. (4.3.5) / (7 +.1 / 0.7 1) - * (4.5 / ) 8 * (4 ) (5 4 / 3) (1.5) / ( ) *.5 8 * (4 ) (5 8) 1.5 / * (-3) (-3) * 6 / 5 * ^ + 9 / 4 (-6) / / (6 / 3 + ^3) / (6 5) 9 * 6 / 5 * / 4 (-6) / 35 / (6 / 3 + 8) / (6 5) 54 / 5 * / 4 (-6) / 35 / ( + 8) / (-1) (-3) 35 / 10 / (-1) Write the following formulas in the correct form to be used in a BASIC expression. Alphabetic characters represent variables. Special symbols should be written numerically. 7. V = πh (r + ra + A ) 8. V = P 1 (1 + i) n 3 i V = (3.14 * h * (r^ + r * A + A^)) / 3 V = P * (1 ((1 + i) ^ -n) / i) 9. A = P 1 + r mt 10. C = (x h) + (y k) m 3a 4b A = P * ((1 + r / m) ^ (m * t)) C = ((x h)^) / (3 * a^) + ((y k) ^) / (4 * b) 41

42 Convert the following from binary to decimal: Numbering Conversions Test Convert the following from decimal to binary: Convert the following from hexadecimal to decimal: 7. F 8. 1D Convert the following from decimal to hexadecimal: Convert the following from binary to hexadecimal: Evaluate the following equations: (3 3 + ) / ( + 1 ) Rewrite the following equations as you would in a computer program: 18. AA = ππrr 19. xx = bb± bb 4aaaa aa 0. aa + bb = cc 4

43 Convert the following from binary to decimal: = = = Convert the following from decimal to binary: = = = Numbering Conversions Test KEY Convert the following from hexadecimal to decimal: 1. F16 = D16 = = 8010 Convert the following from decimal to hexadecimal: = = = 1616 Convert the following from binary to hexadecimal: = CC = F = 3C16 Evaluate the following equations: ( 3 + ) / 6 = ( + 1 ) = Rewrite the following equations as you would in a computer program: 3. AA = ππrr A = 3.14 * r^ 33. xx = bb+aaaa x = (-b + A *C) / ( * a) aa 34. aa + bb = cc c^ = a^ + b^ 43

Level ISA3: Information Representation

Level ISA3: Information Representation Level ISA3: Information Representation 1 Information as electrical current At the lowest level, each storage unit in a computer s memory is equipped to contain either a high or low voltage signal Each

More information

CS & IT Conversions. Magnitude 10,000 1,

CS & IT Conversions. Magnitude 10,000 1, CS & IT Conversions There are several number systems that you will use when working with computers. These include decimal, binary, octal, and hexadecimal. Knowing how to convert between these number systems

More information

Watkins Mill High School. Algebra 2. Math Challenge

Watkins Mill High School. Algebra 2. Math Challenge Watkins Mill High School Algebra 2 Math Challenge "This packet will help you prepare for Algebra 2 next fall. It will be collected the first week of school. It will count as a grade in the first marking

More information

The. Binary. Number System

The. Binary. Number System The Binary Number System Why is Binary important? Everything on a computer (or other digital device) is represented by Binary Numbers One to Five in various systems 1 2 3 4 5 I II III IV V 1 10 11 100

More information

Name: Date: Review Packet: Unit 1 The Number System

Name: Date: Review Packet: Unit 1 The Number System Name: Date: Math 7 Ms. Conway Review Packet: Unit 1 The Number System Key Concepts Module 1: Adding and Subtracting Integers 7.NS.1, 7.NS.1a, 7.NS.1b, 7.NS.1c, 7.NS.1d, 7.NS.3, 7.EE.3 To add integers with

More information

1.1 Review of Place Value

1.1 Review of Place Value 1 1.1 Review of Place Value Our decimal number system is based upon powers of ten. In a given whole number, each digit has a place value, and each place value consists of a power of ten. Example 1 Identify

More information

Pre Algebra 2. Student Goals. Curriculum Sample

Pre Algebra 2. Student Goals. Curriculum Sample Pre Algebra 2 Curriculum Sample A Grade Ahead s rigorous, year-round math enrichment program is designed to challenge your child to a higher academic standard. Our monthly curriculum includes mathematical

More information

Common Core State Standards Mathematics (Subset K-5 Counting and Cardinality, Operations and Algebraic Thinking, Number and Operations in Base 10)

Common Core State Standards Mathematics (Subset K-5 Counting and Cardinality, Operations and Algebraic Thinking, Number and Operations in Base 10) Kindergarten 1 Common Core State Standards Mathematics (Subset K-5 Counting and Cardinality,, Number and Operations in Base 10) Kindergarten Counting and Cardinality Know number names and the count sequence.

More information

Adding and Subtracting with Decimals

Adding and Subtracting with Decimals Adding and Subtracting with Decimals Before you can add or subtract numbers with decimals, all the decimal points must be lined up. (It will help if you use zeros to fill in places so that the numbers

More information

Number Systems CHAPTER Positional Number Systems

Number Systems CHAPTER Positional Number Systems CHAPTER 2 Number Systems Inside computers, information is encoded as patterns of bits because it is easy to construct electronic circuits that exhibit the two alternative states, 0 and 1. The meaning of

More information

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. Numbers & Number Systems

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. Numbers & Number Systems SCHOOL OF ENGINEERING & BUILT ENVIRONMENT Mathematics Numbers & Number Systems Introduction Numbers and Their Properties Multiples and Factors The Division Algorithm Prime and Composite Numbers Prime Factors

More information

Chapter 2 Exercises and Answers

Chapter 2 Exercises and Answers Chapter 2 Exercises and nswers nswers are in blue. For Exercises -5, match the following numbers with their definition.. Number. Natural number C. Integer number D. Negative number E. Rational number unit

More information

1. NUMBER SYSTEMS USED IN COMPUTING: THE BINARY NUMBER SYSTEM

1. NUMBER SYSTEMS USED IN COMPUTING: THE BINARY NUMBER SYSTEM 1. NUMBER SYSTEMS USED IN COMPUTING: THE BINARY NUMBER SYSTEM 1.1 Introduction Given that digital logic and memory devices are based on two electrical states (on and off), it is natural to use a number

More information

Chapter 1 Operations With Numbers

Chapter 1 Operations With Numbers Chapter 1 Operations With Numbers Part I Negative Numbers You may already know what negative numbers are, but even if you don t, then you have probably seen them several times over the past few days. If

More information

COMP Overview of Tutorial #2

COMP Overview of Tutorial #2 COMP 1402 Winter 2008 Tutorial #2 Overview of Tutorial #2 Number representation basics Binary conversions Octal conversions Hexadecimal conversions Signed numbers (signed magnitude, one s and two s complement,

More information

Integers and Rational Numbers

Integers and Rational Numbers A A Family Letter: Integers Dear Family, The student will be learning about integers and how these numbers relate to the coordinate plane. The set of integers includes the set of whole numbers (0, 1,,,...)

More information

Summer Assignment Glossary

Summer Assignment Glossary Algebra 1.1 Summer Assignment Name: Date: Hour: Directions: Show all work for full credit using a pencil. Circle your final answer. This assignment is due the first day of school. Use the summer assignment

More information

5th Grade Mathematics Mathematics CC

5th Grade Mathematics Mathematics CC Course Description Fifth grade students will learn mathematical skills and applications relating to Operations and Algebraic Thinking, Number and Operations in Base Ten, Number and Operations in Fractions,

More information

TOPIC: NUMBER SYSTEMS

TOPIC: NUMBER SYSTEMS Ministry of Secondary Education Progressive Comprehensive High School PCHS Mankon Bamenda Department of Computer Studies Republic of Cameroon Peace Work - Fatherland TOPIC: NUMBER SYSTEMS Class: Comp.

More information

Algebra Homework: Chapter 1 (Homework is listed by date assigned; homework is due the following class period) Day Date In-Class Homework

Algebra Homework: Chapter 1 (Homework is listed by date assigned; homework is due the following class period) Day Date In-Class Homework Algebra Homework: Chapter 1 (Homework is listed by date assigned; homework is due the following class period) Day Date In-Class Homework 1 T 8/30 Introductions Operations on Decimals Converting Decimals

More information

Unit 3: Multiplication and Division Reference Guide pages x 7 = 392 factors: 56, 7 product 392

Unit 3: Multiplication and Division Reference Guide pages x 7 = 392 factors: 56, 7 product 392 Lesson 1: Multiplying Integers and Decimals, part 1 factor: any two or more numbers multiplied to form a product 56 x 7 = 392 factors: 56, 7 product 392 Integers: all positive and negative whole numbers

More information

Review of Data Representation & Binary Operations Dhananjai M. Rao CSA Department Miami University

Review of Data Representation & Binary Operations Dhananjai M. Rao CSA Department Miami University Review of Data Representation & Binary Operations Dhananjai M. Rao () CSA Department Miami University 1. Introduction In digital computers all data including numbers, characters, and strings are ultimately

More information

DIGITAL SYSTEM DESIGN

DIGITAL SYSTEM DESIGN DIGITAL SYSTEM DESIGN UNIT I: Introduction to Number Systems and Boolean Algebra Digital and Analog Basic Concepts, Some history of Digital Systems-Introduction to number systems, Binary numbers, Number

More information

Lesson Plan. Course Title: Principles of Information Technology Session Title: Intro to Databases Lesson Duration: Varies dependent upon instructor

Lesson Plan. Course Title: Principles of Information Technology Session Title: Intro to Databases Lesson Duration: Varies dependent upon instructor Lesson Plan Course Title: Principles of Information Technology Session Title: Intro to Databases Lesson Duration: Varies dependent upon instructor Performance Objective: Upon completion of this lesson,

More information

Chapter 1: Foundations for Algebra

Chapter 1: Foundations for Algebra Chapter 1: Foundations for Algebra Dear Family, The student will follow the order of operations, a set of rules that standardize how to simplify expressions. Order of Operations 1. Perform operations within

More information

Appendix 2 Number Representations

Appendix 2 Number Representations Appendix 2 Number Representations There are many different ways to represent whole numbers. While we are comfortable counting in decimal (0,1,2,3,4,5,6,7,8,9,10,11,12, ), that is only one set of names

More information

Chapter 2. Data Representation in Computer Systems

Chapter 2. Data Representation in Computer Systems Chapter 2 Data Representation in Computer Systems Chapter 2 Objectives Understand the fundamentals of numerical data representation and manipulation in digital computers. Master the skill of converting

More information

Gateway Regional School District VERTICAL ALIGNMENT OF MATHEMATICS STANDARDS Grades 3-6

Gateway Regional School District VERTICAL ALIGNMENT OF MATHEMATICS STANDARDS Grades 3-6 NUMBER SENSE & OPERATIONS 3.N.1 Exhibit an understanding of the values of the digits in the base ten number system by reading, modeling, writing, comparing, and ordering whole numbers through 9,999. Our

More information

Slide Set 1. for ENEL 339 Fall 2014 Lecture Section 02. Steve Norman, PhD, PEng

Slide Set 1. for ENEL 339 Fall 2014 Lecture Section 02. Steve Norman, PhD, PEng Slide Set 1 for ENEL 339 Fall 2014 Lecture Section 02 Steve Norman, PhD, PEng Electrical & Computer Engineering Schulich School of Engineering University of Calgary Fall Term, 2014 ENEL 353 F14 Section

More information

SUMMER REVIEW PACKET 2 FOR STUDENTS ENTERING ALGEBRA 1

SUMMER REVIEW PACKET 2 FOR STUDENTS ENTERING ALGEBRA 1 SUMMER REVIEW PACKET FOR STUDENTS ENTERING ALGEBRA Dear Students, Welcome to Ma ayanot. We are very happy that you will be with us in the Fall. The Math department is looking forward to working with you

More information

HOW TO DIVIDE: MCC6.NS.2 Fluently divide multi-digit numbers using the standard algorithm. WORD DEFINITION IN YOUR WORDS EXAMPLE

HOW TO DIVIDE: MCC6.NS.2 Fluently divide multi-digit numbers using the standard algorithm. WORD DEFINITION IN YOUR WORDS EXAMPLE MCC6.NS. Fluently divide multi-digit numbers using the standard algorithm. WORD DEFINITION IN YOUR WORDS EXAMPLE Dividend A number that is divided by another number. Divisor A number by which another number

More information

6-8 Math Adding and Subtracting Polynomials Lesson Objective: Subobjective 1: Subobjective 2:

6-8 Math Adding and Subtracting Polynomials Lesson Objective: Subobjective 1: Subobjective 2: 6-8 Math Adding and Subtracting Polynomials Lesson Objective: The student will add and subtract polynomials. Subobjective 1: The student will add polynomials. Subobjective 2: The student will subtract

More information

Introduction to Numbering Systems

Introduction to Numbering Systems NUMBER SYSTEM Introduction to Numbering Systems We are all familiar with the decimal number system (Base 10). Some other number systems that we will work with are Binary Base 2 Octal Base 8 Hexadecimal

More information

Chapter Binary Representation of Numbers

Chapter Binary Representation of Numbers Chapter 4 Binary Representation of Numbers After reading this chapter, you should be able to: convert a base- real number to its binary representation,. convert a binary number to an equivalent base- number.

More information

Number Systems and Binary Arithmetic. Quantitative Analysis II Professor Bob Orr

Number Systems and Binary Arithmetic. Quantitative Analysis II Professor Bob Orr Number Systems and Binary Arithmetic Quantitative Analysis II Professor Bob Orr Introduction to Numbering Systems We are all familiar with the decimal number system (Base 10). Some other number systems

More information

Fraction to Percents Change the fraction to a decimal (see above) and then change the decimal to a percent (see above).

Fraction to Percents Change the fraction to a decimal (see above) and then change the decimal to a percent (see above). PEMDAS This is an acronym for the order of operations. Order of operations is the order in which you complete problems with more than one operation. o P parenthesis o E exponents o M multiplication OR

More information

Rational Number is a number that can be written as a quotient of two integers. DECIMALS are special fractions whose denominators are powers of 10.

Rational Number is a number that can be written as a quotient of two integers. DECIMALS are special fractions whose denominators are powers of 10. PA Ch 5 Rational Expressions Rational Number is a number that can be written as a quotient of two integers. DECIMALS are special fractions whose denominators are powers of 0. Since decimals are special

More information

DLD VIDYA SAGAR P. potharajuvidyasagar.wordpress.com. Vignana Bharathi Institute of Technology UNIT 1 DLD P VIDYA SAGAR

DLD VIDYA SAGAR P. potharajuvidyasagar.wordpress.com. Vignana Bharathi Institute of Technology UNIT 1 DLD P VIDYA SAGAR UNIT I Digital Systems: Binary Numbers, Octal, Hexa Decimal and other base numbers, Number base conversions, complements, signed binary numbers, Floating point number representation, binary codes, error

More information

Unit 2: Accentuate the Negative Name:

Unit 2: Accentuate the Negative Name: Unit 2: Accentuate the Negative Name: 1.1 Using Positive & Negative Numbers Number Sentence A mathematical statement that gives the relationship between two expressions that are composed of numbers and

More information

Computer Architecture and System Software Lecture 02: Overview of Computer Systems & Start of Chapter 2

Computer Architecture and System Software Lecture 02: Overview of Computer Systems & Start of Chapter 2 Computer Architecture and System Software Lecture 02: Overview of Computer Systems & Start of Chapter 2 Instructor: Rob Bergen Applied Computer Science University of Winnipeg Announcements Website is up

More information

Chapter 2 Bits, Data Types, and Operations

Chapter 2 Bits, Data Types, and Operations Chapter 2 Bits, Data Types, and Operations Original slides from Gregory Byrd, North Carolina State University Modified slides by Chris Wilcox, Colorado State University How do we represent data in a computer?!

More information

Module 1: Information Representation I -- Number Systems

Module 1: Information Representation I -- Number Systems Unit 1: Computer Systems, pages 1 of 7 - Department of Computer and Mathematical Sciences CS 1305 Intro to Computer Technology 1 Module 1: Information Representation I -- Number Systems Objectives: Learn

More information

CHW 261: Logic Design

CHW 261: Logic Design CHW 261: Logic Design Instructors: Prof. Hala Zayed Dr. Ahmed Shalaby http://www.bu.edu.eg/staff/halazayed14 http://bu.edu.eg/staff/ahmedshalaby14# Slide 1 Slide 2 Slide 3 Digital Fundamentals CHAPTER

More information

Divide: Paper & Pencil

Divide: Paper & Pencil Divide: Paper & Pencil 1001 Quotient Divisor 1000 1001010 Dividend -1000 10 101 1010 1000 10 Remainder See how big a number can be subtracted, creating quotient bit on each step Binary => 1 * divisor or

More information

Decimals. Chapter Five

Decimals. Chapter Five Chapter Five Decimals 5.1 Introductions to Decimals 5.2 Adding & Subtracting Decimals 5.3 Multiplying Decimals & Circumference of a Circle 5.4 Dividing Decimals 5.5 Fractions, Decimals, & Order of Operations

More information

Math Glossary Numbers and Arithmetic

Math Glossary Numbers and Arithmetic Math Glossary Numbers and Arithmetic Version 0.1.1 September 1, 200 Next release: On or before September 0, 200. E-mail edu@ezlink.com for the latest version. Copyright 200 by Brad Jolly All Rights Reserved

More information

Algebra 2 Semester 1 (#2221)

Algebra 2 Semester 1 (#2221) Instructional Materials for WCSD Math Common Finals The Instructional Materials are for student and teacher use and are aligned to the 2016-2017 Course Guides for the following course: Algebra 2 Semester

More information

Assembly Language for Intel-Based Computers, 4 th Edition. Chapter 1: Basic Concepts. Chapter Overview. Welcome to Assembly Language

Assembly Language for Intel-Based Computers, 4 th Edition. Chapter 1: Basic Concepts. Chapter Overview. Welcome to Assembly Language Assembly Language for Intel-Based Computers, 4 th Edition Kip R. Irvine Chapter 1: Basic Concepts Slides prepared by Kip R. Irvine Revision date: 09/15/2002 Chapter corrections (Web) Printing a slide show

More information

Number System. Introduction. Natural Numbers (N) Whole Numbers (W) Integers (Z) Prime Numbers (P) Face Value. Place Value

Number System. Introduction. Natural Numbers (N) Whole Numbers (W) Integers (Z) Prime Numbers (P) Face Value. Place Value 1 Number System Introduction In this chapter, we will study about the number system and number line. We will also learn about the four fundamental operations on whole numbers and their properties. Natural

More information

DECIMALS are special fractions whose denominators are powers of 10.

DECIMALS are special fractions whose denominators are powers of 10. Ch 3 DECIMALS ~ Notes DECIMALS are special fractions whose denominators are powers of 10. Since decimals are special fractions, then all the rules we have already learned for fractions should work for

More information

Computer Number Systems Supplement

Computer Number Systems Supplement Computer Number Systems Supplement Dr. Ken Hoganson, All Rights Reserved. SUPPLEMENT CONTENTS S.1 Decimal System: Powers-of-the-Base 2 S.2 Converting to Binary: Division/Remainder Algorithm. 3 S.3 Binary

More information

Computer Arithmetic. In this article we look at the way in which numbers are represented in binary form and manipulated in a computer.

Computer Arithmetic. In this article we look at the way in which numbers are represented in binary form and manipulated in a computer. Computer Arithmetic In this article we look at the way in which numbers are represented in binary form and manipulated in a computer. Numbers have a long history. In Europe up to about 400 numbers were

More information

Chapter 1 Preliminaries

Chapter 1 Preliminaries Chapter 1 Preliminaries This chapter discusses the major classes of programming languages and the relationship among them. It also discusses the binary and the hexadecimal number systems which are used

More information

Digital Logic Circuits Volume I Digital Number Systems

Digital Logic Circuits Volume I Digital Number Systems PDHonline Course E377 (5 PDH) Digital Logic Circuits Volume I Digital Number Systems Instructor: Lee Layton, P.E 2012 PDH Online PDH Center 5272 Meadow Estates Drive Fairfax, VA 22030-6658 Phone & Fax:

More information

Chapter 4 Section 2 Operations on Decimals

Chapter 4 Section 2 Operations on Decimals Chapter 4 Section 2 Operations on Decimals Addition and subtraction of decimals To add decimals, write the numbers so that the decimal points are on a vertical line. Add as you would with whole numbers.

More information

Lesson Plan -- Multiplying and Dividing Integers

Lesson Plan -- Multiplying and Dividing Integers Lesson Plan -- Multiplying and Dividing Integers Chapter Resources - Lesson 3-9 Multiply Integers - Lesson 3-9 Multiply Integers Answers - Lesson 3-10 Divide Integers - Lesson 3-10 Divide Integers Answers

More information

The type of all data used in a C++ program must be specified

The type of all data used in a C++ program must be specified The type of all data used in a C++ program must be specified A data type is a description of the data being represented That is, a set of possible values and a set of operations on those values There are

More information

Objectives. Connecting with Computer Science 2

Objectives. Connecting with Computer Science 2 Objectives Learn why numbering systems are important to understand Refresh your knowledge of powers of numbers Learn how numbering systems are used to count Understand the significance of positional value

More information

LECTURE 1-2. Introduction and Number Systems

LECTURE 1-2. Introduction and Number Systems LECTURE 1-2 Introduction and Number Systems 1 BASIC INFORMATION Course Code: CSE 115 Course Title: Computing Concepts Course Teacher: Dr. Muhammad Asif H. Khan (Mfs), Associate Professor, Dept. of Computer

More information

Arithmetic and Bitwise Operations on Binary Data

Arithmetic and Bitwise Operations on Binary Data Arithmetic and Bitwise Operations on Binary Data CSCI 2400: Computer Architecture ECE 3217: Computer Architecture and Organization Instructor: David Ferry Slides adapted from Bryant & O Hallaron s slides

More information

History of Computing. Ahmed Sallam 11/28/2014 1

History of Computing. Ahmed Sallam 11/28/2014 1 History of Computing Ahmed Sallam 11/28/2014 1 Outline Blast from the past Layered Perspective of Computing Why Assembly? Data Representation Base 2, 8, 10, 16 Number systems Boolean operations and algebra

More information

Project 2: How Parentheses and the Order of Operations Impose Structure on Expressions

Project 2: How Parentheses and the Order of Operations Impose Structure on Expressions MAT 51 Wladis Project 2: How Parentheses and the Order of Operations Impose Structure on Expressions Parentheses show us how things should be grouped together. The sole purpose of parentheses in algebraic

More information

EE292: Fundamentals of ECE

EE292: Fundamentals of ECE EE292: Fundamentals of ECE Fall 2012 TTh 10:00-11:15 SEB 1242 Lecture 22 121115 http://www.ee.unlv.edu/~b1morris/ee292/ 2 Outline Review Binary Number Representation Binary Arithmetic Combinatorial Logic

More information

Lesson Plan. Course Title: Digital Interactive Media Session Title: Master Pages

Lesson Plan. Course Title: Digital Interactive Media Session Title: Master Pages Lesson Plan Course Title: Digital Interactive Media Session Title: Master Pages Lesson Duration: 7.5-8 hours. Lesson length is subjective and will vary from instructor to instructor. Performance Objective:

More information

Digital Fundamentals. CHAPTER 2 Number Systems, Operations, and Codes

Digital Fundamentals. CHAPTER 2 Number Systems, Operations, and Codes Digital Fundamentals CHAPTER 2 Number Systems, Operations, and Codes Decimal Numbers The decimal number system has ten digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 The decimal numbering system has a base of

More information

Basic Operations and Equivalent Expressions - Step-by-Step Lesson

Basic Operations and Equivalent Expressions - Step-by-Step Lesson Name Date Basic Operations and Equivalent Expressions StepbyStep Lesson Lesson 1 Simplify the expressions. 1. 4 (6x 5) 2. 3 (4 3 7x) Explanation: 1. Step 1) First see what is being asked. We have to simplify

More information

UNIT 6 OPERATIONS WITH DECIMALS

UNIT 6 OPERATIONS WITH DECIMALS UNIT 6 OPERATIONS WITH DECIMALS INTRODUCTION In this Unit, we will use our understanding of operations, decimals, and place value to perform operations with decimals. The table below shows the learning

More information

Algebra 1 Review. Properties of Real Numbers. Algebraic Expressions

Algebra 1 Review. Properties of Real Numbers. Algebraic Expressions Algebra 1 Review Properties of Real Numbers Algebraic Expressions Real Numbers Natural Numbers: 1, 2, 3, 4,.. Numbers used for counting Whole Numbers: 0, 1, 2, 3, 4,.. Natural Numbers and 0 Integers:,

More information

Number Systems Using and Converting Between Decimal, Binary, Octal and Hexadecimal Number Systems

Number Systems Using and Converting Between Decimal, Binary, Octal and Hexadecimal Number Systems Number Systems Using and Converting Between Decimal, Binary, Octal and Hexadecimal Number Systems In everyday life, we humans most often count using decimal or base-10 numbers. In computer science, it

More information

What Is It? Instruction Register Address Register Data Register

What Is It? Instruction Register Address Register Data Register What Is It? Consider the following set of 32 binary digits, written in blocks of four so that the example is not impossible to read. 0010 0110 0100 1100 1101 1001 1011 1111 How do we interpret this sequence

More information

Name Period Date. REAL NUMBER SYSTEM Student Pages for Packet 3: Operations with Real Numbers

Name Period Date. REAL NUMBER SYSTEM Student Pages for Packet 3: Operations with Real Numbers Name Period Date REAL NUMBER SYSTEM Student Pages for Packet : Operations with Real Numbers RNS. Rational Numbers Review concepts of experimental and theoretical probability. a Understand why all quotients

More information

Module 2: Computer Arithmetic

Module 2: Computer Arithmetic Module 2: Computer Arithmetic 1 B O O K : C O M P U T E R O R G A N I Z A T I O N A N D D E S I G N, 3 E D, D A V I D L. P A T T E R S O N A N D J O H N L. H A N N E S S Y, M O R G A N K A U F M A N N

More information

Table of Contents. Introduction to the Math Practice Series...iv Common Mathematics Symbols and Terms...1

Table of Contents. Introduction to the Math Practice Series...iv Common Mathematics Symbols and Terms...1 Table of Contents Table of Contents Introduction to the Math Practice Series...iv Common Mathematics Symbols and Terms...1 Chapter 1: Real Numbers...5 Real Numbers...5 Checking Progress: Real Numbers...8

More information

Calculations with Sig Figs

Calculations with Sig Figs Calculations with Sig Figs When you make calculations using data with a specific level of uncertainty, it is important that you also report your answer with the appropriate level of uncertainty (i.e.,

More information

COE 202- Digital Logic. Number Systems II. Dr. Abdulaziz Y. Barnawi COE Department KFUPM. January 23, Abdulaziz Barnawi. COE 202 Logic Design

COE 202- Digital Logic. Number Systems II. Dr. Abdulaziz Y. Barnawi COE Department KFUPM. January 23, Abdulaziz Barnawi. COE 202 Logic Design 1 COE 0- Digital Logic Number Systems II Dr. Abdulaziz Y. Barnawi COE Department KFUPM COE 0 Logic Design January 3, 016 Objectives Base Conversion Decimal to other bases Binary to Octal and Hexadecimal

More information

Chapter 03: Computer Arithmetic. Lesson 09: Arithmetic using floating point numbers

Chapter 03: Computer Arithmetic. Lesson 09: Arithmetic using floating point numbers Chapter 03: Computer Arithmetic Lesson 09: Arithmetic using floating point numbers Objective To understand arithmetic operations in case of floating point numbers 2 Multiplication of Floating Point Numbers

More information

QUIZ: Generations of computer technology. Hardware:

QUIZ: Generations of computer technology. Hardware: QUIZ: Generations of computer technology Hardware: 1. 2. 3. 4. 5. 1 QUIZ: Generations of computer technology Software: 1. 2. 3. 4. 5. 6. 2 Steampunk! 3 The Telectroscope, 1878-2008 Steampunk Wikipedia

More information

Introduction to TURING

Introduction to TURING Introduction to TURING Comments Some code is difficult to understand, even if you understand the language it is written in. To that end, the designers of programming languages have allowed us to comment

More information

Read this before starting!

Read this before starting! Points missed: Student's Name: Total score: /100 points East Tennessee State University Department of Computer and Information Sciences CSCI 2150 (Tarnoff) Computer Organization TEST 1 for Spring Semester,

More information

MAT 003 Brian Killough s Instructor Notes Saint Leo University

MAT 003 Brian Killough s Instructor Notes Saint Leo University MAT 003 Brian Killough s Instructor Notes Saint Leo University Success in online courses requires self-motivation and discipline. It is anticipated that students will read the textbook and complete sample

More information

DIGITAL ARITHMETIC: OPERATIONS AND CIRCUITS

DIGITAL ARITHMETIC: OPERATIONS AND CIRCUITS C H A P T E R 6 DIGITAL ARITHMETIC: OPERATIONS AND CIRCUITS OUTLINE 6- Binary Addition 6-2 Representing Signed Numbers 6-3 Addition in the 2 s- Complement System 6-4 Subtraction in the 2 s- Complement

More information

Lesson 1: Arithmetic Review

Lesson 1: Arithmetic Review In this lesson we step back and review several key arithmetic topics that are extremely relevant to this course. Before we work with algebraic expressions and equations, it is important to have a good

More information

Algebra 2 Common Core Summer Skills Packet

Algebra 2 Common Core Summer Skills Packet Algebra 2 Common Core Summer Skills Packet Our Purpose: Completion of this packet over the summer before beginning Algebra 2 will be of great value to helping students successfully meet the academic challenges

More information

Objective 1.02 Understand Numbering Systems

Objective 1.02 Understand Numbering Systems Objective.0 Understand Numbering Systems C O M P U T E R P R O G R A M M I N G I Number Systems Number systems we will talk about: Decimal (Base 0 ) Binary (Base ) Hexadecimal (Base 6 ) Decimal The number

More information

Basic Arithmetic Operations

Basic Arithmetic Operations Basic Arithmetic Operations Learning Outcome When you complete this module you will be able to: Perform basic arithmetic operations without the use of a calculator. Learning Objectives Here is what you

More information

Solving Equations with Inverse Operations

Solving Equations with Inverse Operations Solving Equations with Inverse Operations Math 97 Supplement LEARNING OBJECTIVES 1. Solve equations by using inverse operations, including squares, square roots, cubes, and cube roots. The Definition of

More information

KNOWLEDGE OF NUMBER SENSE, CONCEPTS, AND OPERATIONS

KNOWLEDGE OF NUMBER SENSE, CONCEPTS, AND OPERATIONS DOMAIN I. COMPETENCY 1.0 MATHEMATICS KNOWLEDGE OF NUMBER SENSE, CONCEPTS, AND OPERATIONS Skill 1.1 Compare the relative value of real numbers (e.g., integers, fractions, decimals, percents, irrational

More information

9/3/2015. Data Representation II. 2.4 Signed Integer Representation. 2.4 Signed Integer Representation

9/3/2015. Data Representation II. 2.4 Signed Integer Representation. 2.4 Signed Integer Representation Data Representation II CMSC 313 Sections 01, 02 The conversions we have so far presented have involved only unsigned numbers. To represent signed integers, computer systems allocate the high-order bit

More information

Bits, Words, and Integers

Bits, Words, and Integers Computer Science 52 Bits, Words, and Integers Spring Semester, 2017 In this document, we look at how bits are organized into meaningful data. In particular, we will see the details of how integers are

More information

PRE-ALGEBRA PREP. Textbook: The University of Chicago School Mathematics Project. Transition Mathematics, Second Edition, Prentice-Hall, Inc., 2002.

PRE-ALGEBRA PREP. Textbook: The University of Chicago School Mathematics Project. Transition Mathematics, Second Edition, Prentice-Hall, Inc., 2002. PRE-ALGEBRA PREP Textbook: The University of Chicago School Mathematics Project. Transition Mathematics, Second Edition, Prentice-Hall, Inc., 2002. Course Description: The students entering prep year have

More information

Lesson 1: Arithmetic Review

Lesson 1: Arithmetic Review Lesson 1: Arithmetic Review Topics and Objectives: Order of Operations Fractions o Improper fractions and mixed numbers o Equivalent fractions o Fractions in simplest form o One and zero Operations on

More information

LESSON TITLE. Language English Local Language Introduction to Computer Science. Mr. VAR Sovannrath Submission Date October 30th, 2014 Version 1.

LESSON TITLE. Language English Local Language Introduction to Computer Science. Mr. VAR Sovannrath Submission Date October 30th, 2014 Version 1. LESSON TITLE Country Cambodia Language English Local Language Course Title Introduction to Computer Science Lesson Title 06. Number Systems SME Mr. VAR Sovannrath Submission Date October 30th, 2014 Version

More information

Exponents and Real Numbers

Exponents and Real Numbers Exponents and Real Numbers MODULE? ESSENTIAL QUESTION What sets of numbers are included in the real numbers? CALIFORNIA COMMON CORE LESSON.1 Radicals and Rational Exponents N.RN.1, N.RN. LESSON. Real Numbers

More information

Chapter 4. Operations on Data

Chapter 4. Operations on Data Chapter 4 Operations on Data 1 OBJECTIVES After reading this chapter, the reader should be able to: List the three categories of operations performed on data. Perform unary and binary logic operations

More information

add and subtract whole numbers with more than 4 digits, including using formal written methods (columnar addition and subtraction)

add and subtract whole numbers with more than 4 digits, including using formal written methods (columnar addition and subtraction) I created these worksheets because I think it is useful to have regular practice of calculation methods away from the point of teaching. There are worksheets. Questions are aligned to the Year curriculum,

More information

Unit 3. Operators. School of Science and Technology INTRODUCTION

Unit 3. Operators. School of Science and Technology INTRODUCTION INTRODUCTION Operators Unit 3 In the previous units (unit 1 and 2) you have learned about the basics of computer programming, different data types, constants, keywords and basic structure of a C program.

More information

CPE 323 REVIEW DATA TYPES AND NUMBER REPRESENTATIONS IN MODERN COMPUTERS

CPE 323 REVIEW DATA TYPES AND NUMBER REPRESENTATIONS IN MODERN COMPUTERS CPE 323 REVIEW DATA TYPES AND NUMBER REPRESENTATIONS IN MODERN COMPUTERS Aleksandar Milenković The LaCASA Laboratory, ECE Department, The University of Alabama in Huntsville Email: milenka@uah.edu Web:

More information

Read this before starting!

Read this before starting! Points missed: Student's Name: Total score: /100 points East Tennessee State University Department of Computer and Information Sciences CSCI 2150 (Tarnoff) Computer Organization TEST 1 for Spring Semester,

More information

Digital Systems COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals

Digital Systems COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals Digital Systems COE 202 Digital Logic Design Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals Welcome to COE 202 Course Webpage: http://faculty.kfupm.edu.sa/coe/mudawar/coe202/ Lecture

More information

Numeral Systems. -Numeral System -Positional systems -Decimal -Binary -Octal. Subjects:

Numeral Systems. -Numeral System -Positional systems -Decimal -Binary -Octal. Subjects: Numeral Systems -Numeral System -Positional systems -Decimal -Binary -Octal Subjects: Introduction A numeral system (or system of numeration) is a writing system for expressing numbers, that is a mathematical

More information