Write the OUTPUT for the following Qbasic statements. [1]
i) PRINT 16 MOD 3
ii) PRINT 9 MOD 11
Answers
Answer:
A precipitation reaction refers to the formation of an insoluble salt when two solutions containing soluble salts are combined. The insoluble salt that falls out of solution is known as the precipitate, hence the reaction's name. Precipitation reactions can help determine the presence of various ions in solution.
Answer:
To begin, write down everything from the program below ("PRINT "Hello World") into a text editor or into the QBasic IDE (Integrated Development Interface) itself and save it as "1HELLO.BAS". Next open the file in QBasic (unless you used QBasic IDE in which case it is already open) and press F5. Optionally you can use the "RUN" menu located on the menu bar at the top of the IDE window. This will execute (run) the program. The words "Hello World" should appear on the upper left hand side of the screen. You have just executed your first QBasic program. If you press F5 again, another line of text saying "Hello World" will appear on the upper left hand side of the screen pushing the first one down to the second row of the screen. You can follow the same procedure for the rest of the example programs in this wikibook.