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
slavikrds [6]
4 years ago
6

A computer database uses a binary sequence of 5 bits to represent unique user IDs. To increase the number of unique IDs that the

database is able to represent, the database administrator increases the number of bits in a user ID to 12 bits. How many times more unique user IDs can be represented with the new system?
Computers and Technology
1 answer:
Aloiza [94]4 years ago
3 0

Answer: 2 ^56 times more unique user ID's can be represented in the system.

Explanation:

5 bits will produce a maximum data allocation for User ID entries of 2^ 10.

12 bits will produce a maximum data allocation for User ID entries of 2^ 66.

Therefore the number of times more unique user ID's will be represented is 2^(66-10) = 2 ^ 56 times.

You might be interested in
Modify your program from Learning Journal Unit 7 to read dictionary items from a file and write the inverted dictionary to a fil
Bond [772]

Answer:

Following are the code to this question:

import ast as a #import package ast

d1= {}#defining an empty dictionary  

def invert_dictionary(d1):#defining a method invert_dictionary

   i = dict()#defining variable i that hold dict method  

   for k in d1:#defining for loo to check dictionary value

       val = d1[k]#defining val variable to holds dictionary key values

       for val1 in val:#defining another for loop to hold value of dictionary and inverse it

           if val1 not in i:#defining if block to check value

               i[val1] = [k]#hold key value

           else:#defining else block

               i[val1].append(k)#add value in dictionary

   return i#return inverse value

with open("dict_items.txt", "r") as data:#use open method to add a list as a file

   dict_item = a.literal_eval(data.read())#defining a variable that covert item as a text string in the input file  

   '''covert input string into dictionary item'''

   e_val = input("Please enter a value")#defining variable e_val to input value

   dict_item['4']=str(e_val)#holding value in dictionary

   dict_item['5']='e'#holding value in dictionary

   dict_item['6']='f'#holding value in dictionary

   '''Invert the dictionary value '''

   invert_data =invert_dictionary(dict_item)#defining variable to holding method value

'''calculating the format of each item of inverted dictionary as a text string output file.'''

f_data = {i:str(j[0]) for i,j in inverted_data.items() }#defining f_data to hold coverted value

import json as j#import package

with open('out_put.txt', 'w') as file:#use open method to open file

   file.write(j.dumps(f_data))#add value

Explanation:

In the above-given code has four parts which can be defined as follows:

In the first part, a method invert_dictionary is defined that accepts a dictionary, and defines two for loops in which the second loop uses a conditional statement to convert the inverse form and return its value, and after inverse it use the open method to add a list as a file, and defining a variable that covert item as a text string in the input file.

In the second step, a variable e_val is declared for input value , and use the dict_item variable to holding dictionary  value, and call the method and hold its value.

In the third and fourth step it calculating the format of each item of inverted dictionary as a text string output file.

6 0
3 years ago
1. The Percentage of T9 and T10 also have the wrong number format. Change them to the Correct number format(to match the rest of
pentagon [3]

Answer:

60%

Explanation:

After changing the number format of the percentages of T9 and T10, the value that now shows in T10 due to the change from the wrong format to the Right format is 60%

This is because when a value is entered into a column in a wrong format the value would be different from other values entered rightly but when the format is changed to the right format, the correct value would show up.

5 0
4 years ago
Hi I need help, This assignment is for Assignment 6 Question 3 in edhesive for computer science. here is the prompt:
miv72 [106K]

Answer: print("THIRD")

for i in range(10):

   for j in range(10-i):

       print(" ", end=" ")

   for j in range(i):

       print("*", end=" ")

   print("")

Explanation:

You're Welcome yall

print("THIRD")

for i in range(10):

   for j in range(10-i):

       print(" ", end=" ")

   for j in range(i):

       print("*", end=" ")

   print("")

6 0
4 years ago
From which tab can you format individual cell data like any other text? A.Design B. Home C. Table Tools Design D.Table Tools Lay
AysviL [449]
I think table tools design I'm not really sure sorry
6 0
3 years ago
Read 2 more answers
Write the CSS for an id with the following attributes: i. float to the left of the page. ii. light tan background. iii. Verdana
miss Akunina [59]

Answer:

We create a block div with an id="block" and we make the css code

Explanation:

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>bloque</title>

<link href="bloque.css" rel="stylesheet" type="text/css">  

</head>

<body>

<!--we create the div with the id="block" and a text "hello world"-->

<div id="block"> hello world </div>

 

</body>

</html>

/* CSS Document */

/* we create the CSS file, then with the same id="block" we're programming in the CSS code*/

#block{

background-color: #ECDEC9;

padding: 20px;

float: left;

font-size: 50px;

font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans",     "DejaVu Sans", "Verdana", "sans-serif";

}

4 0
4 years ago
Other questions:
  • 1. Create a view named customer_addresses that shows the shipping and billing addresses for each customer.
    15·1 answer
  • To protect your answers after completing an assignment, what should you do? close your browser window. let someone else start wo
    14·1 answer
  • Write down the pseudo code of a program that calculates the Body Mass Index (BMI) of
    9·1 answer
  • Describe the GRANT statement and explain how it relates to security. What types of privileges may be granted? How are they revok
    15·1 answer
  • What is the protocol developed for the wireless network communications? explain?
    8·1 answer
  • Visual-verbal synergy has nothing to do with text, but solely with images used in a design.
    9·1 answer
  • Given 4 floating-point numbers. Use a string formatting expression with conversion specifiers to output their product and their
    6·1 answer
  • Question 2: Describe and Discuss the concepts of Higher order functions and currying in a functional programming language such a
    10·1 answer
  • A list contains the following items: Antelope, Baboon, Cheetah, Elephant, Giraffe, Hippo, Jackal, Lion, Okapi, Warthog. ​(a)​A b
    5·2 answers
  • Why should teachers refrain from using extreme language, such as “I’m dying of hunger,” around four- and five-year-old children?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!