Operating Systems and Systems Integration Quiz 9: Shell Programming, Secure Shell Do not refer to any printed material. No talking or discussion is allowed until the answer sheets are all collected. Review: 1. Which of the following software fully supports regular expressions: (A) Java (B) Microsoft Word (C) VB.NET (D) C# (E) All the above 2. Only one of the following regular expressions matches a line that contains exactly five characters: (A) ’.....’ (B) ’{5}’ (C) ’*****’ (D) ’?????’ (E) ’^.....$’ 3. Which of the following regular expressions matches at least three letter ‘a’s anywhere on the line, i.e., even if there are any number of other characters between the ‘a’s? (A) ’a.*a.*a’ (B) ’aaa’ (C) ’a{3}’ (D) ’a?a?a’ (E) ’^AAA$’ Preparation: 4. Secure Shell is: (A) what Nick uses to connect to his desktop machine to show the lectures and laboratory work (B) not useful for remote administration (C) always requires you to use a special hardware password device to authenticate yourself, rather like a pocket calculator (D) is just another name for bash (E) is not useful for port forwarding, or carrying other network traffic, and does not use encryption 5. awk is: (A) a programming language useful for separating input data into columns and operating on them (B) short for awkward, because the syntax is very different from Java, and is rather awkward to learn (C) short for “apples, watermellon and kumquat” (D) does not support regular expressions (E) another word for metacharacter Nick Urbanik ver. 1.0