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
“$”.