Showing posts from November, 2019

Latest Article

How to create a subdomain for use with Blogger

 Not all sites are meant solely for blogging. Some websites only include a blog for marketing purposes only. This is because blogs can drive traffic to your site. Each site visitor is a potential customer who can end up buying products or services on the website. I am going to show you how you can create a subdomain that can then be used as a custom domain on Blogger. Creating a subdomain in CPanel Most web hosting companies in Zimbabwe provide packages that come with CPanel and therefore I shall use it as an example. It is easy to create a subdomain in CPanel. A subdomain has two main purposes. It can act be used to host a different website or to organize the main domain so as to improve the user experience. If your main domain is '', then a subdomain can be ''. To create '', simply lo into CPanel and head on to the section written 'subdomains'. Go on to create your subdomain by just entering the word 'blog

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 ca

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 i

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 in

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     sum=0; 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]  

A Simple C Program to Count Vowels and Consonants

the following code gives a solution to the following question from an exam

C Program To Calculate Water Bill

QUESTIONS 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 m 3                      :     $0.42 per m 3 , 15.1 - 40 m 3                   :     $0.65 per m 3 , 40.1 m 3 and above      :     $1.05 per m 3  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                             

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