The Story so far System split into layers – maintainability & re-use Database – queries, tables, rows, columns & parameters Range of objects allowing.

Slides:



Advertisements
Similar presentations
Driving Test 1 Marking Scheme Focus on five areas to pass driving test 1.
Advertisements

How SAS implements structured programming constructs
GCSE COMPUTING Dan Gardner Session Objectives Gain an overview of the Computer Science curriculum at Key Stage 4 (GCSE). Understand.
Aalborg Media Lab 2-May-15 Exercises/Summary Lecture 10 Summary, Exercises.
Chapter 10 Introduction to Arrays
1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 17 JavaScript.
Introduction to the ABAP Data Dictionary
Programming Perls* Objective: To introduce students to the perl language. –Perl is a language for getting your job done. –Making Easy Things Easy & Hard.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 14 Web Database Programming Using PHP.
Arrays  Writing a program that uses a large amount of information.  Such as a list of 100 elements.  It is not practical to declare.
Introduction to Databases CIS 5.2. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
1 Arrays  Arrays are objects that help us organize large amounts of information  Chapter 8 focuses on: array declaration and use passing arrays and array.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 10 *Arrays with more than one dimension *Java Collections API.
Aalborg Media Lab 28-Jun-15 Software Design Lecture 8 “Arrays”
Chapter 7: Working with Arrays
Mid-term Class Review.
Chapter 10 2D Arrays Collection Classes. Topics Arrays with more than one dimension Java Collections API ArrayList Map.
© 2011 Pearson Education, publishing as Addison-Wesley 1 Arrays  Arrays are objects that help us organize large amounts of information  Chapter 6 focuses.
A Level Computing#BristolMet Session Objectives U2#S6 MUST identify different data types used in programming aka variable types SHOULD describe each data.
 2004 Prentice Hall, Inc. All rights reserved. 1 Chapter 11 - JavaScript: Arrays Outline 11.1 Introduction 11.2 Arrays 11.3 Declaring and Allocating Arrays.
Array Processing Simple Program Design Third Edition A Step-by-Step Approach 7.
Rote Learning of the Week "A variable is a named section of RAM that stores data of a specific data type"
Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.
1 Chapter 7 – Arrays 7.1 Creating and Accessing Arrays 7.2 Using LINQ with Arrays 7.3 Arrays of Structures 7.4 Two-Dimensional Arrays 7.5 A Case Study:
Chapter 11 Arrays Continued
Array Processing.
111 © 2002, Cisco Systems, Inc. All rights reserved.
Java Script: Arrays (Chapter 11 in [2]). 2 Outline Introduction Introduction Arrays Arrays Declaring and Allocating Arrays Declaring and Allocating Arrays.
Overview · What is PL/SQL · Advantages of PL/SQL · Basic Structure of a PL/SQL Block · Procedure · Function · Anonymous Block · Types of Block · Declaring.
CIS 210 Systems Analysis and Development Week 6 Part II Designing Databases,
C# Language Panithan Chandrapatya Agenda C# History C# Goals C# Fixes C# Contribution C# Features C# Success C# Example.
26 Mar 04 1 Application Software Practical 5/6 MS Access.
Objects Methods and Instantiation. Programming Programming is the act of writing instructions that tell a computer how to do something. This module is.
Chapter overview This chapter focuses on Array declaration and use Bounds checking and capacity Arrays storing object references Variable length parameter.
CS 153: Concepts of Compiler Design October 7 Class Meeting Department of Computer Science San Jose State University Fall 2015 Instructor: Ron Mak
1 Working with Data Structures Kashef Mughal. 2 Chapter 5  Please review on your own  A few terms .NET Framework - programming model  CLR (Common.
Introduction to a Database Defining a database Database window in Access The six items in window: Tables, Queries Forms, Reports, Macros, Modules.
Lookup Function (Think of a Book Index).  Need to fill based on what is in the these fields Array table.
1 MS Access. 2 Database – collection of related data Relational Database Management System (RDBMS) – software that uses related data stored in different.
CSCI 3327 Visual Basic Chapter 8: Introduction to LINQ and Collections UTPA – Fall 2011.
Structuring Data: Arrays ANSI-C. Representing multiple homogenous data Problem: Input: Desired output:
Working with Strings. String Structure A string in VBA can be variable length and has an internal structure Each character in the string has a position.
The Story so far System split into layers – maintainability & re-use Database – stored procedures, tables, rows, columns & parameters Range of objects.
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
CHAPTER EIGHT ARRAYS © Prepared By: Razif Razali1.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Student Grades Application Introducing Two-Dimensional Arrays and RadioButton.
Chapter 4 Relational Database, Pivot Charts, and Switchboard.
Ranges. Unlike many of our programming concepts, the idea of a Range is particular to Excel The ideas and code discussed in these slides can be found.
Week 6. Things you should know by now 1. Stop calling me “sir” 2. If you need to go to the loo in the lab you don’t need to ask 3. There are a few other.
Table of Contents Matrices - Definition and Notation A matrix is a rectangular array of numbers. Consider the following matrix: Matrix B has 3 rows and.
Arrays and variables 1.Representing tables as arrays in MATLAB 2.Concept of array dimension 3.Correspondence of array dimension to rows and columns 4.Picking.
From Survey to Data to Analysis Providing Social Science Data Services Jim Jacobs, 2008.
Web Database Programming Using PHP
PROGRAMMING ARRAYS.
List Based Objects.
DATABASE CONCEPTS A database is a collection of logically related data designed to meet the information needs of one or more users Data bases are store-houses.
Web Database Programming Using PHP
Variables Data Types and Assignment
Database.
CS 106 Computing Fundamentals II Chapter 66 “Working With Strings”
List Based Objects.
Driving Test 1 Revision.
Topics discussed in this section:
List Based Objects.
Variables Data Types and Assignment
List Based Objects.
Variables Data Types and Assignment
Microsoft Access Date.
Arrays.
SPL – PS13 Persistence Layer.
Presentation transcript:

The Story so far System split into layers – maintainability & re-use Database – queries, tables, rows, columns & parameters Range of objects allowing us to control different parts of the computer using their methods & properties Variables – RAM Controls – Interface DataConnection class – database Introduced a lot of coding concepts, assignment, sequence, selection, validation, functions, parameters to name a few

Overview of Driving Test 2

How do we Manipulate a List of Data?

Array Lists Our list of data… Fred Wilma Barney Betty The code… Dim Attendees As New ArrayList Attendees.Add("Fred") Attendees.Add("Wilma") Attendees.Add("Barney") Attendees.Add("Betty")

The Count Property Dim Attendees As New ArrayList Dim ItemCount As Integer ItemCount = Attendees.Count

Index Numbers Rather like house numbers Zero bound (This will drive you mad!) ValueIndex Fred0 Wilma1 Barney2 Betty3

RemoveAt Method ValueIndex Fred0 Wilma1 Barney2 Betty3 Attendees.RemoveAt(2) Which record will be removed?

Changing a List Entry What will the following do? Attendees.Add("Fred") Attendees.Add("Wilma") Attendees.Add("Barney") Attendees.Add("Betty") Attendees.Item(2) = "Bamm Bamm"

Data Tables We said all of that to introduce this… qry_tblAddress_SelectAll SELECT * FROM tblAddress

Presentation Layer Code How do we get at the results of the query?

QueryResults HouseNumber = MyAddresses.QueryResults.Rows(1).Item("HouseNo") Street = MyAddresses.QueryResults.Rows(3).Item("Street") AddressNo = MyAddresses.QueryResults.Rows(0).Item("AddressNo") DateAdded = MyAddresses.QueryResults.Rows(3).Item("Active") CountyCode = MyAddresses.QueryResults.Rows(1).Item(“HouseNo") CountyCode = MyAddresses.QueryResults.Rows(4).Item(“CountyCode")