Setting the BorderStyle property to Outset makes a control appear ______.

a) raised
b) with a bold border
c) with the specified border width
d) with the specified border color


Answer: A

Computer Science & Information Technology

You might also like to view...

Which of the following variable types can hold a value of either true or false?

a. Number b. Boolean c. Object d. String e. None of these

Computer Science & Information Technology

Write a function that takes a directory name as an argument and writes to standard output the maximum of the lengths of all filenames in that directory. If the function’s argument is not a directory name, write an error message to standard output and exit with nonzero status.

What will be an ideal response?

Computer Science & Information Technology

sum and item are initialized to 0 before the loop. In the loop, item++ increments item by 1 and item is then added to sum. If sum > 4, the break statement exits the loop. item is initially 0, then 1, 2, 3 and sum is initially 0, and then 1, 3, and 6. When sum is 6, (sum > 4) is true, which causes the break statement to be executed. So, the correct answer is B.

``` int number = 25; int i; boolean isPrime = true; for (i = 2; i < number && isPrime; i++) { if (number % i == 0) { isPrime = false; } } System.out.println("i is " + i + " isPrime is " + isPrime); ``` a. i is 5 isPrime is true b. i is 5 isPrime is false c. i is 6 isPrime is true d. i is 6 isPrime is false

Computer Science & Information Technology

____ fields allow users to browse to a file on their computer and upload it to the form host web server.

A. Upload B. File C. Indexed D. Text

Computer Science & Information Technology