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

Quiz

chapter 5

jason wheeler 10 Fragen

Quiz starten

Dieses Quiz hat ein Zeitlimit und öffnet sich deshalb im gewohnten Player.

Fragen in diesem Quiz (10)

  1. 1what functions does methods serves?
    1. Abreak problems into smaller parts
    2. Bmake problems harder
    3. Cmake the program eaiser to read
  2. 2Choose all of the method calls that are correct
    1. Adisplay messege();
    2. Bdisplaymessege();
    3. Canswersolver(10);
    4. Danswer solver(10);
  3. 3which line shows how to write the method header that goes with this call answerSolver(10); with the variable name being starternumber
    1. Apublic static answerSolver(starternumber)
    2. Bpublic static int answerSolver(starternumber)
    3. Cpublic static int answerSolver(10)
    4. Dpublic static answerSolver(10)
  4. 4which will return the varible answer
    1. Areturn answer
    2. Breturn answer;
  5. 5which of the answer below is a method commet starter?
    1. A//
    2. B*/
    3. C/**
    4. D/*
  6. 6using more than one method in a program can make your problem [blank_start]easier[blank_end] to figure out. Method headers have [blank_start]four[blank_end] parts. the first part is the [blank_start]availability[blank_end] for other classes. The second part is the [blank_start]method type[blank_end]. the third part is the [blank_start]name[blank_end]. the last part is the [blank_start]parenthesis[blank_end]. To go to a [blank_start]non-main[blank_end] method in the program type the method name, then the parenthesis, and last the semicolon. if you want to have a return value in the method call type the [blank_start]value[blank_end] in the parenthesis. then in the method header type [blank_start]static[blank_end] for the method type. then type the [blank_start]return type[blank_end], and last type in the parenthesis the [blank_start]varible name[blank_end].
    1. Aeasier
    2. Bharder
    3. Cfour
    4. Dthree
    5. Etwo
    6. Favailability
    7. Gsolve
    8. Hproblem
    9. Ireturn value
    10. Jmethod type
    11. Kbreaker
    12. Lname
    13. Mparenthesis
    14. Nnon-main
    15. Omain
    16. Pvalue
    17. Qholder
    18. Rstatic
    19. Svoid
    20. Treturn type
    21. Uint
    22. Vvarible name
    23. Wvalue name
  7. 7true or fase void aurgements ternamets right away
    1. ARichtig
    2. BFalsch
  8. 8how do you make a method that returns a bolean expression
    1. Apublic static boolean isValid(datatype number)
    2. Bpublic static Boolean isValid(datatype number)
    3. Cpublic static boolean isvalid(datatype number)
    4. Dpublic static Boolean isvalid(datatype number
  9. 9how do you write a string returning method with the name is findLastName, and the string name is first, and last.
    1. Apublic static String findLastName(String first, String last)
    2. Bpublic static string findLastName(String first, String last)
    3. Cpublic static String findLastName(string first, string last)
    4. Dpublic static string findLastName(string first, string last)
  10. 10you can change string value.
    1. ARichtig
    2. BFalsch

Informationen

Beschreibung
computer science Quiz am chapter 5, erstellt von jason wheeler am 06/12/2016.
Sprache
English
Aufrufe
0
Schlagwörter
computer science
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck