GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

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 [55]

Read Details

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)     [14]

Read Details

EKSTRA OPSTEL SKRYF SPASIE

EKSTRA OPSTEL SKRYF SPASIE

Read Details

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) [13]

Read Details

The antagonistic hormones that regulate blood calcium levels…

The antagonistic hormones that regulate blood calcium levels are

Read Details

Hormones secreted by the anterior pituitary are produced in…

Hormones secreted by the anterior pituitary are produced in the

Read Details

6.2 George receives over 740 mm of rain per year. Its natu…

6.2 George receives over 740 mm of rain per year. Its natural vegetation of forests dominates the area. Right-click on the button to view Source E in a new tab     (A) Name the ocean current that flows along this part of Indian Ocean. (1)

Read Details

  Question: 7   Study the following physical map of…

  Question: 7   Study the following physical map of South Africa below: Right-click on the button to view Source F in a new tab       7.1 Label number 1, 2,3 and 4 indicated on the map above: (4)   1: [ans1] 2: [ans2] 3: [ans3] 4: [ans4]  

Read Details

(D) Give an example of two South African towns you’ve lear…

(D) Give an example of two South African towns you’ve learned about that’s temperature and rainfall is influenced by the Kalahari desert: (2)

Read Details

SECTION B: ESSAY QUESTION   Right click on the button…

SECTION B: ESSAY QUESTION   Right click on the button to open the essay rubric in a new tab.       QUESTION 2: Civil Resistance in South Africa 1970s & 1980s: The challenge of Black Consciousness to the Apartheid state   2. Steve Biko played a significant role in unifying black South Africans against the apartheid regime in the 1970’s. Critically discuss the validity of this statement. [50]   Type the answer for Question 2 here.  

Read Details

Posts pagination

Newer posts 1 … 76,397 76,398 76,399 76,400 76,401 … 91,514 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top