<?xml version="1.0" encoding="ISO-8859-1"?>
<CAT xmlns:cat="http://www.w3.org/TR/html4/" version="2.0"> 
<cat:title>File I/O Focused Listing</cat:title>
<cat:author>Tammy VanDeGrift and Kate Deibel</cat:author>
<cat:date>March 30, 2004</cat:date>

<cat:technique>Focused Listing</cat:technique>

<cat:purpose>
<p>
This activity allows instructors to see what terminology students associate with the term "file" in the context of the C programming language.
</p>
</cat:purpose>
<cat:activity>
<p>
At the top of the page, write the word "<i>File</i>". In the time allowed, please write as many words or phrases that you associate with "File". Remember, the term "File" is in reference to programming.
</p>
</cat:activity>
<cat:solution>
<p>
Given the free-form nature of this CAT, student answers will encompass a wide range of possibilities. Primarily, it is important for the instructor to prepare his or her own list based on the class's materials.
</p>

<p>
Here is a sample solution:
</p>

<ul>
<li>collection of data on disk</li>
<li>file name</li>
<li>file handle</li>
<li>stream</li>
<li>input/output</li>
<li>FILE *</li>
<li>EOF (end of file)</li>
<li>fopen/fclose</li>
<li>fscanf/fprintf</li>
<li>file copy</li>
<li>reading/writing data</li>
</ul>
</cat:solution>
<cat:analysis>
<p>
Create your own list and put it aside.
</p>

<p>
Read through the student lists and record entries as either "Good", "Questionable," or "Wrong." Note that you do not have to record every list item.
</p>

<p>
Look over the "Good" entries and add them to you master list if appropriate. Also, select a few entries from the other piles that highlight common misconceptions that you wish to address.
</p>
</cat:analysis>
<cat:variant_uses>
	<cat:variation>Have students work in groups to complete this activity. The instructor may want to circulate throughout the groups to ensure that each group is making progress. After the groups have completed their lists, the instructor can make a composite list with all terminology from every group. As a group adds a new word or phrase, encourage the groups to explain the relationship between their contribution and the concept of a file.</cat:variation>
	<cat:variation>Have students work individually on their lists and then form groups of 4-5 people to discuss their individual lists with other members of the group.</cat:variation>
</cat:variant_uses>
<cat:classification>
<cat:assessment_goals>
	<cat:goal>Learn concepts and theories</cat:goal>
	<cat:goal>Improve skill at paying attention</cat:goal>
	<cat:goal>Improve listening skills</cat:goal>
	<cat:goal>Learn terms and facts of this subject</cat:goal>
</cat:assessment_goals>
<cat:topics>
	<cat:topic>Files</cat:topic>
	<cat:topic>Streams</cat:topic>
	<cat:topic>I/O</cat:topic>
	<cat:topic>Input</cat:topic>
	<cat:topic>Output</cat:topic>
	<cat:topic>C</cat:topic>
</cat:topics>
<cat:participation_level>
</cat:participation_level>
<cat:time>
	<cat:preparation_time>LOW</cat:preparation_time>
	<cat:class_time>LOW</cat:class_time>
	<cat:in_class_analysis_time>LOW</cat:in_class_analysis_time>
	<cat:out_class_analysis_time>LOW</cat:out_class_analysis_time>
</cat:time>
<cat:instructor_response>
	<cat:response>Lecture</cat:response>
	<cat:response>Next Day Summary</cat:response>
</cat:instructor_response>
<cat:device_enabled>Straightforward to Enable</cat:device_enabled>
<cat:related_topics>
	<cat:topic>Buffer</cat:topic>
	<cat:topic>Stream</cat:topic>
	<cat:topic>Character</cat:topic>
	<cat:topic>Print</cat:topic>
	<cat:topic>String</cat:topic>
</cat:related_topics>
</cat:classification>
</CAT>