COS2611 Programming Data Structures

University of South Africa

Hier vind je de beste samenvattingen om te slagen voor COS2611 Programming Data Structures. Er zijn o.a. samenvattingen, aantekeningen en oefenvragen beschikbaar.

Alle 3 resultaten

Sorteer op:

May/June 2020 COS2611 Programming: Data Structures
  • Tentamen (uitwerkingen)

    May/June 2020 COS2611 Programming: Data Structures

  • UNIVERSITY EXAMINATIONS May/June 2020 COS2611 Programming: Data Structures 70 Marks 3 Hours This paper consists of 10 pages including Appendix A, B and C (pp 9-10). Instructions: 1. Answer all questions. 2. The total marks for this examination is 70 marks. 3. The mark for each question is indicated in brackets next to the question. 4. If you do not submit your work on or before the indicated time, for whatever reason, you will be marked as absent. In that case, you will be automatica...
  • ExellentStudyResources
    $3.99 Meer Info
May/June 2020 COS2611 Programming: Data Structures
  • Tentamen (uitwerkingen)

    May/June 2020 COS2611 Programming: Data Structures

  • Question 1 Program Analysis [10] For each of the following questions choose the correct alternative. Questions 1.1, 1.2 and 1.3 refer to the following code fragment. 1 for(int j = 10; j <= n; j++ ) 2 for(int k = 1; k <= n; k*=2 ) 3 sum++; 4 for(int p = n; p > 1; p/=2 ) 5 for(int q = 0; q < 500; q+=4 ) 6 sum--; 1.1. How many times is statement 3 executed? A. O(N) B. O(N2 ) C. O(N3 ) D. O(N log N) E. O(log N) 1.2. How many times is statement 6 executed? A. O(N) B. O(...
  • LOVELY01
    $3.69 Meer Info
COS2611 - Programming Data Structures
  • Tentamen (uitwerkingen)

    COS2611 - Programming Data Structures

  • COS2611 - Programming Data Structures Contents Appendix A: INTRODUCTION TO ALGORITHMS ANALYSIS (Big O) (p1 – 9 [9])...............................................................2 Chapter 3: Pointers and Array-Based Lists (p131 – 186 [55]).........................................................................................7 Pointers.............................................................................................................................................................
  • LOVELY01
    $3.89 Meer Info
Wekelijks betaald worden? Kan gewoon!
Die samenvatting die je net hebt gekocht, heeft iemand erg blij gemaakt. Ook wekelijks uitbetaald krijgen? Verkoop je studiedocumenten op Stuvia!