Question

In: Computer Science

PLEASE ANSWER ALL 1.5 If all rainbow colors are to be represented by a unique bit...

PLEASE ANSWER ALL

1.5 If all rainbow colors are to be represented by a unique bit pattern, how many bits would be needed to store each color? Why?

1.6 What is the usage of each of the following elements in a Graphical User Interface (GUI)?

a. windows

b. icons

c. buttons

d. sliders

1.10 What is the significance of a Domain Name System (DNS) in the Internet? What would happen without a DNS?


1.12 Explain the difference between a web browser and a web server.


1.14 Give examples of the three categories of Java identifiers and explain the differences between them.


will give a thumbs up

Solutions

Expert Solution

The answer of the question is provided below, please comment if any doubts:

1.5)

Answer: 3

Explanation:

  • In rainbow there are seven colors.
  • To represent “n” colors with unique bit pattern there should be at least “Ceil(log2 n)” bits are needed.
  • Thus here at least three colors are needed.

1.6)

a) Windows

  • In GUI windows are used to act as a platform to display various components in GUI.
  • To distinguish or separate items from one other also the GUI windows are used.
  • The GUI windows can hold almost all other features of GUI, thus GUI is called as a mother board of GUI.

b) icons

  • Icons are used for fast and easy recognition of items in GUI.
  • Since the pictures and images are more attractive for eyes rather than plain texts icons will act as an identity of something like an activity, web-page link, etc.
  • Some icons can be selectable and some are non-selectable.

c)buttons

  • Buttons in GUI is used to perform some action on its click.
  • A button click normally call a set of activity to be performed.
  • The buttons are also used for selection function, usually radio buttons are used for this.

d)sliders

  • A slider is normally a bar like control element in GUI, that is used to vary a value of some variable based its movement.
  • Normally either up-down movement or left-right movement is used.

1.10)

Significance of domain name system:

  • The computers or various system in internet are identified using the IP address.
  • But is not possible or feasible to remember the IP address of other computers that we need to communicate.
  • Also there can be multiple IP address for a single Web-page provide, in that which IP address is to be used is a complex problem.
  • DNS is used to solve this problem.
  • The DNS converts the web address to corresponding IP address.
  • The web addresses are easy to remember and use, the we address to IP address conversion will be done by DNS system.

Without DNS:

  • If DNS is not there we need to enter the required IP address to access a web address like phone number dialling.

1.12)

Web server and web browser differences:

  • Web servers are places where the actual data is placed by the web page owners.
  • The data that are available in a web page will be stores in a web server.
  • Web browser is a client side application that is used to access the web server contents remotely.
  • Web browser is user side application but web server is a data repository held to maintain a web page.

1.14)

Three categories of Java identifiers:

  • The Java identifiers are names of variables that are used to represent something that valid in JAVA.
  • The one type of identifier that is a string that is started with the English alphabet, both upper and lower case letters can be used to define this.
  • A second type of identifiers are those starts with an under score, “_”.
  • The third type of identifier is that started with dollar symbol “$”.

Related Solutions

Please answer all the parts of this question Please answer all the parts of this question...
Please answer all the parts of this question Please answer all the parts of this question Question: a) Where is the flow accelerating in the control volume? b) Will the pressure be greater or less than hydrostatic in a region of accelerating flow? c) Is the hydrostatic estimate of force on the gate; larger, smaller, or the same, as that obtained from the Momentum Equation? Explain. d) Where does the change in flow momentum go in this control volume? Explain.
1.How many different values can be represented using a 3-bit number? Please enter only a numeric...
1.How many different values can be represented using a 3-bit number? Please enter only a numeric value 2.How many different values can be represented using a 6-bit number? Please enter only a numeric value
The range of integers that can be represented by this 12-bit construction is -255 to 255...
The range of integers that can be represented by this 12-bit construction is -255 to 255 (a 9-bit signed integer has a range of -256 to 255). What are the floating-point representations for the first eight, odd, positive, decimal integers (i.e., 1, 3, 5, 7, 9, 11, 13, 15) in this 12-bit notation?
1-How is -89 represented using 8-bit two's compliment? (The answer should be 8 binary digits). 2-What...
1-How is -89 represented using 8-bit two's compliment? (The answer should be 8 binary digits). 2-What is 10101100 - 00100100 using 2's compliment arithmetic? (The answer should be 8 binary digits) 3-Assume we are using the simple model for floating-point representation as given in the text (the representation uses a 14-bit format, 5 bits for the exponent with a bias of 15, a normalized mantissa of 8 bits, and a single sign bit for the number):Show how the computer would...
Please answer all If you can't answer all then please don't answer just one question. i...
Please answer all If you can't answer all then please don't answer just one question. i need all 2. You would like to buy a house in in 16 years and estimate that you will need a deposit of $73,014. You plan to make bi-weekly deposits into an account that you hope will earn 7.05%. How much do you have to deposit every two weeks? 3. You have accumulated $1,085.55 in debt by buying things on Amazon during quarantine.  The minimum...
please answer all 15 questions if u cant answer all then please let someone else answer...
please answer all 15 questions if u cant answer all then please let someone else answer it. thanks. Histones are proteins associate with which of the following? Blood Hair Follicle DNA Sperm Skip Which of the following organs releases Bicarbonate as a response release of secretine by duodenum? Liver Pancreas Gall Bladder Spleen Which of the following describes a process that occurs along the proximal tubules of nephron? Toxins in the filtrate are detoxified Glucose, lactate, and amino acids are...
please can you complete my answer .. Please, i need Unique answer, Use your own words...
please can you complete my answer .. Please, i need Unique answer, Use your own words (don't copy and paste). Please, don't use handwriting, Use your keyboard. Q1: 1. Explain with the help of suitable examples / graph the following:     a. ‘Production Possibility Curve’      b. The concept of ‘Opportunity Cost’      c. Distinguish between ‘Quantity Demanded’ and ‘Demand Schedule’ Answer : this is my answer i want you to complete my answer (with the help of suitable examples...
Suppose that my favorite colors are RED and PURPLE, and I hate all other colors of...
Suppose that my favorite colors are RED and PURPLE, and I hate all other colors of Skittles. Find a 95% confidence interval for the difference in proportion of Skittles packages whose dominant color is a FAVORITE COLOR and the proportion of Skittles packages whose dominant color is a HATED COLOR. Package Red Orange Yellow Green Purple Total Dominant Color 1 15 15 16 12 14 72 Y 2 13 6 11 16 15 61 G 3 9 9 10 18...
A bag contains 40 jellybeans with 5 different colors. Each color is equally represented. You are...
A bag contains 40 jellybeans with 5 different colors. Each color is equally represented. You are interested in randomly drawing one jellybean at a time and checking the color before eating it. You want to know how many red jelly beans you will pull out of the bag during the first 10 draws. Can the probability be found by using the binomial probability formula? Why or why not? No. The trials are fixed, but the events are independent. Yes. The...
Marketing department I need long answer /short answer is not working I need unique answer please...
Marketing department I need long answer /short answer is not working I need unique answer please don't copy I need references, use APA style If answer without references I will hit you dislike Question: Which strategies in Huawei company should make regarding its portfolio of current and future products. What are the dimensions upon which a company manages its product portfolio? Instructions: Good and clear explanation of the various dimensions upon which a company manages its product portfolio (product mix...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT