This test is run by .
Note that your final mark will not be saved in the system.
Note that your final mark will not be saved in the system.
Input & Output / String Handling & Random Number Functions Typeit
Target Level
4-5
Running Total
0
0%
Attempt
1 of 3
Type the correct answers into the spaces. Fill all the spaces before clicking ‘Check Answers!’
Study these code snippets and write the output they each return.
Note: indexing starts at 0. ASCII for ‘A’ is 65 in denary
my_str ← 'jumped over the lazy dog' PRINT(LEN(my_str)) |
|
my_str ← 'punctuation marks or symbols' PRINT(POSITION(my_str,'m') ) |
|
my_str ← 'always surrounded by' PRINT(SUBSTRING(6,14,my_str)) |
|
PRINT(CHAR_TO_CODE('H')) |
|
PRINT (CODE_TO_CHAR(88)) |