Logical Operations on Words

# Logical Operations on Words - used in order to perform each...

This preview shows pages 1–2. Sign up to view the full content.

Mallard ECE 290: Computer Engineering I - Spring 2007 - Graded Web. .. https://mallard.cites.uiuc.edu/ECE290/webgrade.cgi?SessionID=mding3. .. 1 of 2 3/31/2007 5:55 PM Graded WebQuiz: Logical Operations on Words You have submitted this WebQuiz 1 time (including this time). You may submit this WebQuiz a total of 10 times and receive full credit. Question #1 The following present logical operations ( not arithmetic operations). Compute each of the following on the given 6-bit binary strings: 011010 OR 000000 = 011010 010010 AND 100101 = 000000 000110 XOR 101110 = 101000 111001 NOR 001011 = 000100 001111 NAND 101000 = 110111 You received a raw score of 100% on this question. Question #2 Compute each of the following logical operations on the given hex strings. Your answers must also be in hex. BD OR A5 = BD 05 AND 7F = 05 29 XOR A1 = 88 FB NOR 76 = 00 C4 NAND 14 = FB You received a raw score of 100% on this question. Question #3 Given a 16-bit operand (e.g. 01101110 11001010), specify the operation and operand (in binary) to be

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: used in order to perform each of the following. (Let the rightmost bit be position 0 and the leftmost be position 15.) To clear to 0 the middle 8 bits: AND with 1111000000001111 To set all even bit positions to 1: OR with 0101010101010101 To complement the leftmost 4 and the rightmost 4 bits: XOR with 1111000000001111 You received a raw score of 100% on this question. WebQuiz Grade Summary Mallard ECE 290: Computer Engineering I - Spring 2007 - Graded Web. .. https://mallard.cites.uiuc.edu/ECE290/webgrade.cgi?SessionID=mding3. .. 2 of 2 3/31/2007 5:55 PM Raw score 100.00% Adjusted score 100.00% Minimum passing score 60.00% Grade for this submission 100% Cumulative Grade 100% To improve a grade, you must load a new quiz: NEW Quiz Mallard Copyright © 1995-2000 Course Content Copyright© 1995-2007 Donna J. Brown. All rights reserved....
View Full Document

## This note was uploaded on 06/21/2011 for the course ECE 290 taught by Professor Staff during the Spring '08 term at University of Illinois, Urbana Champaign.

### Page1 / 2

Logical Operations on Words - used in order to perform each...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online