1 / 14

FLIPPED CLASSROOM ACTIVITY CONSTRUCTOR – File Operation in C

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.

vmilton
Download Presentation

FLIPPED CLASSROOM ACTIVITY CONSTRUCTOR – File Operation in C

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. FLIPPED CLASSROOM ACTIVITY CONSTRUCTOR – File Operation in C

  2. Table of Contents

  3. About you Myself R.Nandhini Assistant Professor in Karpagam college of Engineering Topic related to :File Operations in C .

  4. Nandhini R Modes Of File Operation C programming COMPUTER SCIENCE First Year CSE UG Students Karpagam college of Engineering

  5. 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

  6. 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.

  7. Out-of-class Activity Design - 3 Aligning Assessment with Learning Objective

  8. Out-of-class Activity Design - 3

  9. Out-of-class Activity Design - 3

  10. 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

  11. In-class Activity Design -2 Active Learning activity(ies) that you plan to do Real world problem solving using. Think-Pair-Share EXAMPLE

  12. 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

  13. 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

  14. 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

More Related