GRASP Patterns: Assigning Responsibilities to Objects
GRASP Patterns
GRASP stands for General Responsibility Assignment Software Patterns. It guides in assigning responsibilities to collaborating objects. The 9 GRASP patterns are:
- Creator
- Information Expert
- Low Coupling
- Controller
- High Cohesion
- Indirection
- Polymorphism
- Protected Variations
- Pure Fabrication
Responsibility
Responsibility is accomplished by a single object or a group of objects collaboratively. GRASP helps in deciding which responsibility should be assigned to which object or class. It involves identifying
Read MoreWhy species is called the basic unit of systematic biology
- DNA= A self-replicating material that is a carrier of genetic information for most organisms
- Chromosome= A structure found inside the nucleus of a cell.
A chromosome is made up of proteins and DNA organized into genes. Each cell normally contains 23 pairs of chromosomes. - Gene= The basic unit of heredity passed from parent to child. Genes are made up of sequences of DNA and are arranged, one after another, at specific locations on chromosomes in the nucleus of cells.
- Allele= each of two or more alternative
The Second World War: Causes, Development, and Consequences
CAUSES:
Nationalist Discontent: at the end of WWI Germany was unhappy because the Treaty of Versailles made it give territory to Poland and Czechoslovakia, and Italy was unhappy because it hadn’t been given the territories it wanted in the Mediterranean. Both countries desired to recover lost territories. Economic Protectionism: protectionist policies to reduce imports (adopted in the Great Depression of the 1930s) forced the countries to find new markets for their products. This created tensions
Read MoreGroups and Aggregates: A Sociological Perspective
Groups versus aggregates:-
Aggregates = a simple collection of people who happen to be together in a particular place but do not significantly interact or identify with one another People who might share a setting for interaction, but not actually undertake it—they might practice civil inattention *
Groups = a collection of people who regularly interact with one another on the basis of shared expectations concerning behavior and who share a sense of common identity * Wait, why isn’t this just
Read MoreThe Social Dimension of Knowledge and Technological Evolution
The Social Dimension of Knowledge
The internet network is a dynamic, participatory and collaborative, users are active protagonists. The applications that are used on the internet facilitate the creation and publication of online content. A multitude of social networks have been woven into the internet to exchange information, interact…
Robotics
A robot is a programmable machine capable of executing various functions or complex tasks, including different types of movements to manipulate objects and
Read MoreUnderstanding Preemptive Scheduling and CPU Performance Metrics
Week 3: What is Preemptive Scheduling?
Preemptive scheduling is used when a process switches from running state to ready state or from the waiting state to ready state. The resources (mainly CPU cycles) are allocated to the process for a limited amount of time and then taken away, and the process is again placed back in the ready queue if that process still has CPU burst time remaining. That process stays in the ready queue till it gets its next chance to execute. Preemptive schedulers are Round
Read MoreExploration and Conquest in the Americas: Impact and Consequences
Reasons for the Sea Voyages:
International trade increased in the 15th century, especially in products such as spices, silk and luxury goods from the east. However, in 1453, the Ottoman army occupied the city of Constantinople and blocked trade routes between Europe and Asia via the Near East. For this reason, European kingdoms such as Castile and Portugal began to explore the Atlantic Ocean. They wanted to find an alternative trade route to India and Southeast Asia. These sea voyages led to technical
Read MoreMedieval Urban Growth, Society, and Politics
The Growth of Cities
The growth of cities: improvements in agricultural techniques and the stop of invasions in Europe led to the rise of population. Peace in Europe. Population in 9th cent was 29mill of inhabitants, in 11th 36mill, in 13th 58mill, in 14th cent was an epidemic plague, black death and population decreased. From the 11th to the 14th cent some factors led to the revitalization and growth of urban areas in Europe. Italy was the centre of this revival due to Ancient Roman cities and its
Read MoreEvolutionary Theories and Evidence: From Redi to Lamarck
Redi’s Experiment
Redi placed pieces of the same type of meat in three jars. He left open the first jar, covered the second with fabric, and closed the third with cork. After a few days, maggots were found in the first two jars, but not the third.
Pasteur’s Experiment
Pasteur placed meat soup in two flasks with an S-shaped neck. After sterilizing the liquid, he observed decomposition in one flask. Cutting the neck of the other flask led to decomposition. Conclusion: S-shaped neck prevented microorganisms
Read More