Case-Based Critical Thinking QuestionsCase 1: Human Resources ApplicationAn application used by the human resources (HR) department needs to be improved. You need to use various string manipulation properties and methods to ensure all data entered by a user are accurate and stored correctly.
The application needs to process benefits for full-time employees only. Which of the following statements determines whether the strEmpCode variable contains an employee code for a full-time employee?

A. If strEmpCode Like "[A-Z]#####"
B. If strEmpCode.ToUpper Like "F####"
C. If strEmpCode Like "F*"
D. If strEmpCode Like "!F*"


Answer: C

Computer Science & Information Technology

You might also like to view...

Which is the proper way to create a built-in array of structure variables of type Data?

a. MyArray Data[10] b. Data MyArray[10]; c. Data struct myArray[10]; d. struct MyArray[Data];

Computer Science & Information Technology

You can modify data within a field using Backspace, Delete, and typing keys. To complete the modification you should press the _____ key.

A. Ctrl + Shift B. Esc C. Enter D. Shift + Enter

Computer Science & Information Technology

A ________ is a type of Sub procedure that is only accessible by other procedures in the module in which it is located

A) Private Sub B) Subcommand C) Subcode D) Submodule

Computer Science & Information Technology

A ________ is an object, such as a label or text box, in a form or report that enables you to view or manipulate information stored in tables or queries

A) control B) field C) property D) record

Computer Science & Information Technology