A medical researcher wanted to know whether at a particular…

A medical researcher wanted to know whether at a particular hospital male or female patients ask more questions about their potency. Of the 400 patients, she interviewed 50 randomly selected male patients and 50 randomly selected female patients. This is an example of cluster sampling.

1.3.a) Verklaar ‘n lokale skikking van stringe vir die prent…

1.3.a) Verklaar ‘n lokale skikking van stringe vir die prentjies se lêername en ‘n globale veranderlike vir die ewekansige nommer. (2)   Declare a local array of strings for the image file names and a global variable for the random number. 1.3.b) Ons wil die voorkant van die dobbelsteen as ‘n prentjie in die prent komponent (imgDiceRoll) vertoon. Die name van die prentlêers is in ‘n teksleer, naamlik diceImages.txt, gestoor. Onder is ‘n voorbeeld van die diceImages.txt Lees die lêer en vul die skikking. Indien die tekslêer nie bestaan nie moet ‘n boodskap vertoon word. (8)   We want to display the face of the dice as an image in the image component (imgDiceRoll). The names of the image files are stored in a textfile  diceImages.txt. Below is an example of the diceImage.txt.  Read the file and fill the array. If the text file does not exist then display a message. 20 – 01.bmp 20 – 02.bmp 20 – 03.bmp 20 – 04.bmp 20 – 05.bmp   1.3.c) Genereer ‘n ewekansige nommer in die reeks 1 tot 20 (stel die globale veranderlike) en stel dan die prentjie na die toepaslike lêer. (4)   Generate a random number in the range 1 to 20 (set the global variable) and then set the image’s picture to the appropriate file. 1.4.a) Skep ‘n aparte gebruikersfunksie met die naam CreateCode, wat ‘n string sal vertoon. Geen parameters is nodig nie. Die kode bestaan uit die karakter se naam, die ewekansige nommer wat gegenereer is (in vraag 1.3c) en die voorletters van die gebruiker se naam (die eerste letter van elke naam). Alle letters moet in hoofletters wees. (12)   Create a separate user function called CreateCode which will return a string. No Parameters are required. The code consists of the characters name, the random number generated (in question1.3.c) and the initials of the user’s name (the first character of every name).  All letters must be in capitals. 1.4.b) Voltooi die Register knoppie (btnReg) se kliek prosedure. Kry die kode deur jou createCode funksie te roep. Vertoon die kode in die terugvoer etiket (lblFeedBack). Voeg die naam, karakter se naam en die kode by, geskei deur ‘n #, by die attendees.txt lêer. (Voeg by beteken voeg onder aan.) Onder is ‘n uittreksel van attendees.txt (6) Complete the Register button (btnReg) click procedure. Get the code by calling your createCode function. Display the code in the feedback label (lblFeedBack). Append the name, character name and the code, separated by a # to the attendees.txt file. (Append means add to the bottom.) Below is an extract of attendees.txt Mary Jane Smith#Elruin#ELRUIN20MJS# James James Weatherby DuPree#Quinn#QUIN11JJWD# Luca Green#Elrond#ELROND1LG# TOTAAL VIR VRAAG 1

Question 4 Consider the diagram representing an atom of a ce…

Question 4 Consider the diagram representing an atom of a certain element. Right click on the following button to open the DIAGRAM in a separate tab. 4.1 Determine the:     4.1.1. number of protons (2)   4.1.2. energy level of the outer most shell (1)   4.1.3. number of core electrons (1) 4.2 Write the standard notation for the electron configuration of this atom. (3) 4.3 Write down the name of this atom. (1) 4.4 Show the electron configuration of a potassium ion by using an Aufbau diagram. (3) 4.5 Two isotopes of lithium are composed as follows: lithium-6 = 7,6% and lithium-7 = 92,4%.   Calculate the relative atomic mass of lithium. (3)    

QUESTION 7 7.1 Classify the following changes as either P…

QUESTION 7 7.1 Classify the following changes as either Physical or Chemical change:   7.1.1   Iron that rusts (1)   7.1.2   Perfume that is applied to your skin and then evaporates (1)   7.1.3   Treating excessive stomach acid (acid reflux) with baking soda. (1)     7.2 Give the correct chemical formula for each of the following:   7.2.1   Magnesium hydroxide (2)   7.2.2   Potassium carbonate (2)   7.2.3   Carbon monoxide (2)   7.2.4   Alluminium sulphide (2)   7.2.5   Copper(ii)sulphate (2)