Quiz
Untitled
This quiz has question types that open in the usual player.
Questions in this quiz (16)
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];
- Atype
- BName
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].
- Azero
- Bn
- Cn-1
3When we are passing an array to a method, we what are actually doing is passing the entire object to the array
- ATrue
- BFalse
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
- AFor
- BDo-While
- CWhile
- DMethod call
- EDo-While
- FWhile
- GFor
- HMethod call
- IWhile
- JDo-While
- KFor
- LMethod call
5Correctly label the parts of this Method declaration

- Acomments
- BMethod Signature
- CScope
6Method overloading is when:
- AWhen a method has more than one definition and similar parameters
- BWhen a method has too much information and will no longer function
- CWhen a method has the same name but has distinct parameters and an overall different definition
7Void methods do not need to return a method
- ATrue
- BFalse
8Methods of the same name and type and parameter types will work in c#
- AYes, because the types are similar and so the program will read both pieces of code
- BNo, because in the first method signature, the compiler will see that the same parameter type and will flag that as already defined
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.
- Aover
- Bunder
- Cthrough
- Daway
- Einto
- Fover
- Gthrough
- Hunder
10Methods that return something must have a return statement. Any code after the return statement will be ignored
- ATrue
- BFalse
11Drag and drop the label with the options

- AMethod: No parameters and no Return
- BMethod : Take Parameter but no Return
- CMethod: No Parameters but will Return
12A Method Signature contains [blank_start]Parameters[blank_end] where as a Call to a method (Method call)) contains [blank_start]Arguments[blank_end].
- AParameters
- BArguments
- CPlaceholders
- DVariables
- EArguments
- FParameters
- GPlaceholders
- HVariables
13A Method Signature contains:
- AA. Description of the method usage
- BB. Contains the type
- CC. Contains the name
- DD. Contains arguments
- EAll of the above
- Fonly A and B
14The new operator is used to create objects
- ATrue
- BFalse
15The number of dimensions and the length of each dimension can be changed even after an array instance is created
- ATrue
- BFalse
16Array elements can be of any type, including an array type.
- ATrue
- BFalse
Information
- Description
- Exams Fundamental Programing Quiz on Untitled, created by Shahmeran Gilani on 15/07/2016.
- Author
- Shahmeran Gilani
- Language
- English
- Views
- 0
- Tags
- Rating
- No ratings yet Rate this quiz