1.

Which of the following statements about parameters in Go is correct:

 

  1. The parameters that are sent to a function at the calling end of a function definition are known as actual parameters.

  2. The parameters that are received at the receiving end of a function definition are known as formal parameters.


  3.  
2.
Which of the following control statements is available in Go?
3.
Which of the following will you use to link a Go program with a C or C++ program?
4.
How to access command line arguments passed to a 'Go' program?
5.
Which of the following import paths is used by a package in a Go program?
6.

Which of the following statements about string literals is correct:

 

  1. Raw string literals: The value of a string literal is the string that is composed of an uninterrupted character sequence within backquotes.

  2. Interpreted string literals: The value of a string literal is the text which does not have newlines and which is enclosed within the double quotes.


  3.  
7.
Which of the following is the built-in-support in Go?
8.
What does a Go program comprise?
9.

Which of the following statements about arrays and structs is correct in Go:

 

  1. Arrays are homogeneous (their elements are of the same type).

  2. Structs are heterogeneous.

  3. Arrays are heterogeneous whereas structs are homogeneous.


  4.  
10.

If x=0 and y=1, then what is the value of the following expression in Go:

 

  1. x & y = ?

  2. x | y = ? 

  3. x^y = ?


  4.