From 998c1210f20a139d7e78ba9e18aee6172d77e00f Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Fri, 15 Mar 2024 13:59:16 -0400 Subject: [PATCH] adding discussion --- hws/discussions/search_engine.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 hws/discussions/search_engine.txt diff --git a/hws/discussions/search_engine.txt b/hws/discussions/search_engine.txt new file mode 100644 index 0000000..6f66889 --- /dev/null +++ b/hws/discussions/search_engine.txt @@ -0,0 +1,10 @@ +In-class discussion + +Discuss the following questions with students around you. + +1. How many maps are needed in this program? In each map, we map what to what? +2. Unlike all previous homeworks, in this homework, the output file is not specified from the command line, so how do handle this situation and still print the results into the right output file? + +3. During the development of this program, there will be multiple situations when we need to consider the word boundary, what are these situations? + +4. What shall we do in the main function?