Sunday, 12 June 2011

Unique characteristics of software


Introduction
Over the years, we have evolved many ways of producing better-quality goods in the manufacturing sector. This knowledge can be extended to build better-quality software products if the software professionals understand the characteristics of software and how these compare with those of hardware.
In this section, you will learn about the characteristics of software
Software versus hardware
Software is essentially a set of instructions (programs) that provide the required functionality, the related data, and documents. Therefore, software is a logical system element and differs from hardware, a physical system element, in its characteristics.
An important aspect of software is that it is engineered using team effort, unlike hardware, which is manufactured. The process used for building software, therefore, cannot be expedited the way hardware manufacture can be.
Another aspect of software is that, because the software industry is new, software differs from hardware in the aspect of component usage.
Being a logical system element rather than physical, software also differs in the way it deteriorates over time. It does not wear out the way hardware does.
Let us now discuss each aspect.
Engineering a software product
Software is developed or engineered, not manufactured the way hardware is. Each software product is different because it is built to meet the unique requirements of a customer. Each software therefore needs to be built using an engineering approach.
Building a software product involves understanding what is needed, designing the product to meet the requirements, implementing the design using a programming language, and checking the product against the requirements. All these activities are performed by executing a software project and require a team working in a coordinated way.
The process used for building software is different from manufacturing hardware, where machines are used to produce parts and each worker just needs to perform the assigned task or operate a machine.
Let us see how this software characteristic impacts the ability to speed up the process for building software.
Software project: A team effort
While manufacturing hardware, it is possible to speed up the production by making additional resources available.
In software, the major resource used is people. It is not always possible to speed up building software by adding people because building software requires a team effort. The team has to work in a coordinated way and share a common project goal. Effective communication is required within the team.
A new team member is not immediately productive and needs proper induction into the team and training for work to be done. This requires an investment of time and effort from the existing team members and distracts them from performing their own work. In case a project is already running late adding people to it further slows it down, unless, the people have the required experience, the project is highly compartmentalized, or the project has a well-documented design so that training is minimized. Therefore, careful planning and compartmentalization are required for the addition of people to the project.
Use of standard components in hardware
Hardware uses standard components with well-defined functions and interfaces. The use of these off-the-shelf components helps avoid re-inventing the wheel. The design phase in the life-cycle of a hardware product involves selecting the most suitable components available and deciding on the approach to assemble them. The standard hardware components are useful because they lead to:
  • Reduced cost and time-to-market
  • Good quality
  • Rapid engineering
  • Easy maintenance
  • Easy enhancement
Over years, component development and interchangeability, component standards, and related engineering practices have evolved for hardware and are now commonplace.
Let us now see the use of standardized components in the context of the software industry, which is a relatively new industry.
Software reuse
Software is typically created from scratch. It is often built according to the specific requirements of a customer and is not created by assembling existing components.
Like the hardware industry, the software industry is also trying to adopt the mechanism of reuse to make it easier and quicker to build. The advantages of software reuse are now being understood and appreciated. Some reuse exists through function libraries and reusable objects that combine function and data.
While reuse and component-based assembly are increasing, most software continues to be custom built, and the current reuse levels are a far cry from what they could be. This is because the software industry is relatively very nascent. Besides, the task of identifying potentially reusable components is difficult because each software product is unique and distinct.
Over time, the software industry hopes to create reusable components that are specific to particular application domains, such as, banking applications, networking, computer graphics, operating systems, medical instrumentation, and human interfaces

Emphasis on component-based development
There is an increasing emphasis on 'component-based' development for computer software—an approach that encourages the creation of reusable software units.
The software industry has well-defined processes for the reuse of components. This includes processes for building components, storing them in libraries from where they can be extracted for reuse, and then, incorporating them as such or with some modifications. However, the use of components does not eliminate the need to engineer the product.
As we move into the first decade of the 21st century, more and more software will be built using reusable off-the-shelf components to meet customer requirements.
Failure rate of hardware and software
All products (hardware and software) exhibit failure as time passes. The shape of the failure rate curve is reasonably predictable for both hardware and software. However, there is a difference in the failure behavior of hardware and software. This is because hardware is a physical system element while software is a logical system element.
Understanding the failure behavior of software over time tells you what can be expected from software products. It also helps to understand what needs to be addressed to improve the reliability of products and the process that is used to build them. You can see what you need to do to produce software products that behave, as far as possible, in an ideal way.
Let us first understand the failure rate of hardware products
The bathtub curve
Consider the following stages for a hardware widget that has been manufactured.
1.     When first made, hardware is in infant mortality because it may have some initial design or production problems that lead to failure and require rectification. The design and production problems are corrected, and the initially high failure rate decreases rapidly.
2.     After this, an occasional failure may occur, but the overall failure rate remains very low for some time, resulting in the steady state.
3.     Over time, the hardware wears out because of factors such as dust, physical wearing down, misalignments, breakdowns, and malfunctioning of parts. Due to this physical wear and tear, the failure rate starts increasing again. The failure rate ultimately reaches a point where the product becomes unusable.
The failure rate for hardware is so predictable that the failure curve has been given a name—the bathtub curve.
Software failure rates over time
In your opinion:
1.     What is the initial software failure rate when the software is released to customers—high, moderate, or low?
2.     During normal operation after initial errors have been corrected, what sort of failure rate is expected—high, moderate, or low?
3.     How does the failure curve move when the software ages—stay same, goes down, or moves upward?
Software deterioration over time
Consider the following scenarios as software moves from creation into implementation.
1.     The system has been released and is being used by the customers.
2.     The initial problems have been resolved; the system is now working fine.
3.     The software maintenance team is asked to enhance the system functionality. The enhancements (new reports) are made and released.
4.     These new reports have problems at first, which are resolved. These problems are fixed over time.
5.     After some time, further enhancements are needed to meet new requirements. These changes are made, and it takes some time to rectify the associated problems.
6.     Over time, the product has been patched so often to meet changing requirements that there are greater chances of introducing error in case any further changes are made. As a result, it becomes difficult to remove all problems. The failure rates go up and the software deteriorates.
Software deterioration curve
The goal of every person who builds computer software is to accomplish the following:
  • Create software of high quality.
  • Recognize that the changes made to software will introduce errors but try to keep the following low.
    • Slope of the deterioration curve
    • Amplitude of the error spikes due to change
  • Reduce the impact of side effects and improve the long-term quality of software.
In order to achieve the above goals, it is necessary to build software using well-defined design principles, implement the software using well-understood best practices, and test the software using thorough processes. This is accomplished by following a 'software engineering' approach.

Software Components

Let us now discuss each of these components.
Software component: Programs
Programs are sets of instructions that provide the desired functionality when executed by the computer. They are written using specific languages that computers can read and execute, such as assembly language, Basic, FORTRAN, COBOL, C, and C++. Programs can also be generated using program generators.
A common perception is that software consists only of programs. However, programs are not the only component of software. Let us see the other, equally important components of software
Software component: Data
comprehensive definition of software is important because it explicitly lists components that may otherwise be forgotten or overlooked. An important component of software that is often forgotten is data.
Programs provide the required functionality by manipulating data. They use data to exercise appropriate control on the processing done. Maintenance and testing of programs also require data. The program design assumes the availability of data structures such as databases and files to contain data.
Software component: Documents
In addition to programs and data, users also need an explanation of how to use the programs.
Documents such as user manuals and operations manuals are necessary to enable users to operate the programs. These documents are usually available in electronic form such as help files or Web based information.
Documents are also required by the people maintaining the software to understand the internals of the software and modify it, if required. Some examples are documents that capture the design of the software, describe how it can be tested, or state the customer requirements on which the software is based.
Types of software
Now that you understand the components of software, let us discuss the different types of software.
Software can be divided into two broad categories. These are:
  • Application software - Application software is used to provide services to customers and run businesses more efficiently. The application software can be a small system or a large integrated system. Some examples of application software are an accounting system, a management information system (MIS), and an enterprise resource planning (ERP) system.
  • System software - System software is used to operate and maintain a computer system. It enables customers to use the computer resources directly and through other software. Some examples of system software are operating systems, compilers, and system utilities.
Software may be embedded
At times, software is embedded as part of a more complex system. For example, control systems are embedded software in which the software is integrated with hardware devices such as sensors. In such a case, the integrated system performs the required functions.
Some examples of embedded software are aircraft navigation systems, medical diagnostic equipment, surgical tools, automotive fuel controls, and braking systems.
Software as a differentiator

Software is often the key element that makes a product superior or special because it provides features that customers find useful. Software is used to implement the 'intelligence' that makes a product or service 'smart'. Customers often make purchase decisions based on software functionality, even if they do not understand the role of the software in providing the functionality.
Often, software is used as a means to provide functionality that customers obtain in products and services that they may not associate with software. For example, an investment firm may use custom software to provide its customers with instant stock quotes and a hospital may use sophisticated software and advanced tools to provide superior diagnostic information. The use of data mining software can enable a dot com retailer to suggest new purchases to customers.
Examples of software being used as a differentiator
Some more examples of software as a differentiator are:
  • A navigation system for a car: Software can present information in an understandable way and provide features (for example, information about local restaurants) that customers want.
  • The control panel for a microwave oven: Software can be used to provide specific timing for specific food items and display information in a readily understandable manner.
  • A mobile phone: Software can provide an array of features that a buyer wants, such as Internet access.
  • An auto insurance business: Software can help to provide prompt service to existing customers and to enable brokers to quickly provide accurate quotes to potential new customers.
  • An ATM network: Software can enable rapid transfer of data to and from the bank and member banks and provide adequate security and record keeping.
Software is business-strategic
Organizations often use software to obtain a business advantage by offering products and services that are different from and better than those of their competitors. In other words, software is business-strategic.
Software is considered strategic for business because:
  • Product sales are often a function of the software features provided.
  • Product or system acceptance is often a function of the software interface.
Product enhancement and extension are often software-based. 

Introduction


Software and its Components
Introduction
Today, everyone is affected by the widespread use of software, either as a user or as a professional who builds it. Users need to appreciate the advantages of using software, while software professionals need to understand its unique characteristics so that they can build high-quality software products and execute software projects successfully.
In this section, you will learn what software is and what its components are.
Widespread use of software
Software is used in all spheres of life. It is used in offices for running businesses effectively, in factories for manufacturing, and in households for various devices. Some examples of equipment that uses software are mobile phones, microwave ovens, military equipment, and airplanes.
The design of an airplane today involves thousands of experts and the use of special CAD software. Also, flying the plane depends on software. For example, a Boeing 777 is operated using 4 million lines of code. A lot of effort goes into ensuring that this code is
error-free. Guru Edward Yourdon, in his book, Death March, states that the Boeing 777 can be regarded as 'a bunch of software with wings'.
Let us further explore what software is.
What is software?
We know that word processors, payroll packages, and operating systems are software because they enable us to use the abilities of computers to perform work.
On the other hand, floppies and CDs are media used to store software. Desktop computers, modems, and communication cables are hardware that enables the software to provide various functionalities.
Based on your understanding of what software is, would you consider a Web site as software?
Some definitions of software
Now that you have some idea of what software includes, let us discuss some standard definitions of software.
IEEE Std.610.12-1990 defines software as 'computer programs, procedures, and possibly associated documentation and data pertaining to the operation of a computer system'.
According to Webster's New Collegiate Dictionary (1975), software is 'an entire set of programs, procedures, and related documentation associated with a system, and especially a computer system'.
These definitions provide a perspective of what software encompasses. You can see that the emphasis in these definitions is on 'programs', which are essential components of software and contain instructions for the computer. In addition, software consists of the data and documentation needed for operating the programs.
A comprehensive definition of software
Software can be defined comprehensively as consisting of the following three components.
  • Programs (instructions): This component provides the desired functionality and performance when executed.
  • Data: This component includes the data needed to drive and test programs and the structures required to hold and manipulate this data.
  • Documents: This component describes the operation and use of programs.
When you build software, you must create not only programs but also data and documents. A collection of these three components is called configuration. When you manage these three components, you perform a function that is called configuration management.

Thursday, 28 April 2011

The Web Palette


<HTML>
<HEAD>
<TITLE>The Web Palette</TITLE>
</HEAD>

<BODY>
<font size="+2">The Web Palette</font></b></font></p>
<p><font face="Trebuchet MS, Arial, sans-serif">The <b>The following table</b> is a set
of 216 colors that will not dither or shift on PCs or Macs.</font></p>
<table border=0 width="100%" cellspacing="4" cellpadding="3">
<tr>
<td width="17%" height=40 bgcolor="#FFFFFF"> <p class="table">255, 255, 255

FFFFFF</p></td>
<td bgcolor="#FFFFCC" width="17%"> <p class="table">255,255,204

FFFFCC</p></td>
<td bgcolor="#FFFF99" width="17%"> <p class="table">255,255,153

FFFF99</p></td>
<td bgcolor="#FFFF66" width="17%"> <p class="table">255,255,102

FFFF66</p></td>
<td bgcolor="#FFFF33" width="16%"> <p class="table">255,255,51

FFFF33</p></td>
<td bgcolor="#FFFF00" width="16%"> <p class="table">255,255,0

FFFF00</p></td>
</tr>
<tr>
<td bgcolor="#FFCCFF" width="17%" height=40> <p class="table">255,204,255

FFCCFF</p></td>
<td bgcolor="#FFCCCC" width="17%"> <p class="table">255,204,204

FFCCCC</p></td>
<td bgcolor="#FFCC99" width="17%"> <p class="table">255,204,153

FFCC99</p></td>
<td bgcolor="#FFCC66" width="17%"> <p class="table">255,204,102

FFCC66</p></td>
<td bgcolor="#FFCC33" width="16%"> <p class="table">255,204,51

FFCC33</p></td>
<td bgcolor="#FFCC00" width="16%"> <p class="table">255,255,0

FFCC00</p></td>
</tr>
<tr>
<td bgcolor="#FF99FF" width="17%" height=40> <p class="table">255,153,255

FF99FF</p></td>
<td bgcolor="#FF99CC" width="17%"> <p class="table">255,153,204

FF99CC</p></td>
<td bgcolor="#FF9999" width="17%"> <p class="table">255,153,153

FF9999</p></td>
<td bgcolor="#FF9966" width="17%"> <p class="table">255,153,102

FF9966</p></td>
<td bgcolor="#FF9933" width="16%"> <p class="table">255,153,51

FF9933</p></td>
<td bgcolor="#FF9900" width="16%"> <p class="table">255,153,0

FF9900</p></td>
</tr>
<tr>
<td bgcolor="#FF66FF" width="17%" height=40> <p class="table">255,102,255

FF66FF</p></td>
<td bgcolor="#FF66CC" width="17%"> <p class="table">255,102,204

FF66CC</p></td>
<td bgcolor="#FF6699" width="17%"> <p class="table">255,102,153

FF6699</p></td>
<td bgcolor="#FF6666" width="17%"> <p class="table">255,102,102

FF6666</p></td>
<td bgcolor="#FF6633" width="16%"> <p class="table">255,102,51

FF6633</p></td>
<td bgcolor="#FF6600" width="16%"> <p class="table">255,102,0

FF6600</p></td>
</tr>
<tr>
<td bgcolor="#FF33FF" width="17%" height=40> <p class="tablewhite">255,51,255

FF33FF</p></td>
<td bgcolor="#FF33CC" width="17%"> <p class="tablewhite">255,51,204

FF33CC</p></td>
<td bgcolor="#FF3399" width="17%"> <p class="tablewhite">255,51,153

FF3399</p></td>
<td bgcolor="#FF3366" width="17%"> <p class="tablewhite">255,51,102

FF3366</p></td>
<td bgcolor="#FF3333" width="16%"> <p class="tablewhite">255,51,51

FF3333</p></td>
<td bgcolor="#FF3300" width="16%"> <p class="tablewhite">255,51,0

FF3300</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#FF00FF" height=40> <p class="tablewhite">255,0,255

FF00FF</p></td>
<td width="17%" bgcolor="#FF00CC"> <p class="tablewhite">255,0,204

FF00CC</p></td>
<td width="17%" bgcolor="#FF0099"> <p class="tablewhite">255,0,153

FF0099</p></td>
<td width="17%" bgcolor="#FF0066"> <p class="tablewhite">255,0,102

FF0066</p></td>
<td width="16%" bgcolor="#FF0033"> <p class="tablewhite">255,0,51

FF0033</p></td>
<td width="16%" bgcolor="#FF0000"> <p class="tablewhite">255,0,0

FF0000</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#CCFFFF" height=40> <p class="table">204,255,255

CCFFFF</p></td>
<td width="17%" bgcolor="#CCFFCC"> <p class="table">204,255,204

CCFFCC</p></td>
<td width="17%" bgcolor="#CCFF99"> <p class="table">204,255,153

CCFF99</p></td>
<td width="17%" bgcolor="#CCFF66"> <p class="table">204,255,102

CCFF66</p></td>
<td width="16%" bgcolor="#CCFF33"> <p class="table">204,255,51

CCFF33</p></td>
<td width="16%" bgcolor="#CCFF00"> <p class="table">204,255,0

CCFF00</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#CCCCFF" height=40> <p class="table">204,204,255

CCCCFF</p></td>
<td width="17%" bgcolor="#CCCCCC"> <p class="table">204,204,204

CCCCCC</p></td>
<td width="17%" bgcolor="#CCCC99"> <p class="table">204,204,153

CCCC99</p></td>
<td width="17%" bgcolor="#CCCC66"> <p class="table">204,204,102

CCCC66</p></td>
<td width="16%" bgcolor="#CCCC33"> <p class="table">204,204,51

CCCC33</p></td>
<td width="16%" bgcolor="#CCCC00"> <p class="table">204,204,0

CCCC00</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#CC99FF" height=40> <p class="table">204,153,255

CC99FF</p></td>
<td width="17%" bgcolor="#CC99CC"> <p class="table">204,153,204

CC99CC</p></td>
<td width="17%" bgcolor="#CC9999"> <p class="table">204,153,153

CC9999</p></td>
<td width="17%" bgcolor="#CC9966"> <p class="table">204,153,102

CC9966</p></td>
<td width="16%" bgcolor="#CC9933"> <p class="table">204,153,51

CC9933</p></td>
<td width="16%" bgcolor="#CC9900"> <p class="table">204,153,0

CC9900</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#CC66FF" height=40> <p class="table">204,102,255

CC66FF</p></td>
<td width="17%" bgcolor="#CC66CC"> <p class="table">204,102,204

CC66CC</p></td>
<td width="17%" bgcolor="#CC6699"> <p class="table">204,102,153

CC6699</p></td>
<td width="17%" bgcolor="#CC6666"> <p class="table">204,102,102

CC6666</p></td>
<td width="16%" bgcolor="#CC6633"> <p class="table">204,102,51

CC6633</p></td>
<td width="16%" bgcolor="#CC6600"> <p class="table">204,102,0

CC6600</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#CC33FF" height=40> <p class="tablewhite">204,51,255

CC33FF</p></td>
<td width="17%" bgcolor="#CC33CC"> <p class="tablewhite">204,51,204

CC33CC</p></td>
<td width="17%" bgcolor="#CC3399"> <p class="tablewhite">204,51,153

CC3399</p></td>
<td width="17%" bgcolor="#CC3366"> <p class="tablewhite">204,51,102

CC3366</p></td>
<td width="16%" bgcolor="#CC3333"> <p class="tablewhite">204,51,51

CC3333</p></td>
<td width="16%" bgcolor="#CC3300"> <p class="tablewhite">204,51,0

CC3300</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#CC00FF" height=40> <p class="tablewhite">204,0,255

CC00FF</p></td>
<td width="17%" bgcolor="#CC00CC"> <p class="tablewhite">204,0,204

CC00CC</p></td>
<td width="17%" bgcolor="#CC0099"> <p class="tablewhite">204,0,153

CC0099</p></td>
<td width="17%" bgcolor="#CC0066"> <p class="tablewhite">204,0,102

CC0066</p></td>
<td width="16%" bgcolor="#CC0033"> <p class="tablewhite">204,051

CC0033</p></td>
<td width="16%" bgcolor="#CC0000"> <p class="tablewhite">204,0,0

CC0000</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#99FFFF" height=40> <p class="table">153,255,255

99FFFF</p></td>
<td width="17%" bgcolor="#99FFCC"> <p class="table">153,255,204

99FFCC</p></td>
<td width="17%" bgcolor="#99FF99"> <p class="table">153,255,153

99FF99</p></td>
<td width="17%" bgcolor="#99FF66"> <p class="table">153,255,102

99FF66</p></td>
<td width="16%" bgcolor="#99FF33"> <p class="table">153,255,51

99FF33</p></td>
<td width="16%" bgcolor="#99FF00"> <p class="table">153,255,0

99FF00</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#99CCFF" height=40> <p class="table">153,204,255

99CCFF</p></td>
<td width="17%" bgcolor="#99CCCC"> <p class="table">153,204,204

99CCCC</p></td>
<td width="17%" bgcolor="#99CC99"> <p class="table">153,204,153

99CC99</p></td>
<td width="17%" bgcolor="#99CC66"> <p class="table">153,204,102

99CC66</p></td>
<td width="16%" bgcolor="#99CC33"> <p class="table">153,204,51

99CC33</p></td>
<td width="16%" bgcolor="#99CC00"> <p class="table">153,204,0

99CC00</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#9999FF" height=40> <p class="table">153,153,255

9999FF</p></td>
<td width="17%" bgcolor="#9999CC"> <p class="table">153,153,204

9999CC</p></td>
<td width="17%" bgcolor="#999999"> <p class="table">153,153,153

999999</p></td>
<td width="17%" bgcolor="#999966"> <p class="table">153,153,102

999966</p></td>
<td width="16%" bgcolor="#999933"> <p class="table">153,153,51

999933</p></td>
<td width="16%" bgcolor="#999900"> <p class="table">153,153,0

999900</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#9966FF" height=40> <p class="table">153,102,255

9966FF</p></td>
<td width="17%" bgcolor="#9966CC"> <p class="table">153,102,204

9966CC</p></td>
<td width="17%" bgcolor="#996699"> <p class="table">153,102,153

996699</p></td>
<td width="17%" bgcolor="#996666"> <p class="table">153,102,102

996666</p></td>
<td width="16%" bgcolor="#996633"> <p class="table">153,102,51

996633</p></td>
<td width="16%" bgcolor="#996600"> <p class="table">153,102,0

996600</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#9933FF" height=40> <p class="tablewhite">153,51,255

9933FF</p></td>
<td width="17%" bgcolor="#9933CC"> <p class="tablewhite">153,51,204

9933CC</p></td>
<td width="17%" bgcolor="#993399"> <p class="tablewhite">153,51,153

993399</p></td>
<td width="17%" bgcolor="#993366"> <p class="tablewhite">153,51,102

993366</p></td>
<td width="16%" bgcolor="#993333"> <p class="tablewhite">153,51,51

993333</p></td>
<td width="16%" bgcolor="#993300"> <p class="tablewhite">153,51,0

993300</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#9900FF" height=40> <p class="tablewhite">153,0,255

9900FF</p></td>
<td width="17%" bgcolor="#9900CC"> <p class="tablewhite">153,0,204

9900CC</p></td>
<td width="17%" bgcolor="#990099"> <p class="tablewhite">153,0,153

990099</p></td>
<td width="17%" bgcolor="#990066"> <p class="tablewhite">153,0,102

990066</p></td>
<td width="16%" bgcolor="#990033"> <p class="tablewhite">153,0,51

990033</p></td>
<td width="16%" bgcolor="#990000"> <p class="tablewhite">153,0,0

990000</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#66FFFF" height=40> <p class="table">102,255,255

66FFFF</p></td>
<td width="17%" bgcolor="#66FFCC"> <p class="table">102,255,204

66FFCC</p></td>
<td width="17%" bgcolor="#66FF99"> <p class="table">102,255,153

66FF99</p></td>
<td width="17%" bgcolor="#66FF66"> <p class="table">102,255,102

66FF66</p></td>
<td width="16%" bgcolor="#66FF33"> <p class="table">102,255,51

66FF33</p></td>
<td width="16%" bgcolor="#66FF00"> <p class="table">102,255,0

66FF00</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#66CCFF" height=40> <p class="table">102,204,255

66CCFF</p></td>
<td width="17%" bgcolor="#66CCCC"> <p class="table">102,204,204

66CCCC</p></td>
<td width="17%" bgcolor="#66CC99"> <p class="table">102,204,153

66CC99</p></td>
<td width="17%" bgcolor="#66CC66"> <p class="table">102,204,102

66CC66</p></td>
<td width="16%" bgcolor="#66CC33"> <p class="table">102,204,51

66CC33</p></td>
<td width="16%" bgcolor="#66CC00"> <p class="table">102,204,0

66CC00</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#6699FF" height=40> <p class="tablewhite">102,153,255

6699FF</p></td>
<td width="17%" bgcolor="#6699CC"> <p class="tablewhite">102,153,204

6699CC</p></td>
<td width="17%" bgcolor="#669999"> <p class="tablewhite">102,153,153

669999</p></td>
<td width="17%" bgcolor="#669966"> <p class="tablewhite">102,153,102

669966</p></td>
<td width="16%" bgcolor="#669933"> <p class="tablewhite">102,153,51

669933</p></td>
<td width="16%" bgcolor="#669900"> <p class="tablewhite">102,153,0

669900</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#6666FF" height=40> <p class="tablewhite">102,102,255

6666FF</p></td>
<td width="17%" bgcolor="#6666CC"> <p class="tablewhite">102,102,204

6666CC</p></td>
<td width="17%" bgcolor="#666699"> <p class="tablewhite">102,102,153

666699</p></td>
<td width="17%" bgcolor="#666666"> <p class="tablewhite">102,102,102

666666</p></td>
<td width="16%" bgcolor="#666633"> <p class="tablewhite">102,102,51

666633</p></td>
<td width="16%" bgcolor="#666600"> <p class="tablewhite">102,102,0

666600</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#6633FF" height=40> <p class="tablewhite">102,51,255

6633FF</p></td>
<td width="17%" bgcolor="#6633CC"> <p class="tablewhite">102,51,204

6633CC</p></td>
<td width="17%" bgcolor="#663399"> <p class="tablewhite">102,51,153

663399</p></td>
<td width="17%" bgcolor="#663366"> <p class="tablewhite">102,51,102

663366</p></td>
<td width="16%" bgcolor="#663333"> <p class="tablewhite">102,51,51

663333</p></td>
<td width="16%" bgcolor="#663300"> <p class="tablewhite">102,51,0

663300</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#6600FF" height=40> <p class="tablewhite">102,0,255

6600FF</p></td>
<td width="17%" bgcolor="#6600CC"> <p class="tablewhite">102,0,204

6600CC</p></td>
<td width="17%" bgcolor="#660099"> <p class="tablewhite">102,0,153

660099</p></td>
<td width="17%" bgcolor="#660066"> <p class="tablewhite">102,0,102

660066</p></td>
<td width="16%" bgcolor="#660033"> <p class="tablewhite">102,0,51

660033</p></td>
<td width="16%" bgcolor="#660000"> <p class="tablewhite">102,0,0

660000</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#33FFFF" height=40> <p class="table">51,255,255

33FFFF</p></td>
<td width="17%" bgcolor="#33FFCC"> <p class="table">51,255,204

33FFCC</p></td>
<td width="17%" bgcolor="#33FF99"> <p class="table">51,255,153

33FF99</p></td>
<td width="17%" bgcolor="#33FF66"> <p class="table">51,255,102

33FF66</p></td>
<td width="16%" bgcolor="#33FF33"> <p class="table">51,255,51

33FF33</p></td>
<td width="16%" bgcolor="#33FF00"> <p class="table">51,255,0

33FF00</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#33CCFF" height=40> <p class="table">51,204,255

33CCFF</p></td>
<td width="17%" bgcolor="#33CCCC"> <p class="table">51,204,204

33CCCC</p></td>
<td width="17%" bgcolor="#33CC99"> <p class="table">51,204,153

33CC99</p></td>
<td width="17%" bgcolor="#33CC66"> <p class="table">51,204,102

33CC66</p></td>
<td width="16%" bgcolor="#33CC33"> <p class="table">51,204,51

33CC33</p></td>
<td width="16%" bgcolor="#33CC00"> <p class="table">51,204,0

33CC00</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#3399FF" height=40> <p class="tablewhite">51,153,255

3399FF</p></td>
<td width="17%" bgcolor="#3399CC"> <p class="tablewhite">51,153,204

3399CC</p></td>
<td width="17%" bgcolor="#339999"> <p class="tablewhite">51,153,153

339999</p></td>
<td width="17%" bgcolor="#339966"> <p class="tablewhite">51,153,102

339966</p>
<p></p></td>
<td width="16%" bgcolor="#339933"> <p class="tablewhite">51,153,51

339933</p></td>
<td width="16%" bgcolor="#339900"> <p class="tablewhite">51,153,0

339900</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#3366FF" height=40> <p class="tablewhite">51,102,255

3366FF</p></td>
<td width="17%" bgcolor="#3366CC"> <p class="tablewhite">51,102,204

3366CC</p></td>
<td width="17%" bgcolor="#336699"> <p class="tablewhite">51,102,153

336699</p></td>
<td width="17%" bgcolor="#336666"> <p class="tablewhite">51,102,102

336666</p></td>
<td width="16%" bgcolor="#336633"> <p class="tablewhite">51,102,51

336633</p></td>
<td width="16%" bgcolor="#336600"> <p class="tablewhite">51,102,0

336600</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#3333FF" height=40> <p class="tablewhite">51,51,255

3333FF</p></td>
<td width="17%" bgcolor="#3333CC"> <p class="tablewhite">51,51,204

3333CC</p></td>
<td width="17%" bgcolor="#333399"> <p class="tablewhite">51,51,153

333399</p></td>
<td width="17%" bgcolor="#333366"> <p class="tablewhite">51,51,102

333366</p></td>
<td width="16%" bgcolor="#333333"> <p class="tablewhite">51,51,51

333333</p></td>
<td width="16%" bgcolor="#333300"> <p class="tablewhite">51,51,0

333300</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#3300FF" height=40> <p class="tablewhite">51,0,255

3300FF</p></td>
<td width="17%" bgcolor="#3300CC"> <p class="tablewhite">51,0,204

3300CC</p></td>
<td width="17%" bgcolor="#330099"> <p class="tablewhite">51,0,153

330099</p></td>
<td width="17%" bgcolor="#330066"> <p class="tablewhite">51,0,102

330066</p></td>
<td width="16%" bgcolor="#330033"> <p class="tablewhite">51,0,51

330033</p></td>
<td width="16%" bgcolor="#330000"> <p class="tablewhite">51,0,0

330000</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#00FFFF" height=40> <p class="table">0,255,255

00FFFF</p></td>
<td width="17%" bgcolor="#00FFCC"> <p class="table">0,255,204

00FFCC</p></td>
<td width="17%" bgcolor="#00FF99"> <p class="table">0,255,153

00FF99</p></td>
<td width="17%" bgcolor="#00FF66"> <p class="table">0,255,102

00FF66</p></td>
<td width="16%" bgcolor="#00FF33"> <p class="table">0,255,51

00FF33</p></td>
<td width="16%" bgcolor="#00FF00"> <p class="table">0,255,0

00FF00</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#00CCFF" height=40> <p class="table">0,204,255

00CCFF</p></td>
<td width="17%" bgcolor="#00CCCC"> <p class="table">0,204,204

00CCCC</p></td>
<td width="17%" bgcolor="#00CC99"> <p class="table">0,204,153

00CC99</p></td>
<td width="17%" bgcolor="#00CC66"> <p class="table">0,204,102

00CC66</p></td>
<td width="16%" bgcolor="#00CC33"> <p class="table">0,204,51

00CC33</p></td>
<td width="16%" bgcolor="#00CC00"> <p class="table">0,204,0

00CC00</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#0099FF" height=40> <p class="tablewhite">0,153,255

0099FF</p></td>
<td width="17%" bgcolor="#0099CC"> <p class="tablewhite">0,153,204

0099CC</p></td>
<td width="17%" bgcolor="#009999"> <p class="tablewhite">0,153,153

009999</p></td>
<td width="17%" bgcolor="#009966"> <p class="tablewhite">0,153,102

009966</p></td>
<td width="16%" bgcolor="#009933"> <p class="tablewhite">0,153,51

009933</p></td>
<td width="16%" bgcolor="#009900"> <p class="tablewhite">0,153,0

009900</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#0066FF" height=40> <p class="tablewhite">0,102,255

0066FF</p></td>
<td width="17%" bgcolor="#0066CC"> <p class="tablewhite">0,102,204

0066CC</p></td>
<td width="17%" bgcolor="#006699"> <p class="tablewhite">0,102,153

006699</p></td>
<td width="17%" bgcolor="#006666"> <p class="tablewhite">0,102,102

006666</p></td>
<td width="16%" bgcolor="#006633"> <p class="tablewhite">0,102,51

006633</p></td>
<td width="16%" bgcolor="#006600"> <p class="tablewhite">0,102,0

006600</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#0033FF" height=40> <p class="tablewhite">0,51,255

0033FF</p></td>
<td width="17%" bgcolor="#0033CC"> <p class="tablewhite">0,51,204

0033CC</p></td>
<td width="17%" bgcolor="#003399"> <p class="tablewhite">0,51,153

003399</p></td>
<td width="17%" bgcolor="#003366"> <p class="tablewhite">0,51,102

003366</p></td>
<td width="16%" bgcolor="#003333"> <p class="tablewhite">0,51,51

003333</p></td>
<td width="16%" bgcolor="#003300"> <p class="tablewhite">0,51,0

003300</p></td>
</tr>
<tr>
<td width="17%" bgcolor="#0000FF" height=40> <p class="tablewhite">0,0,255

0000FF</p></td>
<td width="17%" bgcolor="#0000CC"> <p class="tablewhite">0,0,204

0000CC</p></td>
<td width="17%" bgcolor="#000099"> <p class="tablewhite">0,0,153

000099</p></td>
<td width="17%" bgcolor="#000066"> <p class="tablewhite">0,0,102

000066</p></td>
<td width="16%" bgcolor="#000033"> <p class="tablewhite">0,0,51

000033</p></td>
<td width="16%" bgcolor="#000000"> <p class="tablewhite">0,0,0

000000</p></td>
</tr>
</table>
</BODY>
</HTML>

Mini,Personal & workstation


Mini Computer
  • Minicomputers were used, for instance, to control machine in a manufacturing unit.
  • They are widely used a general-purpose computers.
  • More powerful minicomputers models are called super minis.
  • Minicomputers work well in what are known as Distributed Data Processing (DDP).
  • End users can also access and share the resource of the server, which usually is a minicomputer.
Personal Computer
  1. Until recently, PCs were desktop or portable machines. these machines ran comparatively easy-to-use applications software such as the word processors, spreadsheets, etc..
  2. They were usually easier to use and more affordable than workstations.
  3. However, they had less sophisticated video display screens, operating systems and networking capabilities.
  4. Most important, they did not have the processing power that workstations did..
  5. Examples of personal computers are Acer's Aspire, Compaq Presario, etc...
Super Computer
  1. Supercomputers are the fastest calculating devices ever invented.
  2. Most supercomputers are used by government agencies.
  3. These machines are for applications requiring very large programs and huge amounts of data that must be processed quickly.
  4. More powerful supercomputers use a technology called massively parallel processing.
  5. These supercomputers consist of thousands of integrated microprocessors.
Workstation
  1. Workstation are, gain, until recently, expensive, powerful machines used by engineer, scientists, and other lot of data.
  2. The most powerful workstation are called super micros.
  3. Examples of well-known workstations are those made by Sun, Apollo, Hewlett-Packard, Next and IBM.
  4. More powerful microprocessors and increased graphic and communications capabilities now let end users run software that previously ran only on more powerful machines.
  5. These supercomputers consist of thousands of integrated microprocessors.
Main Computer
  • Mainframe computers can process several million-program instructions per second.
  • Mainframes are mainly used by insurant companies, banks, airline and railway reservation systems, etc.
  • Large organizations rely on these room-size system o handle large programs with lots of data.
  • An advanced mainframe made by IBM is S/390.

QUANTITATIVE SECTION



1.In a class composed of x girls and y boys what part of the class is composed of girls
A.y/(x + y)
B.x/xy
C.x/(x + y)
D.y/xy
Ans.C
2.What is the maximum number of half-pint bottles of cream that can be filled with a 4-gallon can of cream(2 pt.=1 qt. and 4 qt.=1 gal)
A.16
B.24
C.30
D.64
Ans.D
3.If the operation,^ is defined by the equation x ^ y = 2x + y,what is the value of a in 2 ^ a = a ^ 3
A.0
B.1
C.-1
D.4
Ans.B
4.A coffee shop blends 2 kinds of coffee,putting in 2 parts of a 33p. a gm. grade to 1 part of a 24p. a gm.If the mixture is changed to 1 part of the 33p. a gm. to 2 parts of the less expensive grade,how much will the shop save in blending 100 gms.
A.Rs.90
B.Rs.1.00
C.Rs.3.00
D.Rs.8.00
Ans.C
5.There are 200 questions on a 3 hr examination.Among these questions are 50 mathematics problems.It is suggested that twice as much time be spent on each maths problem as for each other question.How many minutes should be spent on mathematics problems
A.36
B.72
C.60
D.100
Ans.B
6.In a group of 15,7 have studied Latin, 8 have studied Greek, and 3 have not studied either.How many of these studied both Latin and Greek
A.0
B.3
C.4
D.5
Ans.B
7.If 13 = 13w/(1-w) ,then (2w)2 =
A.1/4
B.1/2
C.1
D.2
Ans.C
8. If a and b are positive integers and (a-b)/3.5 = 4/7, then
(A) b < a
(B) b > a
(C) b = a
(D) b >= a
Ans. A
9. In june a baseball team that played 60 games had won 30% of its game played. After a phenomenal winning streak this team raised its average to 50% .How many games must the team have won in a row to attain this average?
A. 12
B. 20
C. 24
D. 30
Ans. C
10. M men agree to purchase a gift for Rs. D. If three men drop out how much more will each have to contribute towards the purchase of the gift/
A. D/(M-3)
B. MD/3
C. M/(D-3)
D. 3D/(M2-3M)
Ans. D
11. A company contracts to paint 3 houses. Mr.Brown can paint a house in 6 days while Mr.Black would take 8 days and Mr.Blue 12 days. After 8 days Mr.Brown goes on vacation and Mr. Black begins to work for a period of 6 days. How many days will it take Mr.Blue to complete the contract?
A. 7
B. 8
C. 11
D. 12
Ans.C
12. 2 hours after a freight train leaves Delhi a passenger train leaves the same station travelling in the same direction at an average speed of 16 km/hr. After travelling 4 hrs the passenger train overtakes the freight train. The average speed of the freight train was?
A. 30
B. 40
C.58
D. 60
Ans. B
13. If 9x-3y=12 and 3x-5y=7 then 6x-2y = ?
A.-5
B. 4
C. 2
D. 8
Ans. D
ANALYTICAL ABILITY
1. The office staff of XYZ corporation presently consists of three bookeepers–A, B, C and 5 secretaries D, E, F, G, H. The management is planning to open a new office in another city using 2 bookeepers and 3 secretaries of the present staff . To do so they plan to seperate certain individuals who don’t function well together. The following guidelines were established to set up the new office
I. Bookeepers A and C are constantly finding fault with one another and should not be sent together to the new office as a team
II. C and E function well alone but not as a team , they should be seperated
III. D and G have not been on speaking terms and shouldn’t go together
IV Since D and F have been competing for promotion they shouldn’t be a team
1.If A is to be moved as one of the bookeepers,which of the following cannot be a possible working unit.
A.ABDEH
B.ABDGH
C.ABEFH
D.ABEGH
Ans.B
2.If C and F are moved to the new office,how many combinations are possible
A.1
B.2
C.3
D.4
Ans.A
3.If C is sent to the new office,which member of the staff cannot go with C
A.B
B.D
C.F
D.G
Ans.B
4.Under the guidelines developed,which of the following must go to the new office
A.B
B.D
C.E
D.G
Ans.A
5.If D goes to the new office,which of the following is/are true
I.C cannot go
II.A cannot go
III.H must also go
A.I only
B.II only
C.I and II only
D.I and III only
Ans.D
2.After months of talent searching for an administrative assistant to the president of the college the field of applicants has been narrowed down to 5–A, B, C, D, E .It was announced that the finalist would be chosen after a series of all-day group personal interviews were held.The examining committee agreed upon the following procedure
I.The interviews will be held once a week
II.3 candidates will appear at any all-day interview session
III.Each candidate will appear at least once
IV.If it becomes necessary to call applicants for additonal interviews, no more 1 such applicant should be asked to appear the next week
V.Because of a detail in the written applications,it was agreed that whenever candidate B appears, A should also be present.
VI.Because of travel difficulties it was agreed that C will appear for only 1 interview.
1.At the first interview the following candidates appear A,B,D.Which of the follwing combinations can be called for the interview to be held next week.
A.BCD
B.CDE
C.ABE
D.ABC
Ans.B
2.Which of the following is a possible sequence of combinations for interviews in 2 successive weeks
A.ABC;BDE
B.ABD;ABE
C.ADE;ABC
D.BDE;ACD
Ans.C
3.If A ,B and D appear for the interview and D is called for additional interview the following week,which 2 candidates may be asked to appear with D?
I. A
II B
III.C
IV.E
A.I and II
B.I and III only
C.II and III only
D.III and IV only
Ans.D
4.Which of the following correctly state(s) the procedure followed by the search committee
I.After the second interview all applicants have appeared at least once
II.The committee sees each applicant a second time
III.If a third session,it is possible for all applicants to appear at least twice
A.I only
B.II only
C.III only
D.Both I and II
Ans.A
3. A certain city is served by subway lines A,B and C and numbers 1 2 and 3
When it snows , morning service on B is delayed
When it rains or snows , service on A, 2 and 3 are delayed both in the morning and afternoon
When temp. falls below 30 degrees farenheit afternoon service is cancelled in either the A line or the 3 line,
but not both.
When the temperature rises over 90 degrees farenheit, the afternoon service is cancelled in either the line C or the
3 line but not both.
When the service on the A line is delayed or cancelled, service on the C line which connects the A line, is delayed.
When service on the 3 line is cancelled, service on the B line which connects the 3 line is delayed.
Q1.  On Jan 10th, with the temperature at 15 degree farenheit, it snows all day. On how many lines will service be
affected, including both morning and afternoon.
(A) 2
(B) 3
(C) 4
(D) 5
Ans. D
Q2. On Aug 15th with the temperature at 97 degrees farenheit it begins to rain at 1 PM. What is the minimum number
of  lines on which service will be affected?
(A) 2
(B) 3
(C) 4
(D) 5
Ans. C
Q3. On which of the following occasions would service be on the greatest number of lines disrupted.
(A) A snowy afternoon with the temperature at 45 degree farenheit
(B) A snowy morning with the temperature at 45 degree farenheit
(C) A rainy afternoon with the temperature at 45 degree farenheit
(D) A rainy afternoon with the temperature at 95 degree farenheit
Ans. B
4. In a certain society, there are two marriage groups, red and brown. No marriage is permitted within a group. On marriage, males become part of their wives groups; women remain in their own group. Children belong to the same group as their parents. Widowers and divorced males revert to the group of their birth. Marriage to more than one person at the same time and marriage to a direct descendant are forbidden
Q1. A brown female could have had
I. A grandfather born Red
II. A grandmother born Red
III Two grandfathers born Brown
(A) I only
(B) III only
(C) I, II and III
(D) I and II only
Ans. D
Q2. A male born into the brown group may have
(A) An uncle in either group
(B) A brown daughter
(C) A brown son
(D) A son-in-law born into red group
Ans. A
Q3. Which of the following is not permitted under the rules as stated.
(A) A brown male marrying his father’s sister
(B) A red female marrying her mother’s brother
(C) A widower marrying his wife’s sister
(D) A widow marrying her divorced daughter’s ex-husband
Ans. B
Q4. If widowers and divorced males retained their group they had upon marrying which of the following would be permissible ( Assume that no previous marriage occurred)
(A) A woman marrying her dead sister’s husband
(B) A woman marrying her divorced daughter’s ex-husband
(C) A widower marrying his brother’s daughter
(D) A woman marrying her mother’s brother who is a widower.
Ans. D
5. I. All G’s are H’s
II. All G’s are J’s or K’s
III All J’s and K’s are G’s
IV All L’s are K’s
V All N’s are M’s
VI No M’s are G’s
Q1. If no P’s are K’s which of the following must be true
(A) No P is a G
(B) No P is an H
(C) If any P is an H it is a G
(D) If any P is a G it is a J
Ans. D
Q2. Which of the following can be logically deduced from the stated conditions
(A) No M’s are H’s
(B) No H’s are M’s
(C) Some M’s are H’s
(D) No N’s are G’s
Ans. D
Q3. Which of the following is inconsistent with one or more conditions
(A) All H’s are G’s
(B) All H’s are M’s
(C) Some H’s are both M’s and G’s
(D) No M’s are H’s
Ans. C
Q4. The statement  “No  L’s are J’s” is
I. Logically deducible from the conditions stated
II Consistent with but not deducible from the conditions stated
III. Deducible from the stated conditions together with the additional statements “No J’s are K’s”
(A) I only
(B) II only
(C) III only
(D) II and III only
Ans. D

computer awareness


COMPUTER AWARENESS TEST
1.In the command scanf, h is used for
Ans. Short int
2.A process is defined as
Ans. Program in execution
3.A thread is
Ans. Detachable unit of executable code)
4.What is the advantage of Win NT over Win 95
Ans. Robust and secure
5.How is memory management done in Win95
Ans. Through paging and segmentation
6.What is meant by polymorphism
Ans. Redfinition of a base class method in a derived class
7.What is the essential feature of inheritance
Ans. All properties of existing class are derived
8.What does the protocol FTP do
Ans. Transfer a file b/w stations with user authentification
9.In the transport layer ,TCP is what type of protocol
Ans. Connection oriented
10.Why is a gateway used
Ans. To connect incompatible networks
11.How is linked list implemented
Ans. By referential structures
12.What method is used in Win95 in multitasking
Ans. Non preemptive check
13.What is meant by functional dependency
14.What is a semaphore
Ans. A method synchronization of multiple processes
15.What is the precedence order from high to low ,of the symbols ( ) ++ /
Ans.( ) , ++, /
16.Preorder of A*(B+C)/D-G
Ans.*+ABC/-DG
18. B-tree (failure nodes at same level)
19. Dense index (index record appers for every search -key in file)
20.What is the efficiency of merge sort
Ans. O(n log n)
21.A program on swaping ( 10,5 )was given (candidate cannot recollect)
22.In which layer are routers used
Ans.In network layer
23.In which layer are packets formed ( in network layer )
24.heap ( priority queue )
25.copy constructor ( constant reference )
26.Which of the following sorting algorithem has average sorting behavior –
Bubble sort,merge sort,heap sort,exchange sort
Ans. Heap sort
27.In binary search tree which traversal is used for getting ascending order values–Inorder ,post order,preorder
Ans.Inorder
28.What are device drivers used for
Ans.To provide software for enabling the hardware
29. Irrevalent to unix command ( getty)
30.What is fork command in unix
Ans. System call used to create process
31.What is make command in unix
Ans. Used forcreation of more than one file
32.In unix .profile contains
Ans. Start up program
33.In unix echo is used for ( answer C)
34.In unix ‘ls ’stores contents in
Ans.inode block