Deck 16: Craps Game Application

ملء الشاشة (f)
exit full mode
سؤال
Which of the following produces integers in the range from 10-30, inclusive?

A) 10 + objRandom.Next( 21 );
B) 10 + objRandom.Next( 30 );
C) objRandom.Next( 10, 30 );
D) objRandom.Next( 10, 31 );
E) Both a and d.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Numbers generated when the Next method is called on a Random object are _____.

A) random numbers
B) pseudorandom numbers
C) int values
D) double values
E) Both b and c.
سؤال
The Image.FromFile method returns an object of type _____.

A) File
B) Directory
C) Image
D) Picture
E) None of the above.
سؤال
To access a member of an enumeration, follow the enumeration name with______ the member name.

A) a dot, followed by
B) parentheses surrounding
C) a space, followed by
D) a comma, followed by
E) an underscore character, followed by
سؤال
Keyword _____allows you to access members from a namespace.

A) import
B) using
C) namespace
D) access
E) None of the above.
سؤال
Enumerations can contain_____ values.

A) only unique
B) an indefinite number of
C) up to 10
D) up to 100
E) Both a. and b.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/6
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 16: Craps Game Application
1
Which of the following produces integers in the range from 10-30, inclusive?

A) 10 + objRandom.Next( 21 );
B) 10 + objRandom.Next( 30 );
C) objRandom.Next( 10, 30 );
D) objRandom.Next( 10, 31 );
E) Both a and d.
E
2
Numbers generated when the Next method is called on a Random object are _____.

A) random numbers
B) pseudorandom numbers
C) int values
D) double values
E) Both b and c.
Both b and c.
3
The Image.FromFile method returns an object of type _____.

A) File
B) Directory
C) Image
D) Picture
E) None of the above.
Image
4
To access a member of an enumeration, follow the enumeration name with______ the member name.

A) a dot, followed by
B) parentheses surrounding
C) a space, followed by
D) a comma, followed by
E) an underscore character, followed by
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 6 في هذه المجموعة.
فتح الحزمة
k this deck
5
Keyword _____allows you to access members from a namespace.

A) import
B) using
C) namespace
D) access
E) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 6 في هذه المجموعة.
فتح الحزمة
k this deck
6
Enumerations can contain_____ values.

A) only unique
B) an indefinite number of
C) up to 10
D) up to 100
E) Both a. and b.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 6 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 6 في هذه المجموعة.