Question

In: Electrical Engineering

.How many bits would be used to represent the following text string in extended ASCII? "I...

.How many bits would be used to represent the following text string in extended ASCII? "I like this HW!"

.What is the hexadecimal value of the color black and the color white on the web?

. What is the minimum length of the binary code I would need to use if I wanted to assign a unique binary code to 93 students in the class?

Solutions

Expert Solution

hexa decimal value of the color white on the web: color hex code is a way of specifying color using hexadecimal values. The code itself is a hex triplet, which represents three separate values that specify the levels of the component colors. The code starts with a pound sign (#) and is followed by six hex values or three hex value pairs (for example, #AFD645). The code is generally associated with HTML and websites, viewed on a screen, and as such the hex value pairs refer to the RGB color space.

A color hex code describes the composition of a certain color in a specific color space, usually RGB. In the case of RGB, the first value pair refers to red, the second to green and the third to blue, with decimal values ranging from 0 to 255, or in hexadecimal 0 to FF (#RRGGBB). RGB is an additive color space, meaning that when all three colors are put together the result is white (white light). For example, the color hex code for white is #FFFFFF or in decimal 255, 255, 255; and at the opposite end is black #000000. Yellow is made up of red and green, so its hex code is #FFFF00. Other color spaces using hex codes include

the hexa decimal value of the color white color on web is FFFFFF

the hexa decimal value of the color black on web is 000000


Related Solutions

How many bits are required to represent all the elements currently in the Periodic Table?
How many bits are required to represent all the elements currently in the Periodic Table?
How would I write a program for C++ that checks if an entered string is an...
How would I write a program for C++ that checks if an entered string is an accepted polynomial and if it is, outputs its big-Oh notation? Accepted polynomials can have 3 terms minimum and no decimals in the exponents.
Suppose a block cipher uses m-to-m bits S-boxes. How many bits are required to store the...
Suppose a block cipher uses m-to-m bits S-boxes. How many bits are required to store the look-up table of k different such m-to-m bits S-boxes? Give a formula in terms of k and m. Hint: A look-up table for one DES S-box requires 256 bits of storage.
Python: How would I modify the class below that takes a string and returns an object...
Python: How would I modify the class below that takes a string and returns an object holding a valid NANP phone number. I am asked to filll in the three methods listed, but underfined, below: __str__(), area_code(), and normalize(). My task is to clean up differently formatted telephone numbers by removing punctuation, such as '(', '-', and the like, and removing and the country code (1) if present. I am asked to start by stripping non-digits, and then see if...
In UART protocol, how many bits are NECESSARILY added into a data package for the interfacing...
In UART protocol, how many bits are NECESSARILY added into a data package for the interfacing to be successful? What is the function of those bits?
How many bits are required to address the program memory of PIC16F887? What is PCLATH? For...
How many bits are required to address the program memory of PIC16F887? What is PCLATH? For PC absolute addressing, describe how to write assembly program to jump to code located in a different program memory page.
For a netmask of 255.255.128.0, tell a) how many bits are defined for network number portion...
For a netmask of 255.255.128.0, tell a) how many bits are defined for network number portion b) how many bits are defined for host number portion. (Be sure not to include any spaces in your answers. Just indicate the number for each answer.)
Using a UTF-8 Unicode implementation, how many bytes would it require to store the string "Dog!"
Using a UTF-8 Unicode implementation, how many bytes would it require to store the string "Dog!"
How do I use ASCII code to generate and display two random letters that are one...
How do I use ASCII code to generate and display two random letters that are one lowercase and one uppercase in C++? Please give me an example.  
in verilog if i have a hex number how do i get a specific 4 bits?...
in verilog if i have a hex number how do i get a specific 4 bits? for exampe if i have a hex number 5055 how do i get the last four bits which would be 0101?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT