Friday, November 3, 2017

How to work with advanced word: Notes lesson 1- 4



ADVANCED WORD


LESSON 1


WORKING WITH TABLES.
How to create a table


Click on table menu.


Select insert then Table.


Specify number of rows & columns.


Click OK.

How to Add a Row/Column


Position a cursor where you want to add a row/column.


Click on Table Menu, Select insert then row above/below

HOW TO MERGE CELLS

Highlight the row.


Click on table menu.


Select merge cells.






HOW TO SPLIT CELLS


Highlight the row(s)


Click on table menu.


Select split cells.


Specify number of columns and number of rows.

DELETING COLUMNS/ROWS


Highlight the Row or Column.


Click on table menu.


Select delete the Column or Row.






SPLITING A TABLE


Position the cursor where you want to divide the table.


Click on table menu.


Select split table.


PLACING BORDERS AROUND THE TABLE


Highlight/select your table.


Click on format menu.


Select borders & shading.


Select border tab.


Then select settings e.g. box, all, custom etc.


Select border styles, color, click Ok.



SHADING YOUR TABLE


Highlight the table.


Click on table menu/click on format menu.


Select borders and shading.


Select shading tab.


Under Fill select the color.


Under pattern select the style.


Click Ok.

TABLE AUTO FORMAT


Highlight the table.


Click on table menu.

Select table auto format.

Under category select all table style.

Select style, under table style.

Click Apply.



SORTING DATA:


Highlight the data (Names)


Click on Table menu


Select sort


Under sort by select the column name


Select: Ascending or Descending


Click Ok.


PERFORMING MATHS IN TABLES


Put the cursor where you want to put the Total, Average, Maximum/Minimum number.


Click on Table Menu.


Select Formula.


Select the appropriate formula e.g.


=Sum (left)


=Sum (above)


=Average (left) etc.



Inserting a worksheet file (excel file) in the Microsoft Word document


Position the cursor where you want to insert your sheet.


Select on Insert Menu.


Select File.


Under file of type


Select All files.


Select Excel file e.g. students’ results


Click Insert


Under open document in workbook:


Select the entire workbook or just single sheet.


Click Ok

LINKING FILES:


Open a blank document (Word document).


Click on insert menu.


Select Hyperlink.


Type the link word e.g. open excel file, this is typed on the *Text to display tab.


Specify the location of the file which you want to create a link for,


Select the file.


Click Ok (*If you are using Office 2000 click Ok again).


Save the link e.g. “My Word link”.


To open a link file, click on the link (* if you are using Office XP press (Ctrl + Click).


LESSON 2:


INSERTING GRAPHIC E.G. CLIP ART.

How to insert clip art


Open the document, which will contain the picture.


Click on insert menu.


Select picture, then Clip Art.


Under search for: Type the category e.g. Animal.


Click on search (if using office XP) or Press


Enter (if using Office 2000).


Right click on picture, select insert, then close Clip Art window.






Setting Clip Art as your background:


Make sure that the picture toolbar is displayed.


Select the picture (select washout/water maker from color/image control).


Click on the text wrapping.


Select Behind text.


* If the text is behind the picture, Right click the picture and select Order then select send behind text



ADDING AUTOSHAPES:


Click on insert menu.


Select picture.


Select auto shapes.


Select e.g. Basic shapes from Auto shapes toolbar.


Select the shape e.g. Rectangle and drag it over the area where you want to put your object.


If you want to apply color


Right click the object.


Select format auto shape.


Select color and lines tab.


Under Fill select the color you want.


Click Ok.


Inserting Graphic Files/e.g. scanned picture


Click on insert menu.


Select picture.


Select from file.


Specify the location e.g. from drive C.


Select the file (picture name).


Click insert.


Working with drawing toolbar:


To access the drawing toolbar (displaying drawing toolbar).


Click on view menu.


Select toolbars.


Put a tick on Drawing.






HOW TO GROUP OBJECTS (in case you want to copy them)


Select the objects one after another (select the first object) then press shift while selecting the rest).


Click on drawing from the drawing toolbar.


Select group.


TO UNGROUP OBJECTS.


Click on Draw from the drawing toolbar.


Select ungroup.


ADDING WORD ART


Click on insert menu.


Select picture.


Select Word Art.


Select the style.


Type the text e.g. ORIGINAL DOCUMENT OR UCC ARUSHA BRANCH.


Click Ok.

WATERMARKS (these are the words behind the text)


Click on view menu.


Select Header & Footer.


Click Insert Menu.


Select Picture.


Select Word Art.


Select Style.


Click Ok.


Type the text e.g. SAMPLE.


Click Ok.


Click on text wrapping symbol from Word Art Toolbar.


Re-size your text.


Select behind text.


Close Header & Footer Toolbar.




Removing water Marker


- Click on View menu


- Select header and footer


- Select the text to be removed


- Press delete key


- Click on save button to save changes


APPLYING WATER MARKER (When you are using office XP)


Click on Format Menu.


Select Background.


Select Printed Water marker.


Click Ok.


Point on * Text Water mark


*Under text, type e.g. SAMPLE


- Select size and Color.


- Click Apply then Ok



LESSON 3:

MAIL MERGE:


Mail Merge is a feature used to print a number of copies of letters or any other document which have more or less the same contents but differ in few details (may be names & addresses are different in each mail. In mail (MAIL MERGE) there is only one document having the text which is the same for every copy, it is called “MAIN DOCUMENT”. The information that differs from one copy to another is called “DATA SOURCE” (ADDRESSES). The main document & data source are prepared separately and then at the end they are merged (combined) into a single file with several copies.



MAIL MERGING: (When using office 2000)


Type a letter and save it.


Open the letter (in case it is not open).


Click on Tools Menu.


Select Mail Merge.


Under Main Document:


Click on Create.


Select form letters.


Click on Active window.

From main “Data Source”


Click on Get data


Click on Create Data Source.


Remove unwanted fields.


Click Ok.


Save your data sources.


Click on Edit data source.


Type Addresses, click on Add new after each address, when you are through click Ok.


Put the cursor where you want to put the addresses


Click on insert merge fields from mail merge toolbar.


Select all fields starting with e.g. Title, First name etc.


Click on ABC symbols in order to view records


Then click on Merge to new document symbol from the mail merge toolbar.


Save your document.


MAIL MERGE


(When using Office XP)


- Open the document (e.g. letters to be given to different people)


- Click on Tools Menu


- Select Letters and mailing


- Click on Mail Merge Wizard


- Select Letters


- Click Next: starting document


- Select Use the current document


- Click on Next: Select recipients


- Select *Type a new list


- Click on Create


- Click on Customize


- Delete unwanted field Name


- Click OK


- Type address and click on New Entry to type the next address


- When you are through, Click Close


- Save your addresses (data sources)


- Click on Select all


- Click OK


- Click on Insert Merge fields symbol from the Mail Merge Toolbar


- Select Database fields


- Select all the fields you want e.g. Title, First Name, Surname etc.


- Click Insert


- Close


- Put the cursor where you want to put your addresses


- Click on merge to New document from Mail merge Toolbar


- Under merge records, Select All


- Click Ok


- Save your document



Footnotes and Endnotes


You can include a footnote within a document to help explain comment or provide a reference for any text within a file. Typically footnotes are used to reference the source of your information, Ms Word allows you to include both footnotes and endnotes within the same document. Footnotes appears at the bottom of the page they are referring, while endnotes are displayed at the end of the document or section


Adding footnotes/endnotes


- Place the cursor where you want your footnotes to appear e.g. after the word UCC


- Click on Insert menu


- Select Reference (When using Office XP)


- Select footnotes


- Select footnotes or endnotes


- Click OK


- Type the meaning i.e. University Computing Centre


Page Break


- Position the cursor where you want to apply page break


- Click on Insert Menu


- Select Break


- Select page break


- Click OK


Inserting Page Numbers:


- Click on Insert Menu


- Select Page Numbers


- Click Format


- Select e.g. 1, 2, 3 OR -1-, -2-, -3- etc.


- Select Continue to from previous section


- Click OK


- Click OK again



Section Break (This is done if you want to use different numbers formats within one document e.g. 1, 2, 3 etc. and i, ii, iii, etc.)


* Having inserted page numbers;


- Put the cursor on the word of the last page of the section which you want to apply different number format e.g. i, ii, iii etc.


- Click on Insert Menu


- Select Break


- Under Section break types, Select Next Page


- Click OK


- Press Delete (to delete empty page)


- Click Insert menu


- Select Page Numbers


- Click on format


- Select 1, 2, 3


- Select Start at: 1


- Click OK then OK.


- Put the cursor on the first page (the area to apply roman numbers i.e. i, ii, iii etc.


- Click on Insert menu


- Select page numbers


- Click on format


- Select i, ii, iii etc.


- Select start at i.


- Click OK, then OK



LESSON 4:

ADDING TABLE OF CONTENTS


STEPS:

- Select all the headings to be put in the table of contents; start with the First heading e.g. Working with tables


- Click on heading styles i.e. heading selection box (under normal box) on the formatting tool bar.


- Select heading 1.


- After selecting heading 1; do the following:


- Place the cursor where you want to put the table of contents.


- Click on Insert Menu.


- Select references or index and tables.


- Select table of contents tab.


*Under show levels; select 1.


- Click ok.


Adding levels 2, 3 etc. (Sub-headings)


- Highlight the word to be put in the table of contents as a sub heading e.g. re-sizing the table


- Click on the heading selection box (under normal box) on the formatting tool bar.


- Select heading 2


- Click on Insert Menu.


- Select reference or index and tables.


*Under show levels; select 2.


- Click Ok.


*In case the document has moved down to a different page from the one indicated on the table of contents; updated the table of contents by doing the following:-


- Put the cursor in the table of contents.


- Right click.


- Select updated Field.


- Then updated the entire table.

*In case you want to remove some headings from the table of content; do the following:-


- Highlight the text e.g. re-sizing tables from the document (in the document area and not in the table of contents).


- Click on the heading selection box (under normal box).


- Select normal.


- Put the cursor in the table of contents area.


- Right click.


- Select update field.


- Select entire table.


- Click ok.


MASTER DOCUMENT .


A master document can be used to store a set of `sub documents’ that are saved


as separate files. (Microsoft word files only.)

Creating a Master Document.

- Open a blank document.


- Click on view menu.


- Select outline.


- Type the text e.g. open student file.


- Click on insert sub document symbol from the toolbar.


- Specify file location (the place where the file is located).


- Select the file.


- Click open.


- Save your master document.


- Close master file


- Open the file (Master file), a link will be displayed, click on that link.


*If you want to create several links in the master document do the following:


- While you are on the master document; type another text below the first link e.g. Open tutors file.


- Click on Expand sub document symbol on the toolbar.


- Then click on insert sub document symbol on the toolbar.


- Specify the file location.


- Select the file.


- Click open.


- Save the changes (i.e. click on `save’ not `save as’)


- Close the master document.


- Open it, click on the link in order to open the file.



CREATING AN INDEX.

You may want to create an index for a document. An index may include both headings and sub headings and you can choose how the page numbers are to be displayed and printed.


Creating an index in ms word is a two step process. You must first mark the entries to be included within the index and then actually insert the index into your documents.


MARKING INDEX ENTRIES.

- Select the first word (entry) to be included in the index.


- Press alt + shift + * (or click on insert menu, select reference, index and table,


- Click on mark entry.


- Highlight the word (entry) inside the main entry.


- Click on mark (or mark all if the word appears in different pages)


- Select the next entry (word) to be put in index, click inside the main entry box, and highlight the word (entry).


- Click on mark or mark all.


- Continue until all entries are done.


- Click close when finished.

To insert the index.


- Place the cursor where you want to insert the index.


- Click on insert menu.


- Select reference, then index and tables.


- Click on Right align page numbers.


- Select e.g. 1 column.


- Click ok.




Evolution and History of Programming Languages Software/Hardware/System

Evolution and History of Programming Languages


EVOLUTION

To write a program for a computer, we must use a computer language. A computer language is a set of predefined words that are combined into a program according to predefined rules (syntax). Over the years, computer languages have evolved from machine language to high-level languages.

Machine languages

In the earliest days of computers, the only programming languages available were machine languages. Each computer had its own machine language, which was made of streams of 0s and 1s. In Chapter 5 we showed that in a primitive hypothetical computer, we need to use eleven lines of code to read two integers, add them and print the result. These lines of code, when written in machine language, make eleven lines of binary code, each of 16 bits, as shown in Table 9.1.



Machine languages (first-generation languages) are the most basic type of computer languages, consisting of strings of numbers the computer's hardware can use.

Different types of hardware use different machine code. For example, IBM computers use different machine language than Apple computers

Assembly languages

The next evolution in programming came with the idea of replacing binary code for instruction and addresses with symbols or mnemonics. Because they used symbols, these languages were first known as symbolic languages. The set of these mnemonic languages were later referred to as assembly languages. The assembly language for our hypothetical computer to replace the machine language in Table 9.2 is shown in Program 9.1.

Assembly languages (second-generation languages) are only somewhat easier to work with than machine languages.To create programs in assembly language, developers use cryptic English-like phrases to represent strings of numbers.The code is then translated into object code, using a translator called an assembler.


Software Development Life Cycle Models



Software Development Life Cycle Models

The General Model

Software life cycle models describe phases of the software cycle and the order in which those phases are executed. There are tons of models, and many companies adopt their own, but all have very similar patterns. The general, basic model is shown below:



General Life Cycle Model

Each phase produces deliverables required by the next phase in the life cycle. Requirements are translated into design. Code is produced during implementation that is driven by the design. Testing verifies the deliverable of the implementation phase against requirements.

Requirements

Business requirements are gathered in this phase. This phase is the main focus of the project managers and stake holders. Meetings with managers, stake holders and users are held in order to determine the requirements. Who is going to use the system? How will they use the system? What data should be input into the system? What data should be output by the system? These are general questions that get answered during a requirements gathering phase. This produces a nice big list of functionality that the system should provide, which describes functions the system should perform, business logic that processes data, what data is stored and used by the system, andhow the user interface should work. The overall result is the system as a whole and how it performs, not how it is actually going to do it.

Design

The software system design is produced from the results of the requirements phase. Architects have the ball in their court during this phase and this is the phase in which their focus lies. This is where the details on how the system will work is produced. Architecture, including hardware and software, communication, software design (UML is produced here) are all part of the deliverables of a design phase.

Implementation

Code is produced from the deliverables of the design phase during implementation, and this is the longest phase of the software development life cycle. For a developer, this is the main focus of the life cycle because this is where the code is produced. Implementation my overlap with both the design and testing phases. Many tools exists (CASE tools) to actually automate the production of code using information gathered and produced during the design phase.

Testing

During testing, the implementation is tested against the requirements to make sure that the product is actually solving the needs addressed and gathered during the requirements phase. Unit tests and system/acceptance tests are done during this phase. Unit tests act on a specific component of the system, while system tests act on the system as a whole.

So in a nutshell, that is a very basic overview of the general software development life cycle model. Now lets delve into some of the traditional and widely used variations.


Waterfall Model

This is the most common and classic of life cycle models, also referred to as a linear-sequential life cycle model. Itis very simple to understand and use. In a waterfall model, each phase must be completed in its entirety before the next phase can begin. At the end of each phase, a review takes place to determine if the project is on the right path and whether or not to continue or discard the project. Unlike what I mentioned in the general model, phases do not overlap in a waterfall model.

Waterfall Life Cycle Model

Advantages
Simple and easy to use.
Easy to manage due to the rigidity of the model – each phase has specific deliverables and a review process.
Phases are processed and completed one at a time.
Works well for smaller projects where requirements are very well understood.

Disadvantages
Adjusting scope during the life cycle can kill a project
No working software is produced until late during the life cycle.
High amounts of risk and uncertainty.
Poor model for complex and object-oriented projects.
Poor model for long and ongoing projects.
Poor model where requirements are at a moderate to high risk of changing.

V-Shaped Model

Just like the waterfall model, the V-Shaped life cycle is a sequential path of execution of processes. Each phase must be completed before the next phase begins. Testing is emphasized in this model more so than the waterfall model though. The testing procedures are developed early in the life cycle before any coding is done, during each of the phases preceding implementation.

Requirements begin the life cycle model just like the waterfall model. Before development is started, a system test plan is created. The test plan focuses on meeting the functionality specified in the requirements gathering.

The high-level design phase focuses on system architecture and design. An integration test plan is created in this phase as well in order to test the pieces of the software systems ability to work together.

The low-level design phase is where the actual software components are designed, and unit tests are created in this phase as well.

The implementation phase is, again, where all coding takes place. Once coding is complete, the path of execution continues up the right side of the V where the test plans developed earlier are now put to use.


V-Shaped Life Cycle Model



Advantages
Simple and easy to use.
Each phase has specific deliverables.
Higher chance of success over the waterfall model due to the development of test plans early on during the life cycle.
Works well for small projects where requirements are easily understood.

Disadvantages
Very rigid, like the waterfall model.
Little flexibility and adjusting scope is difficult and expensive.
Software is developed during the implementation phase, so no early prototypes of the software are produced.
Model doesn’t provide a clear path for problems found during testing phases.

Incremental Model

The incremental model is an intuitive approach to the waterfall model. Multiple development cycles take place here, making the life cycle a “multi-waterfall” cycle. Cycles are divided up into smaller, more easily managed iterations. Each iteration passes through the requirements, design, implementation and testing phases.

A working version of software is produced during the first iteration, so you have working software early on during the software life cycle. Subsequent iterations build on the initial software produced during the first iteration.

Incremental Life Cycle Model



Advantages
Generates working software quickly and early during the software life cycle.
More flexible – less costly to change scope and requirements.
Easier to test and debug during a smaller iteration.
Easier to manage risk because risky pieces are identified and handled during its iteration.
Each iteration is an easily managed milestone.

Disadvantages
Each phase of an iteration is rigid and do not overlap each other.
Problems may arise pertaining to system architecture because not all requirements are gathered up front for the entire software life cycle.

















The Six Steps in the Program Development Life Cycle (PDLC)



The Six Steps in the Program Development Life Cycle (PDLC)

The process of developing a software, according to thedesired needs of a user, by following a basic set of interrelated procedures is known as ProgramDevelopment Life Cycle.PDLC includes various set of procedures and activitiesthat are isolated and sequenced for learning purposesbut in real life they overlap and are highly interrelated.

Tasks of Program Development

The basic set of procedures that are followed by variousorganisations in their program development methods are as follows:

Step 1 - analyze problem

Step 2- design / define the programs

Step 3 - code programs

Step 4 - test programs

Step 5 - formalize solution

Step 6 - maintain programs


Step 1, analyze/ Define the problem

Analyze problem, consists of reviewing program specifications; meeting with the analyst and users; and identifying program componentsAnalysis Phase.

In the analysis phase the requirements gathered in the requirements phase, are used to create report definitions and layouts, screen definitions and layouts, data element definitions, workflow diagrams, and security matrices. This phase culminates in the creation of a “logical” model of the application.

Step 2, design programs

Design programs, involves grouping activities into modules, devising solution algorithms, and testing the algorithms.

In the design phase the logical model developed in the analysis phase, is used to develop a “physical” model of the application. The physical model contains business object logic, database schemas identifying relationships, web object design and layout, report calculations and processing, and the security object definition.

Step 3, code programs.

Code programs, entails translating the solution algorithm into a programming language and entering program code into the computer

In the coding/development phase the individual objects or components of the application are coded from the physical model. Once the system objects have been developed, they are gathered and connected together (integrated) to create a working application. The integrated application is placed on a staging server for testing.

Step 4, test programs.

Test programs, consists of correcting syntax errors and logic errors. The testing phase encompasses three testing stages; component testing, requirements testing, and acceptance testing. During component testing, all objects are tested to ensure they work together as specified by the physical design. Once the components are tested and the system operates as designed, the application is tested against the requirements gathered in the requirements phase of development. Once the requirements testing stage is completed, the system is presented to the business function for acceptance testing. In all testing stages, defects are identified and returned to the development/coding phase for correction.

Step 5, formalize solution.

Formalize solution, includes reviewing program code and documentation. The deployment phase contains two stages, a three- to six-month pilot followed by a national deployment. At the conclusion of the pilot, the finished application is placed on a production server. Users are trained, user guides are delivered, and the system is distributed nationally. The application is then maintained by the TIGTA’s Central Support Facility (TCSF).


Step 6, maintain programs /Maintenance Phase.

Maintain programs, involves correcting errors and adding enhancements.In the maintenance phase the deployed application is maintained through scheduled backups. Any changes to the application are presented to the Change Control Board for approval. If a change or enhancement has been approved by the CCB, it is presented to the Requirements Team and the software development life cycle begins again.



Programing languages lesson 1



COMPUTER PROGRAMMING LANGUAGES

Introduction

By the end of this Topic, you should …

• Explain the concept of programming

• Understand the different types of programming languages.

• Describe the programming life cycle.

• Select appropriate programming Language

• Understand the concept of algorithms

• Use pseudo-code and flow-charts to solve problems

• Identify data structure

• Design a program

• Apply Control structure in program design.

• Develop functions.

• Develop array and string.


Concept of Programming

l Program – a very specific set of instructions (or command lines) that making a computer do what you want it to do


l Programming – the process of creating a program the development of a solution to an identified program, and setting up of a related series of instructions which, when directed through computer hardware, will produce the desired results


l A programming language is an artificial language designed to express computations that can be performed by a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine, to express algorithms precisely, or as a mode of human communication


For example:-

- PASCAL, C, JAVA, C++, VISUAL BASIC, ADA, LISP, FORTRAN, COBOL, PROLOGUE, PYTHON, C# etc

WHY STUDY PROGRAMMING LANGUAGES?

1. To improve your understanding of the language you are using.

- Many languages provide features when used properly are of benefit to the programmer but when used improperly may waste large amounts of computer time or lead the programmer into time-consuming logical errors.

Eg. Use of array and single variable data storage



2. To increase your vocabulary of useful programming constructs.

- Language or the syntaxes/commands aid the programmer to implement the logic of the program

- In searching for the data and program structures suitable to the solution of a problem, one tends to think only of structures that are immediately expressible in the languages with which one is familiar.

- By studying the constructs provided by the wide range of languages and the manner in which these constructs are implemented, the programmer increases his programming “vocabulary”.


3. To allow better choice of programming language

- Ex. C and Java


4. To make it easier to learn a new language

- A thorough knowledge of a variety of programming language constructs and implementation techniques allows the programmer to learn constructs and implementation techniques allows the programmer to learn a new language more easily when the need arises


5. To make it easier to design a new language

- The user interface can be designed by a programmer if he has a thorough knowledge of the p.l.

- The user interface consists of the commands and data formats that are provided for the user to communicate with the program

- The aspect of program design is often simplified if the programmer is familiar with a variety of constructs and implementation methods from ordinary programming languages.





Types of Programming Ltanguages

l Three types of programming languages

– Machine languages

l Strings of numbers giving machine specific instructions

l Example:

+1300042774 (these would really be in binary)

+1400593419

+1200274027

MACHINE LANGUAGES

v Comprised of 1s and 0s

v The “native” language of a computer

v Difficult to program – one misplaced 1 or 0 will cause the program to fail.

Example of code;
1110100010101 111010101110
10111010110100 10100011110111

– Assembly languages

l English-like abbreviations representing elementary computer operations (translated via assemblers)

l Example:

LOAD BASEPAY

ADD OVERPAY

STORE GROSSPAY

ASSEMBLY LANGUAGES

v Assembly languages are a step towards easier programming.

v Assembly languages are comprised of a set of elemental commands which are tied to a specific processor.

v Assembly language code needs to be translated to machine language before the computer processes it.

Example:
ADD 1001010, 1011010

NB: Assembler:- A program for converting instructions written in low-level symbolic code into

machine code.

- A computer program which translates from assembly language to an object file or machine language format

- An assembler is a type of computer program that interprets software programs written in assembly language into machine language, code and instructions that can be executed by a computer.


– High-level languages

l Instructions closer to everyday English

– English is a natural language. Although high level programming languages are closer to natural languages, it is difficult to get too close due to the ambiguities in natural languages (a statement in English can mean different things to different people – obviously that is unacceptable for computer programming).

– Use mathematical notations (translated via compilers)

Example:

grossPay = basePay + overTimePay

– Interpreter – Executes high level language programs without compilation.

HIGH-LEVEL LANGUAGES

v High-level languages represent a giant leap towards easier programming.

v The syntax of HL languages is similar to English.

v Historically, we divide HL languages into two groups:

– Procedural languages

– Object-Oriented languages (OOP)

A compiler:-

- Is a special program that processes statements written in a particular programming language and turns them into machine language or "code" that a computer's processor uses. Typically, a programmer writes language statements in a language such as Pascal or C one line at a time using an editor.The file that is created contains what are called the source statements.

- Is a program that translates a source program written in some high-level programming language (such as Java) into machine code for some computer architecture (such as the Intel Pentium architecture). The generated machine code can be later executed many times against different data each time.

An interpreter:–

- Is a program that reads an executable source program written in a high-level programming language as well as data for this program, and it runsthe program against the data to produce some results.

- One example is the Unix shell interpreter, which runs operating system commands interactively

- Note that both interpreters and compilers (like any other program) are written in some high-level programming language (which may be different from the language they accept) and they are translated into machine code. For example, a Java interpreter can be completely written in Pascal, or even Java. The interpreter source program is machine independent since it does not generate machine code. (Note the difference between generate and translated into machine code.) An interpreter is generally slower than a compiler because it processes and interprets each statement in a program as many times as the number of the evaluations of the statement.

Compilers and interpreters are not the only examples of translators. Here are few more:
Source Language
Translator
Target Language
LaTeX
Text Formater
PostScript
SQL
database query optimizer
Query Evaluation Plan
Java
javac compiler
Java byte code
Java
cross-compiler
C++ code
English text
Natural Language Understanding
semantics (meaning)
Regular Expressions
JLex scanner generator
a scanner in Java
BNF of a language
CUP parser generator
a parser in Java


NB:-Some programs are translated using an interpreter. Such programs are translated line-by-line instead of all at once (like compiled programs). Interpreted programs generally translate quicker than compiled programs, but have a slower execution speed.
Procedural Languages
v  Early high-level languages are typically called procedural languages.
v  Procedural languages are characterized by sequential sets of linear commands. The focus of such languages is on structure.
v  Examples include C, COBOL, Fortran, LISP, Perl, HTML, VBScript

Object-Oriented Languages
v  Most object-oriented languages are high-level languages.
v  The focus of OOP languages is not on structure, but on modeling data.
v  Programmers code using “blueprints” of data models called classes.
v  Examples of OOP languages include C++, Visual Basic.NET and Java.


Friday, October 27, 2017

The Mfecane War and the rise of the Zulu Kingdom ; History of South Africa



THE RISE OF THE ZULU KINGDOM AND THE MFECANE

Historical evidence suggest that the major feature of South African history from the earliest times was constant and continuous conflicts.

– For example:

• The coming of the Bantu resulted to conflict between the Hottentots and the Bantu and the Bushmen. In this early conflict the Hottentots and the Bushmen were conquered and destroyed.

• Then came the conflict between the Hottentots, Bantu and the Boers.

• Then came the conflict between the Boers and the British

• Then the conflict between African themselves

• One of the major outcome of the conflicts between African themselves was the rise of the Zulu state under Shaka.

• However, before the 18th century, and particularly before the rise of Chaka, the Bantu speaking people were organized in many, but smaller political units. There were about 100 small but independent political units among the Bantu. This kind of political organization was a result of several factors:

– The population was smaller and therefore, there was plenty of land which could support a large number of political units and new settlements.

– Due to internal friction and instability, community members who felt that they were undermined by their ruler could break away and establish their own independent political units.

– Because states were generally smaller, they were governed in a very simple way. Large conflicts were very rare, thus, there was no need of large scale political units and military organization.

• However by the end of the 18th century, the situation greatly changed. There was rapid population increase and thus more land was needed for father expansion. As a result, land could only be acquired by force of arms. Thus, the bravest and strongest political units could acquire land at the expense of their weaker neighbors or enemies.

• Thus, by the beginning of the 19th century, population increase in Zululand and Natal resulted to greater political and military changes. For example:

» Rapid population increase resulted to frequent conflict over land for further expansion.

» War, therefore became the only means of acquiring land resulting to loss of life and properties.

» It also become necessary to improve military organization and methods of fighting to match with the prevailing conditions.

» Important chiefdoms were created. For example:

• Mthethwa chiefdom led by Dingiswayo

• Ndwandwe chiefdom led by Zwide

• Ngwane chiefdom led by Sobhuza.

All these three chiefdoms among the Nguni speakers rose to greatness by military means. Among the three chiefdoms, Dingiswayo’s chiefdom was the largest. It was also during Dingiswayo’s rule that Chaka / Shaka got his early military training and experience.

• Therefore, by the time Shaka rose to power and became an important figure in the history of South Africa, positive development towards creation of larger and more powerful political units had been made.

Shaka and the origin of the Zulu Kingdom

– Shaka was born around1783. His father, Senzangakona was a chief of a very small and less important clan called Zulu clan.

– His mother was called Nandi. The birth of Shaka to Nandi was not welcomed by the Zulu elders. Thus, Shaka was brought up by his mother and away from his father, thus, Shaka was very fond of his mother.

– Brought up away from his father’s home, Shaka had unhappy and difficulty early life. He was always harassed by his play mates to whom he always boasted of his chiefly origin/descendant.

– As he grew up Shaka demonstrated :

• High degree of intelligence and courage

• Qualities accompanied by arrogance and lack of interest to human sufferings

• He was energetic and merciless

• Generally Shaka had the qualities of a man who could shape society for better or worse, by force of arms.

When Shaka was 16, his mother took him to the Mthethwa chief , Dingiswayo, and, at the age of 22, he became a soldier in one of Dingiswayo's regiments. He was brave and the and soon became leader of one of the regiments

– Thus, Shaka gained his military experience as a commander of one of the Dingiswayo’s regiments. Dingiswayo recognized in Shaka the qualities of a brave warrior.

– In bout 1816, his father died and replaced by his son Sigujana. Realizing that he was unable to depose Sigujana, he asked military assistance from Dingiswayo. Following the assistance he got from Dingiswayo, Sigujana was defeated, murdered and Shaka became the ruler of the Zulu. He established his capital at Bulawayo in Natal

From this point onwards, Shaka was determined to make his smaller chiefdom the most powerful and feared Kingdom.

Shaka’s reforms in the Zulu chiefdom

• Military reforms:

Shaka’s training under Dingiswayo taught him new fighting tactics which he put into practice immediately he came to power. The military reforms introduced by Shaka were revolutionary:

– He created standing or permanent army, the system which never existed before. Before him, there was no permanent army, soldiers were only called when a need arose. Otherwise, they stayed in their home attending to their ordinary day to day work.

– Shaka is also supposed to have introduced a larger, and heavier shield made of cowhide and to have taught each warrior how to use the shield's left side to hook the enemy's shield to the right, exposing his ribs for a fatal spear stab. In Shaka's time, these cowhide shields were supplied by the king, and remained the king's property

– He reorganized the old age regiment. Age regiment refers to the situation where by boys of the same age formed a fighting group. The aim of this reorganization was to make them more efficient and effective for large scale warfare. In implementing this:

• Shaka’s Military Induna

» Regiments were introduced throughout the chiefdom

» Each regiment had its color which was the color of its shields and head gear.

» The warriors lived in special military settlement or towns

» Each military settlement was under a military commander called Induna, who was appointed by Shaka himself.

» Each military settlement contained a royal house hold, cattle enclosures and dwelling huts for the warriors.

» In these military settlements warriors were armed with shields and spears, drilled, attired and fed at the King’s or public expense.

» While in military settlements, the warriors sang the praises of Shaka, their Lord and master.

– Shaka drilled his troops frequently, forced marches sometimes covering more than 50 miles (80 km) a day in a fast trot over hot, rocky terrain

– Shaka also introduced short stabbing spears (Iklwa) which had a shorter handle, enabling the solders to engage in hand to hand combat with the enemy.

• The long handle spear (assegai)which was commonly used had one major weakness as a fighting weapon, that is, because it was usually thrown to the enemy, the warriors were left defenseless and helpless but for their large shields.

• But with the new weapon, fighting became more efficient. The warriors could protect themselves with their shields and concentrated on destroying the enemy with their knife like spears. No more would they be left defenseless.

– The warriors were subjected to thorough discipline. They were not allowed to marry before their right time. When the right time came, the whole regiment was freed from service. A female group of the same age or equivalent age group was also freed and its members given to the freed warriors as wives.

– Shaka introduced the so called scotched earth policy. This was a tact by which Shaka’s soldiers destroyed all the food they found along the way in order to starve the coming enemy soldiers.

– Sandals were discarded to toughen the feet of Zulu warriors, this has been noted in various military accounts. Those who objected to going without sandals were simply killed.

– Under Shaka’s leadership, the young men of the conquered people were absorbed into state army and given the same treatment as the Zulu warriors.

They joined appropriate age regiments and mixed with young men from all over the country. If they were too young to join the regiments, they looked after the cattle and acted as weapon bearers for the warriors, like the young Zulu boys.

– Shaka is also credited with the introduction of the famous technique known as the cow’s horn formation. By this means of fighting, the bulk (large portion) of the regiments formed a thick and therefore strong base. On each side of the base, a regiment would curve towards the enemy, rather like the horns of a cow. As the horns tries to surround enemy’s warriors, the thick centre would press / push forward and thereby annihilate / destroy them

Administrative reforms:

Following military reforms introduced by Shaka, then the Zulu nation was a military state ruled by despotic king / king with absolute power, cruel and oppressive.

– The king was the source of all power and army commanders became king’s advisors. They were consulted by him, though he could and often did ignore their advices.

– The old traditional council of chiefs and leading elders came to an end, and therefore it was no longer consulted.

– Even the military Indunas who could advise the king were not allowed to hold unauthorized meetings as they could plot against Shaka.

– Absolute loyalty to the king became the order of the day

– The chiefs of the conquered people lost their power and their authority was restricted to issues related to administration of justice only.

Generally the power rested in the hands of the army and the king. Such was the kind of a state created by Shaka. The Zulu nation was born out of war and organized for war.


Shaka and the Mfecane

This period of revolutionary change known as the Mfecane ("Crushing" or "hammering") by the Zulu and the Difaqane (“The Crushing”) by the Sotho is also often referred to as "the time of troubles“

– Mfecane can therefore be defined as the period of widespread war, plundering, disturbances, destructions and migrations in the Zululand and other parts of South Africa between 1820 and 1834. This period is characterized by the rise of the Zulu State under Shaka.


– Although historians have tried to analyze various factors behind the out break of Mfecane, however, the outbreak of these protracted wars were greatly prodded by the rise of Shaka into power. Why?

– During most of the 1820s, Shaka consolidated his power through a series of wars against neighboring peoples. His armies

• raided for cattle and food;

• attacked any one who challenged the authority of the Zulu monarch; and

• extended the limits of Shaka's realm north to the borders of present-day Mozambique, west across the Drakensberg Mountains, and south to the margins of the area that would later become the Transkei homeland

All these barbaric behaviors and atrocities committed by Zulu warriors greatly contributed to the growth and expansion of Mfecane.

– Most of the wars were fought in areas which lies between the Drankensberg mountains, the Kalahari desert and the Limpopo river.

Causes of the Mfecane

– The rise of the Zulu nation

The result of Shaka’s military and administrative reforms were far reaching. The Zulu became powerful, aggressive, ambitious, and expansionist. The Zulu nation became the state of warriors, maintained by warriors and sustained by warfare and it could only survive as long as there was enough fighting to keep the king, the Indunas and the warriors busy.

The Zulu wanted to dominate all other chiefdoms in the region. This resulted to a series of wars of conquest waged by the Zulu against their neighbors. This situation greatly intensified Mfecane.

– Geographical barriers

Presence of features such as the Drankensberg mountains, the Kalahari desert, and the Indian ocean made it impossible for people to expand to the west and east respectively. This contributed to population pressure in the area resulting to wars for securing land. Thus, wars became the only means to secure land.

– Shortage of land

Many people migrated into the area because the area was generally good for farming due to its fertility. Therefore, this area suffered from population increase. In addition, population increase was also due to natural increase caused by Portuguese introduction of maize from Mozambique which ensured constant and reliable supply of food. Therefore, following increased population growth as a result of migration and natural increase, then, there was severe struggle for land.

– The rise of long distance trade during the 17th century.

From he 17th century, trade had developed along the East coast of South Africa with the Portuguese traders at the Delagoa bay. During the 19th century, this trade came to its peak.

The desire to gain control over trade, trade routes and tributes produced sharp conflicts among the Nguni speakers. As a result of some of the Nguni speakers began to attack and fight others with the intention of becoming dominant political units as the Portuguese wanted to trade with organized political units under powerful rulers.

– Boers expansion

This expansion began towards the end of the 17th century and became more intensive towards mid 19th century. This expansion was triggered by the desire of the Boers to acquire more land for farming and animal keeping. Thus, their expansion further contributed to shortage of land in the interior of South Africa



Shaka’s death

By the end of these wars, Shaka became the most powerful and the most feared ruler in the Zululand. Shaka’s death was preceded by the death of his mother in 1827. Nandi’s death greatly distressed Shaka. Following the death of his mother:

– He proclaimed national mourning for a whole year.

– During the period of mourning women were not allowed to cohabit with their husband.

– For about three months, people were forbidden to drink milk

– Thousands of people of people were put to death for not mourning adequately

– Others who were accused of wishing Nandi’s death were put to death

– Women who became pregnant during the mourning season were also put to death

– Shaka ordered that no crops should be planted during the following year

– Cows were slaughtered so that their calves would know what losing a mother felt like

• In the following year, 24th September 1828 Shaka was stabbed to death by his half brothers, Mhalangana and Dingane, in collaboration with his chief Induna Mbhopa. As he fell down, his last words were “ Oh children of my father, what have I done to you?”

– In other accounts, Shaka is also believed to have said that “ are you stabbing me, king of the earth? You will come to an end through killing one another “

• Shaka's corpse was dumped into an empty grain pit by his assassins and filled with stones and mud. The exact location is unknown

• His murderers claimed that they had killed him to rid the nation of hardship and undemocratic rule, but it is also clear that they killed him out of their own greed and thirst for power.

• After the death of Shaka, Dingane took the throne. However Dingane later killed his brother, Mhalangana, Mbhopa the chief Induna, and all other political rivals in order to gain full powers as the new chief and be safe.



Consequences of Mfecane


– Depopulation: thousands of people were killed. Endless wars turned the whole region full of human corpses and skeletons. It was a land full of death, misery and acute hardship. Where a few people still survived, their conditions were very bad. They were subjected to acute starvation and extreme poverty, many of them resorted to cannibalism in order to survive.

– People became impoverished. A good example of these impoverished refugees were the Fingo. Having lost all their properties, cattle , land and food, they wandered from place to place begging for food and sometimes by force.

– Some outstanding leaders of remarkable ability and wisdom were able to re-organize their people and the numerous refugees into new powerful and united states. The kingdom of Basutoland, Swaziland and Bechuanaland are the best examples of these.

– Mfecane also led to the emergence of entirely new societies both in South Africa and East Africa. They were founded by refugees who trekked away from their original home into distant districts or regions. During their long journey, they conquered in their way and incorporated many of them and their settlement in their new homes, this was always preceded by fighting. The Ngoni who came to settle in Tanzania are good example.

– Economic and social disruption: agricultural activities were abandoned as life became insecure. Many people were killed and others forced into exile. Families as the basis of production were broken down. Beautiful areas like Natal were devastated as communities broke down and people fled to secure their lives

– Weakened African resistance against foreign intruders, particularly the Boers: this weakness led to European penetration in the interiors of South Africa. Boer’s penetration in the interior was due to the news that there existed an extensive fertile land and uninhabited land in the Natal area. When they reached there, they met with no serious resistance because Mfecane had destroyed inter-state relationship among Africans ; and therefore Africans had no unity to resist foreign intrusion.

– Many state were formed along lines of the Zulu kingdom. They borrowed the Zulu military and political organization and modified them to suit their peculiar needs and circumstances. Such state were formed from diverse cultural and linguistic groups, but from these diverse groups emerged powerful united states with a common language, culture, ruler and government. The languages of the dominant groups became the languages of the new, enlarged trans-tribal and expansionist state.

» Example of these were the Swazi, Ndebele, and Ngoni. The new states adopted Zulu military technique and political organization with great success.

The Boer Trek Meaning and Its consequences; History of South Africa



THE BOER TREK / THE GREAT TREK

• This was the northward and eastward migration away from British control in the Cape colony during the 1830s and 1840s by the Boers.

– The move is viewed as a rebellion against the policies of the British government and in search of fresh pasturelands. The migrating Boers, called themselves Voortrekkers (Afrikaans: “Early Migrants”)

– Having crossed the Limpopo, the Boers were divided, some wanted an outlet to the sea and therefore settled in Natal. Some decided to settle in the Highveld (an inland plateau)area.

– In both areas, after initial setbacks, they were able to defeat powerful African military kingdoms through the skilled use of horses, guns, and defensive laagers / military camps (encampments)

• Continuation…..

– In Natal the Voortrekkers established a short-lived republic, however in 1843, the Boer republic was annexed by the British.

– In 1852 and 1854 the British granted independence to the Trekkers in the Transvaal and Transorangia (the area between the Orange and the Vaal river) regions , respectively

– While the British were establishing themselves at the Cape, the Boers were penetrating further into the territory. This is because the Boers never trusted the British administration at the Cape. They saw their interests being eroded and superseded by these of the British.

– Thus, they decided to move as far away as possible from the control of the British administration.

Causes of the great Boer trek

– The desire to take large tracks of land for crop cultivation and animal keeping. Thus, the vastness of the country and the small number of the colonists had the effect of making the Boers migratory in character.

– Racial prejudice / discrimination: the Boers believed that, they were chosen race, God’s own people. Therefore, they had clear duty to God and mankind to preserve their tradition and culture. They had a responsibility to preserve their race by avoiding mixing with other races.

• The great trek was therefore, regarded by the Boers as something which would provide them an opportunity to preserve the purity of their race and culture by founding a new home in a new country under their control.

• In joining the trek, they believed that, they were fulfilling God’s mission. To keep God’s race from contamination through intermixing with the inferior race.

– Introduction of British judicial system: the new legal changes introduced by the English system of magistrates and abolished the old judicial system of the Dutch. This new system was greatly hate by the Dutch because:

• It was unfamiliar to them, therefore its application caused a lot of inconveniences .

• It was foreign and replaced the Dutch one which was part and parcel of Dutch cultural heritage, which the Boers were fully committed to preserve it.

– Introduction of English language: the Boers are opposed to all forms of alien culture. They preferred to preserve their own customs and civilization. Therefore, they regarded the introduction of English language as deliberate efforts made by the British to undermine their culture. This was one of the most important grievances which contributed to the outbreak of the great trek. Beyond this:

• It as not easy for the old people and rural population to carry out their official transaction in English. They needed more time to learn the new official language.

• They hated the idea of communicating in English as it was a foreign language. Thus, they were not ready to accommodate the new language.

– Removal of restrictions on Africans by the British.

Following the removal of restriction among Africans ( slaves and the Hottentots), the Boers felt insecure.

The removal of restrictions among Africans provide certain degree of civil rights to the Hottentots, Bushmen, and other non white population.

These non white races were given equality before the law with the white population of the Cape. They were allowed to move about without needing to produce a pass on demand. This situation threatened the Boers in a number of ways:

• Continuation…..

» Such legislation could destroy the master servant relationship between the whites and the non white.

» The supply of labor would be affected, the non white became free and would be able to move freely and desert their employers.

» The white would have to compete for jobs with ex-slaves and other non whites

» The situation would encourage the mixing of races and in particular intermarriage. This could spoil the so called “chosen race”.

• Continuation…..

– Emancipation (setting free) of slaves:

the emancipation of slaves by Britain in 1833 was applied to all parts of the British empire, South Africa being included. This became one of the most source of friction between the Boers and the British administration. The Boers resented this because:

• They lost their slaves resulting to shortage of labor.

• Farmers would pay higher wages, where in the past they had paid none in many cases.

• Slaves were regarded as the property of the Boers. Their emancipation was therefore a great financial loss.

– Rumors: there were many rumors at this time that threatened the superiority of the Boers. For example:

• Continuation…..

» All the land would be given to the Hottentots

» The policy of inter racial marriage was coming soon

» The British would soon introduce compulsory military services

» The Dutch would be forced to abandon their Dutch Reformed church and become Roman Catholics.

Such rumors had the effect of rising the political and social temperature, they increased the degree of misunderstanding and contributed to the departure of the Boers from the Cape.

Thus, the Great Trek was a culmination of numerous and long standing grievances and misunderstanding, some of them real but others imaginary.

The progress and results of the Great Trek

• The first trekkers left on November 1835. These were few in number and not well prepared, with limited knowledge about their destination.

• The Trekkers transported their belongings in ox-wagon and moved with their livestock, herdsmen, and domestic servants. By 1836, therefore, it can be confidently said that the Boers were in a full move.

• On their way they encountered several problems:

– Lack of food and other consumer goods. They were thus forced to hunt wild animals to provide them with food.

– They contacted fever, as a result most of them died on the way.

– They lost a great number of their livestock due to long journey and animal diseases.

• Continuation…..

– Resistances from the natives. For example:

• In 1836 they encountered the Ndebele under Mzilikazi. However, the Boers succeeded to defeat him

• The Zulu of Natal also posed the strongest resistance under the leadership of Dingane. The Zulu resistance was stiff as they were prepared to defend their land and sovereignty. However, they were finally mowed down.

• The Xhosa resistance which was the longest, involving a series of wars, from 1779 to 1879. These were also finally defeated.

• However by the end of the 1836, the Zulu also were completely defeated. This enable the Boers to establish the Republic of Natal.

Consequences of the Great Trek

– Continuous wars between Africans and the Boers. The conflicts were mostly over land and cattle ownership. The Xhosa for example, fought for almost 50 years (1830s-1877) with the Boers in their campaign against white domination.

– The establishment of the Boer Republics of the Natal, Orange Free State and the Transvaal. These were independent self governed republics created by the Boers in the northern and eastern parts of South Africa. Several of these states were established after military defeats of the local population by the Boers who had superior weapons.

– Discovery of precious minerals in the interior. The most important were gold and diamond.

• In 1867 diamond was discovered along the Vaal and Orange river.

• In 1886, gold was discovered in Witwatersrand.

The discovery of these precious metals was responsible in transforming the economy of South Africa from an agricultural one to industrial one.

• Continuation….

– The interior was opened for European settlement. More and more Europeans went to settle in the interior of South Africa where they established large farms and ranches.

– In the Boer Republics, cultural differences between the Boers and the Africans were clear as each side maintained its traditional values. The relationship between master and servant continued in the traditions laid down by the Boers.

– The Boers used brutal force and trickery to rob the Africans of their wealth, particularly land and cattle. Africans were thus made propertyless laborers and squatters on the Boers farms. Thus plundering and looting of African wealth and the exploitation of African labor became the basis of the Boer economy.

• Continuation……

– Existence of apartheid based on racial segregation was one of the effects of the Boer trek. Having occupied and established themselves in the interior of South Africa, the Boers were forced to preserve their material interests. They had to maintain themselves as a strong united group by treating the Africans as their enemies to be eliminated or as their source of cheap labor.

– The Boers regarded the British as imperialists threatening their cultural and economic interests. This hostility between the Boers and the British colonizers eventually resulted to violent clashes / armed conflicts, especially when the British wanted to annex the Boer republics. (Briefly describe the concept “Anglo-Boer wars”.)

British control of the Cape and Boer Trek; History of South Africa

British control of the Cape

• In 1795 the British troops invaded the Cape colony, and after some minor resistance, the British captured the Cape. British invasion of the Cape aimed at controlling the Cape so as to have a strong foothold over the sea route to India via the Cape.

• A number of factors combined to weaken the Dutch, the Dutch East Indian company and the Cape colony Dutch administration, thus, causing the Dutch to finally lose the Cape colony to the British:

– The Dutch were faced with severe competition from the French and the British, thus, undermining their commercial and economic position. This weakened the abilities of the Dutch to have a strong control over the Cape.

• Continuation….

– At the Cape, the Dutch suffered from administrative inefficiency, corruption, and commercial restrictions which resulted to severe discontents on the part of the settlers at the Cape. This also weakened the Dutch East Indian company, and in 1794 it declared bankrupt.

• This implied then that, company administration at the Cape was financially weak to support its army to resist British occupation of the Cape.

– Widespread discontents among settlers. For example:

• The settlers felt that they were not adequately protected by the Cape government against local Africans some of whom were brave and skilled fighters.

• They complained that, they, rather than the Cape administration be given the burden of defense in their conflict with the Africans.



• Continuation….

These complaints resulted to settler rebellion of 1795. these settler grievances and the rebellion was a clear indication that the Dutch administration at the Cape was weak.

– British desire to prevent the Cape from falling into the hands of the French who also aimed at controlling the Cape. By this time, British was getting a lot of wealth from India. For this reason, British control of the sea route to India was important.

If the Cape fell under the French, then, the French would prevent British ship from calling at the Cape on their way to or from India and Europe. So it was necessary for the British to gain control of the Cape.

• Continuation…

British reforms at the Cape

After capturing the Cape, the British tried their firm control at the Cape and therefore contain the Dutch settlers. In so doing, they introduced a number of social, economic, and political reforms.

Economy

– They introduced new paper money to replace the old Dutch notes which had greatly fallen in value.

– They reduced official salaries

– The government reduced the number of public projects and the amount of money spent on them.

– The policy of giving financial assistance to new immigrants of the Cape was stopped.

• Continuation…..

The church

– The Dutch Reformed Church which was dominant at the Cape was now given a certain degree of freedom and government representatives ceased to attend the meeting of its council. This church was introduced at the Cape in 1652 by Jan Vaan Riebeck, it was almost a state church at the Cape as all the Boers were the followers of this church

– For the Catholic church, the British government at the Cape decided to pay their priests, a privilege already enjoyed by the Dutch Reformed Church. This meant then, that, during British era, the Catholism dominated at the Cape and replaced the Dutch Reformed Church.

– Generally, the position of the church improved and freedom of worship was extended to all denomination at the Cape.

• Continuation…

Language

– The British made a proclamation / public announcement to replace Dutch language by English language as official language. Thus, in 1828 English language became the official language of the Cape.

The press

– The new British government removed some of the restrictions on the press which restricted the freedom of press. The press was given more freedom than it was before. As a result, the number of papers increased and printed both in Dutch and English.

The Judiciary

– A supreme (highest) court was introduced, and judges were to be appointed by the British Queen

• Continuation….

– The Judges were supposed to be independent, in other words, they could hold offices for as long as their conduct / behavior were proper and the Governor could not dismiss them. This aimed at making the judiciary more reliable and just.

Administration.

– The Dutch settlers were not allowed to any important say in the running of the state. They were the conquered people and had to be governed strongly.



– The advisory council was set up in Cape town. It consisted of the Governor, chief Justice, and Colonial Secretary. Its functions were mainly advisory, that is, to advise the Governor, although the Governor could reject the advice.

Thursday, October 26, 2017

White colonization at the Cape and its Consequences; History of South Africa part iii



WHITE COLONIZATION OF THE CAPE AND ITS CONSEQUENCES


The history of South African colonization goes back to the journeys of discoveries organized by the Portuguese. The climax of these dangerous and tiresome sea journeys came in 1497 when the famous Portuguese Vasco da Gama sailed around the Cape of Good Hope as far as the present day Natal.

Since then, the route around the Cape of Good Hope became very important in European commercial relation with Asia. These commercial relation between Europe and Asia were dominated by British Dutch, and Portuguese through their chartered companies. For example:

• Continuation….

– In 1600 the English East India company was founded ( British company)

– Two yeas later, that is in 1602, various Dutch companies amalgamated to form the Dutch East Indian Company, what was financially powerful than the English one.

• However, for the traders, the journey from Europe to the far East was too long and tiresome. By the end of the journey for example:

– The traders and crew (all the people who work on the ship) were extremely tired.

– Quite frequently they run out off fresh water (note that ocean water are too saline to drink)

– They also run out of fresh vegetable and fruits

– Many died on the way as a result of diseases

– Many more suffered scurvy as a result of lack fresh supply of vegetable and fruits.

– Their ship were greatly wrecked by storms.

• Continuation……
• As a result of all these problem, it was quiet clear that there was a need for a calling station/ refreshment station/ half way life, where:

– The long journey could be broken down

– Fresh supplies of food and water could be obtained

– The wrecked ship could be repaired

– The sick could be treated

– The ship could be refueled.

– The crew could get refreshments

• Thus, between 1619 and 1647 several attempts to identify and establish a calling station were made by traders and sailors without success.

– In 1647, the Haarlem, a Dutch East Indian Company’s ship was wrecked at the Table bay, the region around modern Cape Town. The traders and the crew remained there for six months.

• Continuation….

– To sustain their lives, they had to grow vegetables and bartered /exchanged them with the local people for meat.

– Throughout that period of their stay, they realized the area had favorable climate and fertile soils, and thus was suitable for settlement.

– On their return home after repairing their wrecked ship (Haarlem), these traders and the crew who stacked at the Cape for six months, gave a good report about the area (Table bay)

– Such good news triggered the Dutch East Indian Company to establish a calling station at the Table Bay.

– The responsibility of establishing a calling station was given to Jan Van Riebeck who officially arrived at the Cape on 4th June, 1652.

• Continuation…..

– Jan Van Riebeck was instructed by the company that the station would serve four important functions:

• A fort called Good Hope was to be built at the Cape to accommodate a garrison for defensive purposes (to defend and foster Dutch commercial interests)

• The station was to supply sailors with vegetables, fruits, and meat, and therefore vegetable gardens had to be established . Meat had to be obtained by exchanging European goods for cattle and sheep from Hottentots.

• The station was to act as a place of refreshment for the sailors following long journeys.

• A hospital was to be built to treat the sick, and here sailors could get treatment and rest.

• Continuation…..

However the practicality of establishing a refreshment station and running it in a distant and unfamiliar land was a great challenge to Jan Vaan Riebeck and other employees at the station.

Thus, the first ten (10) years were full of disappointments. The common problems that Jan Vaan Riebeck and other employees of the company encountered at the Cape included the following:


– They arrived during the dry season . Therefore, from the very beginning , the company’s servants at the Cape suffered from malnutrition, scurvy and generally poor health caused by unexpected and prolonged drought and therefore, they were unable to grow food. Thus, most of them were disappointed with the living conditions at the Cape.

• Continuation….

– When the rain season came, it brought a lot of discomfort/ embarrassment. The company’s men lived in old tents and poorly constructed wooden huts. Leaking roofs, wet floor and cold huts became additional problems.

– The rain also came with severe dysentery (severe diarrheas with loss of blood

– Cattle and sheep for barter / exchange were not always available at the right time as the Hottentots pastoralists were constantly moving with their cattle in search of pasture.

– Though the settlers were expected to grow some food, they were too few for the task, and they were not experienced farmers

– They were required to grow wheat and barley which needed much care and money, particularly during the first few years of experimentation.

• Continuation…

• Thus, if the refreshment station at the Cape was to serve the purpose for which it was built, a new policy for overcoming the obstacles had to be adapted. Thus, Jan Vaan Riebeck proposed several recommendations to improve the situation:


– It was decided to expand the settlement to bring more and more land under cultivation in order increase agricultural production.

– It was decided to increase the number of workers and more men were also needed

– The workers should be free men and not employees of the company and then, these workers would be given plots of land free of charge.

• Continuation….

• These recommendations were accepted by the company. Thus, in February 1657, the first group of settlers were discharged from company’s service and given plots around the Cape to begin implementing the recommendations.


• With the establishment of this settlement, the process of European colonization of South Africa began. Generally, progress was so low, however, by 1672, there were only 64 colonists / settlers at the Cape.

• Continuation…

Dutch progress at the Cape

• As already noted, Dutch progress at the Cape in the early years was so slow. The slow development at the Cape was due to strict regulations imposed by the company, which rigidly controlled the activates of the colonists/settlers.


• These regulations made it impossible for individual colonists to prosper/flourish (do well) economically. For example:


– The colonists were required to remain in the country for 20 years without leaving the colony. This means that, their stay in South Africa was a 20 years contract.


– The colonists had to participate in the defense of the colony/country, apart from their normal farming function.
– The worst restriction was that prices of foodstuff they produced were kept very low by the company, while the facilities for marketing such commodities were severely limited. For example:


• Continuation……


All cattle had to be sold to the company at a fixed price, regardless of cattle health, size, weight or age.


The colonists were not allowed to pay more money to the Hottentots for their cattle than the price paid by the company ( they were supposed to offer the same price as the one offered by the company)


 In order to protect the company’s monopoly of trade in tobacco, the colonists were not allowed to grow tobacco, and instead, they had to grow sufficient vegetables to meet company’s needs. This aimed at minimizing competition in tobacco production.


 In return for the right of pasturage, the settlers had to pay 10% of their cattle to the company.

• Continuation….

• Thus, by the end of 1650s, the Cape settlement was still very small and temporary in nature. It consisted of small number of fruit growers, gardeners and keepers.

• In other respect however, the settlement had some improvements. For example:

– A temporary hospital was built to offer medical services to the traders and crew.

– Slave labor was introduced. This aimed at making labor abundant , cheap, and therefore, lower the cost of production. The first 12 slaves arrived in 1657 from Java (modern Indonesia) and Madagascar, the following year 185 slaves were imported from West Africa. By 1708 the number of slaves scored 1200.

• Continuation…

The use of slave labor had far reaching effects in the history of South Africa:
– The policy of racial superiority and racial discrimination originated from slave labor policy by the end of the 17th century.

– The Boers hated unskilled tasks and hard work. Hard work was considered to be the domain of Non-Europeans who were regarded as hewers of woods and drawers of water

– The use of slaves in South Africa was the birth of an entirely new community, the Cape colored people. These were people of a mixed race, being the result of the union between the Boers , and the slaves, Hottentots, Bushmen, and Xhosa. By 1820 the Cape coloreds had gradually abandoned their original languages and adapted Afrikaans, the language spoken by the Boers.

• Continuation….
Souring / unfriendly relations and wars between the Boers and the Africans

• As the number of the Boers grew at the Cape, they found it important to expand further in the interior. Thus, by 1770s the Boers had advanced some 500 miles east of Cape town. The possible explanation for their expansion further into the interior include the following:

– In the early years there was plenty of unoccupied land. This encouraged the settlers to move from one area to another

– The settlers used superior weapons especially firearms to crush down any attempt made by local population to limit their expansion. In this way, they were able to expand and spread further in to the interior.
• Continuation….

– The Hottentots had been greatly weakened by small pox epidemics of 1713, thus making unable to pose a stiff resistance against Boer expansion in the interior. Following this epidemic, the Hottentots population sharply declined, and they became highly disorganized. This provided a room for the Boers to expand.

– Apart from the Cape area, most of the land was a semi desert with scanty and unreliable rainfall. This encouraged the Boers to migrate from one are to another in search of good land with adequate rainfall and water supply.

– Company’s laws greatly restricted the economic activities of the settlers. Prices of local products were kept extremely low for the farmers to make high profit. This disappointment encouraged the settlers to move away from the Cape to establish new homes in the areas where they would be free from such restrictions and official control.

• Continuation…..

– Insecurity of land tenure (occupancy rights) had a negative effect of discouraging improvements.

» For example:

• On the death of the owner of the land (farm),the buildings within the farm and any other valuable properties, particularly permanent ones, were sold by auction (public sale).

• The money obtained from the sale were then divided equally among the heirs/inheritors of the deceased

Therefore, this company’s land policy made them to move away to areas where they would be free from such restrictions.

• Continuation…..

This expansion made the Boers to come into direct contact with the indigenous African population, especially the Hottentots. This territorial expansion of the Boers therefore, took place at the expanse of the indigenous Africans.

– For example:

• The khoi were dispossessed of their grazing land

• The Khoi were dispossessed of their cattle

• The Khoi were forced to offer their labor power as laborers and herdsmen.

• Trading relations and transactions among Africans were greatly interrupted by the Boers expansion.

• The Khoi lost their political sovereignty and dignity.

• Continuation…

• Following massive expansion of the Boers, the Khoi managed to unite in armed opposition several times. Despite their brave attacks, the Khoi, were defeated.

• Having accepted defeat, the Boers assumed that all Khoikhoi land, no matter where it be, was free and empty land and therefore ,theirs to take.

• Thus, by the end of the 18th century, the Cape colony had considerably expanded. It had started as a temporary calling station consisting of a few houses on shores of the Table bay. Gradually it developed into a beautiful small town with the necessary defense systems and basic social services.

Monday, October 23, 2017

Top legit ways to make money with your android phone, iphone, tablet or computer

1. Doing survey online. You can earn some dollars by filling out some surveys online which will pay you by answering questions. However there are some survey which are not legit, they are only wasting your times but you will never get paid. BUT dont worry you are jn the right place where you will get trusted site for making money online with your phone or computer.

  • There is another issue in registrations, some survey only accept members from USA,Canada, and Europe. Example swagbux and vindale research and or toluna will not accept members from other countries.
  • However there is international site where you can carry out your survey. And this one is which i use, and i have received my first $ 15 here >> Paid view points Survey
2. You can earn money or bitcoins through your phone or computer by viewing advertisement on GPTC or PTC website !. One among of the legit site is Ads4btc, where you can earn bitcoins by viewing ads. I have registered in this site and i will show you the screen shot below, if you are intereseted earning money online then you are in the right place. Remembe one bitcoin is equal to $6009 which is equal to 12 milions Tanzania shilings however it increase its value everyday.
The best high paying ads for bitcoin site is ads4BTC however there are many site around the intnernet. See screenshot below:-
You can make money online by viewing advertisement in your free time, if you are interested then register here ads4BTC.

3. You can also make money online by blogging, you have to go on google and register for free domain or if you wish you can buy your own domain and start bloging and earn dollar online. 

4. You can earn money by writing article to hubpages. Hubpages may pay you if you will write quality articles and which have more traffics. 

Hubpages do not need coding skills or do not need being a webmaster because they have prepared everything for you to type and drag your photos related to articles, as long as you know how to write good articles then you can earn money !. 
Register here ! https://hubpages.com

5. You can also make more money on amazon by selling oit ebooks. If you have something like useful notes saved on doc or pdf then insteady of storing them on yor pc or phone just sell them on amazon or other place accepting ebooks for selling.
 I have tried registering on amazon and i have 10 published books and i have already earned my $ 130 in only three months.
below is the screenshot of my books, written by peter michael kiluasha (ciluashaz)
https://kdp.amazon.com/ if you wish to sell your books then register here and start earning money online.

Last Words
NB: Remember there is no such easy money making momey is not simple you need alot of efforts. But do not fail to try but try and then fail.


Saturday, October 21, 2017

How to register to the Salary slip portal official site; Tutorial with pictures

The Ministry of Finance has provided an official portal for getting salary slip through online (online) for public servants.

*Before starting make sure you have your salary slip and your bank account number,, then register using this link>>>>https://salaryslip.mof.go.tz/





* Required information *
> Check number
> Your names are three
> Date of birth
> Vote (for example 88Z2)
> Subvote (eg 5007)
> Account your bank account
> Salary Scale (full of TGTS, TGS, n.k)
> Salary Grade (filling B, C, D, E, e.g.
> Salary Step (will fill 1,2,3 n
NB; To get your vote codes check out your salary slip on the leftside of your check number.

If you successfully registered then you will be redirected to the next page to fill it out
> Phone number
> email address
> Password

You will be able to start using it within 24 hours

Visit the link to sign up here Salary slip portal