GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

Ohne Titel

Shahmeran Gilani 16 Fragen

Quiz starten

Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.

Fragen in diesem Quiz (16)

  1. 1You declare an array by putting in its [blank_start]type[blank_end] followed by [] brackets and then the array[blank_start]Name[blank_end];
    1. Atype
    2. BName
  2. 2An array is always [blank_start]zero[blank_end] indexed. an array with [blank_start]n[blank_end] elements is indexed from 0 to [blank_start]n-1[blank_end].
    1. Azero
    2. Bn
    3. Cn-1
  3. 3When we are passing an array to a method, we what are actually doing is passing the entire object to the array
    1. ARichtig
    2. BFalsch
  4. 4When you know how many iterations you need in a loop then you should use a [blank_start]For[blank_end] loop. If you know that you need to do it once, then you should use a [blank_start]Do[blank_end] loop. If you don't know how long you need to loop for then you use a [blank_start]While[blank_end] loop
    1. AFor
    2. BDo-While
    3. CWhile
    4. DMethod call
    5. EDo-While
    6. FWhile
    7. GFor
    8. HMethod call
    9. IWhile
    10. JDo-While
    11. KFor
    12. LMethod call
  5. 5Correctly label the parts of this Method declarationBild zu Frage 5
    1. Acomments
    2. BMethod Signature
    3. CScope
  6. 6Method overloading is when:
    1. AWhen a method has more than one definition and similar parameters
    2. BWhen a method has too much information and will no longer function
    3. CWhen a method has the same name but has distinct parameters and an overall different definition
  7. 7Void methods do not need to return a method
    1. ARichtig
    2. BFalsch
  8. 8Methods of the same name and type and parameter types will work in c#
    1. AYes, because the types are similar and so the program will read both pieces of code
    2. BNo, because in the first method signature, the compiler will see that the same parameter type and will flag that as already defined
  9. 9Step [blank_start]over[blank_end] allows the debugger to continue on a high level to pass the methods. When a method comes of interest, you use Step [blank_start]into[blank_end] to look at what is happening inside the statement/method.
    1. Aover
    2. Bunder
    3. Cthrough
    4. Daway
    5. Einto
    6. Fover
    7. Gthrough
    8. Hunder
  10. 10Methods that return something must have a return statement. Any code after the return statement will be ignored
    1. ARichtig
    2. BFalsch

Informationen

Beschreibung
Exams Fundamental Programing Quiz am Ohne Titel, erstellt von Shahmeran Gilani am 15/07/2016.
Sprache
English
Aufrufe
0
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck