Free Essay

Lab 1.2: Binary Math and Logic

In:

Submitted By kylecwright
Words 374
Pages 2
Exercise 1.2.1 1. Using Figure 1- 9 as an example, determine the result of adding 110 2 and 1001 2 .
1111
Exercise 1.2.2 1. Using Figure 1- 9 as an example, determine the result of adding 110 2 and 101 2
1011
Exercise 1.2.3 1. Using Figure 1- 9 as an example, determine the result of adding 111 2 and 111 2 .
1110
Exercise 1.2.4 1. Determine the result of 100 2 OR 011 2 .
111
Exercise 1.2.5 1. Determine the result of 111 2 AND 100 2 .
100
Exercise 1.2.6 1. Determine the result of NOT 1001 2 .
0110
Exercise 1.2.7 1. Using binary addition, what is the result of 1010 2 + 10 2 ? Using binary addition, how would you repeatedly increment a number by 2?
1100
Exercise 1.2.8 1. Using the AND operator, what is the result of 1100 2 AND 1111 2 ? What can you conclude about using AND on any value with a string of 1s?
1100
When using AND on any value with a string of 1s, a 1 will be the result.
Exercise 1.2.9 1. Using the OR operator, what is the result of 1100 2 OR 1111 2 ? What can you conclude about using OR on any value with a string of 1s? What value can you use with an OR operator to preserve the other input number in the logical equation?
1111

Lab 1.2 Review 1. Determine the result of 10010000 2 + 1101110 2 . Show the mapping that you created to solve this addition problem.

11111110 2. Determine the result of 11001100 2 AND 11111100 2 . Show the mapping or truth table that you used to solve this logic problem.
11001100
3. Determine the result of 11001100 2 OR 11111100 2 . Show the mapping or truth table that you used to solve this logic problem.

11111100 4. Using parentheses in binary works just like it does in decimal, where the operation inside the parentheses should be performed first. With this rule, determine the result of NOT( 11001100 2 AND 11111100 2 ). Show the steps, mapping, or truth table that you used to solve this logic problem.
00110011

Similar Documents

Premium Essay

Student

...Lab 1.1 Review 1. Convert the decimal value 127 to binary. 0 128 0 127-64 64 1 53-32 32 1 21-16 16 1 15-8 8 1 7-4 4 1 3-2 2 1 1-1 1 1 2. 10 base 2 and 0010 base2 are equal because binary is read from right to left. 3. 125 25 5 1 4. Creating a converter from decimal to binary would be more difficult to construct because each value in the decimal column must be subtracted from the greatest binary value, without going over the decimal value. The matrix necessary to accomplish this would have to be able to determine which is the closest binary value to the decimal value, subtracting that value from the decimal value, and then reintegrating the difference to the next column to be evaluated. The following is a sample program for converting decimal to binary, octal, and hexadecimal. Step 1: Type "=DEC" without quotes in an Excel cell. A drop-down box will prompt you to select DEC2BIN, DEC2HEX or DEC2OCT. Tooltip text will state that DEC2BIN "Converts a decimal number to binary." Step 2: Click "DEC2BIN," the first of the three options. Tooltip text will prompt you to enter arguments the form of "DEC2BIN (number, [places])." Step 3: Enter the number you wish to convert. For example, if you want to convert 100 to binary, type "100" without quotes. Step 4: Type a comma. Step 5: Enter the number of bits you wish your binary number to contain. The number may append a string of 0's to the 1's and 0's necessary for expressing the figure. For example, if you...

Words: 720 - Pages: 3

Premium Essay

Nt1210

...Izaak Cook NT 1210 Intro to Networking Unit 1. Lab 1.2: Binary Math and Logic Exercise 1.2.1 1 0 0 1 + 1 1 0 Binary 1111 = 15 Decimal 2. Exercise 1.2.2 1 1 0 1 0 1 Binary 1011 = 11 Decimal 3. Exercise 1.2.3 1 1 1 1 1 1 Binary 1110 = 14 Decimal 4. Exercise 1.2.4 100 2 OR 011 2 = 111 = 7 5. Exercise 1.2.5 111 2 AND 100 2 = 100 = 4 6. Exercise 1.2.6 NOT 1001 2 = 0110 2 = 6 Exercise 1.2.7 1010 2 + 10 2 = 1100 2 + 10 2 (= 2) = 1110 2 Exercise 1.2.8 If one of the values being added is 11112, then the result will be the same as the other value being added. Exercise 1.2.9: 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | Using the OR operator, what is the result of 11002 OR 11112? What can you conclude about using OR on any value with a string of 1s? What value can you use with an OR operator to preserve the other input number in the logical equation? When using a string of 11112 the result will be the same using 111121.2 review 1. Determine the result of 100100002 + 11011102. Show the mapping that you created to solve this addiTon problem. 100100002 11011102 111111104 = 254 decimal 2. Determine the result of 110011002 AND 111111002. Show the mapping or truth table that you created to solve this addiTon problem. 110011002 111111002 1.3 Exercise...

Words: 266 - Pages: 2

Premium Essay

Binary

...Unit 1 Lab 1.2: Binary Math and Logic Exercise 1.2.1: Using Figure 1-9 as an example, determine the result of adding 1102 and 10012. | | | | | | 1 | 1 | 0 | | 1 | 0 | 0 | 1 | | 1 | 1 | 1 | 1 | = 15 | Exercise 1.2.2: Using Figure 1-9 as an example, determine the result of adding 1102 and 1012. 1 | | | | | | 1 | 1 | 0 | | | 1 | 0 | 1 | | 1 | 0 | 1 | 1 | = 11 | Exercise 1.2.3: Using Figure 1-9 as an example, determine the result of adding 1112 and 1112. 1 | 1 | 1 | | | | 1 | 1 | 1 | | | 1 | 1 | 1 | | 1 | 1 | 1 | 0 | = 14 | Exercise 1.2.4: Determine the result of 1002 OR 0112. 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | Exercise 1.2.5: Determine the result of 1112 AND 1002. 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | Exercise 1.2.6: Determine the result of NOT 10012. 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | Exercise 1.2.7: Using binary addition, what is the result of 10102 + 102? Using binary addition, how would you repeatedly increment a number by 2? Continue adding 102. | 1 | | | | 1 | 0 | 1 | 0 | | | | 1 | 0 | | 1 | 1 | 0 | 0 | = 12 | | 1 | 1 | 0 | 0 | = 12 | | | | 1 | 0 | | | 1 | 1 | 1 | 0 | = 14 | | | | | | | | 1 | 1 | | | | | 1 | 1 | 1 | 0 | = 14 | | | | 1 | 0 | | 1 | 0 | 0 | 0 | 0 | = 16 | Exercise 1.2.8: 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | Using the AND operator, what is the result of 11002 AND 11112? What can you conclude about using AND on any value with a string of 1s...

Words: 392 - Pages: 2

Premium Essay

Nt1210 Introduction to Networking Onsite Course

...hours: 4.5 Contact/Instructional hours: 56 (34 Theory Hours, 22 Lab Hours) Prerequisite(s) and/or Corequisite(s): Prerequisites: NT1110 Computer Structure and Logic or equivalent Course Description: This course serves as a foundation for the study of computer networking technologies. Concepts in data communications, such as signaling, coding and decoding, multiplexing, circuit switching and packet switching, OSI and TCP/IP models, LAN/WAN protocols, network devices and their functions, topologies and capabilities are discussed. Industry standards and the development of networking technologies are surveyed in conjunction with a basic awareness of software and hardware components used in typical networking and internetworking environments Introduction to Networking Syllabus Where Does This Course Belong? This course is required for the associate program in Network System Administration and the associate program in Electrical Engineering Technology. The following diagrams demonstrate how this course fits in each program. Associate Program in Network Systems Administration NT2799 NSA Capstone Project NT2580 Introduction to Information Security NT2670 Email and Web Services NT2640 IP Networking PT2520 Database Concepts NT1330 Client-Server Networking II NT1230 Client-Server Networking I NT1430 Linux Networking PT1420 Introduction to Programming NT1110 Computer Structure and Logic NT1210 Introduction to Networking NT1310 Physical Networking ...

Words: 4400 - Pages: 18

Premium Essay

Nt 1210

...hours: 4.5 Contact/Instructional hours: 56 (34 Theory Hours, 22 Lab Hours) Prerequisite(s) and/or Corequisite(s): Prerequisites: NT1110 Computer Structure and Logic or equivalent Course Description: This course serves as a foundation for the study of computer networking technologies. Concepts in data communications, such as signaling, coding and decoding, multiplexing, circuit switching and packet switching, OSI and TCP/IP models, LAN/WAN protocols, network devices and their functions, topologies and capabilities are discussed. Industry standards and the development of networking technologies are surveyed in conjunction with a basic awareness of software and hardware components used in typical networking and internetworking environments Introduction to Networking Syllabus Where Does This Course Belong? This course is required for the associate program in Network System Administration and the associate program in Electrical Engineering Technology. The following diagrams demonstrate how this course fits in each program. Associate Program in Network Systems Administration NT2799 NSA Capstone Project NT2580 Introduction to Information Security NT2670 Email and Web Services NT2640 IP Networking PT2520 Database Concepts NT1330 Client-Server Networking II NT1230 Client-Server Networking I NT1430 Linux Networking PT1420 Introduction to Programming NT1110 Computer Structure and Logic NT1210 Introduction to Networking NT1310 Physical Networking ...

Words: 4400 - Pages: 18

Premium Essay

Nt2640

...NT2640 IP Networking INSTRUCTOR GUIDE Onsite Credit hours: 4.5 Contact /Instructional hours: 34 Theory, 22 Lab Prerequisite: NT1210 Introduction to Networking or equivalent Course Revision Table Change Date Updated Section Change Description Change Rationale Implementation Quarter 07/18/2011 All New Curriculum New Curriculum September 2011 02/19/2013 All Updated labs across the course to map the 2nd edition of lab manual Immediately 02/27/2013 Midterm and Final Examination Answer Keys Added examination keys Immediately 03/18/2013 Answer Keys for Midterm and Final Updated some answers to address the accuracy March 2013 04/19/2013 Assignment labels on Pages 43, 52, 61, 78, 87, 97, 106 and 132. Added labels to identify additional assignments in affected units Clarification of additional assignments March 2013 Table of Contents COURSE OVERVIEW 5 Catalog Description 5 Goals and Expectations 5 Learning Objectives and Outcomes 6 Career Impact 6 INSTRUCTIONAL RESOURCES 7 Required Resources 7 Additional Resources 7 COURSE MANAGEMENT 9 Technical Requirements 9 Test Administration and Processing 9 Replacement of Learning Assignments 10 Communication and Student Support 10 Academic Integrity 10 GRADING 11 COURSE DELIVERY 13 Instructional Approach 13 Methodology 13 Facilitation Strategies 14 UNIT PLANS 15 Unit 1: The TCP/IP Model, LANs, WANs, and IP Networks 15 Unit 2: TCP/IP Network, Transport...

Words: 22068 - Pages: 89

Premium Essay

Acer America

...Printed in June of 2000. Plain-ASCII illustrations for universal computer readability. • Second Edition: Printed in September of 2000. Illustrations reworked in standard graphic (eps and jpeg) format. Source files translated to Texinfo format for easy online and printed publication. • Third Edition: Printed in February 2001. Source files translated to SubML format. SubML is a simple markup language designed to easily convert to other markups like A LTEX, HTML, or DocBook using nothing but search-and-replace substitutions. • Fourth Edition: Printed in March 2002. Additions and improvements to 3rd edition. ii Contents 1 NUMERATION SYSTEMS 1.1 Numbers and symbols . . . . . . . . . . . . . . 1.2 Systems of numeration . . . . . . . . . . . . . . 1.3 Decimal versus binary numeration . . . . . . . 1.4 Octal and hexadecimal numeration . . . . . . 1.5 Octal and hexadecimal to decimal conversion . 1.6 Conversion from decimal numeration . . . . . ....

Words: 29763 - Pages: 120

Free Essay

Technology

...VOCATIONAL HIGHER SECONDARY TEACHER’S SOURCE BOOK COMPUTER SCIENCE FIRST YEAR Government of Kerala Department of Education SCERT - 2005-06 STATE COUNCIL OF EDUCATIONAL RESEARCH AND TRAINING Vidyabhavan, Poojappura, Thiruvananthapuram-12 Prepared by: State Council of Educational Research & Training (SCERT) Vidyabhavan, Poojappura, Thiruvananthapuram -12 Kerala E-mail:scertkerala@asianetindia.com Type setting by: SCERT Computer Lab. © Government of Kerala Education Department 2005 P REFACE Dear Teachers, Computer Science is concerned with the gathering, manipulation, classification, storage and retrival of knowledge. Understanding Computer Science, is necessary because of its power and influence in modern society. Learning of Computer Science should be activity based, process oriented, student-centred, environmental based and life oriented. The approach to learning is based on five domains of science: Knowledge domain, process domain, application and connection domain, domain of attitudes and values and creativity domain. But we know that most of the present vocational higher secondary teachers are not familiar with this paradigm. Hence for the first time we are introducing sourcebooks for all the subjects in the vocational higher secondary curriculum. This source book for computer science aims to provide guidelines to the teachers of our state to change their pedagogy from the conventional content-based approach to the process...

Words: 27034 - Pages: 109

Free Essay

Comp Txt

...1 2 Acknowledgements p.1 tr ©iStockphoto.com/Dennys Bisogno, etc t = top, b = bottom, l = left, r = right, c = centre Computer hardware and software brand names mentioned in this book are protected by their respective trademarks and are acknowledged. Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu Every effort has been made to trace all copyright holders, but if any have been inadvertently overlooked the publishers will be pleased to make the necessary arrangements at the first opportunity. Although every effort has been made to ensure that website addresses are correct at time of going to press, Hodder Education cannot be held responsible for the content of any website mentioned in this book. It is sometimes possible to find a relocated web page by typing in the address of the home page for a website in the URL window of your browser. Photo credits p.1 © peno – Fotolia; p.15 © Dmitrydesigner/Fotolia; p.16 ©iStockphoto.com/Karl Yamashita; p.57 © Romanchuck – Fotolia; p.58 t © C Squared Studios/Photodisc/Getty Images, m ©Dmitriy Melnikov - Fotolia.com, b © Popova Olga/Fotolia; p.59 © picsfive – Fotolia; p.65 © Manfred Schmidt – Fotolia.com; p.67 © dja65 – Fotolia; p.68 © Konstantin Shevtsov – Fotolia; p.69 t © Miguel Navarro/Stone/Getty Images, b © Piero Cruciatti/Alamy; p.73 © Jamdesign/Fotolia; p.78 and 79 © adisa – Fotolia; p.81 © Mykola Mazuryk – Fotolia; p.82 t © Mauro Rodrigues/Fotolia...

Words: 49691 - Pages: 199

Premium Essay

Hhello

...STARTING OUT WITH Python ® Second Edition This page intentionally left blank STARTING OUT WITH Python ® Second Edition Tony Gaddis Haywood Community College Addison-Wesley Boston Columbus Indianapolis New York San Francisco Upper Saddle River Amsterdam Cape Town Dubai London Madrid Milan Munich Paris Montreal Toronto Delhi Mexico City São Paulo Sydney Hong Kong Seoul Singapore Taipei Tokyo Vice President and Editorial Director, ECS: Editor-in-Chief: Editorial Assistant: Vice President, Marketing: Marketing Manager: Marketing Coordinator: Vice President, Production: Managing Editor: Production Project Manager: Manufacturing Buyer: Art Director: Cover Designer: Cover Image: Media Editor: Project Management: Composition and Illustration: Printer/Binder: Cover Printer: Marcia Horton Michael Hirsch Stephanie Sellinger Patrice Jones Yezan Alayan Kathryn Ferranti Vince O’Brien Jeff Holcomb Kayla Smith-Tarbox Lisa McDowell Linda Knowles Joyce Cosentino Wells/JWells Design © Digital Vision Dan Sandin/Wanda Rockwell Sherill Redd, Aptara®, Inc. Aptara®, Inc. Edwards Brothers LeHigh-Phoenix Color/Hagerstown Credits and acknowledgments borrowed from other sources and reproduced, with permission, appear on the Credits page in the endmatter of this textbook. Copyright © 2012, 2009 Pearson Education, Inc., publishing as Addison-Wesley. All rights reserved. Manufactured in the United States of America. This publication...

Words: 76897 - Pages: 308

Premium Essay

Ee 101 for New Beginners

...Electrical Engineering 101 Third Edition Electrical Engineering 101 Everything You Should Have Learned in School… but Probably Didn’t Third Edition Darren Ashby AMSTERDAM • BOSTON • HEIDELBERG • LONDON NEW YORK • OXFORD • PARIS • SAN DIEGO SAN FRANCISCO • SINGAPORE • SYDNEY • TOKYO Newnes is an imprint of Elsevier Newnes is an imprint of Elsevier 225 Wyman Street, Waltham, MA 02451, USA The Boulevard, Langford Lane, Kidlington, Oxford, OX5 1GB, UK © 2012 Elsevier Inc. All rights reserved. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without permission in writing from the Publisher. Details on how to seek permission, further information about the Publisher’s permissions policies and our arrangements with organizations such as the Copyright Clearance Center and the Copyright Licensing Agency, can be found at our website: www.elsevier.com/ permissions This book and the individual contributions contained in it are protected under copyright by the Publisher (other than as may be noted herein). Notices Knowledge and best practice in this field are constantly changing. As new research and experience broaden our understanding, changes in research methods, professional practices, or medical treatment may become necessary. Practitioners and researchers must always rely on their own experience and knowledge in evaluating...

Words: 111107 - Pages: 445

Premium Essay

Computer Science Illuminated

...N E L L D A L E J O H N L E W I S illuminated computer science J O N E S A N D B A RT L E T T C O M P U T E R S C I E N C E computer science illuminated N E L L D A L E J O H N L E W I S computer science illuminated N E L L D A L E J O H N Villanova University L E W I S University of Texas, Austin Jones and Bartlett Publishers is pleased to provide Computer Science Illuminated’s book-specific website. This site offers a variety of resources designed to address multiple learning styles and enhance the learning experience. Goin’ Live This step-by-step HTML Tutorial will guide you from start to finish as you create your own website. With each lesson, you’ll gain experience and confidence working in the HTML language. Online Glossary We’ve made all the key terms used in the text easily accessible to you in this searchable online glossary. The Learning Store Jones and Bartlett Publishers has a wealth of material available to supplement the learning and teaching experience. Students and instructors will find additional resources here or at http://computerscience. jbpub.com The Language Library Here you will find two complete chapters that supplement the book’s language-neutral approach to programming concepts. A JAVA language chapter and C++ language chapter are included and follow the same pedagogical approach as the textbook. http://csilluminated.jbpub.com eLearning Our eLearning center provides chapter-specific...

Words: 67693 - Pages: 271

Premium Essay

Damsel

...2014-2015 Undergraduate Academic Calendar and Course Catalogue Published June 2014 The information contained within this document was accurate at the time of publication indicated above and is subject to change. Please consult your faculty or the Registrar’s office if you require clarification regarding the contents of this document. Note: Program map information located in the faculty sections of this document are relevant to students beginning their studies in 2014-2015, students commencing their UOIT studies during a different academic year should consult their faculty to ensure they are following the correct program map. i Message from President Tim McTiernan I am delighted to welcome you to the University of Ontario Institute of Technology (UOIT), one of Canada’s most modern and dynamic university communities. We are a university that lives by three words: challenge, innovate and connect. You have chosen a university known for how it helps students meet the challenges of the future. We have created a leading-edge, technology-enriched learning environment. We have invested in state-of-the-art research and teaching facilities. We have developed industry-ready programs that align with the university’s visionary research portfolio. UOIT is known for its innovative approaches to learning. In many cases, our undergraduate and graduate students are working alongside their professors on research projects and gaining valuable hands-on learning, which we believe is integral...

Words: 195394 - Pages: 782

Premium Essay

Unit 1 Labs

...ITT TECHNICAL INSTITUTE NT1210 Introduction to Networking Onsite Course GRADED ASSIGNMENTS Graded Assignment Requirements Retain all handouts issued in every unit, as well as any assignment, research, or lab documents you prepare as part of assignments and labs. Some may be used more than once in different units. NOTE: Always check with your instructor for specific due dates of assignments. Graded Assignments Unit 1 Assignment 1: Computer Basics Review Course Objectives and Learning Outcomes Identify the major needs and major stakeholders for computer networks and network applications. Describe how digital devices store data. Describe the differences between input and output devices. Assignment Requirements In the Chapter Review Activities at the end of Chapter 1 in the Odom textbook (answers can be found in the textbook): Respond to the multiple-choice questions. Complete the List the Words inside Acronyms table. Required Resources Odom textbook Computer with word processing software Internet access Printer Submission Requirements: Submit your responses as a typed document using Arial or Times New Roman 12-point font, double-spaced. Label your assignment Unit 1 Assignment 1. Unit 2 Assignment 1: Identifying Network Topologies Course Objectives and Learning Outcomes * Identify the major needs and major stakeholders for computer networks and network applications. * Identify the classifications of networks and how they are...

Words: 16182 - Pages: 65

Premium Essay

Police Abuse Essay

...ITT TECHNICAL INSTITUTE NT1210 Introduction to Networking Onsite Course GRADED ASSIGNMENTS Graded Assignment Requirements Retain all handouts issued in every unit, as well as any assignment, research, or lab documents you prepare as part of assignments and labs. Some may be used more than once in different units. NOTE: Always check with your instructor for specific due dates of assignments. Graded Assignments Unit 1 Assignment 1: Computer Basics Review Course Objectives and Learning Outcomes * Identify the major needs and major stakeholders for computer networks and network applications. * Describe how digital devices store data. * Describe the differences between input and output devices. Assignment Requirements In the Chapter Review Activities at the end of Chapter 1 in the Odom textbook (answers can be found in the textbook): * Respond to the multiple-choice questions. * Complete the List the Words inside Acronyms table. Required Resources * Odom textbook * Computer with word processing software * Internet access * Printer Submission Requirements: Submit your responses as a typed document using Arial or Times New Roman 12-point font, double-spaced. Label your assignment Unit 1 Assignment 1. Unit 2 Assignment 1: Identifying Network Topologies Course Objectives and Learning Outcomes * Identify the major needs and major stakeholders for computer networks and network applications. * Identify the...

Words: 16043 - Pages: 65