Untitled Flashcards Set
Flashcard 1: Segment 1 - Full Input + List + Function Call
Question: What does this segment do and how does it support the purpose? Answer: It collects user input, stores it in a list, sends it to a function, and prints the result. This starts the evaluation process.
Question: Identify a list and explain how it manages complexity. Answer: The list ecs
stores input. It manages complexity by grouping responses in one structure.
Question: Identify a student-developed abstraction and explain how it manages complexity. Answer: The list ecs
is a student-developed abstraction. It hides complexity by treating user input as one object passed to a function.
Flashcard 2: Segment 2 - Input + Append Only
Question: What does this segment do and how does it help the program? Answer: It takes user input and stores it in a list for later evaluation.
Question: Identify a list and explain how it helps manage complexity. Answer: The list ecs
holds user input. It simplifies the program by keeping all inputs in one place.
Question: Describe how data is passed between components. Answer: Input is added to the list ecs
, which is later passed to a function for analysis.
Flashcard 3: Segment 3 - Keyword Matching Algorithm
Question: Describe what this algorithm does (input/output). Answer: It takes a list of activities and outputs a score based on matched keywords.
Question: Explain how your algorithm works. Answer: It removes punctuation, splits text into words, and adds to the count when a word matches a keyword.
Question: Identify use of selection and iteration. Answer: It uses two for
loops for iteration and an if
statement for selection.
Question: How does the algorithm help solve the problem? Answer: It automates the scoring of extracurriculars by checking for strong terms.