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
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...
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...
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...
Cost Accounting : (Please write a unique answer, not a copied one). Making a decision to...
Cost Accounting : (Please write a unique answer, not a copied one). Making a decision to process a product further is not influenced by joint cost allocation. However, it should be based on incremental costs and qualitative factors. Discuss this statement.
(Please answer with new unique words using keyboard, and sure I will like your answer) Question...
(Please answer with new unique words using keyboard, and sure I will like your answer) Question 1: Discuss how venture capitalists reduce their risk when investing in startup businesses. Justify your answer citing appropriate examples from Saudi Firms.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT