Questions and Answers

What Is Inheritance?

Inheritance mainly suggests a certain object to be able to inherit the characteristics from any other objects. In a more concrete terms, the object is something that could pass on its state as well as behaviors to the children. For the inheritance to work, the objects need to have characteristics that are common with each other.

For instance, simply put that you make a class known as the “human”, which is representing your physical characteristics. Thus, it is a generic class that could surely represent you. It is a state that simply keeps a good track of the good things just like he number of arms, legs as well as the blood type. It has the behaviors of sleeping, walking and eating. The “human” is also a good one for getting the entire sense of what makes everyone to be the same, yet if you could not, simply tell them about the differences. If that’s the case, they could simply make new types of classes known as the Man and the Woman. The state as well as the behaviors of such classes would definitely differ from each other in many ways except for those that they inherit from the HUMAN.

It only means that inheritance mainly lets you encompass the class’ state of the parent as well as the behavior in the child. So, the class of the child could then extend the state as well as the behaviors reflecting the differences that it represents.

What is a Master Page?

When using ASP.NET in developing a website, the master page is a feature enabling the developer to define the common structure as well as internet markup elements for your website. It actually includes footers, headers, style definitions or even navigation bars. The master page could be shared up by any pages into your website and these are known as the content pages. The only thing is that, it will have the need to remove the duplicate code for the shared elements that are into your website.

Moreover, the master page is a very useful kind of mechanism in the ASP.NET in order to make a uniform layout for the entire pages. It could simply contain about one or more placeholders where the actual content is being restored. The master page will always be the same and it will provide a good kind of scaffolding for the entire pages that you have. For the reason that the master page is always similar, it mainly defines the feel and the look of the entire pages upon your website. The rest is being saved into the content placeholders that would merge the master pages and the entire page. This is simply how master pages work on a developer’s point of view.

What is Systolic Array?

Systolic array is a specific type of parallel computing. An organization of processors in an array where information flows contemporaneously crossways the array amongst neighbors, generally with diverse information flowing in diverse directions is known as systolic array.

Systolic array is a grid like arrangement of particular processing rudiments that processes information just as a n-dimensional pipeline. Contrary to a pipeline though, the input data as well as fractional outcomes stream through the array. It generally has an excessive rate of input/output and are suitable for comprehensive parallel operations. Furthermore, information can run in a systolic pattern at various speeds in various directions.

In systolic array numerous processors are connected by short wires which results in improved speed as compared to other types of parallelism which lose speed through their connection. Every processor at every phase obtains information from one or more neighbors, processes it and, in the next phase, produces outcome in the contrary direction.

Some special features of systolic array are its exceptionally high speed, effortlessly scalable structural design and its ability to perform various tasks which single processor machines cannot accomplish. But some of the drawbacks are that it is very expensive, hard to develop and implement and not required for most of the applications due to its highly specialized nature.

What is FCFS?

In an operating system, the task of the scheduler is to administer the workload of the processor in order to keep a balance in the amount of work for the processor in such a way that the throughput is maximized. There are different algorithms for this task. One of them is First Come First Served (FCFS) algorithm. FCFS is one of the easiest scheduling algorithms. In this algorithm, the scheduler assigns the processor tasks in the same order as they come. This method can be understood as a daily life queue. The first task arrived will be processed first and the task coming after that will be joining the queue by the end and so on.

The good thing about this algorithm is that it is easy to implement. While one of the negative points is that it is non-preemptive – means when a task is assigned to the processor it can’t be interrupted during the processing while in other “preemptive algorithms” the processing of task/process can be interrupted on the basis of priority and/or time. Another drawback is that parallel processing is not allowed.

Nowadays this algorithm is not implemented independently (due to slow response time) but still it is part of many other scheduling algorithms.