The computer system ____ a file by activating the appropriate secondary storage device and loading the file into memory while updating its records of who is using that file.

A. creates
B. formats
C. allocates
D. configures


Answer: C

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. An object's attributes are specified as part of the object’s class. b. A bank-account object would likely have a balance attribute that represents the amount of money in the account. c. Each bank-account object knows the balance in the account it represents, but not the balances of the other accounts in the bank. d. Attributes are specified by the class’s methods.

Computer Science & Information Technology

What is the result of the following expression?

10 + 5 * 3 - 20 a. -5 b. -50 c. 5 d. 25

Computer Science & Information Technology

The C# compiler always associates an else with the immediately preceding if unless told to do otherwise by the placement of braces ({ and }). This behavior can lead to what is referred to as the dangling-else problem. The indentation of the nested statement

``` if (x > 5) if (y > 5) Console.WriteLine("x and y are > 5"); else Console.WriteLine("x is <= 5"); ``` appears to indicate that if x is greater than 5, the nested if statement determines whether y is also greater than 5. If so, the statement outputs the string "x and y are > 5". Otherwise, it appears that if x is not greater than 5, the else part of the if…else outputs the string "x is <= 5". Beware! This nested if…else statement does not execute as it appears. The compiler actually interprets the statement as ``` if (x > 5) if (y > 5) Console.WriteLine("x and y are > 5"); else Console.WriteLine("x is <= 5"); ``` in which the body of the first if is a nested if…else. The outer if statement tests whether x is greater than 5. If so, execution continues by testing whether y is also greater than 5. If the second condition is true, the proper string—"x and y are > 5"—is displayed. However, if the second con- dition is false, the string "x is <= 5" is displayed, even though we know that x is greater than 5. Equally bad, if the outer if statement’s condition is false, the inner if…else is skipped and nothing is displayed. For this exercise, add braces to the preceding code snippet to force the nested if…else statement to execute as it was originally intended.

Computer Science & Information Technology

Create a list of all students with middle initials (specifically, with a first name AND then a middle initial) AND remove the middle initial from the first name. Take care: some first names are a single initial only. [HINT: use the INSTR function embedded within other functions). (7 rows).

What will be an ideal response?

Computer Science & Information Technology