Skip to main content


Showing posts from November, 2019

Advice to Teachers conducting lessons remotely

A lot of WhatsApp groups for delivering tutorials have surfaced recently in the wake of the corona virus pandemic.  This was necessitated by the need to mitigate the effects of keeping schools closed for an extended period of time. Most students were falling behind on their studies before the mushrooming of such WhatsApp groups.
E-learning is not a new phenomenon to Zimbabwe but measures to curb the spread of Covid-19 ,like lockdown and minimizing of gatherings , have seen an upsurge in the number of tutors embracing the internet as a mode of delivering lessons. This article will look at the best  platforms available which teachers can use in their endeavor to continue educating people in these trying times.
In the Zimbabwean context, WhatsApp is likely the first option which comes to many people's minds when they think of distance learning solutions. This is mainly due to the great number of users on the platform. Many, if not all, smartphone owners have WhatsApp installed and also…

The Role of a Web Designer in Web Development

Quite often , when we talk of web development we tend to forget about web design. This is a very important subject. For a website to look splendid and to have useful features, it all starts with a creative designer. I urge anybody trying to get in the field of web development to also consider web design. Let me elaborate on the steps that a website goes through when in development. A web designer, someone with graphic design skills, creates a brand- if it was not yet created. A brand means a logo, colours and fonts associated with a business. These must resonate with everything related to the company. It is the job of the web designer to choose what colours to use and the fonts as well as come up with a logo for inclusion on the website. The web designer does not necessarily need to know HTML or CSS although it will be an advantage. After deciding on the resources needed for the web pages, the designer creates a layout of the web pages and comes up with an illustration called a wire…

How Important is Yandex to A Digital Marketer?

I have come up with an argument and I would like the reader to consider whether it is valid or not.  Here is the argument: If it is a a major search engine then I should submit a site map using the search engine's webmaster tools.  Yandex is a major search engine. Therefore I submitted a site map. Is the argument valid?

If you are a digital marketer I would like to hear your answer. The above argument can be validated using mathematical predicate logic and truth tables. However not all digital marketers are mathematicians therefore I have come up with reasons why Yandex is worth considering in an SEO strategy. Let me first define what a search engine is so as to rope in digital marketing newbies in the conversation.

Search engines are web application which use software programs called crawlers or bots search the internet and gather information. The information which the crawlers collect is then stored in a database base which is referred to as and Index. If a page is indexed it …

Information Technology Basics

What is Information Technology?
It is the use or study of all the technology involved in collecting, storing , sharing and retrieval of data or information. It has three main components which are the computer, computer network and know-how. I shall first look at computers in detail.Computers are composed of hardware and software. There are five categories of computers but they generally have the same features. The classifications of computers are, Mainframe, Supercomputer, workstation, minicomputer and microcomputer.Hardware
The physical components of the computer. There is basically the system unit and peripheral components which are devices connected to the system unit. The peripheral devices are classified as either output or in put devices, though some can be both like a hard drive, a monitor with a touch screen or a printer with a scanner. Output devices
The most common output devices are  monitor, speakers and printer and hard drive.Input devices
The commonly used input devices …

C Program To Check If a String is a Palindrome

A C program to check if a string is a palindrome or not.
It uses the strcmp() function to compare the strings, therefore, you must include the string.h preprocessor link.

Egyptian Binary

The Egyptian Binary is a method to calculate the product of two numbers by mainly using addition.
The following is the algorithm

1.0  Start
2.0  Get a,b and sum
3.0  While a>=1

        3.1.0  If a%2>0

                 3.1.1 Start_If
                 3.1.2 sum=sum+b;
                 3.1.3 End_If

        3.2  a /=2;
             b +=b;

4.0 Display sum
5.0 End

The following is the source code for the C Program.

C Program To Check Whether a Given Number is Prime

(c)       Write a C program that will check whether a given number is prime number or not.  You may find the hint below useful. 

Definition of prime number:
It is a natural number greater than one and has not any other divisors except 1 and itself. In other words, we can say which has only two divisors 1 and the number itself.
For example, 5 its divisors are 1 and 5. Note: 2 is the only even prime number.
hint The logic for prime number
Take a loop and divide the number from 2 to number. If the number is not divisible by any of the numbers then print it as a prime number.       [10]

C Program To Calculate Water Bill

1.You need to show how to calculate the charges for using water for a particular month that is provided by the Water Utility Company. Charges are calculated based on this information: •    Outstanding payment amount •    Previous meter reading •    Current meter reading Payment rates are given as: 0 - 15 m3                      :     $0.42 per m3,

15.1 - 40 m3:     $0.65 per m3, 40.1 m3 and above      :     $1.05 per m3  with a minimum payment of $5.00 (a)    State the input and output of this problem. [2] (b)    State the formula involved.[2] (c)     Give a detailed algorithm for this problem.[6] (d) Write a program that will implement your algorithm[10]
Source Code

Continue and Break Statements in C

The following code snippet shows how 'continue' and 'break' statements affect a loop.

The output is as follows:

pi is 3.140000 
 printing will end at 4 and x is now 6 
printing will end at 4 and x is now 5 
printing will end at 4 and x is now 4 
x (3)is now less than PI and program stops at x=0 
x (2)is now less than PI and program stops at x=0 
x (1)is now less than PI and program stops at x=0 
x (0)is now less than PI and program stops at x=0