Basic programming principles by H. G Erasmus(Book) 2 editions Basic programming principles using Visual by C. M Pretorius(Book) 1 edition. CM Pretorius and HG Erasmus. Basic understanding of problem-solving and basic programming principles are vital necessities. .. an equation. For example, a = b + c, where a must be a numeric variable that if code = “H” then. BASIC PROGRAMMING PRINCIPLES. PRETORIUS C. ISBN: Estimated delivery within business day. R Add to Basket Added.

Author: Tygonris Vosida
Country: Uruguay
Language: English (Spanish)
Genre: Automotive
Published (Last): 23 December 2005
Pages: 480
PDF File Size: 20.49 Mb
ePub File Size: 14.49 Mb
ISBN: 361-7-95171-945-4
Downloads: 11161
Price: Free* [*Free Regsitration Required]
Uploader: Bazuru

C_ITPR111 Introduction to Programming

An array is a data structure that consists of a number of related variables. A comment can be on a separate line or can follow in the same line as an instruction.

Enter the number of rows of chairs in the city hall as well as the number of chairs eraxmus row. If you have persistent cookies enabled as well, then we will be able to remember you across browser restarts and computer reboots. To use this website, you must agree to our Privacy Policyincluding cookie policy. For example weekDay 0 refers to Mon,weekDay 5 refers to.

The statements or instructions between the name of the algorithm and the end are called the body of the algorithm. Draw the IPO Write the algorithm What is the output given price of one item is R50 Complete the trace table Instruction amtOne amt50 amt save1 save2 amt50 g save50 save output.

Basic Programming Principles: Textbook

Enter the number of hours he worked for a specific week, as well as the pay rate per hour. The same rules apply to the next statement, which displays The age of the learner is Different symbols are used to draw each type of flowchart.


Cookies are little nuggets of information that web servers store on your computer to make it easier for them to keep track of your browsing session. At the end of the algorithm the programmung amount of interest must be displayed.

The enter name statement causes the computer to show a prompt on the screen so that the user can use the keyboard to type n name. Is there a lesson today? Calculate double, half, a third and a quarter of the number and show the result on the screen.

The number bought and the price of a fruit principled are entered in a main procedure. Use modularization from the chosen programming language 3. In other words, it can change more than one value.

In both cases you should know how to switch cookies back on! Input the coefficients a, b, c of the quadratic equation Calculate d Calculate x1 Calculate x2 Print x1 and x2. The order of the parameters should be the same in the function and in the calling ststement i.


For each symbol in flow chart there is corresponding pseudo code statement. Enter the radius of a circle, then call one function to calculate the circumference and another function to calculate the area of the circle. An array has a single name A single variable in an array is called an element All the elements in an array are the same data type The position of an element in an array is called an index.


The array can hold numerous values but identical data types. Write a complete algorithm with functions to solve the following problem: Numbers with fractions e. Auth with social network: A subprocedure will be used to calculate the final mark and determine whether it is a pass or fail messageand another subprocedure will display the mark and the message result.

Logical expressions include AND,OR and NOT Logic operators are also called logical gates Logical gates can be combined create important components of computers, such as the memory registers. Display the calculated values on the screen. It is the position of an element in an array. Repeat the whole process until the program is finished.

A activation email has been sent to you. The name of the value returned by the function need not be the same as in the calling statement. A erwsmus language we can use to communicate with the computer and solve problems We give the computer instructions that it.

Is a set of instruction written in a specific sequence used to solve a problem Three phases of an algorithm: