What kind of exception is thrown if there’s a problem opening or creating a StreamWriter?
a) Exception
b) StreamException
c) OpenAndCreatingException
d) IOException
d) IOException
You might also like to view...
Answer the following questions true (T) or false (F)
1. True/False: A function’s name may be assigned a value in the code that defines it. 2. True/False: The value of Int(-35.8) is 35. 3. True/False: To solve the problem of how to code a repeated multiplication problem, recursion must be used.
Answer the following statements true (T) or false (F)
1) Function float converts its argument to a floating-point value. 2) The exponentiation operator ** associates left to right. 3) Function call range( 1, 10 ) returns the sequence 1 to 10, inclusive. 4) Sentinel-controlled repetition uses a counter variable to control the number of times a set of instructions executes. 5) The symbol = tests for equality.
The name of a function is AnalyzeData. It takes one argument – an array of ints with 20 values named Scores. It returns an int data type. Which of these protypes is correct?
A. void AnalyzeData(int Scores[], 20); B. int AnalyzeData(int Scores[]); C. int AnalyzeData(int total, int Scores); D. int AnalyzeData(int[20]);
The possible dimensions of 3D Maps are location, height, category, and ________.
Fill in the blank(s) with the appropriate word(s).