Filters
Question type

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.

F) None of the above
G) All of the above

Correct Answer

verifed

verified

The Image.FromFile method returns an object of type _____.


A) File
B) Directory
C) Image
D) Picture
E) None of the above.

F) C) and D)
G) None of the above

Correct Answer

verifed

verified

C

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

F) A) and E)
G) B) and C)

Correct Answer

verifed

verified

Keyword _____allows you to access members from a namespace.


A) import
B) using
C) namespace
D) access
E) None of the above.

F) C) and E)
G) All of the above

Correct Answer

verifed

verified

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.

F) D) and E)
G) B) and E)

Correct Answer

verifed

verified

B

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.

F) C) and E)
G) A) and E)

Correct Answer

verifed

verified

E

Showing 1 - 6 of 6

Related Exams

Show Answer