Case based critical thinking
?
Case 13-5
?
William is exploring the syntax of regular expressions. He learns that in the regular expression language, a word refers to any string of symbols consisting solely of word characters. He also learns that word boundaries are indicated by the\bsymbol. He wants to use a pattern that matches any word that starts with the characters "great" such as "greater", "greatness", or "greatest"
Which of the following patterns should William use to match any word that ends with "ust" such as "dust", "trust", or "must"?
A. /ust\b/
B. /\bust/
C. \bust/
D. /b\ust/
Answer: A
You might also like to view...
The ________ MIME field is a text description of the object with the body; this is useful when the object is not readable (e.g. audio data).
A. Content-Type B. Content-Description C. Content-ID D. Content-Transfer-Encoding
List the three basic types of analog modulation.
What will be an ideal response?
Critical Thinking QuestionsCase 2-2Anna is a competitive runner. She wants to improve her performance and decides to keep track of data for six months to determine if the time of day or year she runs affects her performance. Her worksheet contains the following data: start and end time, total time, and distance.After three months, Anna wants to the know the average distance she runs. What should she do to calculate the average distance?
a.Enter the text =av in a cell at the end of the distance data; then select the AVERAGE function from the Formula AutoComplete list and then enter the function's argument.c.Enter the text =function in a cell at the end of the distance data; then select the AVERAGE function from the AutoFunction list and then enter the function's argument.b.Enter the text =ms in a cell at the end of the distance data; then select the MAX function from the Formula AutoComplete list and then enter the function's argument.d.Enter the text =su at the end of the data in the Distance column; then select the SUM function from the Select Function list and then enter the function's argument. What will be an ideal response?
____ refers to the level at which you can see through a color to reveal the layer beneath it.
a. Pixel b. Saturation c. Opacity d. Blocking