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

Quiz

go part1

Khamit Zhussip 44 Fragen

Quiz starten

Fragen in diesem Quiz (44)

  1. 1The program starts running in
    1. Apackage main
    2. Bpackage extra
    3. Cpackage start
    4. Dpackage go
  2. 2Where was the language Go created?
    1. AGoogle
    2. BApple
    3. CAmazon
    4. DFacebook
  3. 3The notation of logical NOT operator in a Go program is
    1. A!
    2. B^
    3. C;
    4. D-
  4. 4What is the minimum number of times a do loop would definitely get executed?
    1. A0
    2. B1
    3. C2
    4. D3
  5. 5What is the purpose of break statement?
    1. Aterminates the for loop or switch statement and transfers execution to the statement immediately following the for loop or switch.
    2. Bcauses the loop to skip the remainder of its body and immediately retest its condition prior to reiterating.
    3. Crequires compiler to interpret the type of variable based on value passed to it.
    4. Dtransfers control to the labeled statement.
  6. 6What is the purpose of continue statement?
    1. Acauses the loop to skip the remainder of its body and immediately retest its condition prior to reiterating.
    2. Bterminates the for loop or switch statement and transfers execution to the statement immediately following the for loop or switch.
    3. Ctransfers control to the labeled statement.
    4. DNone of the above
  7. 7What is default value of a global variable in Go?
    1. A0
    2. B1
    3. C2
    4. D3
  8. 8What is default value of a local variable in Go?
    1. A0
    2. B1
    3. C2
    4. D3
  9. 9What is default value of a pointer variable in Go?
    1. Anil
    2. Btrue
    3. Cfalse
    4. D1
  10. 10What is an array?
    1. AA Collection of similar data items under a common name.
    2. BA Collection of fields
    3. CA set of method signatures
    4. DNone of the above

Informationen

Beschreibung
khann
Sprache
English
Aufrufe
28
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Mehr zu Go Programming

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck