Task 4 X unsigned x >> 3 Z unsigned z << 1 Binary 1111 1111 0111 1010 Hex 0xFF 0x7A Binary 1100 1100 0111 1010 Hex 0xCC 0x7A Y signed y >> 3 a signed a << 3 Given the following values and shifts provide the result.
Added by Elena M.
Close
Step 1
Step 1: Convert the binary value 1111 1111 to hexadecimal: 1111 1111 = 0xFF Show more…
Show all steps
Your feedback will help us improve your experience
Ishana K and 86 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
1. Number conversion a) Convert the following unsigned numbers to decimal: 11111₂ 2345₂ Cdef₁₆ b) Convert the following decimal numbers to specified bases: 111 to binary 127 to octal 13579 to hexadecimal c) Convert the following unsigned numbers to binary: 731₈ 3A2B₁₆ d) Convert the following unsigned binary numbers to specified bases: 101010111001 to octal 1001 to octal 1010001001001111 to hexadecimal 1000110011111 to hexadecimal
Ishana K.
Convert the following decimal integers to binary. Assume all numbers are unsigned (positive) and represented by 12 bits. 402 1000 4200 127 512 1365
Adi S.
Convert BB816 to Octal. Complete the unsigned subtraction of 152-42 in binary.
Sri K.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD