1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Artyom0805 [142]
4 years ago
12

I) 0xBED into 3-base representation ii) 3217 into 2-base (binary) representation

Computers and Technology
2 answers:
belka [17]4 years ago
7 0
I. 0xBED is a hexadecimal therefore we need to convert it to decimal first for ease of conversion. The calculation would just need B = 11, E = 14, and D = 13.

13+(14*16)+(11* 16^{2})=3,053

Then we just continuously divide the number by 3 and take the remainder in each step.

NUMBER         REMAINDER
3053                           2
1017                           0
339                             0
113                             2
37                               1
12                               0
4                                 1
1                                 1
0

Finally we read the remainders from bottom to top to get the number's base 3 representation.

ANSWER: 11012002 (base 3)

ii. We can easily convert the decimal 3217 to binary by continuously dividing the number by 2 and taking the remainder in each step.

NUMBER         REMAINDER
3217                           1
1608                           0
804                             0
402                             0
201                             1
100                             0
50                               0
25                               1
12                               0
6                                 0
3                                 1
1                                 1
0

Then, we just read the remainder from bottom to top to get the decimal's binary representation.

ANSWER: 110010010001 (base 2)

Tresset [83]4 years ago
3 0

Answer #1

(11012002)3

step by step Explanation

OxBED

in hexadecimal

we can write these as

A=10

B=11

C=12

D=13

E=14

=(13*16^{0})+(14*16^{1})+(11*16^{0})

=13+224+2816=3050

Now we will divide this number by 3 and take reminder aside

to convert it into base 3

Number             Reminder

3053                           2

1017                             0

339                              0

113                                2

37                                 1

12                                 0

4                                 1

1                                 1

hence number will be

(11012002)3

Answer #2

(110010010001)2

Explanation

we can onvert 3217 into base 2 by dividing it by 2

and take reminder of the number aside in every step

Number              Reminder

3217                             1

1608                            0

804                              0

402                              0

201                               1

100                               0

50                                 0

25                                 1

12                                  0

6                                   0

3                                    1

1                                   1

The number will be

(110010010001)2


You might be interested in
Do you need a contractor to install nest thermostat
Natalka [10]

Answer:

Sometimes yes, sometimes you can do it yourself

Explanation:

Installing a Nest thermostat can be done yourself without an electrician in most cases. Nest thermostats are designed to work in homes without a common (“C”) wire. However, there are rare cases a C wire or other power-supply accessory may be required. An electrician is recommended in these rare cases.

5 0
3 years ago
4.3 mini programs AP computer science
allochka39001 [22]

1.

name = input("Enter your name: ")

num1 = int(input("Hello "+name+ ", enter an integer: "))

num2 = int(input(name+", enter another integer: "))

try:

   if num1 % num2 == 0:

       print("The first number is divisible by the second number")

   else:

       print("The first number is not divisible by the second number")

except ZeroDivisionError:

   print("The first number is not divisible by the second number")

try:

   if num2 % num1 == 0:

       print("The second number is divisible by the first number")

   else:

       print("The second number is not divisible by the first number")

except ZeroDivisionError:

   print("The second number is not divisible by the first number")

2.

import random, math

num1 = float(input("Enter a small decimal number: "))

num2 = float(input("Enter a large decimal number: "))

r = round(random.uniform(num1, num2), 2)

print("The volume of a sphere with radius " + str(r) + " is " + str(round(((4 / 3) * math.pi * (r ** 3)), 2)))

I hope this helps!

8 0
3 years ago
EXERCISE
nirvana33 [79]

Answer:

1. True

2. True

3. False

4. True

5. True

8 0
2 years ago
4. is the disappearance of the individual a bad thing?
makkiz [27]

Answer:

The program completed in a third of the time with six computers versus one computer.

Explanation:

7 0
3 years ago
What special case exists when managing linked lists?
tiny-mole [99]

Explanation:

The special case that exists in linked list when we are managing them is when we are dealing with the first element of the list.

When we create a linked list we create a first node separately.

If we delete or add element in front of the first element we have to carefully handle that case.

Hence the special case is when we are dealing with the first element of the list.

6 0
3 years ago
Other questions:
  • Why is there a need to compare and align one's PECs of a successful entrepreneur?
    5·1 answer
  • A. True <br> b. False: variables represent storage locations in the computer's memory.
    13·1 answer
  • The part of the computer that provides access to the internet is the-?
    15·2 answers
  • How to cite a website, like asha.org?
    6·1 answer
  • Jeremy wishes to create a site map for his website. What tag will surround the URL of his home page? A. B. C. D.
    8·1 answer
  • Write a program that allows the user to enter the last names of five candidates in a local election and the votes received by ea
    12·1 answer
  • URGENT!!! Which file format is used mainly in the Microsoft Windows operating system?
    15·2 answers
  • A group of students is performing an investigation to measure how much liquid water is produced from a 10 L sample of snow. What
    6·1 answer
  • How to fix a light blub
    11·2 answers
  • Define online pollution
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!