Preview

Pseudo Code

Powerful Essays
Open Document
Open Document
1310 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Pseudo Code
SUMMARY
This document aims to teach new programmers the ins and outs of pseudo code. It will better the understanding of both new and old programmers as it includes simple and precise statements describing each one. It includes accurate descriptions of variables, arrays, comments, conditional statements, loops, input, output, functions, and procedures.
Definition
“a notation resembling a simplified programming language, used in program design.” https://www.google.ae/#q=pseudo+code+definition VARIABLES
A variable is used as a storage location for values and unknown quantities. It can be used is used to reference the stored value. The name and content are separate this allows the name to be used independently but still keeping the value exact. This is important as the value might change during the course of program execution.
Data Type
Description
Integer
An integer is a whole number.
E.g. -2, -1, 0, 1, 2
Boolean
A value which can have one of two possible values. These values are usually 0 (false) and 1 (true).
Real
A value which represents an approximation of a real number. Real numbers are not countable; computers cannot represent them exactly using a finite amount of information
Character
A unit of communication which is represented by numerical systems such as binary and hexadecimal. The values these systems represent are characters which are members of the alphanumerical system.
String
A sequence of numbers either as a literal constant or a variable.

Setting a Variable When setting a variable the variable name is written followed by the value, which is to be assigned to this variable.

Eg.
VariableName → Value
ARRAYS
An array is used to describe a collection of elements, each selected by one or more indices that can be computed at run time by the program. These collections are called array variables, array values, or simply array. Depending on the language array types may overlap other data types that describe aggregates of values such as lists and

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Pt1420 week 2

    • 320 Words
    • 3 Pages

    Pseudocode is an informal language that has no syntax rules, and is not meant to be compiled or executed.…

    • 320 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pseudocode is “fake” code (as per the pseudo meaning fake and code meaning code). This is where a programmer writes out the code without worry of syntax or logic errors to get a visual feel of how the program should unfold.…

    • 848 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Chapter 17 Chapter 18 Chapter 19 Chapter 20 Chapter 21 Chapter 22 Chapter 23 Chapter 24 Chapter 25 Chapter 26 Chapter 27 An Introduction to Hardware, Software, and the Internet An Introduction to Software Development Objects and Classes Algorithms Java Syntax and Style Data Types, Variables, and Arithmetic Boolean Expressions and if-else Statements Iterative Statements: while, for, do–while Implementing Classes and Using Objects Strings Class Hierarchies and Interfaces Arrays…

    • 3908 Words
    • 16 Pages
    Powerful Essays
  • Satisfactory Essays

    mat540 quiz 1 review

    • 668 Words
    • 6 Pages

    ( A variable is a symbol used to represent an item that can take on any value,)…

    • 668 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    IT 210 appendix d

    • 264 Words
    • 2 Pages

    Match the activity or purpose on the left with the appropriate description on the right by typing in the corresponding letter under the Answer column.…

    • 264 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    a. Equal interval: Variable in which the numbers stand for approximately equal amounts of what is being measured (Aron, 2013).…

    • 1224 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    6. A variable is a business intelligence characteristic that stands for a value that cannot change over time.…

    • 28627 Words
    • 115 Pages
    Powerful Essays
  • Satisfactory Essays

    It 218 Week 4 Checkpoint

    • 290 Words
    • 2 Pages

    An array is a variable that holds more than more than one value, and an array can be combined with multiple variables for a more complex structure. An array is declared much similar with any other variable. The only difference is the number of elements is shown in brackets. An example of an array will be look much like these three: calories [ min ], 30 [ 7 ], and feet [ 12 ]. Each one of these arrays can be used as long as it is appropriate for the program.…

    • 290 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Interval: Means there is a constant standard of measurement but zero has no true meaning…

    • 415 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Pseudocode Standard

    • 1507 Words
    • 7 Pages

    Pseudocode is a kind of structured english for describing algorithms. It allows the designer to focus on the logic of the algorithm without being distracted by details of language syntax. At the same time, the pseudocode needs to be complete. It describe the entire logic of the algorithm so that implementation becomes a rote mechanical task of translating line by line into source code.…

    • 1507 Words
    • 7 Pages
    Good Essays
  • Good Essays

    2. VARIABLES: Variable is a logical set of attributes such as measurable quantities, categories such as gender, numbers, or words. Variables “vary”, can be high, or low.…

    • 2328 Words
    • 11 Pages
    Good Essays
  • Powerful Essays

    Asp.Net Pdf

    • 33971 Words
    • 136 Pages

    Most modern programming languages provide support for some type of object that can hold a variable number of elements. These objects are referred to as collections, and they can have elements added and removed with ease without having to worry about proper memory allocation. If you’ve programmed with classic ASP before, you’re probably familiar with the Scripting.Dictionary object, a collection object that references each element with a textual key. A collection that stores objects in this fashion is known as a hash table. There are many types of collections in addition to the hash table. Each type of collection is similar in purpose: it serves as a means to store a varying number of elements, providing an easy way, at a minimum, to add and remove elements. Each different type of collection is unique in its method of storing, retrieving, and referencing its various elements. The .NET Framework provides a number of collection types for the developer to use. In fact, an entire namespace, System.Collections, is dedicated to collection types and helper classes. Each of these collection types can store elements of type Object. Because in…

    • 33971 Words
    • 136 Pages
    Powerful Essays
  • Powerful Essays

    Mb0050

    • 4456 Words
    • 18 Pages

    A magnitude that varies is known as a variable. The concept may assume different quantitativevalues, like height, weight, income, etc. Qualitative variables are not quantifiable in the strictest sense of objectivity. However, the qualitative phenomena may also be quantified in terms of the presence or absence of the attribute considered. Phenomena that assumedifferentvalues quantitatively even in decimal points are known as “continuous variables. But, all variables need not be continuous. Values that can be expressed only in integer values are called” non-continuous variables. In statistical term, they are also known as „discrete variable.…

    • 4456 Words
    • 18 Pages
    Powerful Essays
  • Satisfactory Essays

    praveen

    • 335 Words
    • 2 Pages

    Use the double-ampersand (&&) if you want to reuse the variable value without promoting the user each time.…

    • 335 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Business Mathematics

    • 44049 Words
    • 177 Pages

    A number is one or more units or things. A number that denotes one or more whole units is a whole number or an integer.…

    • 44049 Words
    • 177 Pages
    Good Essays