1.
Due to multiple errors in a programme, inputs are going through several changes before presenting the output. The changes made are as follows:
The "o" letters are replaced with "$" characters. If two "o" letters appear consecutively they are replaced with only one "$" character.
Words are always in the same row until a full-stop or a "/fs/" is typed in.
Punctuation marks (not including <> and / characters) cause the previous word or character to turn red.
If you were to type in the following input:

According to the string theory the geometrical structure of particles is not of zero dimensions, rather than a one- dimensional structure called a "string" (there are certain membranes with more than one dimension). The strings differ by shape and movement/fs/ They can be either closed shaped (loop) or opened shaped (line- free edges). They have a large range of vibration movements, a lot like a guitar string/fs/ This theory, whilst not entirely considered scientific, addresses both the "General theory of relativity" and the "Quantum field theory" and unites them by solving what previously have been considered as unsolvable contradiction between the two theories.

How many "$" characters would there be in the output?
2.
Due to multiple errors in a programme, inputs are going through several changes before presenting the output. The changes made are as follows:
The "c" letters are replaced with "$" characters. If two "c" letters appear consecutively they are replaced with only one "$" character.
Words are always in the same row until a full-stop or a "/fs/" is typed in.
Punctuation marks (not including <> and / characters) cause the previous word or character to turn red.
If you were to type in the following input:

"According to the string theory the geometrical structure of particles is not of zero dimensions, rather than a one- dimensional structure called a "string" (there are certain membranes with more than one dimension). The strings differ by shape and movement/fs/ They can be either closed shaped (loop) or opened shaped (line- free edges). They have a large range of vibration movements, a lot like a guitar string/fs/ This theory, whilst not entirely considered scientific, addresses both the "General theory of relativity" and the "Quantum field theory" and unites them by solving what previously have been considered as unsolvable contradiction between the two theories."

How many rows would there be in the output?
3.
Due to multiple errors in a programme, inputs are going through several changes before presenting the output. The changes made are as follows:
The "c" letters are replaced with "$" characters. If two "c" letters appear consecutively they are replaced with only one "$" character.
Words are always in the same row until a full-stop or a /fs/ is typed in.
Punctuation marks (not including <> and / characters) cause the previous word or character to turn red.
If you were to type in the following input:

"According to the string theory the geometrical structure of particles is not of zero dimensions, rather than a one- dimensional structure called a "string" (there are certain membranes with more than one dimension). The strings differ by shape and movement/fs/ They can be either closed shaped (loop) or opened shaped (line- free edges). They have a large range of vibration movements, a lot like a guitar string/fs/ This theory, whilst not entirely considered scientific, addresses both the "General theory of relativity" and the "Quantum field theory" and unites them by solving what previously have been considered as unsolvable contradiction between the two theories."

How many red words would there be in the output?
4.
Due to faulty programming, a certain software program is now identifying words that end with a comma and a period as being capitalized and bold, respectively. The software programme formats the text in accordance with these commands before displaying the text on the screen. 

How many words that are neither capitalized nor in bold will be displayed if the software program is provided with the following sentences? 

The never ending problem, by Judith Hill. Despite technological advances in the area of agriculture, many people in the world today are struggling to make ends meet, and Starvation is still at large in many third world countries.
5.
In order to properly format a text, a software program inserts commands that begin with a full stop. The full stop period key is interpreted by the software programme as a signal to format the text in accordance with the command. For example, ".italic", ".bullet" and ".boldface" are commands.

How many words will be displayed on the screen if the software is provided with the following sentence? .capitalized amongst the .italic most endangered species in the world are .bullet .bold Giant Panda .bullet .bold Tiger .bullet .bold Mako shark .indent and many more.
6.
A programmer thought it would be funny if the software he wrote would switch letters when displaying a text. He programmed the software program to replace all the "a" letters with "e" letters and all the "i" letters with "u" letters. How many new meaningful words (i.e, words that were not in the original text) will be displayed on the screen if the program is given the following list of words to process: pear, tree, leaf, ding, rim, blunt, breeze, bilk, foul, gravity, lad, beg.
7.
A software was written in order to control the watering system of a botanic garden. The software receives twice a day numerical inputs from hydro-sensitive sensors, distributed all over the garden. It is programmed to send commands to the watering system in accordance with the data it receives; once the data from one of the sensors indicates a low level of humidity in its surroundings (under 21%), the programme releases a command that sets the watering system on ("watering" command), in the relevant area. When the sensor indicates that the level of humidity has returned to optimal values, the programme releases a new command that halts the watering system ("halt watering" command). Due to mathematical reasons, the system translates the received information into complementary values (e.g. a sensor detects a 10% humidity in its area -> sends a "watering" signal to the system -> the system translate the information into 90% -> the area in the vicinity of the sensor is watered).

The following information was received and translated by the watering system:
Sensor_1/humidity_77%, Sensor_2/humidity_28%, sensor_3/humidity_73%, sensor_4/humidity_88%, sensor_5/humidity_91.5%, sensor_6/humidity_20%, sensor_7/humidity_79%, sensor_8/humidity_84%, sensor_9/humidity_ 47.5%, sensor_10/humidity_21%, sensor_11/humidity_93%, sensor_12/humidity_89.5%, sensor_13/humidity_76.5%, sensor_14/humidity_87%, sensor_15/humidity_19%


How many "watering" signals have been sent?
8.
A software was written in order to control the watering system of a botanic garden. The software receives twice a day numerical inputs from hydro-sensitive sensors, distributed all over the garden. It is programmed to send commands to the watering system in accordance with the data it receives; once the data from one of the sensors indicates a low level of humidity in its surroundings (under 21%), the programme releases a command that sets the watering system on ("watering" command), in the relevant area. When the sensor indicates that the level of humidity has returned to optimal values, the programme releases a new command that halts the watering system ("halt watering" command). Due to mathematical reasons, the system translates the received information into complementary values (e.g. a sensor detects a 10% humidity in its area -> sends a "watering" signal to the system -> the system translate the information into 90% -> the area in the vicinity of the sensor is watered).

The following information was received and translated by the watering system:
Sensor_1/humidity_77%, Sensor_2/humidity_28%, sensor_3/humidity_73%, sensor_4/humidity_88%, sensor_5/humidity_91.5%, sensor_6/humidity_20%, sensor_7/humidity_79%, sensor_8/humidity_84%, sensor_9/humidity_ 47.5%, sensor_10/humidity_21%, sensor_11/humidity_93%, sensor_12/humidity_89.5%, sensor_13/humidity_76.5%, sensor_14/humidity_87%, sensor_15/humidity_19%


The manager detected a system fault which led to calibration problems in some of the sensors. As a result, these sensors sent erroneous "halt watering" signals. If 1/3 of the "halt watering" signals were false, how many accurate ones were sent?
9.
A software was written in order to control the watering system of a botanic garden. The software receives twice a day numerical inputs from hydro-sensitive sensors, distributed all over the garden. It is programmed to send commands to the watering system in accordance with the data it receives; once the data from one of the sensors indicates a low level of humidity in its surroundings (under 21%), the programme releases a command that sets the watering system on ("watering" command), in the relevant area. When the sensor indicates that the level of humidity has returned to optimal values, the programme releases a new command that halts the watering system ("halt watering" command). Due to mathematical reasons, the system translates the received information into complementary values (e.g. a sensor detects a 10% humidity in its area -> sends a "watering" signal to the system -> the system translate the information into 90% -> the area in the vicinity of the sensor is watered).

The following information was received and translated by the watering system:
Sensor_1/humidity_77%, Sensor_2/humidity_28%, sensor_3/humidity_73%, sensor_4/humidity_88%, sensor_5/humidity_91.5%, sensor_6/humidity_20%, sensor_7/humidity_79%, sensor_8/humidity_84%, sensor_9/humidity_ 47.5%, sensor_10/humidity_21%, sensor_11/humidity_93%, sensor_12/humidity_89.5%, sensor_13/humidity_76.5%, sensor_14/humidity_87%, sensor_15/humidity_19%

New discoveries in the botanic world have led the botanic garden to change their humidity threshold; the sensors are now set to detect and send a "halt watering" signal when the humidity is above 76.5%. How many "watering" signals would be sent if the same information (as previously shown) was received by the watering system?
10.
A software, created by company Z, receives a certain input which is then converted before it is displayed on the screen. When comparison keywords are typed in, the software converts it to their matching characters (=,<,>). The keywords appear in square brackets in order for the programme to recognize them.
For example:
1 [greater than] 5
Will be converted to:
1>5
Please note that:
*The mathematical operations taken in each step appear between < >
*Comparison keywords are the only thing that may appear in square brackets.


A worker at company Z typed in the following input:
"(a+2)/3 [less than] (a-2)/2

2a+ 4 [less than] 3a- 6
<-2a>
4 [less than] a-6
<+6 and reverse>
a [greater than] 10"

How many comparison characters were displayed?