Computer Programming II -10-

Size: px
Start display at page:

Download "Computer Programming II -10-"

Transcription

1 Computer Programming II -10- Dr. Engin YILDIZTEPE Dr.Alper VAHAPLAR Random number routines Randomize procedure Random function Random (n) function RandomRange function RandomFrom function RandG function RandSeed variable 2 1

2 RandSeed variable RandSeed stores the built-in random number generator's seed. By assigning a specific value to RandSeed, you can use the Random function to repetitively generate a specific sequence of random numbers. This is useful for applications that deal with data statistics and simulations. 3 RandomFrom function Returns a randomly selected element from an array. We must add Math, StrUtils to the uses clause. The type of the array may can be double, integer or string. The result is the same type of the array. Use of: a:=randomfrom(arrayname); 4 2

3 RandomFrom Example 1 Write a program to take random samples from memo1 and add them into the listbox1. The user will give the sample size. Edit1 Button1 Memo1 ListBox1 5 ListBox Listbox1.items.Add : adds item to the listbox1 Listbox1.items[i] : access i. items. Listbox items contain the strings that appear in the list box. 6 3

4 RandomFrom example 1 We will use a dynamic string array. The user gives the sample size in the edit1. Program will take random samples from the string array. procedure TForm1.Button1Click(Sender: TObject); var dizi:array of string; i,n:integer; t:string; RandomFrom example 1 Writing strings from memo1 to the array: SetLength(dizi,Memo1.Lines.Count); for i:=0 to Memo1.Lines.Count-1 do dizi[i]:=memo1.lines[i] ;.. 8 4

5 Random from the array:.... ListBox1.Clear; n:=strtoint(edit1.text); Randomize; for i:=0 to n-1 do t:=randomfrom(dizi); ListBox1.Items.Add(t); RandomFrom example 1 9 RandomFrom example 1 procedure TForm1.BitBtn1Click(Sender: TObject); var dizi:array of string; i,n:integer; t:string; if ((Memo1.Lines.Count>0) and (Edit1.Text<>'')) then SetLength(dizi,Memo1.Lines.Count); for i:=0 to Memo1.Lines.Count-1 do dizi[i]:=memo1.lines[i]; ListBox1.Clear; n:=strtoint(edit1.text); Randomize; for i:=0 to n-1 do t:=randomfrom(dizi); ListBox1.Items.Add(t); Write same program for integer and double arrays. 10 5

6 RandG function Generates random numbers with Gaussian distribution. Delphi syntax: RandG(Mean, StdDev: Extended): Extended; ex: a:=randg(0,1) 11 RandG function example 2 Button1 Memo1 12 6

7 RandG function example 2 procedure TForm1.Button1Click(Sender: TObject); var m,st,d:extended; i,n:integer; if ((Edit1.Text<>'') and (Edit2.Text<>'') and (Edit3.Text<>'')) then Memo1.Clear; m:=strtofloat(edit1.text); st:=strtofloat(edit2.text); n:=strtoint(edit3.text); for i:=0 to n-1 do d:=randg(m,st); Memo1.Lines.Add(FormatFloat('#0.####0',d)); 13 Progress Bar Progress bars provide users with visual feedback about the progress of a procedure within an application. TProgressBar is in the Win32 page of the component palette. Properties: Min : Specifies the lower limit of the range of possible positions. Max: Specifies the upper limit of the range of possible positions. Position: Specifies the current position of the progress bar. Orientation : Specifies whether the progress bar is oriented vertically or horizontally. Smooth :Specifies whether the progress bar is smooth or segmented. Step :Specifies the amount that Position increases when the StepIt method is called. 14 7

8 RandG function example 3 Use a progress bar in previous example. 15 RandG function example 3 procedure TForm1.Button1Click(Sender: TObject); var m,st,d:extended; i,n:integer; if ((Edit1.Text<>'') and (Edit2.Text<>'') and (Edit3.Text<>'')) then Memo1.Clear; m:=strtofloat(edit1.text); st:=strtofloat(edit2.text); n:=strtoint(edit3.text); ProgressBar1.Max:=n; for i:=0 to n-1 do d:=randg(m,st); Memo1.Lines.Add(FormatFloat('#0.####0',d)); ProgressBar1.Position:=i+1; 16 8

9 Gauge Is a control that can be used to graphically display the progress of a process It can be added from Samples page. The most representative properties of the gauge are: Kind :horizantal, vertical, needle, text or pie. MinValue:The minimum progress value MaxValue:The maximum progress value Progress: The current progress value BackColor : ForeColor : Step : 17 Gauge example 18 9

10 Gauge example Kind :gkpie Use ForeColor, BackColor gauge1.maxvalue gauge1.minvalue (defaults are 100 and 0) 19 RandG function Gauge procedure TForm1.Button1Click(Sender: TObject); var m,st,d:extended; i,n:integer; if ((Edit1.Text<>'') and (Edit2.Text<>'') and (Edit3.Text<>'')) then Memo1.Clear; m:=strtofloat(edit1.text); st:=strtofloat(edit2.text); n:=strtoint(edit3.text); Gauge1.MaxValue:=n; for i:=0 to n-1 do d:=randg(m,st); Memo1.Lines.Add(FormatFloat('#0.####0',d)); Gauge1.Progress:=i+1; 20 10

We are all familiar with the concept of a queue:

We are all familiar with the concept of a queue: SEVENTEEN Queues We are all familiar with the concept of a queue: back of the queue next person joins front of the queue next person leaves Queues play an important role in computer systems, for example:

More information

var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin ListBox1.Items.LoadFromFile('d:\brojevi.

var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin ListBox1.Items.LoadFromFile('d:\brojevi. 1 PANEL komponenta kontejnerska, slična GropBox. Roditeljska komponenta za komp. postavljene na nju. Zajedno se pomeraju. Caption svojstvo za naziv; Alighment pomera svojstvo Caption levo i desno; Align

More information

Unit 7. Lesson 7.1. Loop. For Next Statements. Introduction. Loop

Unit 7. Lesson 7.1. Loop. For Next Statements. Introduction. Loop Loop Unit 7 Loop Introduction So far we have seen that each instruction is executed once and once only. Some time we may require that a group of instructions be executed repeatedly, until some logical

More information

GRADE/GRAAD 11 NOVEMBER 2013 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM

GRADE/GRAAD 11 NOVEMBER 2013 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM NATIONAL SENIOR CERTIFICATE NASIONALE SENIOR SERTIFIKAAT GRADE/GRAAD 11 NOVEMBER 2013 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM MARKS/PUNTE: 150 This memorandum consists of 6 pages.

More information

PROGRAMMING 2 BASICS. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC.

PROGRAMMING 2 BASICS. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC. PROGRAMMING 2 BASIS hapter SYS-ED/ OMPUTER EDUATION TEHNIQUES, IN. Objectives You will learn: Programs and units. Features of the Object Pascal language. How to add comments. Parts of programs and units.

More information

Department of Computer and Mathematical Sciences. Lab 7: Selection

Department of Computer and Mathematical Sciences. Lab 7: Selection Unit 2: Visual Basic.NET, pages 1 of 11 Department of Computer and Mathematical Sciences CS 1408 Intro to Computer Science with Visual Basic.NET 7 Lab 7: Selection Objectives: The main objective of this

More information

Last Time: Rolling a Weighted Die

Last Time: Rolling a Weighted Die Last Time: Rolling a Weighted Die import math/rand func DieRoll() int { return rand.intn(6) + 1 Multiple Rolls When we run this program 100 times, we get the same outcome! func main() int { fmt.println(dieroll())

More information

Chapter 7 Arrays. One-Dimensional Arrays. Fred Jack. Anna. Sue. Roy

Chapter 7 Arrays. One-Dimensional Arrays. Fred Jack. Anna. Sue. Roy Chapter 7 Arrays High-level languages provide programmers with a variety of ways of organising data. There are not only simple data types, but also data structures. A data structure is a data type composed

More information

Introduction to functions

Introduction to functions Introduction to functions This article introduces some basic ideas about functions in Teechart. It's an updated version of Teechart v6 tutorial document. TeeChart VCL : Working with Functions Contents

More information

For more detailed information on the differences between DelphiScript and Object Pascal, refer to the DelphiScript Reference document.

For more detailed information on the differences between DelphiScript and Object Pascal, refer to the DelphiScript Reference document. Writing Scripts Old Content - visit altium.com/documentation Modified by on 13-Sep-2017 Related pages Script Editor Tools Scripting System Panels Parent page: Scripting Writing Scripts There a number of

More information

HS STELLENBERG : DELPHI : FOKUS VIR EKSAMENS GEDATEER 1 FEB 2017.

HS STELLENBERG : DELPHI : FOKUS VIR EKSAMENS GEDATEER 1 FEB 2017. D E L P H I F O K U S V I R E K S A M E N S ( F E B 2 0 1 7 ) P a g e 1 HS STELLENBERG : DELPHI : FOKUS VIR EKSAMENS GEDATEER 1 FEB 2017. Hierdie is n werksdokument en word van tyd tot tyd opgradeer. GRAAD

More information

Human Factors Engineering Short Course Topic: A Simple Numeric Entry Keypad

Human Factors Engineering Short Course Topic: A Simple Numeric Entry Keypad Human Factors Engineering Short Course 2016 Creating User Interface Prototypes with Microsoft Visual Basic for Applications 3:55 pm 4:55 pm, Wednesday, July 27, 2016 Topic: A Simple Numeric Entry Keypad

More information

Delphi Generics.Collections

Delphi Generics.Collections Delphi Generics.Collections Copyright(C) 2008 Embarcadero Technologies, Inc. All Rights Reserved. Delphi Generics.Collections Table of Contents Generics.Collections.TCollectionNotification 1 Generics.Collections.TCollectionNotifyEvent

More information

LAMPIRAN A. Listing Program. Program pada Borland Delphi 7.0 A-1 Program pada CodeVisionAVR C Compiler A-6

LAMPIRAN A. Listing Program. Program pada Borland Delphi 7.0 A-1 Program pada CodeVisionAVR C Compiler A-6 A Listing Program Program pada Borland Delphi 7.0 A-1 Program pada CodeVisionAVR C Compiler A-6 LISTING PROGRAM BORLAND DELPHI 7.0 Inisialisasi ==========================================================

More information

DELPHI FOR ELECTRONIC ENGINEERS. Part 5: measuring with the sound card COURSE

DELPHI FOR ELECTRONIC ENGINEERS. Part 5: measuring with the sound card COURSE COURSE DELPHI FOR ELECTRONIC ENGINEERS Part 5: measuring with the sound card Detlef Overbeek, Anton Vogelaar and Siegfried Zuhr In Part 4 of this course, we used the PC sound card to generate a variety

More information

www.openwire.org www.mitov.com Copyright Boian Mitov 2004-2014 Index Installation... 3 Where is InstrumentLab?... 3 Creating classifier application... 3 Using the TSLCRealBuffer in C++ Builder and Visual

More information

Lesson 3: Basic Programming Concepts

Lesson 3: Basic Programming Concepts 3 ICT Gaming Essentials Lesson 3: Basic Programming Concepts LESSON SKILLS After completing this lesson, you will be able to: Explain the types and uses of variables and operators in game programming.

More information

GRADE 12 SEPTEMBER 2012 INFORMATION TECHNOLOGY P1 MEMORANDUM

GRADE 12 SEPTEMBER 2012 INFORMATION TECHNOLOGY P1 MEMORANDUM Province of the EASTERN CAPE EDUCATION NATIONAL SENIOR CERTIFICATE GRADE 12 SEPTEMBER 2012 INFORMATION TECHNOLOGY P1 MEMORANDUM MARKS: 120 This memorandum consists of 11 pages. 2 INFORMATION TECHNOLOGY

More information

TMS FNC UI Controls, a set of framework neutral controls

TMS FNC UI Controls, a set of framework neutral controls , a set of framework neutral controls Introduction As your customers use an ever increasing number of devices & operating systems, it is a daily challenge for us, software developers to make our software

More information

Chapter 12: Using Controls

Chapter 12: Using Controls Chapter 12: Using Controls Examining the IDE s Automatically Generated Code A new Windows Forms project has been started and given the name FormWithALabelAndAButton A Label has been dragged onto Form1

More information

www.openwire.org www.mitov.com Copyright Boian Mitov 2004-2014 Index Installation... 3 Where is InstrumentLab?... 3 Creating application with angular gauge... 3 Adding component elements to a gauge...

More information

2/3/2018 CS313D: ADVANCED PROGRAMMING LANGUAGE. Lecture 3: C# language basics II. Lecture Contents. C# basics. Methods Arrays. Dr. Amal Khalifa, Spr17

2/3/2018 CS313D: ADVANCED PROGRAMMING LANGUAGE. Lecture 3: C# language basics II. Lecture Contents. C# basics. Methods Arrays. Dr. Amal Khalifa, Spr17 CS313D: ADVANCED PROGRAMMING LANGUAGE Lecture 3: C# language basics II Lecture Contents 2 C# basics Methods Arrays 1 Methods : Method Declaration: Header 3 A method declaration begins with a method header

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence Lecture 05 Randomness and Probability Edirlei Soares de Lima Game AI Model Pathfinding Steering behaviours Finite state machines Automated planning Behaviour

More information

THREE. Multiple windows

THREE. Multiple windows THREE Multiple windows Often in a Windows application it is convenient to have more than one window in use. This provides a natural way of breaking down a large and complex project into a number of simpler

More information

General Purpose Psychology Laboratory Dr. Robert Goldstone Psychology Department/Program in Cognitive Science Indiana University

General Purpose Psychology Laboratory Dr. Robert Goldstone Psychology Department/Program in Cognitive Science Indiana University General Purpose Psychology Laboratory Dr. Robert Goldstone Psychology Department/Program in Cognitive Science Indiana University Introduction This laboratory is designed to run many different kinds of

More information

A method is a procedure that is always associated with an object and defines the behavior of that object.

A method is a procedure that is always associated with an object and defines the behavior of that object. Using Form Components Old Content - visit altium.com/documentation Modified by Rob Evans on 15-Feb-2017 Parent page: VBScript Using Components in VBScript Forms Although Forms and Components are based

More information

COSC 122 Computer Fluency. Iteration and Arrays. Dr. Ramon Lawrence University of British Columbia Okanagan

COSC 122 Computer Fluency. Iteration and Arrays. Dr. Ramon Lawrence University of British Columbia Okanagan COSC 122 Computer Fluency Iteration and Arrays Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Key Points 1) A loop repeats a set of statements multiple times until some

More information

Modbus Server. ARSoft International

Modbus Server. ARSoft International Modbus Server ARSoft International Description The ModBus server allows: The cyclic or acyclique interrogation of equipments connected to the serial comport COM1 to COM10. Up to 115200 Bauds. The communication

More information

Sorting TEN. Alphabetical sort

Sorting TEN. Alphabetical sort TEN Sorting In this chapter we will look at various ways in which sorting might be used in programs. To with, let's see how a series of words could be arranged into alphabetical order by the computer...

More information

DateTimePicker Control

DateTimePicker Control Controls Part 2 DateTimePicker Control Used for representing Date/Time information and take it as input from user. Date information is automatically created. Prevents wrong date and time input. Fundamental

More information

SuperEDIT for Delphi VCL

SuperEDIT for Delphi VCL Manual SuperEDIT for Delphi VCL Caution Without notice some or all of the contents of this document to the Company, be copied or reproduced in any form, it is strictly prohibited. Describing the contents

More information

«» 68, 19, 1, 41.,,,,,,,... : Delphi. : 1., ё Delphi. 4.. :,,,.,,

«» 68, 19, 1, 41.,,,,,,,... : Delphi. : 1., ё Delphi. 4.. :,,,.,, ,.. 2018. 44.03.01,..,...., 2018 «» 68, 19, 1, 41.,,,,,,,... : Delphi. : 1., ё. 2.. 3. Delphi. 4.. :,,,.,, .,. А... 4 1... 6 1.1... 6 1.2... 15 2... 22 2.1... 22 2.2... 50... 58... 59 -. 130 80% - Internet.,,,,..

More information

Test #2 October 8, 2015

Test #2 October 8, 2015 CPSC 1040 Name: Test #2 October 8, 2015 Closed notes, closed laptop, calculators OK. Please use a pencil. 100 points, 5 point bonus. Maximum score 105. Weight of each section in parentheses. If you need

More information

Data Should Not be a Four Letter Word Microsoft Excel QUICK TOUR

Data Should Not be a Four Letter Word Microsoft Excel QUICK TOUR Toolbar Tour AutoSum + more functions Chart Wizard Currency, Percent, Comma Style Increase-Decrease Decimal Name Box Chart Wizard QUICK TOUR Name Box AutoSum Numeric Style Chart Wizard Formula Bar Active

More information

20 Rules For OOP In Delphi

20 Rules For OOP In Delphi 20 Rules For OOP In Delphi by Marco Cantù Most Delphi programmers use their development environment as they would use Visual Basic [Editor throws his hands up in horror at the mere thought!], without realising

More information

Repetition Structures

Repetition Structures Repetition Structures Chapter 5 Fall 2016, CSUS Introduction to Repetition Structures Chapter 5.1 1 Introduction to Repetition Structures A repetition structure causes a statement or set of statements

More information

Condition-Controlled Loop. Condition-Controlled Loop. If Statement. Various Forms. Conditional-Controlled Loop. Loop Caution.

Condition-Controlled Loop. Condition-Controlled Loop. If Statement. Various Forms. Conditional-Controlled Loop. Loop Caution. Repetition Structures Introduction to Repetition Structures Chapter 5 Spring 2016, CSUS Chapter 5.1 Introduction to Repetition Structures The Problems with Duplicate Code A repetition structure causes

More information

CSC Web Programming. Introduction to SQL

CSC Web Programming. Introduction to SQL CSC 242 - Web Programming Introduction to SQL SQL Statements Data Definition Language CREATE ALTER DROP Data Manipulation Language INSERT UPDATE DELETE Data Query Language SELECT SQL statements end with

More information

RYERSON POLYTECHNIC UNIVERSITY DEPARTMENT OF MATH, PHYSICS, AND COMPUTER SCIENCE CPS 710 FINAL EXAM FALL 97 INSTRUCTIONS

RYERSON POLYTECHNIC UNIVERSITY DEPARTMENT OF MATH, PHYSICS, AND COMPUTER SCIENCE CPS 710 FINAL EXAM FALL 97 INSTRUCTIONS RYERSON POLYTECHNIC UNIVERSITY DEPARTMENT OF MATH, PHYSICS, AND COMPUTER SCIENCE CPS 710 FINAL EXAM FALL 97 STUDENT ID: INSTRUCTIONS Please write your student ID on this page. Do not write it or your name

More information

2. Design and Development

2. Design and Development Postage Calculator 1. The task Design and implement a program for employees of a travel agency who send out documents to the UK and EU only; the program will calculate the cost of postage. Each envelope

More information

Omit Present Value on pages ; Example 7.

Omit Present Value on pages ; Example 7. MAT 171 Precalculus Algebra Trigsted Pilot Test Dr. Claude Moore Cape Fear Community College CHAPTER 5: Exponential and Logarithmic Functions and Equations 5.1 Exponential Functions 5.2 The Natural Exponential

More information

The ListView grouping feature (in Windows XP)

The ListView grouping feature (in Windows XP) The ListView grouping feature (in Windows XP) Introduction The introduction of version 6 of the Common Controls Library in Windows XP didn t bring much improvement for the Windows (Common) Controls grouped

More information

RPC BROKER GETTING STARTED WITH THE BROKER DEVELOPMENT KIT (BDK) Version 1.1 September 1997

RPC BROKER GETTING STARTED WITH THE BROKER DEVELOPMENT KIT (BDK) Version 1.1 September 1997 RPC BROKER GETTING STARTED WITH THE BROKER DEVELOPMENT KIT (BDK) Version 1.1 September 1997 Department of Veterans Affairs VISTA Software Development OpenVISTA Product Line Table of Contents 1. Introduction...

More information

SELRand. IEC Library for ACSELERATOR RTAC Projects. SEL Automation Controllers

SELRand. IEC Library for ACSELERATOR RTAC Projects. SEL Automation Controllers SELRand IEC 61131 Library for ACSELERATOR RTAC Projects SEL Automation Controllers Table of Contents Section 1: SELRand Introduction... 3 Supported Firmware Versions... 3 Functions... 3 Benchmarks... 5

More information

Chapter 5snow year.notebook March 15, 2018

Chapter 5snow year.notebook March 15, 2018 Chapter 5: Statistical Reasoning Section 5.1 Exploring Data Measures of central tendency (Mean, Median and Mode) attempt to describe a set of data by identifying the central position within a set of data

More information

uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, StdCtrls, Buttons, MPlayer;

uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, StdCtrls, Buttons, MPlayer; unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, StdCtrls, Buttons, MPlayer; type TForm1 = class(tform) Cenario: TImage;

More information

In this lab, you will learn more about selection statements. You will get familiar to

In this lab, you will learn more about selection statements. You will get familiar to Objective: In this lab, you will learn more about selection statements. You will get familiar to nested if and switch statements. Nested if Statements: When you use if or if...else statement, you can write

More information

SELRand IEC Library for ACSELERATOR RTAC Projects

SELRand IEC Library for ACSELERATOR RTAC Projects SELRand IEC 61131 Library for ACSELERATOR RTAC Projects SEL Automation Controllers Contents 1 Introduction 3 2 Supported Firmware Versions 4 3 Functions 5 3.1 fun_rand (Function).................................

More information

IndySoap Demonstration Tutorial

IndySoap Demonstration Tutorial IndySoap Demonstration Tutorial Introduction This tutorial shows how to use IndySoap for client/server RPC model using a unique number server as an example. As well as providing a demonstration of how

More information

Computing Science Unit 1

Computing Science Unit 1 Computing Science Unit 1 Software Design and Development Programming Practical Tasks Business Information Technology and Enterprise Contents Input Validation Find Min Find Max Linear Search Count Occurrences

More information

Log4Delphi Coding Standards

Log4Delphi Coding Standards Table of contents 1 Coding Standards Used By Log4Delphi Developers...2 1.1 Introduction... 2 1.2 General Source Conventions... 2 1.3 Object Pascal Conventions... 3 1.4 File Conventions...4 1.5... 5 2 Other

More information

The following topics are covered in this reference:

The following topics are covered in this reference: JScript Reference Summary The following topics are covered in this reference: Exploring the JScript Language This reference manual JScript Source Files describes the JScript About JScript Examples scripting

More information

Delphi MVC Framework. Mathias Pannier

Delphi MVC Framework. Mathias Pannier Delphi MVC Framework Mathias Pannier Aboutme Name: Mathias Pannier Position: Software developer/ Team leader More than 15 years of experience with software development in Delphi Blog: DMVCFramework Delphi

More information

1 extrema notebook. November 25, 2012

1 extrema notebook. November 25, 2012 Do now as a warm up: Suppose this graph is a function f, defined on [a,b]. What would you say about the value of f at each of these x values: a, x 1, x 2, x 3, x 4, x 5, x 6, and b? What would you say

More information

Remobjects for Webservices

Remobjects for Webservices Remobjects for Webservices Michaël Van Canneyt December 6, 2008 Abstract The RemObjects SDK is a versatile tool which is likely to provide a solution for all your remoting needs: it implements a complete

More information

CREATING SIMULATED DATASETS Edition by G. David Garson and Statistical Associates Publishing Page 1

CREATING SIMULATED DATASETS Edition by G. David Garson and Statistical Associates Publishing Page 1 Copyright @c 2012 by G. David Garson and Statistical Associates Publishing Page 1 @c 2012 by G. David Garson and Statistical Associates Publishing. All rights reserved worldwide in all media. No permission

More information

JScript Reference. Contents

JScript Reference. Contents JScript Reference Contents Exploring the JScript Language JScript Example Altium Designer and Borland Delphi Run Time Libraries Server Processes JScript Source Files PRJSCR, JS and DFM files About JScript

More information

PDFtext.dll 64 bit-version

PDFtext.dll 64 bit-version PDFtext.dll 64 bit-version 4.0.0.0 You can use it with all well known ides (.NET-IDEs, too!) Try it with Visual Basic, VBA, C#, VB20xx, VB20xx Express, Delphi, C, C++, PowerBuilder and many more This is

More information

Introduction to the DLL for the USB Interface Board K8061

Introduction to the DLL for the USB Interface Board K8061 K8061.DLL 1 Introduction to the DLL for the USB Interface Board K8061 The K8061 interface board has 8 digital input channels and 8 digital output channels. In addition, there are 8 analogue inputs, 8 analogue

More information

LAMPIRAN A. Foto Alat

LAMPIRAN A. Foto Alat LAMPIRAN A Foto Alat A-1 A-2 Rangkaian Skematik PCB Sistem Monitoring Infus A-3 LAMPIRAN B Program pada Mikrokontroller AVR Atmega16...B-1 Program pada Borlan Delhpi 7.0...B-9 PROGRAM UTAMA /*****************************************************

More information

I ve just inherited 1,000,000 lines of code now what? Michael Rozlog Product Manager, RAD Studio, Delphi for PHP, and 3 rd Rail

I ve just inherited 1,000,000 lines of code now what? Michael Rozlog Product Manager, RAD Studio, Delphi for PHP, and 3 rd Rail I ve just inherited 1,000,000 lines of code now what? Michael Rozlog Product Manager, RAD Studio, Delphi for PHP, and 3 rd Rail 1 You just said that Who is Mike? Product Manager RAD Studio, Delphi for

More information

TMS FNC Object Inspector

TMS FNC Object Inspector TMS FNC Object Inspector September 2018 Copyright 2018 by tmssoftware.com bvba Web: http://www.tmssoftware.com Email: info@tmssoftware.com 1 Index Getting Started... 3 Availability... 3 Hierarchy... 4

More information

RANDOM NUMBER GAME PROJECT

RANDOM NUMBER GAME PROJECT Random Number Game RANDOM NUMBER GAME - Now it is time to put all your new knowledge to the test. You are going to build a random number game. - The game needs to generate a random number between 1 and

More information

Filtering and Enhancing Images

Filtering and Enhancing Images KECE471 Computer Vision Filtering and Enhancing Images Chang-Su Kim Chapter 5, Computer Vision by Shapiro and Stockman Note: Some figures and contents in the lecture notes of Dr. Stockman are used partly.

More information

2015 Entrinsik, Inc.

2015 Entrinsik, Inc. 2015 Entrinsik, Inc. Table of Contents Chapter 1: Creating a Dashboard... 3 Creating a New Dashboard... 4 Choosing a Data Provider... 5 Scheduling Background Refresh... 10 Chapter 2: Adding Graphs and

More information

MANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9)

MANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9) Technology & Information Management Instructor: Michael Kremer, Ph.D. Class 6 Professional Program: Data Administration and Management MANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9) AGENDA

More information

The WIB Wide Information Bus for kbmmw v. 2.01b+

The WIB Wide Information Bus for kbmmw v. 2.01b+ The WIB Wide Information Bus for kbmmw v. 2.01b+ Publish/subscribe type of information transfer has become a hot subject lately, and its not without reason. The great thing about publish/subscribe is that

More information

Creating a Webserver in 5 minutes using kbmmw!

Creating a Webserver in 5 minutes using kbmmw! Creating a Webserver in 5 minutes using kbmmw! kbmmw is a complete framework for building middleware/n-tier systems typically consisting of application servers and clients. One of the many advantages of

More information

Normal Order (Lazy) Evaluation SICP. Applicative Order vs. Normal (Lazy) Order. Applicative vs. Normal? How can we implement lazy evaluation?

Normal Order (Lazy) Evaluation SICP. Applicative Order vs. Normal (Lazy) Order. Applicative vs. Normal? How can we implement lazy evaluation? Normal Order (Lazy) Evaluation Alternative models for computation: Normal (Lazy) Order Evaluation Memoization Streams Applicative Order: evaluate all arguments, then apply operator Normal Order: pass unevaluated

More information

1) A rational function is a quotient of polynomial functions:

1) A rational function is a quotient of polynomial functions: Math 165 - Sections 4.4 and 4.5 Rational Functions 1) A rational function is a quotient of polynomial functions: 2) Explain how you find the domain of a rational function: a) Write a rational function

More information

Terminal Commands for CDS Attributes by Marvin Johnson RN, MS

Terminal Commands for CDS Attributes by Marvin Johnson RN, MS Terminal Commands for CDS Attributes by Marvin Johnson RN, MS Users primarily interact with the MAGIC system using one of the following methods: 1. Esprit color terminal 2. Terminal that emulates an Esprit

More information

Setup Examples. RTPView Project Program

Setup Examples. RTPView Project Program Setup Examples RTPView Project Program RTPView Project Program Example 2005, 2007, 2008, 2009 RTP Corporation Not for reproduction in any printed or electronic media without express written consent from

More information

Lab1. Introduction to Python. Lab 4: Selection Statement. Eng. Mai Z. Alyazji

Lab1. Introduction to Python. Lab 4: Selection Statement. Eng. Mai Z. Alyazji Islamic University of Gaza Faculty of Engineering Computer Engineering Dept. Introduction to Computers Lab (ENGG 1003) Lab1 Introduction to Python Lab 4: Selection Statement Eng. Mai Z. Alyazji In this

More information

Database Development with dbexpress

Database Development with dbexpress Database Development with dbexpress CHAPTER 8 IN THIS CHAPTER Using dbexpress 350 dbexpress Components 351 Designing Editable dbexpress Applications 359 Deploying dbexpress Applications 360 350 Database

More information

Microsoft Excel 2010 Training. Excel 2010 Basics

Microsoft Excel 2010 Training. Excel 2010 Basics Microsoft Excel 2010 Training Excel 2010 Basics Overview Excel is a spreadsheet, a grid made from columns and rows. It is a software program that can make number manipulation easy and somewhat painless.

More information

Iteration and Arrays Dr. Abdallah Mohamed

Iteration and Arrays Dr. Abdallah Mohamed Iteration and Arrays Dr. Abdallah Mohamed Acknowledgement: Original slides provided courtesy of Dr. Lawrence. Before we start: the ++ and -- Operators It is very common to subtract 1 or add 1 from the

More information

MARKING GUIDELINE NATIONAL CERTIFICATE (VOCATIONAL) NOVEMBER INTRODUCTION TO SYSTEMS DEVELOPMENT First Paper (Theory) NQF LEVEL 2

MARKING GUIDELINE NATIONAL CERTIFICATE (VOCATIONAL) NOVEMBER INTRODUCTION TO SYSTEMS DEVELOPMENT First Paper (Theory) NQF LEVEL 2 NATIONAL CERTIFICATE (VOCATIONAL) NOVEMBER 2010 NQF LEVEL 2 29 OCTOBER 2010 This memorandum consists of 7 pages. THIS MARKING MEMO IS INTENDED TO SERVE AS A GUIDE TO THE MARKING PROCESS. ANY VALID APPLICABLE

More information

unit SrTapi; v1.0 (9/23/2002): The first release of this module. interface uses Classes, SysUtils, Contnrs, Windows, Tapi; {$INCLUDE TAPI.

unit SrTapi; v1.0 (9/23/2002): The first release of this module. interface uses Classes, SysUtils, Contnrs, Windows, Tapi; {$INCLUDE TAPI. {*******************************************************} { SoftReal TAPI Components (Delphi 5) } { Copyright (c) 2002 SoftReal Kft. } { All rights reserved. } { Version: v1.1 } { Compiler: Delphi 5 }

More information

Today s Topics. Program Realisation 2. How code and configuration data of forms are organized.

Today s Topics. Program Realisation 2. How code and configuration data of forms are organized. Program Realisation Today s Topics http://www.win.tue.nl/ hemerik/ip0/ Lecture 9 Kees Hemerik Tom Verhoeff Technische Universiteit Eindhoven Faculteit Wiskunde en Informatica Software Engineering & Technology

More information

Credit Cards. Validating Credit Cards. Answers

Credit Cards. Validating Credit Cards. Answers Answers 7 8 9 10 11 12 TI-Nspire Coding Student 60 min Validating Credit Cards Imagine you are building a website that requires financial transactions to take place. Users need to enter their credit card

More information

The scripting system handles two types of components: Visual and Non-visual components.

The scripting system handles two types of components: Visual and Non-visual components. Forms and Components Old Content - visit altium.com/documentation Modified by on 13-Sep-2017 Parent page: DelphiScript Overview of Graphical Components The scripting system handles two types of components:

More information

Lecture 2: Python Arithmetic

Lecture 2: Python Arithmetic Lecture 2: Python Arithmetic CS1068+ Introductory Programming in Python Dr Kieran T. Herley 2018/19 Department of Computer Science University College Cork Basic data types in Python Python data types Programs

More information

Delphi Language Guide

Delphi Language Guide Delphi Language Guide Borland Delphi Borland Software Corporation 100 Enterprise Way, Scotts Valley, CA 95066-3249 http://www.borland.com Refer to the DEPLOY document located in the root directory of your

More information

COSC 111: Computer Programming I. Dr. Bowen Hui University of Bri>sh Columbia Okanagan

COSC 111: Computer Programming I. Dr. Bowen Hui University of Bri>sh Columbia Okanagan COSC 111: Computer Programming I Dr. Bowen Hui University of Bri>sh Columbia Okanagan 1 First half of course SoEware examples From English to Java Template for building small programs Exposure to Java

More information

Lesson 2.4 Exercises, pages

Lesson 2.4 Exercises, pages Lesson. Eercises, pages 13 10 A 3. Sketch the graph of each function. ( - )( + 1) a) = b) = + 1 ( )( 1) 1 (- + )( - ) - ( )( ) 0 0 The function is undefined when: 1 There is a hole at 1. The function can

More information

The following content has been imported from Legacy Help systems and is in the process of being checked for accuracy.

The following content has been imported from Legacy Help systems and is in the process of being checked for accuracy. Tool Palette Old Content - visit altium.com/documentation Modified by on 13-Sep-2017 The following content has been imported from Legacy Help systems and is in the process of being checked for accuracy.

More information

GRADE 11 NOVEMBER 2012 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM

GRADE 11 NOVEMBER 2012 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM Province of the EASTERN CAPE EDUCATION NATIONAL SENIOR CERTIFICATE GRADE 11 NOVEMBER 2012 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM MARKS/PUNTE: 120 This memorandum consists of 10 pages.

More information

DelphiScript Keywords

DelphiScript Keywords DelphiScript Keywords Old Content - visit altium.com/documentation Modified by on 13-Sep-2017 This reference covers the DelphiScript keywords used for the Scripting System in Altium Designer. The scripting

More information

OPC Systems.NET. Real-time HMI and SCADA software for.net applications.

OPC Systems.NET. Real-time HMI and SCADA software for.net applications. OPC Systems.NET Real-time HMI and SCADA software for.net applications. OPC Systems.NET central communications runs as a Windows Service. Read and write data to OPC Servers supporting Data Access 1.0a,

More information

Object Pascal Language Guide

Object Pascal Language Guide Object Pascal Language Guide Borland Object Pascal Borland Software Corporation 100 Enterprise Way, Scotts Valley, CA 95066-3249 www.borland.com Borland Software Corporation may have patents and/or pending

More information

Simple Factory Pattern

Simple Factory Pattern Simple Factory Pattern Graeme Geldenhuys 2008-08-02 In this article I am going to discuss one of three Factory design patterns. The Factory patterns are actually subtle variations of each other and all

More information

Sample some Pi Monte. Introduction. Creating the Simulation. Answers & Teacher Notes

Sample some Pi Monte. Introduction. Creating the Simulation. Answers & Teacher Notes Sample some Pi Monte Answers & Teacher Notes 7 8 9 10 11 12 TI-Nspire Investigation Student 45 min Introduction The Monte-Carlo technique uses probability to model or forecast scenarios. In this activity

More information

Computer Programming: C++

Computer Programming: C++ The Islamic University of Gaza Engineering Faculty Department of Computer Engineering Fall 2017 ECOM 2003 Muath i.alnabris Computer Programming: C++ Experiment #3 Loops Part I Contents Introduction For-Loop

More information

Fundamentals of the Analysis of Algorithm Efficiency

Fundamentals of the Analysis of Algorithm Efficiency Fundamentals of the Analysis of Algorithm Efficiency DR. JIRABHORN CHAIWONGSAI ดร.จ ราพร ไชยวงศ สาย D E PA R T M E N T O F C O M P U T E R E N G I N E E R I N G S C H O O L O F I N F O R M AT I O N A N

More information

DATABASE VIEWER PLUS FOR IPAD: USER GUIDE PRODUCT VERSION: 4.1

DATABASE VIEWER PLUS FOR IPAD: USER GUIDE PRODUCT VERSION: 4.1 DATABASE VIEWER PLUS FOR IPAD: USER GUIDE PRODUCT VERSION: 4.1. CONTENTS User Guide 1 INTRODUCTION...5 1.1 FEATURES...5 2 INSTALLATION...6 2.1 DESKTOP INSTALLATION...6 2.2 IPAD INSTALLATION:...10 3 USING

More information

Tutorial: set up of measurement recipe with database

Tutorial: set up of measurement recipe with database Tutorial: set up of measurement recipe with database This tutorial explains 1. how to create a recipe to perform repeated measurements at a given place on the wafer 2. how to make a data analysis routine

More information

Contents of SAS Programming Techniques

Contents of SAS Programming Techniques Contents of SAS Programming Techniques Chapter 1 About SAS 1.1 Introduction 1.1.1 SAS modules 1.1.2 SAS module classification 1.1.3 SAS features 1.1.4 Three levels of SAS techniques 1.1.5 Chapter goal

More information

Modules and Clients 1 / 21

Modules and Clients 1 / 21 Modules and Clients 1 / 21 Outline 1 Using Functions in Other Programs 2 Modular Programming Abstractions 3 Random Numbers 4 List Processing 5 Standard Statistics 2 / 21 Using Functions in Other Programs

More information

SFPL Simple Floor Plan Language 09/25/2005

SFPL Simple Floor Plan Language 09/25/2005 SFPL Simple Floor Plan Language 09/25/2005 By: Huang-Hsu Chen (hc2237) Xiao Song Lu(xl2144) Natasha Nezhdanova(nin2001) Ling Zhu(lz2153) Motivation and Introduction Today, many people would like their

More information

Natural Numbers Estimation Pigeonhole Principle Examples Strategies Counting Counting

Natural Numbers Estimation Pigeonhole Principle Examples Strategies Counting Counting Natural Numbers The natural numbers are the counting numbers, or the positive integers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,... Definition of A rough calculation of the value, number, quantity, or extent of

More information