140 likes | 152 Vues
Engage Computer Science first-year students in C programming file operations with out-of-class and in-class activities. Covers fopen, fread, fwrite, fclose concepts.
E N D
FLIPPED CLASSROOM ACTIVITY CONSTRUCTOR – File Operation in C
About you Myself R.Nandhini Assistant Professor in Karpagam college of Engineering Topic related to :File Operations in C .
Nandhini R Modes Of File Operation C programming COMPUTER SCIENCE First Year CSE UG Students Karpagam college of Engineering
Out-of-class Activity Design-1 Learning Objective(s) of Out-of-Class Activity At the end of watching the videos student should be able to They will write the code by their own and learn basics in it. Key Concept(s) to be covered fopen Freadfwrite fclose
Out-of-class Activity Design - 2 Main Video Source URL https://www.youtube.com/watch?v=l3ftvyWpLYI License of Video Standard YouTube License Mapping Concept to Video Source TOTAL DURATION 12:01 * It is recommended to provide customized shortened URLs, as they are easier to remember for future use. ** It is recommended that total duration of video watching and activity should not be more than 1Lecture duration.
Out-of-class Activity Design - 3 Aligning Assessment with Learning Objective
In-class Activity Design -1 Learning Objective(s) of In-Class Activity At the end of the class, students will be able to, • Solve example programs involving the concept of file opeartion • Identify the each concept in file operaton • Key Concept(s) to be covered • File Operation EXAMPLE
In-class Activity Design -2 Active Learning activity(ies) that you plan to do Real world problem solving using. Think-Pair-Share EXAMPLE
In-class Activity Design -2 Think Pair Share Example program to enter name and age using file operation #include<stdio.h> structemp { char name[10]; int age; void main() { structemp e; FILE *p,*q; p = fopen("one.txt", "a"); q = fopen("one.txt", "r"); printf("Enter Name and Age:"); scanf("%s %d", e.name, &e.age); fprintf(p,"%s %d", e.name, e.age); fclose(p); do { fscanf(q,"%s %d", e.name, e.age); printf("%s %d", e.name, e.age); } while(!feof(q)); } EXAMPLE
In-class Activity Design -2 TPS Instruction Strategy – What Teacher Does Think(5 minutes) Provide the question and ask students to think of syntax Pair(8-10minutes) Now pair and compare the answers and find the correct answer. Also point out the difficulty that you faced while writing code. Share (15minutes) Explain the concept EXAMPLE
In-class Activity Design -2 Justify why the above is an active learning strategy In both the above strategies, students are required to go beyond mere listening and execution of prescribed steps. They are required to think deeply about the content they were familiarized in out-of-class and do higher order thinking. There is also feedback providing Here they also evaluating the utility value from the given objective function rather than simply taking the value. EXAMPLE