According to the World Health Organization data the life exp…

According to the World Health Organization data the life expectancy for men in the first world countries have an average life expectancy of 78.4 years, while the average life expectancy of the men in the second world countries is 65.7 years. The absolute difference in life expectancy is = 12.7years.

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 stratified sampling.

Vir die volgende drie vrae moet jy die Delphi-kode gebruik o…

Vir die volgende drie vrae moet jy die Delphi-kode gebruik om die tabelle te manipuleer en NIE sql nie. For the next 3 questions, you must use the Delphi code to manipulate the tables and NOT sql. 2.5) Voltooi die Question2_5-knoppie (btn2_5) se kliek-prosedure: Kry die speler-ID van die spinedit (spnPlayerID). Stel ‘n toepaslike filter op die karakters tabel en vertoon dan slegs die rekords vir die speler in die DBGrid (dbgCharacters). Regs-kliek op die knoppie hieronder en maak die bladsy in ‘n nuwe oortjie oop om ‘n voorbeeld van die resultate te sien.  (4) Complete the Question 2_5 button (btn2_5) click procedure: Get the player ID from the spinedit (spnPlayerID). Set an appropriate filter on the characters table and then display only those records for that player in the DBGrid (dbgCharacters). Right-click on the button below and open the page in a new tab, to see an example of the results.   2.6) Voltooi die Experience Q2_6 (btnExperienceQ2_6) kliek-prosedure: Na elke rondte kry die karakters outomaties 2 ervaringspunte. Skryf die kode om 2 punte tot die ervaringspunte vir alle rekords by te voeg. Regs-kliek op die knoppie hieronder en maak die bladsy in ‘n nuwe oortjie oop om ‘n voorbeeld van die resultate te sien. (7)  Complete the Experience Q2_6 (btnExperienceQ2_6) Click procedure: After every round the characters automatically gain 2 experience points. Write the code to add 2 points to the experience points for all records. Right-click on the button below and open the page in a new tab, to see an example of the results.   2.7) Voltooi die Character Details Q2_7 (btnChrDetailsQ2_7) kliek-prosedure: As jy ‘n rondte speel, wil jy die besonderhede van die karakter kan sien. Kry die naam van die karakter deur ‘n invoerblok en vertoon die naam van die karakter en ervaringspunte in die memo (met geskikte etikette). Regskliek op die  knoppie hieronder en maak die bladsy in ‘n nuwe oortjie oop om ‘n voorbeeld van die resultate te sien. (7)  Complete the Character Details Q2_7 (btnChrDetailsQ2_7) click procedure: When playing a round you want to be able to see the character’s details. Get the character’s name from an input box and display the character’s name and experience points in the memo (with suitable labels).  Right-click on the button below and open the page in a new tab, to see an example of the results.     TOTAAL VIR VRAAG  2

VRAAG 3 Maak die projek characterOOPs_p in die Question3-l…

VRAAG 3 Maak die projek characterOOPs_p in die Question3-lêergids oop. 3.1) Skep TDnDChar-klas. Stoor dit in die clsDnDChar-eenheid binne die projek. Hieronder is die UML-diagram en enkele besonderhede word in die volgende instruksies gegee. (5) Open the project characterOOPs_p in the Question3 folder. Create TDnDChar class. Save it in the clsDnDChar unit within the project. Below is the UML diagram and some more details are given in the instructions which follow.  TDnDCharacter – sName : String – iExperiencePoints : Integer – iStrength : Integer + constructor create( sName,  iStrength) + setExperiencePoints(iNum:Integer) + getExperiencePoints : Integer + getStrength : Integer + toString : String 3.1.a) Die konstrukteur aanvaar twee parameters om die veranderlikes sName en iStrength-instansie in te stel. Dit moet die iExperiencePoints na 0 stel. (4)  The constructor accepts 2 parameters to set the sName and iStrength instance variables. It must set the iExperiencePoints to 0.   3.1.b) setExperiencePoints is ‘n mutator metode.  (2) setExperiencePoints is a mutator method.   3.1.c) getExperiencePoints en getStrength is toegangsmetodes. (4)  getExperiencePoints and getStrength are accessor methods.   3.1.d) toString moet ‘n string in die volgende formaat weergee: sName EX – iExperiencePoints S – iStrength (3)  toString must return a string in the following format: sName EX – iExperiencePoints S – iStrength