GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

1.6 Verwoord die “maandags” waarna die skrywer in paragraa…

1.6 Verwoord die “maandags” waarna die skrywer in paragraaf 6 verwys, in jou eie woorde. (1)

Read Details

4.3 Waarom is dit noodsaaklik dat alles in raampie 3 met ‘…

4.3 Waarom is dit noodsaaklik dat alles in raampie 3 met ‘n dubbelkonsonant geskryf.     (1)

Read Details

1.2 In watter maand het hierdie rubriek verskyn?  Motiveer…

1.2 In watter maand het hierdie rubriek verskyn?  Motiveer jou antwoord deur TWEE opeenvolgende woorde aan te haal. (2)

Read Details

1.16 Dink jy die werker in TEKS B sal saam met die skrywer…

1.16 Dink jy die werker in TEKS B sal saam met die skrywer van TEKS A stem, wanneer die onderstreepte sinne in paragraaf 12 in ag geneem word?  (1)

Read Details

For each of the calls to the following recursive function be…

For each of the calls to the following recursive function below, indicate what value is printed: void mystery7(string s) { if (s.length()

Read Details

For each of the calls to the following recursive function be…

For each of the calls to the following recursive function below, indicate what value is returned: string mystery6(string s) { if (s.length() == 1) { return “*” + s + “*”; } else if (s.length() % 2 == 0) { string rest = s.substr(1, s.length() – 1); return s[ s.length() – 1 ] + mystery6(rest) + s[ 0 ]; } else { string rest = s.substr(1); return “-” + mystery6(rest); } } mystery6(“hello”) [r1] mystery6(“worlds”) [r2] mystery6(“koala”) [r3]  

Read Details

For each of the calls to the following recursive function be…

For each of the calls to the following recursive function below, indicate what value is printed: void mystery2(string n) { if (n[ 0 ] == ‘c’) { cout

Read Details

For each of the calls to the following recursive function be…

For each of the calls to the following recursive function below, indicate what value is returned: string mystery1 (string s, char c1, char c2) { if (s.empty()) { return s; } else if (s[ 0 ] == c1) { s.erase(s.begin(), s.begin() + 1); s = mystery1(s, c1, c2); s.insert(s.end() – 1, c2); return s; } else { char c3 = s[ 0 ]; s.erase(s.begin(), s.begin() + 1); s = mystery1(s, c1, c2); s.insert(s.end() – 1, c3); return s[ 0 ] + mystery1(s.substr(1),c1, c2); } } mystery1(“crazy raccoons”, ‘c’, ‘k’) [r1] mystery1(“BANANA”, ‘A’, ‘O’) [r2] mystery1(“sessions”, ‘s’, ‘X’) [r3]  

Read Details

For each of the calls to the following recursive function be…

For each of the calls to the following recursive function below, indicate what value is returned: string mystery5(string s) { if (s.length() == 0) { return s; } else if (s.length() % 2 == 0) { string rest = s.substr(0, s.length() – 1); string last = s.substr(s.length() – 1, 1); return last + mystery5(rest); } else { string first = s.substr(0, 1); string rest = s.substr(1); return “(” + first + “)” + mystery5(rest); } } mystery5(“foo”) [r1] mystery5(“kakuro”) [r2] mystery5(“computer”) [r4]

Read Details

Which of the following is not released from the posterior Pi…

Which of the following is not released from the posterior Pituitary gland

Read Details

Posts pagination

Newer posts 1 … 69,947 69,948 69,949 69,950 69,951 … 81,492 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top