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?
Write a method ( C++ ) map occurance_map(const string path); that reads in an ascii text...
Write a method ( C++ ) map occurance_map(const string path); that reads in an ascii text file and returns an assocation where each key is a word in the text file and each value is the number of occurances of that word. Ignore punctuation and numbers. The method should be case-insensitive and should store the keys as lowercase. A word is definited by an string consisting entirely of alpha-numeric characters or apostrophes (single quote characteris). For example, if the file...
1a. how many bits is 1 MB = 2 b 1b. Internally, computers represent numbers as...
1a. how many bits is 1 MB = 2 b 1b. Internally, computers represent numbers as either binary or hexadecimal true or false?
Consider the following page reference string: 1,2,3,5,4,2,1,5,4,2,6,3,1,2,6,3,1,2,4,7,5,4,3,5 How many page faults would occur for replaement by...
Consider the following page reference string: 1,2,3,5,4,2,1,5,4,2,6,3,1,2,6,3,1,2,4,7,5,4,3,5 How many page faults would occur for replaement by LRU, FIFO, optimal, for four frames? All frames are initially empty and first unique page reference causes a page fault. Draw the frame for each page reference.
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.
Left shift. I am trying to left shift a string located in a text file. I...
Left shift. I am trying to left shift a string located in a text file. I am using c++ and the goal is to left shift by 1 character a string of length N, and output on stdout all of the performed shifts. Can someone tell me what I am doing wrong, and tell me what I can fix? i.e: text file contains: Hi there!. Output on stdout: Hi there!, i there!H, _there!Hi, there!Hi_,...., !Hi_there. #here "_" represent space. -------------------------------------------------------------------------------------------------------------------------...
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...
How would I read only the first line of text file into C++ For instance, the...
How would I read only the first line of text file into C++ For instance, the first line of a text file is: 5 (space) 5. I need to read these numbers into a row variable and a column variable. I am just not sure how to do it. I can only use the #include header. I can't use any other header. The project mentions using redirected input in Visual Studio for our text file.
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?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT