Page 114 - Computer_Genius_v2.1_C7_flipbook
P. 114
Frequently using print commands helps the other user to understand the code.
pH Value
pH is a quantitative measure of the acidity or basicity of aqueous or other liquid solutions.
The term, widely used in chemistry, biology, and agronomy. pH translates the values of the
concentration of the hydrogen ion—which ordinarily ranges between about 1 and 10−14 gram-
equivalents per liter—into numbers between 0 and 14.
Program to Determine the Type of Solution
To create an AI Connect program to take a pH value input from user and then determine whether the
solution is Acidic, Basic or Neutral, create a project. In this project create a Basic Coding activity.
Then follow the given steps:
Step 1 Create the variable “Q” and put the comment accordingly.
Block Code
Textual code
112 Computer Genius (V2.1)-VII

