1 / 23

CSC111H Introduction

CSC111H Introduction. Dennis Burford dburford@cs.uct.ac.za http://www.cs.uct.ac.za/~dburford/csc111h/. CSC111H:.

Download Presentation

CSC111H Introduction

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. CSC111H Introduction Dennis Burford dburford@cs.uct.ac.za http://www.cs.uct.ac.za/~dburford/csc111h/

  2. CSC111H: Continuation of CSC110H, designed for students who plan to complete BSc degree in 4 years rather than 3 years. CSC110H and CSC111H form part of the Academic Development Programme of the Science Faculty. Note: CSC111H joins CSC116S in second semester. Lectures: 1st Semester: 4th period, Mon to Wed, Thur used for lab in Scilab. Venue: Leslie Social Science LT 2C. 2nd Semester: 4th period, Mon to Fri, Venue to be announced.

  3. Prescribed Books: First Semester and Second Semester: “Programming and Problem Solving with JAVA”, by James M. Slack. Second Semester only (recommended): “Structured Computer Organization”, 4th Ed., Andrew S. Tanenbaum (Prescribed in CS2). Other notes (including assignments) available on Course web pages.

  4. Syllabus: Work in first semester mostly based on a project, done in pairs. Syllabus includes: • Graphical User Interfaces in Java • More on Java:Client-Server, Exceptions, Input/Output, Recursion • Project Design & Development: The Software Development Lifecycle, Planning, Object-Oriented Design, User Interface Design, Testing, Documentation. • Number Systems • Overview of some Computer Science topics: Networks, Databases. Second semester syllabus provided later.

  5. Practical Assignments: • Mon (6th – 7th or 8th – 9th ): Assigned to tutorial group and meet tutor before going to lab. Should need further time in the lab to complete work (arrange in own time). • Assignments on web. Note: Late assignments will not be marked. • Extensions only granted with valid medical certificate signed by qualified medical doctor (departmental secretary, room 317) or compassionate grounds (see Katherine Malan, room 308).

  6. Class Tests: • Five formal class tests. • In addition, test written during June exam Period. • Practical test in second semester.

  7. Medicals: • Miss a test on medical grounds, will be required to do oral test when you return to health. • Lecturer will ask questions to determine how well you understand the work. • Assigned a mark for the test based on this oral.

  8. DP Requirement: DP (Duly Performed) required before final examination. Require: • Average of at least 50% in practical programming exercises and practical test (last programming exercise excluded from calculation, but included in course assessment) • Average of at least 40% in class tests and June test .

  9. Final Mark: Calculated using following weightings: • Practicals 15% (1st semester 5%, 2nd semester 10%) • Practical Test 15% • Class Tests 20% (1–5 count 3% each; June 5%) • Final Nov. Exam 50% To pass, must have at least: • 50% for final mark • 50% average for (practical assignments and practical test) • 45% average for (class tests and the exam)

  10. Java Quiz I

  11. Java Quiz I • What does it mean to say: Java is platform independent? How is this done? • What is the difference between a primitive data type and a class? • Can you explain each of the components in the following statement?:System.out.println("Hello World"); • Can you name two methods of java.lang.String ?  • How would youfind this information?

  12. Java Quiz II • What is a constructor? • What is meant by overloading? • What are wrapper classes?  Give examples. • What’s the difference between extends and implements?

  13. Java Quiz III public class QuizIII { public static void main( String [] args ) { int i; int [] a = new int[10]; String temp = ""; for ( i=0; i<10; i++ ) a[i] = i * i; for( i=0; i<10; i++ ) temp += (i%2==0) ? String.valueOf( a[i] ) : "-"; System.out.println( temp ); } }

  14. Java Quiz III public class QuizIII { public static void main( String [] args ) { int i; int [] a = new int[10]; String temp = ""; for ( i=0; i<10; i++ ) a[i] = i * i; for( i=0; i<10; i++ ) temp += (i%2==0) ? String.valueOf( a[i] ) : "-"; System.out.println( temp ); } }

  15. Java Quiz III public class QuizIII { public static void main( String [] args ) { int i; int [] a = new int[10]; String temp = ""; for ( i=0; i<10; i++ ) a[i] = i * i; for( i=0; i<10; i++ ) temp += (i%2==0) ? String.valueOf( a[i] ) : "-"; System.out.println( temp ); } }

  16. Java Quiz III public class QuizIII { public static void main( String [] args ) { int i; int [] a = new int[10]; String temp = ""; for ( i=0; i<10; i++ ) a[i] = i * i; for( i=0; i<10; i++ ) temp += (i%2==0) ? String.valueOf( a[i] ) : "-"; System.out.println( temp ); } }

  17. Java Quiz III public class QuizIII { public static void main( String [] args ) { int i; int [] a = new int[10]; String temp = ""; for ( i=0; i<10; i++ ) a[i] = i * i; for( i=0; i<10; i++ ) temp += (i%2==0) ? String.valueOf( a[i] ) : "-"; System.out.println( temp ); } }

  18. Java Quiz III public class QuizIII { public static void main( String [] args ) { int i; int [] a = new int[10]; String temp = ""; for ( i=0; i<10; i++ ) a[i] = i * i; for( i=0; i<10; i++ ) temp += (i%2==0) ? String.valueOf( a[i] ) : "-"; System.out.println( temp ); } } (cond)? (if-true):(if-false)

  19. Java Quiz III public class QuizIII { public static void main( String [] args ) { int i; int [] a = new int[10]; String temp = ""; for ( i=0; i<10; i++ ) a[i] = i * i; for( i=0; i<10; i++ ) temp += (i%2==0) ? String.valueOf( a[i] ) : "-"; System.out.println( temp ); } }

  20. Java Quiz III public class QuizIII { public static void main( String [] args ) { int i; int [] a = new int[10]; String temp = ""; for ( i=0; i<10; i++ ) a[i] = i * i; for( i=0; i<10; i++ ) temp += (i%2==0) ? String.valueOf( a[i] ) : "-"; System.out.println( temp ); } }

  21. Java Quiz III public class QuizIII { public static void main( String [] args ) { int i; int [] a = new int[10]; String temp = ""; for ( i=0; i<10; i++ ) a[i] = i * i; for( i=0; i<10; i++ ) temp += (i%2==0) ? String.valueOf( a[i] ) : "-"; System.out.println( temp ); } }

  22. Java Quiz III public class QuizIII { public static void main( String [] args ) { int i; int [] a = new int[10]; String temp = ""; for ( i=0; i<10; i++ ) a[i] = i * i; for( i=0; i<10; i++ ) temp += (i%2==0) ? String.valueOf( a[i] ) : "-"; System.out.println( temp ); } }

  23. Java Quiz III public class QuizIII { public static void main( String [] args ) { int i; int [] a = new int[10]; String temp = ""; for ( i=0; i<10; i++ ) a[i] = i * i; for( i=0; i<10; i++ ) temp += (i%2==0) ? String.valueOf( a[i] ) : "-"; System.out.println( temp ); } } 0-4-16-36-64-

More Related