Deck 15: Fund Raiser Application
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/7
العب
ملء الشاشة (f)
Deck 15: Fund Raiser Application
1
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
E) None of the above.
A) explicit
B) implicit
C) narrowing conversion
D) widening
E) None of the above.
implicit
2
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
E) None of the above.
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
E) None of the above.
the class scope variable is hidden until the called method terminates execution
3
Statements using the_____ class are explicit conversions.
A) Explicit
B) Convert
C) ExplicitConvert
D) ConvertType
E) None of the above.
A) Explicit
B) Convert
C) ExplicitConvert
D) ConvertType
E) None of the above.
Convert
4
A(n)_______ variable cannot be referenced outside of the block in which it is declared.
A) scope
B) local
C) restricted
D) restricted global
E) Both c and d.
A) scope
B) local
C) restricted
D) restricted global
E) Both c and d.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 7 في هذه المجموعة.
فتح الحزمة
k this deck
5
A(n)_____ occurs when there is potential for data loss during the conversion.
A) narrowing conversion
B) widening conversion
C) mixed-type expression
D) explicit conversion
E) None of the above.
A) narrowing conversion
B) widening conversion
C) mixed-type expression
D) explicit conversion
E) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 7 في هذه المجموعة.
فتح الحزمة
k this deck
6
Keyword______ indicated pass-by-value.
A) byval
B) val
C) passByVal
D) ref
E) No keyword is necessary, because pass-by value is the default
A) byval
B) val
C) passByVal
D) ref
E) No keyword is necessary, because pass-by value is the default
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 7 في هذه المجموعة.
فتح الحزمة
k this deck
7
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 out
D) using keyword ref
E) Either c or d.
A) either by value or by reference
B) by value
C) using keyword out
D) using keyword ref
E) Either c or d.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 7 في هذه المجموعة.
فتح الحزمة
k this deck

