Ovido
Language
  • English
  • Spanish
  • French
  • Portuguese
  • German
  • Italian
  • Dutch
  • Swedish
Text
  • Uppercase

User

  • Log in
  • Create account
  • Upgrade to Premium
Ovido
  • Home
  • Log in
  • Create account

C# Chapter 3 Part 1

All Main( ) method headings must include the ____________ modifier meaning that the method belongs to the type itself rather than to a specific object of a class.

static

Call by ____________ is the default parameter type.

value

The ____________ type is always listed immediately preceding the name of the method.

return

If a method does not return a value, the void keyword is placed inside the parentheses in the method heading.
True or False

False

One way to ensure that you have one entry and one exit from a method is to include a single return statement as the last statement in the method.
True or False

True

public static void Main( )

The access modifier in the heading above is the keyword ____.

public

The primary difference between call by reference using ref versus out is ____.

​ref requires the original argument be initialized, out doesn't

The ____ of an identifier is the region of the program in which that identifier is usable.

scope

Calls to ____ methods use the class identifier instead of the object identifier as the method qualifier.

static

The Read( ) method ____.

returns an int

The first line of a method is called the ____ of the method.

heading

Which method returns the largest whole number less than or equal to the specified number?

Floor( )

When you assign a default value to a parameter, it then becomes a(n) ____.

optional parameter

The definition of the method ____.

includes the heading and the body

WriteLine("Final Grade = {0:N2}", CalculateGrade(90, 75, 83));

In the statement above, the values placed inside the parentheses following CalculateGrade are ____.

arguments to the method

When a distinction is made between parameters and arguments, ____.

formal parameters appear in the method heading

double answer = Math.Pow(3, 2);

The result of the call to Math.Pow( ) in the above statement is to store ____ in answer:

9

A method that does not return any value on exit, ____.

must be defined to have a void return type

The ____ parameter type cannot be used unless the original argument is initialized before it is sent to the method.

ref

The return type is physically placed ____.

immediately preceding the name of the method

Avoid writing long methods. Consider refactoring when the method exceeds ____________ lines of code

25

____________ is an overloaded method of the Math class that returns the larger of two

Max( )

Methods that use the static modifier are called _________ methods.

class

The accessibility modifier identifies what type of value is returned when the method is completed.
True or False

False

A namespace is really nothing more than a group of statements placed together under a single
True or False

False

____ is added to hold the screen when the program runs.

Read( )

Unless a using statement is added to include the Math class, calls to members like Round( ), Max( ), and Exp( ), must be called using the class name, because they are all ____.

static methods

Quiz
C# Chapter 2 Part 2
C# Chapter 2 Part 1
C# Chapter 1 part 2
C# Chapter 1 part 1
Kapitel 4
KOTOBA PM LEMBAR 6
Kaptiel 3
Cognitive psychology attention
76-100
قیافه شناسی
marketing
Paris Basin
انتقال ها
Market Studies
Many Kingdoms
SCI-401
Pacial Gine
morfologia das articulações
articulacoes
articulações anatomia humana
Spanska v. 40
Forensic Toxicology
Math, Unit 2 Quiz
Blodet
kap 1
BLED CHAP 12
TLE (tech) (1st exam)
BLED CHAP 11
integumentary
CHAPTER 3: TYPICAL SIGNS AND SYMPTOMS OF PSYCHOPATHOLOGY (PART 2)
ekologi
Analyse qualitative des données
Spanska - djur 1
Spanska - djur
Sociologie des mobillité
tyska glosor
Handel och logistik - kopia
Modals
KOTOBA PM LEMBAR 5
Drinkar 2
Merkantilism
Keynesianismen
Kanji 一
Handel och logistik
aparato reproductor femenino
51-75
Math GRE
BAB 25
la materia y sus interacciones
endocrinologia