In: Computer Science
C#
1.Visual Studio .NET’s ___________ feature displays all the members in a class
a.real-time error checking
b.Quick Info
c.outlined code
d.Intellisense
2.An algorithm specifies the actions to be executed.
True
False
3.A(n) _________ occurs when an executed statement does not directly follow the previously executed statement in the written application.
a.unordered execution
b.transfer of control
c.action state
d.jump
4.The declarations and statements that compose the method definition are called the __________.
a.method body
b.method header
c.parameter list
d.method name
5.The word directly following the return type (in a method header) is called the ___________.
a.method body
b.parameter list
c.argument
d.method name
6.Declaring a variable in the method’s body with the same name as a parameter variable in the method header is ___________.
a.a syntax error
b.a logic error
c.a logic error
d.not an error
e.a common programming practice
7.Failing to return a value from a non-void method __________.
a.is a syntax error
b.causes the application to fail
c.causes the method to return the default value for the return-type
d.causes the method to return the value 0
8.A(n) ____________ conversion occurs when C# converts one data type to another and the programmer has not provided code to perform the conversion.
a.explicit
b.implicit
c.narrowing conversion
d.widening
9.Statements using the ___________ class are explicit conversions.
a.Explicit
b.Convert
c.ExplicitConvert
d.ConvertType
10.If a local variable in a called method shares its name with a variable with class scope, then ____________.
a.a syntax error occurs
b.the local variable is assigned the value of the class scope variable
c.the class scope variable is hidden until the called method terminates execution
d.the local variable is hidden until the called method terminates execution
11.When an argument is passed ______________, the called method can access and modify the caller’s original data directly.
a.either by value or by reference
b.by value
c.using keyword ref
12.Enumerations can contain ___________ values.
a.only unique
b.an indefinite number of
c.up to 10
d.up to 100
13.To access a member of an enumeration, follow the enumeration name with __________ the member name.
a.a dot, followed by
b.parentheses surrounding
c.parentheses surrounding
d.a comma, followed by
e.an underscore character, followed by
14.Attempting to access an element in an array by using an index outside the array’s bounds _________.
a.is a syntax error
b.is an array-time error
c.is a run-time error
d.returns the data-type’s default value
e.returns the value of the last value in the array
Solution
--
solved first half of the question, really sorry for that
please post remaining question separately, love to answer
all the best