Assessment Tool
Lecture 21: File Input/Output
Content Tested: Files
Lecture Content:
-
External disk files
-
Opening files for reading/writing
-
File variables
-
File I/O
-
Closing files
Goals:
-
Learn concepts and theories
-
Improve skill at paying attention
-
Improve listening skills
-
Learn terms and facts of this subject
Assessment Technique: Focused Listing
Purpose:
This activity allows instructors to see what terminology students associate
with the term "file" in the context of the C programming language.
Activity: Terminology is an important aspect when learning how
to program. At the top of a sheet of paper, write the word "File".
Write as many words or phrases under the word "file" that you associate
with files in the context of C programming.
Possible Answers:
-
collection of data on disk
-
file name
-
file handle
-
stream
-
input/output
-
FILE *
-
EOF (end of file)
-
fopen/fclose
-
fscanf/fprintf
-
file copy
-
reading/writing data
Possible Uses of Activity:
-
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.
-
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.