1 CSE1301 Computer Programming: Lecture 35 Revision.

Slides:



Advertisements
Similar presentations
A C++ Crash Course Part II UW Association for Computing Machinery Questions & Feedback.
Advertisements

Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect FXP. 1Winter Quarter Course Wrap Up and Final Review Topics Lecture.
Engineering EG167C - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect M1 P. 1Winter Quarter Midterm I Review.
1 CSE1303 Part A Data Structures and Algorithms Semester 2, 2006 Lecture A1 – Welcome & Revision.
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.
Chapter 11 C File Processing Acknowledgment The notes are adapted from those provided by Deitel & Associates, Inc. and Pearson Education Inc.
Wednesday, 12/11/02, Slide #1 CS 106 Intro to Comp. Sci. 1 Wednesday, 12/11/02  QUESTIONS??  Today: CLOSING CEREMONIES!  HW #5 – Back Monday (12/16)
Wednesday, 10/9/02, Slide #1 CS 106 Intro to CS 1 Wednesday, 10/9/02  QUESTIONS ??  Today:  Discuss HW #02  Discuss test question types  Review 
C Language Summary HTML version. I/O Data Types Expressions Functions Loops and Decisions Preprocessor Statements.
The little language that could Remember C is a “small language”
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 M1 P. 1Winter Quarter Midterm I Review Topics.
COMP1170 Midterm Preparation (March 17 th 2009) Acknowledgment The notes are adapted from those provided by Deitel & Associates, Inc. and Pearson Education.
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 FXP. 1Winter Quarter Course Wrap Up and.
Homework Reading –Finish K&R Chapter 1 (if not done yet) –Start K&R Chapter 2 for next time. Programming Assignments –DON’T USE and string library functions,
V-1 University of Washington Computer Programming I File Input/Output © 2000 UW CSE.
1 CSC 221: Computer Programming I Fall 2004 course overview  what did we set out to learn?  what did you actually learn?  where do you go from here?
1 CSE1301 Computer Programming: Revision. 2 Topics Type of questions What do you need to know? About the exam Exam technique Staff consultation Revision.
1 Lecture 5 Floating Point Numbers ITEC 1000 “Introduction to Information Technology”
UniMAP Sem2-08/09 DKT121: Fundamental of Computer Programming1 Introduction to C – Part 2.
C Tokens Identifiers Keywords Constants Operators Special symbols.
 200 Total Points ◦ 74 Points Writing Programs ◦ 60 Points Tracing Algorithms and determining results ◦ 36 Points Short Answer ◦ 30 Points Multiple Choice.
Review C Language Features –control flow –C operators –program structure –data types –I/O and files Problem Solving Abilities.
UniMAP Sem1-07/08EKT120: Computer Programming1 Week2.
Pointers OVERVIEW.
 2007 Pearson Education, Inc. All rights reserved C File Processing.
1 CSE1301 Computer Programming: Revision. 2 Topics Type of questions What do you need to know? About the exam Exam technique Staff consultation Revision.
CS Midterm Study Guide Fall General topics Definitions and rules Technical names of things Syntax of C++ constructs Meaning of C++ constructs.
Review Binary Numbers Bit : 0 or 1 Byte: 8 bites 256 different values 2 8 KB : 1024 bytes 2 10 bytes MB : 1024 * 1024 bytes 2 10 * 2 10 (2 20 ) bytes GB.
Numeric Weirdness. Weirdness Overflow Each data type has a limited range – Depends on platform/compiler Going past boundary wraps around.
1 CSC 221: Computer Programming I Spring 2008 course overview  What did we set out to learn?  What did you actually learn?  Where do you go from here?
Slides created by: Professor Ian G. Harris Hello World #include main() { printf(“Hello, world.\n”); }  #include is a compiler directive to include (concatenate)
CECS 130 EXAM 1.  int main() { printf (“%c %c \n", 'a', 65); printf ("%d %ld\n", 1977, L); printf (" %10d \n", 1977); printf ("%010d \n", 1977);
CS1101 Group1 Discussion 10 Lek Hsiang Hui comp.nus.edu.sg
CSI 3125, Preliminaries, page 1 Data Type, Variables.
C LANGUAGE Characteristics of C · Small size
Higher Computing Science 2016 Prelim Revision. Topics to revise Computational Constructs parameter passing (value and reference, formal and actual) sub-programs/routines,
Files A collection of related data treated as a unit. Two types Text
C is a high level language (HLL)
UNIMAP Sem2-07/08EKT120: Computer Programming1 Week 2 – Introduction to Programming.
Lecture 20: C File Processing. Why Using Files? Storage of data in variables and arrays is temporary Data lost when a program terminates. Files are used.
1 CSE1301 Computer Programming: Where are we now in the CSE1301 syllabus?
Announcements Assignment 2 Out Today Quiz today - so I need to shut up at 4:25 1.
 2007 Pearson Education, Inc. All rights reserved C File Processing.
CS 1428 Final Exam Review. Exam Format 200 Total Points – 60 Points Writing Programs – 45 Points Tracing Algorithms and determining results – 20 Points.
“<Fill in your definition here.>”
TMF1414 Introduction to Programming
CSC 221: Computer Programming I Fall 2005
University of Washington Computer Programming I
CS1010 Discussion Group 11 Week 7 – Two dimensional arrays.
C Short Overview Lembit Jürimägi.
TMC 1414 Introduction to Programming
Data Structures Mohammed Thajeel To the second year students
What to bring: iCard, pens/pencils (They provide the scratch paper)
Midterm Exam Preperation
CS 2308 Exam I Review.
Text and Binary File Processing
CS 1428 Final Exam Review.
Chapter: 7-12 Final exam review.
Fundamental of Programming (C)
CS 1428 Final Exam Review.
1-6 Midterm Review.
Module 2 Variables, Data Types and Arithmetic
EECE.2160 ECE Application Programming
C Language B. DHIVYA 17PCA140 II MCA.
ECE 120 Midterm 1 HKN Review Session.
Presentation transcript:

1 CSE1301 Computer Programming: Lecture 35 Revision

2 Topics Type of questions What do you need to know? About the exam Exam technique Staff consultation Revision Drop-in Center Sample questions

3 Types of Questions Mid-Semester Test –multiple-choice questions –coding/programming questions Sample Past Exam –short-answer questions –coding/programming questions –sample solutions on the web and in class –no True/False questions on 2005 exam

4 Types of Questions (cont) A small number of questions from past papers will be made available on the web.

5 About the Exam 10 minutes reading time 3 hours duration 180 total marks No calculators, books, notes, etc.

6 Exam Structure 30 Multiple Choice (30 x 1 mark) 20 Short Answer (20 x 2 marks) Longer Questions –Algorithms,flowcharts,structure charts,test data,program execution,output,debugging –Coding/programming questions

7 What Do You Need to Know? Coverage: All lectures, practicals, tutorials and readings

8 Overview Gates –AND, OR, NOT Binary representation –bit, byte, word –integer: decimal to binary, unsigned, signed magnitude, 2’s complement, excess-k –float: IEEE standard –precision, under/overflow –floating point arithmetic

9 Overview (cont) Values Variables Types –char, int, float, const, typedef, struct –arrays (2-dim), strings, int for “Boolean” Operations –initialization –arithmetic, Boolean expressions, precedence –string library functions

10 Overview (cont) Pointer Basics –when to use & and * Structures –definition vs. instance –accessing members/elements –pointers to structs –array of structures –structures within structures

11 Overview (cont) Flow of control –Flow diagrams/charts Selection –if...else –nested selection –cascaded selection Iteration –while, for, break –nested loops

12 Overview (cont) Functions –Prototypes –Definition –Parameters actual, formal, arrays, structs, pointers –Return values –Variable scope –Recursion

13 Overview (cont) Streams –stdio, stderr, stdout printf() and scanf() –conversion specifiers –return values –the & operator Files –fopen(), fclose(), fprintf(), fscanf()

14 Overview (cont) Software Engineering –development process –design: top-down, bottom-up –structure chart: control and data coupling –test data –(not included: Bingo)

15 Overview (cont) Lists –a list as an array –operations addition, deletion, search Searching –linear search, binary search Sorting –selection sort, insertion sort, bubble sort Complexity –Big-O notation

16 Don’t Panic Make use of reading time Go for the marks  Attempt the questions in the order that gives the best result There is no penalty for incorrect answers to multiple choice questions (educated guess). Don’t spend too much time on any question –Approximately 1 minute per mark Indicate clearly which question you are attempting Don’t forget to write (correctly) your ID! Exam Technique

17