What file holds the preferences and settings of the currently signed-in user?
A. ntprofile.dat
B. ntuser.dat
C. profile.ini
D. userconfig.ini
Answer: B
You might also like to view...
Which of the following statements is false?
a. All exceptions must derive from the class Throwable. b. The class Throwable provides the method getStackTrace that outputs the stack trace to the standard error stream. c. The class Throwable provides the method getMessage that returns the descriptive string stored in an exception. d. The string returned from class Throwable’s getMessage method contains the name of the exception’s class.
It is a common practice to begin a procedure name with a verb and to enter the name using ____ case.
A. Camel B. Hungarian C. Pascal D. Capitalized
Which of the following is NOT a phase in the system development life cycle?
A. needs assessment B. security audit C. system implementation D. performance monitoring
What is the following code an implementation of?
public class Program { public static void main(String[] args) { String text = "ABAACAADAABAAABAA"; String pattern = "AABA"; System.out.println("match found at position: " + search(text, pattern)); } static int search(String text, String pattern) { int R = 256; int[] right = new int[R]; for (int i = 0; i < R; i++ ) { right[i] = -1; } for (int j = 0; j < pattern.length(); j++ ) { right[pattern.charAt(j)] = j; } int m = pattern.length(); int n = text.length(); int skip; for (int i = 0; i <= n - m; i += skip) { skip = 0; for (int j = m-1; j >= 0; j--) { if (pattern.charAt(j) != text.charAt(i+j)) { skip = Math.max(1, j - right[text.charAt(i+j)]); break; } } if (skip == 0) return i; } return n; } } a. Boyer-Moore algorithm b. Naive search algorithm c. Rabin-Karp algorithm d. Knuth-Morris-Pratt algorithm