Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect M1 P. 1Winter Quarter Midterm I Review Topics.

Slides:



Advertisements
Similar presentations
Introduction to C Programming
Advertisements

File Management in C. What is a File? A file is a collection of related data that a computers treats as a single unit. Computers store files to secondary.
Introduction to C Systems Programming Concepts. Introduction to C A simple C Program A simple C Program –Variable Declarations –printf ( ) Compiling and.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 10P. 1Winter Quarter Repetition Structures.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect FXP. 1Winter Quarter Course Wrap Up and Final Review Topics Lecture.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 16P. 1Winter Quarter Strings Lecture 16.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 12P. 1Winter Quarter User-Written Functions.
Engineering EG167C - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect M1 P. 1Winter Quarter Midterm I Review.
BITS Pilani, Pilani Campus TA C252 Computer Programming - II Vikas Singh File Handling.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect FXP. 1Winter Quarter Course Wrap Up and.
COMP1180 Review Date: 4 March, 2009 Time: 10:30am - 12:20pm Venue: –CS students -- FSC801C and FSC801D –IS and other students -- OEE1017 Remarks: – 1)
1 CSE1301 Computer Programming: Revision 1. 2 Topics Type of questions What do you need to know? About the exam Exam technique Staff consultation Sample.
C Programming Basics Lecture 5 Engineering H192 Winter 2005 Lecture 05
Review for midterm exam Dilshad M. Shahid Spring NYU.
1 CSE1301 Computer Programming: Lecture 35 Revision.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 13P. 1Winter Quarter Scope of Variables.
Software Design Project
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 11P. 1Winter Quarter Arrays Lecture 11.
Topic R3 – Review for the Final Exam. CISC 105 – Review for the Final Exam Exam Date & Time and Exam Format The final exam is 120-minutes, closed- book,
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 6P. 1Winter Quarter I/O in C Lecture 6.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 17P. 1Winter Quarter Personal Libraries.
Guide To UNIX Using Linux Third Edition
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect M2P. 1Winter Quarter Midterm 2 Review Topics.
CSE1301 Computer Programming: Revision. Topics Type of questions What do you need to know? About the exam Exam technique Sample questions.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 14P. 1Winter Quarter Pointers Lecture 14.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 3P. 1Winter Quarter Structured Engineering.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect FXP. 1Winter Quarter Course Wrap Up and.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 9P. 1Winter Quarter Switch Case Structures.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 15P. 1Winter Quarter Arrays and Pointers.
Basic Elements of C++ Chapter 2.
Prof. R. Willingale Department of Physics and Astronomy 2nd Year C+R 2 nd Year C and R Workshop Part of module PA2930 – 2.5 credits Venue: Computer terminal.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 23P. 1Winter Quarter Structs and Enumeration.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 21P. 1Winter Quarter MATLAB: Structures.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 14P. 1Winter Quarter Pointers Lecture 14.
1 CSE1301 Computer Programming: Revision. 2 Topics Type of questions What do you need to know? About the exam Exam technique Staff consultation Revision.
Introduction to Computer Programming Using C Session 23 - Review.
/* Documentations */ Pre process / Linking statements Global declarations; main( ) { Local Declarations; Program statements / Executable statements; }
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 24P. 1Winter Quarter C++ Lecture 24.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 7P. 1Winter Quarter File I/O in C Lecture.
CIS-165 C++ Programming I CIS-165 C++ Programming I Bergen Community College Prof. Faisal Aljamal.
Structure of a C program Preprocessor directive (header file) Program statement } Preprocessor directive Global variable declaration Comments Local variable.
1 CSE1301 Computer Programming: Revision. 2 Topics Type of questions What do you need to know? About the exam Exam technique Staff consultation Revision.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 23P. 1Winter Quarter Structs and Enumeration Lecture 23.
CECS 121 Test 1. Functions allow you to group program statements under one name C and C++ are case-sensitive so main(), MAIN(), and Main() are all different.
File IO and command line input CSE 2451 Rong Shi.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 5P. 1Winter Quarter C Programming Basics.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 5P. 1Winter Quarter C Programming Basics Lecture 5.
1 Lab 1. C Introduction  C: –Developed by Bell lab. in –a procedure-oriented programming language.  Developing environments: –Editing –Preprocessing.
CECS 130 EXAM 1. To declare a constant (read only) value: const int x = 20; const float PI = 3.14; Can we do this? const int x;
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 12P. 1Winter Quarter User-Written Functions Lecture 12.
Khalid Rasheed Shaikh Computer Programming Theory 1.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 29P. 1Winter Quarter Software Design Project Lecture 29.
1 CSC 1401 S1 Computer Programming I Hamid Harroud School of Science and Engineering, Akhawayn University
Lecture 15: Course Review BJ Furman ME 30 16MAY2011.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 11P. 1Winter Quarter Arrays Lecture 11.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect M2P. 1Winter Quarter Midterm II Review Topics Lecture M2.
A.Abhari CPS1251 Topic 2: C Overview C Language Elements Variable Declaration and Data Types Statement Execution C Program Layout Formatting Output Interactive.
CCSA 221 Programming in C INPUT AND OUTPUT OPERATIONS IN C – PART 1 1.
C Language Elements Preprocessor Directives # (sign for preprocessor directive commands) #include Standard header file (.h) Library.
Engr 0012 (04-1) LecNotes Engr 0012 (04-1) LecNotes Contrasting MATLAB with C MATLABC language Workspace - interactive computation No real.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 10P. 1Winter Quarter Repetition Structures Lecture 10.
ECE Application Programming
I/O in C Lecture 6 Winter Quarter Engineering H192 Winter 2005
CS 2308 Exam I Review.
File I/O in C Lecture 7 Narrator: Lecture 7: File I/O in C.
Lesson #2 Introduction to C.
2. Second Step for Learning C++ Programming • Data Type • Char • Float
Quick Review EECS May 2019.
C Language B. DHIVYA 17PCA140 II MCA.
Presentation transcript:

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect M1 P. 1Winter Quarter Midterm I Review Topics Lecture M1

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect M1 P. 2Winter Quarter Optional Review Session for Midterm I As you probably know, the first midterm in ENG H192 is scheduled for Monday February 4th. The midterm is during the class period. An optional review session will be held on Sunday afternoon, February 3rd. –Location – McPherson Lab 1000 – MP 1000 –3:00 PM until all questions answered –Hosted by your friendly FEH TAs

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect M1 P. 3Winter Quarter What should be on the first mid term exam? Can you name the topics and provide some type of organization for these topics?

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect M1 P. 4Winter Quarter Topics for Midterm 1 Algorithms & Flow Charts Programming elements: –SEQUENCE – step by step commands –SELECTION – choose between two commands –REPETITION – repeat commands over and over –ABSTRACTION – use a set of packaged commands UNIX (simple commands, see Class Notes)

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect M1 P. 5Winter Quarter Topics for Midterm 1 Pre-Processor Directives #include #define text replacement Named Constants #define pi //No "=" sign! or const float pi = ;

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect M1 P. 6Winter Quarter Topics for Midterm 1 Variable data types –int, float, char, double Operators –types -- mathematical, logical, relational, and assignment –Precedence of operators "computer math" –floating point versus integer

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect M1 P. 7Winter Quarter Topics for Midterm 1 C program basic structure –Comment statements –Pre-processor directives –Function definition statement –Comment statements –Declaration statements –Comment statements –Executable statements –Comment statements

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect M1 P. 8Winter Quarter Topics for Midterm 1 Typical "main" function int main ( ) {. return 0 ; }

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect M1 P. 9Winter Quarter Topics for Midterm 1 I/O –Formats, including the specifications for the various data types -- %d, %f, %c –Functions – scanf, printf, getchar, putchar –When to use the “&” File I/O –FILE statement –Initialization and use of "file pointer" variables –Functions – fopen, fclose, fscanf, fprintf

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect M1 P. 10Winter Quarter Topics for Midterm 1 Repetition structures –forfor (k=1,a=0; k<20; k=k+3) a++; –whilek=1; a=0; while(k<20) {k+=3; a++;} –do { } while k=1; a=0; do {k+=3; a++;} while(k<20); Selection structures –if –if else –if else if else –switch - case

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect M1 P. 11Winter Quarter Topics for Midterm Arrays –Declaring arrays –Initializing arrays –Reading data into arrays –Printing out arrays –Using array elements in assignment statements