Computer Science Standard Level Mastery Aspects. Mastery Item Claimed JustificationWhere Listed Arrays Used to store the student data Lines 200-230 P.

Slides:



Advertisements
Similar presentations
JavaScript I. JavaScript is an object oriented programming language used to add interactivity to web pages. Different from Java, even though bears some.
Advertisements

Connecting to Databases. relational databases tables and relations accessed using SQL database -specific functionality –transaction processing commit.
The University of Adelaide, School of Computer Science
Written by: Dr. JJ Shepherd
Chapter 7 User-Defined Methods. Chapter Objectives  Understand how methods are used in Java programming  Learn about standard (predefined) methods and.
Chapter 10 Introduction to Arrays
ISBN Chapter 11 Abstract Data Types and Encapsulation Concepts.
1 Chapter 2 Introductory Programs. 2 Getting started To create and run a Java program –Create a text file with a.java extension for the source code. For.
Alice in Action with Java Chapter 10 Flow Control in Java.
Review CSC 171 FALL 2004 LECTURE 21. Topics Objects and Classes Fundamental Types Graphics and Applets Decisions Iteration Designing Classes Testing and.
CS 299 – Web Programming and Design Overview of JavaScript and DOM Instructor: Dr. Fang (Daisy) Tang.
Abstract Data Types and Encapsulation Concepts
Java Unit 9: Arrays Declaring and Processing Arrays.
Chapter 9: Coupling & Cohesion Omar Meqdadi SE 273 Lecture 9 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Peter Andreae Computer Science Victoria University of Wellington Copyright: Peter Andreae, Victoria University of Wellington Summary and Exam COMP 102.
CISC474 - JavaScript 03/02/2011. Some Background… Great JavaScript Guides: –
CSCI 6962: Server-side Design and Programming Introduction to Java Server Faces.
Introduction to Programming David Goldschmidt, Ph.D. Computer Science The College of Saint Rose Java Fundamentals (Comments, Variables, etc.)
CSCI-383 Object-Oriented Programming & Design Lecture 13.
Project 1 Due Date: September 25 th Quiz 4 is due September 28 th Quiz 5 is due October2th 1.
Arrays Module 6. Objectives Nature and purpose of an array Using arrays in Java programs Methods with array parameter Methods that return an array Array.
Hello.java Program Output 1 public class Hello { 2 public static void main( String [] args ) 3 { 4 System.out.println( “Hello!" ); 5 } // end method main.
Problem Solving for Programming Session 8 Static Data Structures.
Web Database Programming Week 3 PHP (2). Functions Group related statements together to serve “a” specific purpose –Avoid duplicated code –Easy maintenance.
School of Computer Science & Information Technology G6DICP - Lecture 17 GUI (Graphical User Interface) Programming.
1 CSC 222: Object-Oriented Programming Spring 2013 Course goals:  To know and use basic Java programming constructs for object- oriented problem solving.
Programming Logic and Design Using Methods. 2 Objectives Review how to use a simple method with local variables and constants Create a method that requires.
Agenda Object Oriented Programming Reading: Chapter 14.
Design Patterns Gang Qian Department of Computer Science University of Central Oklahoma.
Slide 1 PHP Arrays and User Defined Functions ITWA133.
1 2. Program Construction in Java. 2.9 Sorting 3 The need Soritng into categories is relatively easy (if, else if, switch); here we consider sorting.
Chapter 3 Functions, Events, and Control Structures JavaScript, Third Edition.
Advanced Computer Science Lesson 4: Reviewing Loops and Arrays Reading User Input.
REFACTORINGREFACTORING. Realities Code evolves substantially during development Requirements changes 1%-4% per month on a project Current methodologies.
I Power Higher Computing Software Development High Level Language Constructs.
Computer Science Projects Internal Assessment. Mastery Item Claimed Justification Where Listed Random Access File – Searching Lines P. 53 Random.
Connecting to MySQL using Java By:. – Required to use Java.sql so that we can use Connection and Queries using strings. – Javax.swing.* needed for components.
JAVA COLLECTIONS LIBRARY School of Engineering and Computer Science, Victoria University of Wellington COMP T2, Lecture 2 Thomas Kuehne.
Peter Andreae Computer Science Victoria University of Wellington Copyright: Peter Andreae, Victoria University of Wellington Summary and Exam COMP 102.
Written by: Dr. JJ Shepherd
Documentation Javadocs. Design/Documentation An essential ingredient of good Object Oriented programming is known as design by contract. This means that.
Higher Computing Science 2016 Prelim Revision. Topics to revise Computational Constructs parameter passing (value and reference, formal and actual) sub-programs/routines,
April 20, 1998CS102-02Lecture 4-1 A Method to the Madness CS Lecture 4-1 Java's Work Horses.
Arrays Chapter 7. MIS Object Oriented Systems Arrays UTD, SOM 2 Objectives Nature and purpose of an array Using arrays in Java programs Methods.
PHP Reusing Code and Writing Functions 1. Function = a self-contained module of code that: Declares a calling interface – prototype! Performs some task.
Chapter 4: More Object Concepts. Objectives Understand blocks and scope Overload a method Avoid ambiguity Create and call constructors with parameters.
BY: JAKE TENBERG & CHELSEA SHIPP PROJECT REVIEW: JGIBBERISH.
Chapter 9: Coupling & Cohesion Omar Meqdadi SE 273 Lecture 9 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
CSC 243 – Java Programming, Spring, 2014 Week 4, Interfaces, Derived Classes, and Abstract Classes.
Chapter 8 Statement-Level Control Structures. Copyright © 2012 Addison-Wesley. All rights reserved.1-2 Chapter 8 Topics Introduction Selection Statements.
CS 440 Database Management Systems Stored procedures & OR mapping 1.
Programming Logic and Design Fifth Edition, Comprehensive Chapter 7 Using Methods.
UMass Lowell Computer Science Java and Distributed Computing Prof. Karen Daniels Fall, 2000 Lecture 10 Java Fundamentals Objects/ClassesMethods.
FILES AND EXCEPTIONS Topics Introduction to File Input and Output Using Loops to Process Files Processing Records Exceptions.
Advanced Higher Computing Science The Project. Introduction Worth 60% of the total marks for the course Must include: An appropriate interface using input.
CSC 222: Object-Oriented Programming
CSC 222: Object-Oriented Programming
CSC 222: Computer Programming II
More Sophisticated Behavior
Friend Class Friend Class A friend class can access private and protected members of other class in which it is declared as friend. It is sometimes useful.
Coupling and Cohesion 1.
Chapter 3: Using Methods, Classes, and Objects
CSC 222: Object-Oriented Programming
Control Structures II (Repetition)
Java Programming: Guided Learning with Early Objects
Topics Introduction to File Input and Output
The structure of programming
Topics Introduction to File Input and Output
Introduction to Computer Science and Object-Oriented Programming
Presentation transcript:

Computer Science Standard Level Mastery Aspects

Mastery Item Claimed JustificationWhere Listed Arrays Used to store the student data Lines P. 53 User-Defined Objects Lines P. 56 Objects as Data Records Lines P. 56 Simple Selection Lines P. 58 Complex Selection Lines P. 52 Loops etc User-Defined Methods Mastery Items

Arrays What’s ok Arrays of objects are good Avoiding the calling of null elements or elements outside of the array boundaries

Arrays What’s not Using library classes such as java.io.ArrayList

User-defined objects What’s ok Creating a class(es) and calling it (them) from another class

User-defined objects What’s not Creating classes from standard (built-in) Java classes will not count

Objects as Data Records What’s ok Using a class whose data members correspond to the fields of a record (e.g inner class) Using different types for the fields

Objects as Data Records What’s not Storing data within the main program.

Simple selection What’s ok A number of if / if... else statements Only need to document a couple of these (within the coding)

Simple selection What’s not try … catch construct would not satisfy this aspect

Complex Selection What’s ok if statement with multiple conditions Nested if statements Multiple chained if … else statements Switch statements Documented within the coding

Complex Selection What’s not Try … catch would not qualify

Loops more than one example would be required Nested Loops one example would be sufficient

User-defined Methods What’s ok Method created by the user Called more than once

User-defined Methods What’s not The main method The constructor(s) Methods from standard Java interfaces A method that is only called once

User-defined Methods with Parameters What’s ok Parameters passed into a method and used within the body in a non-trivial way What’s not Using methods from standard libraries

User-defined methods with appropriate return values What’s ok Methods that return values for a non-trivial purpose What’s not Methods that are only called once Methods from standard libraries

Sorting What’s ok The sort routine must be a valid addition to the program

Searching What’s ok The search routine must be a valid addition to the program Must use loops (or recursion), not a series of if statements on a small data set

File I/O What’s ok Data must be written to and read from a file (e.g. text file) Data must not be lost between sessions Can use SQL database (Excel) and the java.sql functions Must be a valid reason for long-term storage

File I/O What’s not If SQL database is used, other mastery aspects cannot be claimed (e.g. searching, objects as data records etc)

Use of Additional Libraries What’s ok Use of built-in classes/utilities such as: Abstract Windows Toolkit, StringTokeniser Interfaces can be implemented Libraries imported (e.g. ActionListener)

Use of Additional Libraries What’s not Classes created by the user Math or String methods

Use of Sentinels or Flags What’s ok An end-of-data marker in a data set (e.g. “XXX” or 999) A Boolean variable that changes when a condition is met