Beyond Verification. Software Synthesis

Size: px
Start display at page:

Download "Beyond Verification. Software Synthesis"

Transcription

1 Beynd Verificatin Sftware Synthesis 1

2 What d we mean by synthesis We want t get cde frm high-level specs - Pythn and VB are pretty high level, why is that nt synthesis? Supprt cmpsitinal and incremental specs - Pythn and VB dn t have this prperty If I dn t like the way the pythn cmpiler/runtime is implementing my prgram, I am ut f luck. - Lgical specificatins d I can always add additinal prperties that my system can satisfy - Specs are nt nly functinal Structural specificatins play a big rle in synthesis Hw is my algrithm ging t lk like. 2

3 The fundamental challenge The fundamental challenge f synthesis is dealing with an uncperative envirnment - Fr reactive systems, peple mdel this as a game Fr every mve f the adversary (ever actin f the envirnment), the synthesized prgram must make a cunter-mve that keeps the system wrking crrectly. The game can be mdeled with an autmata 3

4 The fundamental challenge The fundamental challenge f synthesis is dealing with an uncperative envirnment - If we are synthesizing functins, the envirnment prvides the inputs i.e. whatever we synthesize must wrk crrectly fr all inputs - This is mdeled with a dubly quantified cnstraint E.g. if the spec is given as pre and pst cnditins, we have P σ σ pre (σ WP(P, pst )) - What des it mean t quantify ver the space f prgrams? 4

5 Quantifying ver prgrams Synthesis in the functinal setting can be seen as curve fitting - i.e. we want t find a curve that satisfies sme prperties It s very hard t d curve fitting when yu have t cnsider arbitrary curves - Instead, peple use parameterized families f curves - This means yu quantify ver parameters instead f ver functins This is the first fundamental idea in sftware synthesis - Peple call these Sketches, scafflds, templates, - They are all the same thing 5

6 The Sketch Language Define parameterized prgrams explicitly - Think f the parameterized prgrams as prgrams with hles Example: Hell Wrld f Sketching spec: int f (int x) { return x + x; } sketch: int bar (int x) implements f { return x *??; } Integer Hle 6

7 Integer Hles Sets f Expressins Expressins with?? == sets f expressins - linear expressins x*?? + y*?? - plynmials x*x*?? + x*?? +?? - sets f variables??? x : y 7

8 Integer Hles Sets f Expressins Example: Least Significant Zer Bit int W = 32; bit[w] islate0 (bit[w] x) { // W: wrd size bit[w] ret = 0; fr (int i = 0; i < W; i++) if (!x[i]) { ret[i] = 1; return ret; } } Trick: - Adding 1 t a string f nes turns the next zer t a 1 - i.e = !(x +??) & (x +??)!(x + 1) & (x + 0)!(x + 0) & (x + 1)!(x + 1) & (x + 0xFFFF)!(x + 0xFFFF) & (x + 1) 8

9 Integer Hles Sets f Expressins Example: Least Significant Zer Bit int W = 32; bit[w] islate0 (bit[w] x) { // W: wrd size bit[w] ret = 0; fr (int i = 0; i < W; i++) if (!x[i]) { ret[i] = 1; return ret; } } bit[w] islatesk (bit[w] x) implements islate0 { } return!(x +??) & (x +??) ; 9

10 Integer Hles Sets f Expressins Expressins with?? == sets f expressins - linear expressins x*?? + y*?? - plynmials x*x*?? + x*?? +?? - sets f variables??? x : y Semantically pwerful but syntactically clunky - Regular Expressins are a mre cnvenient way f defining sets 10

11 Regular Expressin Generatrs { RegExp } RegExp supprts chice and ptinal? - can be used arbitrarily within an expressin t select perands { (x y z) + 1 } t select peratrs { x (+ -) y } t select fields { n(.prev.next)? } t select arguments { f( x y, z) } Set must respect the type system - all expressins in the set must type-check - all must be f the same type 11

12 Least Significant One revisited Hw did I knw the slutin wuld take the frm!(x +??) & (x +??). What if all yu knw is that the slutin invlves x, +, & and!. bit[w] tmp=0; { x tmp } = { (!)?((x tmp) (& +) (x tmp??)) }; { x tmp } = { (!)?((x tmp) (& +) (x tmp??)) }; return tmp; This is nw a set f statements (and a really big ne t) 12

13 Sets f statements Statements with hles = sets f statements Higher level cnstructs fr Statements t - repeat bit[w] tmp=0; repeat(3){ { x tmp } = { (!)?((x tmp) (& +) (x tmp??)) }; } return tmp; 13

14 repeat Avid cpying and pasting - repeat(n){ s} s;s; s; - each f the n cpies may reslve t a distinct stmt - n can be a hle t. n bit[w] tmp=0; repeat(??){ { x tmp } = { (!)?((x tmp) (& +) (x tmp??)) }; } return tmp; Keep in mind: - the synthesizer wn t try t minimize n 14

15 Slving fr a parameterized prgram At a high level, tw fundamental appraches: - Search and Test - Derive in ne sht Usually by means f abstractin. 15

16 The CEGIS apprach Synthesis reduces t cnstraint satisfactin φ. x. A E Q(x, φ) Cnstraints are t hard fr standard techniques - Universal quantificatin ver inputs - T many inputs - T many cnstraints - T many hles 16

17 Insight Sketches are nt arbitrary cnstraint systems - They express the high level structure f a prgram A small number f inputs can be enugh - fcus n crner cases φ. x in E. Q(x, φ) A E where E = {x 1, x 2,, x k } This is an inductive synthesis prblem! 17

18 CEGIS Synthesis algrithm Synthesize c Check Insert yur favrite checker here c s. t. Crrect(P c, in i ) in s. t. Crrect(P c, in i ) {in i } in 18

19 CEGIS 19

20 A sketch as a cnstraint system int lin(int x){ if(x >?? 1 ) return?? 2 *x +?? 3 ; else return?? 4 *x; }?? 2 *x +?? 3 x >?? 1 x+1 >?? 1?? 2 *(x+1) +?? 3 vid main(int x){ int t1 = lin(x); int t2 = lin(x+1);?? 4 *x mux mux?? 4 *(x+1) } if(x<4) assert t1 >= x*x; if(x>=3) assert t2-t1 == 1; x>=4 r >= x*x - = r 1 x<3 and 20

21 Ex : Ppulatin cunt x cunt ne cunt mux mux + cunt + cunt mux F(x) = cunt mux + 21

22 x & >> & + mux x & >> & + mux x & >> + & S(x,) = x mux 22

23 MIT OpenCurseWare Fundamentals f Prgram Analysis Fall 2015 Fr infrmatin abut citing these materials r ur Terms f Use, visit:

Introduction to Sketching

Introduction to Sketching Introduction to Sketching IAP 2008 Armando Solar-Lezama What is sketching? A program synthesis system - generates small fragments of code - checks their validity against a specification A programming aid

More information

Primitive Types and Methods. Reference Types and Methods. Review: Methods and Reference Types

Primitive Types and Methods. Reference Types and Methods. Review: Methods and Reference Types Primitive Types and Methds Java uses what is called pass-by-value semantics fr methd calls When we call a methd with input parameters, the value f that parameter is cpied and passed alng, nt the riginal

More information

Relational Operators, and the If Statement. 9.1 Combined Assignments. Relational Operators (4.1) Last time we discovered combined assignments such as:

Relational Operators, and the If Statement. 9.1 Combined Assignments. Relational Operators (4.1) Last time we discovered combined assignments such as: Relatinal Operatrs, and the If Statement 9/18/06 CS150 Intrductin t Cmputer Science 1 1 9.1 Cmbined Assignments Last time we discvered cmbined assignments such as: a /= b + c; Which f the fllwing lng frms

More information

Common Language Runtime

Common Language Runtime Intrductin t.net framewrk.net is a general-purpse sftware develpment platfrm, similar t Java. Micrsft intrduced.net with purpse f bridging gap between different applicatins..net framewrk aims at cmbining

More information

LAB 7 (June 29/July 4) Structures, Stream I/O, Self-referential structures (Linked list) in C

LAB 7 (June 29/July 4) Structures, Stream I/O, Self-referential structures (Linked list) in C LAB 7 (June 29/July 4) Structures, Stream I/O, Self-referential structures (Linked list) in C Due: July 9 (Sun) 11:59 pm 1. Prblem A Subject: Structure declaratin, initializatin and assignment. Structure

More information

Pages of the Template

Pages of the Template Instructins fr Using the Oregn Grades K-3 Engineering Design Ntebk Template Draft, 12/8/2011 These instructins are fr the Oregn Grades K-3 Engineering Design Ntebk template that can be fund n the web at

More information

CS1150 Principles of Computer Science Loops

CS1150 Principles of Computer Science Loops CS1150 Principles f Cmputer Science Lps Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 UC. Clrad Springs Annuncement HW1 graded HW2 due tnight HW3 will be psted sn Due

More information

Eastern Mediterranean University School of Computing and Technology Information Technology Lecture2 Functions

Eastern Mediterranean University School of Computing and Technology Information Technology Lecture2 Functions Eastern Mediterranean University Schl f Cmputing and Technlgy Infrmatin Technlgy Lecture2 Functins User Defined Functins Why d we need functins? T make yur prgram readable and rganized T reduce repeated

More information

Lab 4. Name: Checked: Objectives:

Lab 4. Name: Checked: Objectives: Lab 4 Name: Checked: Objectives: Learn hw t test cde snippets interactively. Learn abut the Java API Practice using Randm, Math, and String methds and assrted ther methds frm the Java API Part A. Use jgrasp

More information

a brand of

a brand of a brand f www.sqlbi.cm Marc Russ marc.russ@sqlbi.cm @marcrus Excel 2013 PwerPivt in Actin Wh s Speaking? BI Expert and Cnsultant a brand f Funder f www.sqlbi.cm Prblem Slving Cmplex Prject Assistance DataWarehuse

More information

Iteration Part 2. Review: Iteration [Part 1] Flow charts for two loop constructs. Review: Syntax of loops. while continuation_condition : statement1

Iteration Part 2. Review: Iteration [Part 1] Flow charts for two loop constructs. Review: Syntax of loops. while continuation_condition : statement1 Review: Iteratin [Part 1] Iteratin Part 2 CS111 Cmputer Prgramming Department f Cmputer Science Wellesley Cllege Iteratin is the repeated executin f a set f statements until a stpping cnditin is reached.

More information

Homework: Populate and Extract Data from Your Database

Homework: Populate and Extract Data from Your Database Hmewrk: Ppulate and Extract Data frm Yur Database 1. Overview In this hmewrk, yu will: 1. Check/revise yur data mdel and/r marketing material frm last week's hmewrk- this material will later becme the

More information

1 Version Spaces. CS 478 Homework 1 SOLUTION

1 Version Spaces. CS 478 Homework 1 SOLUTION CS 478 Hmewrk SOLUTION This is a pssible slutin t the hmewrk, althugh there may be ther crrect respnses t sme f the questins. The questins are repeated in this fnt, while answers are in a mnspaced fnt.

More information

Assignment #5: Rootkit. ECE 650 Fall 2018

Assignment #5: Rootkit. ECE 650 Fall 2018 General Instructins Assignment #5: Rtkit ECE 650 Fall 2018 See curse site fr due date Updated 4/10/2018, changes nted in green 1. Yu will wrk individually n this assignment. 2. The cde fr this assignment

More information

High School - Mathematics Related Basic Skill or Concept

High School - Mathematics Related Basic Skill or Concept Reprting Categry Knwledge High Schl - Mathematics r Cncept Sample Instructinal Activities Expressins Operatins HSM-EO 1 HSM-EO 2 a) match an algebraic expressin invlving ne peratin t represent a given

More information

Overview of OPC Alarms and Events

Overview of OPC Alarms and Events Overview f OPC Alarms and Events Cpyright 2016 EXELE Infrmatin Systems, Inc. EXELE Infrmatin Systems (585) 385-9740 Web: http://www.exele.cm Supprt: supprt@exele.cm Sales: sales@exele.cm Table f Cntents

More information

COP2800 Homework #3 Assignment Spring 2013

COP2800 Homework #3 Assignment Spring 2013 YOUR NAME: DATE: LAST FOUR DIGITS OF YOUR UF-ID: Please Print Clearly (Blck Letters) YOUR PARTNER S NAME: DATE: LAST FOUR DIGITS OF PARTNER S UF-ID: Please Print Clearly Date Assigned: 15 February 2013

More information

ClubRunner. Volunteers Module Guide

ClubRunner. Volunteers Module Guide ClubRunner Vlunteers Mdule Guide 2014 Vlunteer Mdule Guide TABLE OF CONTENTS Overview... 3 Basic vs. Enhanced Versins... 3 Navigatin... 4 Create New Vlunteer Signup List... 5 Manage Vlunteer Tasks... 7

More information

1 Binary Trees and Adaptive Data Compression

1 Binary Trees and Adaptive Data Compression University f Illinis at Chicag CS 202: Data Structures and Discrete Mathematics II Handut 5 Prfessr Rbert H. Slan September 18, 2002 A Little Bttle... with the wrds DRINK ME, (r Adaptive data cmpressin

More information

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Yu will learn the fllwing in this lab: The UNIVERSITY f NORTH CAROLINA at CHAPEL HILL Cmp 541 Digital Lgic and Cmputer Design Spring 2016 Lab Prject (PART A): A Full Cmputer! Issued Fri 4/8/16; Suggested

More information

CS510 Concurrent Systems Class 2. A Lock-Free Multiprocessor OS Kernel

CS510 Concurrent Systems Class 2. A Lock-Free Multiprocessor OS Kernel CS510 Cncurrent Systems Class 2 A Lck-Free Multiprcessr OS Kernel The Synthesis kernel A research prject at Clumbia University Synthesis V.0 ( 68020 Uniprcessr (Mtrla N virtual memry 1991 - Synthesis V.1

More information

UML : MODELS, VIEWS, AND DIAGRAMS

UML : MODELS, VIEWS, AND DIAGRAMS UML : MODELS, VIEWS, AND DIAGRAMS Purpse and Target Grup f a Mdel In real life we ften bserve that the results f cumbersme, tedius, and expensive mdeling simply disappear in a stack f paper n smene's desk.

More information

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2 UNIVERSITY OF CALIFORNIA, SANTA CRUZ BOARD OF STUDIES IN COMPUTER ENGINEERING CMPE13/L: INTRODUCTION TO PROGRAMMING IN C SPRING 2012 Lab 1 - Calculatr Intrductin In this lab yu will be writing yur first

More information

Genesys Certification Study Guide

Genesys Certification Study Guide Genesys Certificatin Study Guide Genesys Certified Presales 8, Genesys WFO Slutins (GCPS8 - WFO) Exam Cde 817e Prduct Supprted: Wrkfrce Manager, Skills Assessr/Training Manager, Quality Manager Type f

More information

Data Structure Interview Questions

Data Structure Interview Questions Data Structure Interview Questins A list f tp frequently asked Data Structure interview questins and answers are given belw. 1) What is Data Structure? Explain. Data structure is a way that specifies hw

More information

Introduction to CS111 Part 2: Big Ideas

Introduction to CS111 Part 2: Big Ideas What is Cmputer Science? Intrductin t CS111 Part 2: Big Ideas CS111 Cmputer Prgramming Department f Cmputer Science Wellesley Cllege It s nt really abut cmputers. It s nt really a science. It s abut imperative

More information

MATH PRACTICE EXAM 2 (Sections 2.6, , )

MATH PRACTICE EXAM 2 (Sections 2.6, , ) MATH 1050-90 PRACTICE EXAM 2 (Sectins 2.6, 3.1-3.5, 7.1-7.6) The purpse f the practice exam is t give yu an idea f the fllwing: length f exam difficulty level f prblems Yur actual exam will have different

More information

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Yu will learn the fllwing in this lab: The UNIVERSITY f NORTH CAROLINA at CHAPEL HILL Designing a mdule with multiple memries Designing and using a bitmap fnt Designing a memry-mapped display Cmp 541 Digital

More information

Populate and Extract Data from Your Database

Populate and Extract Data from Your Database Ppulate and Extract Data frm Yur Database 1. Overview In this lab, yu will: 1. Check/revise yur data mdel and/r marketing material (hme page cntent) frm last week's lab. Yu will wrk with tw classmates

More information

PL-2302 Mac OS Driver MAC/PC and PC/MAC Communication Software

PL-2302 Mac OS Driver MAC/PC and PC/MAC Communication Software PL-2302 Mac OS Driver MAC/PC and PC/MAC Cmmunicatin Sftware Windws Netwrk User Manual Prlific Technlgy Inc. Table f Cntents 1. Scpe... 3 1.1. Overview... 3 1.2. Supprted Platfrms and Tested Sftware...3

More information

Ascii Art Capstone project in C

Ascii Art Capstone project in C Ascii Art Capstne prject in C CSSE 120 Intrductin t Sftware Develpment (Rbtics) Spring 2010-2011 Hw t begin the Ascii Art prject Page 1 Prceed as fllws, in the rder listed. 1. If yu have nt dne s already,

More information

FIT 100. Lab 10: Creating the What s Your Sign, Dude? Application Spring 2002

FIT 100. Lab 10: Creating the What s Your Sign, Dude? Application Spring 2002 FIT 100 Lab 10: Creating the What s Yur Sign, Dude? Applicatin Spring 2002 1. Creating the Interface fr SignFinder:... 1 2. Creating Variables t hld values... 4 3. Assigning Values t Variables... 4 4.

More information

16/07/2012. Design Patterns. By Võ Văn Hải Faculty of Information Technologies - HUI. Behavioral Patterns. Session objectives. Strategy.

16/07/2012. Design Patterns. By Võ Văn Hải Faculty of Information Technologies - HUI. Behavioral Patterns. Session objectives. Strategy. Design Patterns By Võ Văn Hải Faculty f Infrmatin Technlgies - HUI Behaviral Patterns Sessin bjectives Strategy Observer 2 1 Behaviral Patterns 3 Mtivating example - SimpleUDuck Je wrks fr a cmpany that

More information

Reading and writing data in files

Reading and writing data in files Reading and writing data in files It is ften very useful t stre data in a file n disk fr later reference. But hw des ne put it there, and hw des ne read it back? Each prgramming language has its wn peculiar

More information

MyUni Adding Content. Date: 29 May 2014 TRIM Reference: D2013/ Version: 1

MyUni Adding Content. Date: 29 May 2014 TRIM Reference: D2013/ Version: 1 Adding Cntent MyUni... 2 Cntent Areas... 2 Curse Design... 2 Sample Curse Design... 2 Build cntent by creating a flder... 3 Build cntent by creating an item... 4 Cpy r mve cntent in MyUni... 5 Manage files

More information

Log shipping is a HA option. Log shipping ensures that log backups from Primary are

Log shipping is a HA option. Log shipping ensures that log backups from Primary are LOG SHIPPING Lg shipping is a HA ptin. Lg shipping ensures that lg backups frm Primary are cntinuusly applied n standby. Lg shipping fllws a warm standby methd because manual prcess is invlved t ensure

More information

Chapter 6: Lgic Based Testing LOGIC BASED TESTING: This unit gives an indepth verview f lgic based testing and its implementatin. At the end f this unit, the student will be able t: Understand the cncept

More information

Qualtrics Instructions

Qualtrics Instructions Create a Survey/Prject G t the Ursinus Cllege hmepage and click n Faculty and Staff. Click n Qualtrics. Lgin t Qualtrics using yur Ursinus username and passwrd. Click n +Create Prject. Chse Research Cre.

More information

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2 Iterative Code Design handout Style Guidelines handout

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2 Iterative Code Design handout Style Guidelines handout UNIVERSITY OF CALIFORNIA, SANTA CRUZ BOARD OF STUDIES IN COMPUTER ENGINEERING CMPE13/L: INTRODUCTION TO PROGRAMMING IN C SPRING 2013 Lab 1 - Calculatr Intrductin Reading Cncepts In this lab yu will be

More information

SmartPass User Guide Page 1 of 50

SmartPass User Guide Page 1 of 50 SmartPass User Guide Table f Cntents Table f Cntents... 2 1. Intrductin... 3 2. Register t SmartPass... 4 2.1 Citizen/Resident registratin... 4 2.1.1 Prerequisites fr Citizen/Resident registratin... 4

More information

DECISION CONTROL CONSTRUCTS IN JAVA

DECISION CONTROL CONSTRUCTS IN JAVA DECISION CONTROL CONSTRUCTS IN JAVA Decisin cntrl statements can change the executin flw f a prgram. Decisin cntrl statements in Java are: if statement Cnditinal peratr switch statement If statement The

More information

Problem Solving Complex Project Assistance DataWarehouse Assesments and Development Courses, Trainings and Workshops

Problem Solving Complex Project Assistance DataWarehouse Assesments and Development Courses, Trainings and Workshops www.sqlbi.cm Wh We Are BI Experts and Cnsultants Funders f www.sqlbi.cm Prblem Slving Cmplex Prject Assistance DataWarehuse Assesments and Develpment Curses, Trainings and Wrkshps Bk Writers Micrsft Gld

More information

C pointers. (Reek, Ch. 6) 1 CS 3090: Safety Critical Programming in C

C pointers. (Reek, Ch. 6) 1 CS 3090: Safety Critical Programming in C C pinters (Reek, Ch. 6) 1 Review f pinters A pinter is just a memry lcatin. A memry lcatin is simply an integer value, that we interpret as an address in memry. The cntents at a particular memry lcatin

More information

ME Week 5 Project 2 ilogic Part 1

ME Week 5 Project 2 ilogic Part 1 1 Intrductin t ilgic 1.1 What is ilgic? ilgic is a Design Intelligence Capture Tl Supprting mre types f parameters (string and blean) Define value lists fr parameters. Then redefine value lists autmatically

More information

HOW TO live-stream softball on a minimal budget

HOW TO live-stream softball on a minimal budget HOW TO live-stream sftball n a minimal budget It s a ne-camera live-stream with the pssiblity f changing scre, uts, innings. Yu can als add additinal graphics r live cmmentary. WHAT DO YOU NEED A laptp

More information

Type: System Enhancements ID Number: SE 93. Subject: Changes to Employee Address Screens. Date: June 29, 2012

Type: System Enhancements ID Number: SE 93. Subject: Changes to Employee Address Screens. Date: June 29, 2012 Type: System Enhancements ID Number: SE 93 Date: June 29, 2012 Subject: Changes t Emplyee Address Screens Suggested Audience: Human Resurce Offices Details: On July 14, 2012, Peple First will implement

More information

Student Guide. Where can I print? Charges for Printing & Copying. Top up your Print Credits Online, whenever you like

Student Guide. Where can I print? Charges for Printing & Copying. Top up your Print Credits Online, whenever you like Student Guide Where can I print? Yu can print ut yur wrk frm any Printer acrss Campus; in the Libraries, Open Access areas and IT Labs (which are available t wrk in when they are nt being used fr teaching).

More information

Cisco Tetration Analytics, Release , Release Notes

Cisco Tetration Analytics, Release , Release Notes Cisc Tetratin Analytics, Release 1.102.21, Release Ntes This dcument describes the features, caveats, and limitatins fr the Cisc Tetratin Analytics sftware. Additinal prduct Release ntes are smetimes updated

More information

Proper Document Usage and Document Distribution. TIP! How to Use the Guide. Managing the News Page

Proper Document Usage and Document Distribution. TIP! How to Use the Guide. Managing the News Page Managing the News Page TABLE OF CONTENTS: The News Page Key Infrmatin Area fr Members... 2 Newsletter Articles... 3 Adding Newsletter as Individual Articles... 3 Adding a Newsletter Created Externally...

More information

These tasks can now be performed by a special program called FTP clients.

These tasks can now be performed by a special program called FTP clients. FTP Cmmander FAQ: Intrductin FTP (File Transfer Prtcl) was first used in Unix systems a lng time ag t cpy and mve shared files. With the develpment f the Internet, FTP became widely used t uplad and dwnlad

More information

CSE 3320 Operating Systems Page Replacement Algorithms and Segmentation Jia Rao

CSE 3320 Operating Systems Page Replacement Algorithms and Segmentation Jia Rao CSE 0 Operating Systems Page Replacement Algrithms and Segmentatin Jia Ra Department f Cmputer Science and Engineering http://ranger.uta.edu/~jra Recap f last Class Virtual memry Memry verlad What if the

More information

Understand how Google works, how Google thinks

Understand how Google works, how Google thinks Understand hw Ggle wrks, hw Ggle thinks Understanding hw Ggle wrks, hw Ggle thinks Search Engine Optimizatin can seem hrribly cmplicated. It s nt. It des, hwever, incrprate lts f apparently unrelated tasks.

More information

Composition class is responsible for maintaining and updating the linebreaks of text displayed in a text viewer.

Composition class is responsible for maintaining and updating the linebreaks of text displayed in a text viewer. Strategy 1 Intent Define a family f algrithms, encapsulate each ne, and make them interchangeable. Strategy lets the algrithm vary independently frm clients that use it. Als Knwn As Plicy Mtivatin The

More information

Software Toolbox Extender.NET Component. Development Best Practices

Software Toolbox Extender.NET Component. Development Best Practices Page 1 f 16 Sftware Tlbx Extender.NET Cmpnent Develpment Best Practices Table f Cntents Purpse... 3 Intended Audience and Assumptins Made... 4 Seeking Help... 5 Using the ErrrPrvider Cmpnent... 6 What

More information

Life Cycle Objectives (LCO) CSE 403, Spring 2006, Alverson

Life Cycle Objectives (LCO) CSE 403, Spring 2006, Alverson Life Cycle Objectives (LCO) CSE 403, Spring 2006, Alversn Readings Anchring the Sftware Prcess, Barry Behm, USC CSE 403, Spring 2006, Alversn Outline Life Cycle Objectives Assignment 1 LCO review fr yur

More information

Introduction to InfoSec Recitation 2. Nir Krakowski (nirkrako at post.tau.ac.il) Itamar Gilad (itamargi at post.tau.ac.il)

Introduction to InfoSec Recitation 2. Nir Krakowski (nirkrako at post.tau.ac.il) Itamar Gilad (itamargi at post.tau.ac.il) Intrductin t InfSec Recitatin 2 Nir Krakwski (nirkrak at pst.tau.ac.il) Itamar Gilad (itamargi at pst.tau.ac.il) Mre assembly tips Review f the stack Stack verflws Implementatin Tls Tday Little vs Big

More information

WordPress Overview for School Webmasters

WordPress Overview for School Webmasters WrdPress Overview fr Schl Webmasters Cntents 1. Rle f the Schl Webmaster... 2 2. Rle f the District Webmaster... 2 3. Schl Website Standards... 3 Header... 3 Fter... 3 Pages... 4 Sites... 5 4. Hw T...

More information

Querying Data with Transact SQL

Querying Data with Transact SQL Querying Data with Transact SQL Curse Cde: 20761 Certificatin Exam: 70-761 Duratin: 5 Days Certificatin Track: MCSA: SQL 2016 Database Develpment Frmat: Classrm Level: 200 Abut this curse: This curse is

More information

Class 3: Training Recurrent Nets

Class 3: Training Recurrent Nets Class 3: Training Recurrent Nets Arvind Ramanathan Cmputatinal Science & Engineering, Oak Ridge Natinal Labratry, Oak Ridge, TN 3783 ramanathana@rnl.gv 1 Last class Basics f RNNs Recurrent netwrk mdeling

More information

Sometimes it's necessary to issue requests to objects without knowing anything about the operation being requested or the receiver of the request.

Sometimes it's necessary to issue requests to objects without knowing anything about the operation being requested or the receiver of the request. Cmmand 1 Intent Encapsulate a request as an bject, thereby letting yu parameterize clients with different requests, queue r lg requests, and supprt undable peratins. Als Knwn As Actin, Transactin Mtivatin

More information

INSTALLING CCRQINVOICE

INSTALLING CCRQINVOICE INSTALLING CCRQINVOICE Thank yu fr selecting CCRQInvice. This dcument prvides a quick review f hw t install CCRQInvice. Detailed instructins can be fund in the prgram manual. While this may seem like a

More information

Word 2007 The Ribbon, the Mini toolbar, and the Quick Access Toolbar

Word 2007 The Ribbon, the Mini toolbar, and the Quick Access Toolbar Wrd 2007 The Ribbn, the Mini tlbar, and the Quick Access Tlbar In this practice yu'll get the hang f using the new Ribbn, and yu'll als master the use f the helpful cmpanin tls, the Mini tlbar and the

More information

CMU 15-7/381 CSPs. Teachers: Ariel Procaccia Emma Brunskill (THIS TIME) With thanks to Ariel Procaccia and other prior instructions for slides

CMU 15-7/381 CSPs. Teachers: Ariel Procaccia Emma Brunskill (THIS TIME) With thanks to Ariel Procaccia and other prior instructions for slides CMU 15-7/381 CSPs Teachers: Ariel Prcaccia Emma Brunskill (THIS TIME) With thanks t Ariel Prcaccia and ther prir instructins fr slides Class Scheduling Wes 4 mre required classes t graduate A: Algrithms

More information

Adobe Connect 8 Event Organizer Guide

Adobe Connect 8 Event Organizer Guide Adbe Cnnect 8 Event Organizer Guide Questins fr Meeting HOST t ask at rganizatin meeting: Date (r dates) f event including time. Presenting t where Lcal ffice cubicles, reginal r glbal ffices, external

More information

FREE UP SPACE ON YOUR C: DRIVE IN "WINDOWS.."

FREE UP SPACE ON YOUR C: DRIVE IN WINDOWS.. FREE UP SPACE ON YOUR C: DRIVE IN "WINDOWS.." Web lcatin fr this presentatin: http://aztcs.rg Click n Meeting Ntes 2 SUMMARY The manufacturers f cmputers have been replacing the internal hard drives with

More information

Tips For Customising Configuration Wizards

Tips For Customising Configuration Wizards Tips Fr Custmising Cnfiguratin Wizards ver 2010-06-22 Cntents Overview... 2 Requirements... 2 Applicatins... 2 WinSCP and Putty... 2 Adding A Service T An Existing Wizard... 3 Gal... 3 Backup Original

More information

Customer Self-Service Center Migration Guide

Customer Self-Service Center Migration Guide Custmer Self-Service Center Migratin Guide These instructins intrduce yu t the new Custmer Prtal, which is replacing the lder Custmer Self-Service Center, and guides yu thrugh the migratin. Dn t wrry:

More information

CS 309: Autonomous Intelligent Robotics. Instructor: Jivko Sinapov

CS 309: Autonomous Intelligent Robotics. Instructor: Jivko Sinapov CS 309: Autnmus Intelligent Rbtics Instructr: Jivk Sinapv http://www.cs.uteas.edu/~jsinapv/teaching/cs309_spring2017/ Machine Learning Annuncements Final Prject Presentatins Saturday, May 13, 7:00-10:00

More information

VISITSCOTLAND - TOURS MANAGEMENT SYSTEM Manual for Tour Operators

VISITSCOTLAND - TOURS MANAGEMENT SYSTEM Manual for Tour Operators VISITSCOTLAND - TOURS MANAGEMENT SYSTEM Manual fr Tur Operatrs 1 CONTENTS GETTING STARTED... 3 REGISTER AND CREATE YOUR ACCOUNT... 3 OPERATOR PROFILE... 4 Create yur Operatr Prfile... 4 ADD A TOUR LISTING...

More information

Oracle BPM 10rR3. Role Authorization resolution using groups. Version: 1.0

Oracle BPM 10rR3. Role Authorization resolution using groups. Version: 1.0 Oracle BPM 10rR3 Rle Authrizatin reslutin using grups Versin: 1.0 OBPM 10gR3 Rle Authrizatin reslutin using grups Cntents Intrductin... 3 Sme BPM & LDAP cncepts... 4 Cnfiguring OBPM t use different grup

More information

EXCAPE SEMINAR SEPT 10, Armando Solar-Lezama

EXCAPE SEMINAR SEPT 10, Armando Solar-Lezama SKETCH TUTORIAL EXCAPE SEMINAR SEPT 10, 2012 Armando Solar-Lezama http://bit.ly/sketch2012 What is Sketch A programming language with synthesis capabilities A platform for synthesis research Rapidly try

More information

Project 4: System Calls 1

Project 4: System Calls 1 CMPT 300 1. Preparatin Prject 4: System Calls 1 T cmplete this assignment, it is vital that yu have carefully cmpleted and understd the cntent in the fllwing guides which are psted n the curse website:

More information

CS1150 Principles of Computer Science Midterm Review

CS1150 Principles of Computer Science Midterm Review CS1150 Principles f Cmputer Science Midterm Review Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 UC. Clrad Springs Office hurs 10/15, Mnday, 12:05 12:50pm 10/17, Wednesday

More information

The Mathematics of the Rubik s Cube

The Mathematics of the Rubik s Cube The Mathematics f the Rubik s Cube Middle Schl Natinal Standards Cmmn Cre State Standards Materials Instructinal prgrams frm prekindergarten thrugh grade 12 shuld enable all students t: Understand numbers,

More information

Computational Methods of Scientific Programming Fall 2008

Computational Methods of Scientific Programming Fall 2008 MIT OpenCurseWare http://cw.mit.edu 12.010 Cmputatinal Methds f Scientific Prgramming Fall 2008 Fr infrmatin abut citing these materials r ur Terms f Use, visit: http://cw.mit.edu/terms. 12.010 Hmewrk

More information

HP MPS Service. HP MPS Printer Identification Stickers

HP MPS Service. HP MPS Printer Identification Stickers HP MPS Service We welcme yu t HP Managed Print Services (MPS). Fllwing yu will find infrmatin regarding: HP MPS printer identificatin stickers Requesting service and supplies fr devices n cntract Tner

More information

Scatter Search And Bionomic Algorithms For The Aircraft Landing Problem

Scatter Search And Bionomic Algorithms For The Aircraft Landing Problem Scatter Search And Binmic Algrithms Fr The Aircraft Landing Prblem J. E. Beasley Mathematical Sciences Brunel University Uxbridge UB8 3PH United Kingdm http://peple.brunel.ac.uk/~mastjjb/jeb/jeb.html Abstract:

More information

SGL Observatory Automation. ASCOM Motor Focuser Control Getting Started Guide

SGL Observatory Automation. ASCOM Motor Focuser Control Getting Started Guide SGL Observatry Autmatin ASCOM Mtr Fcuser Cntrl Getting Started Guide Written by Christian Guenther (yesyes) Dcument versin V1.0 20 September 2011 Intrductin SGL Observatry Autmatin is an pen surce prject

More information

IGEEKS TECHNOLOGIES. Software Training Division. Academic Projects for BE,ME,MCA,BCA and PHD Students. IGeekS Technologies (Make Final Year Project)

IGEEKS TECHNOLOGIES. Software Training Division. Academic Projects for BE,ME,MCA,BCA and PHD Students. IGeekS Technologies (Make Final Year Project) IGEEKS TECHNOLOGIES Sftware Training Divisin Academic Prjects fr BE,ME,MCA,BCA and PHD Students IGeekS Technlgies (Make Final Year Prject) N: 19, MN Cmplex, 2nd Crss, Sampige Main Rad, Malleswaram, Bangalre-

More information

Web of Science Institutional authored and cited papers

Web of Science Institutional authored and cited papers Web f Science Institutinal authred and cited papers Prcedures written by Diane Carrll Washingtn State University Libraries December, 2007, updated Nvember 2009 Annual review f paper s authred and cited

More information

Paraben s Phone Recovery Stick

Paraben s Phone Recovery Stick Paraben s Phne Recvery Stick v. 3.0 User manual Cntents Abut Phne Recvery Stick... 3 What s new!... 3 System Requirements... 3 Applicatin User Interface... 4 Understanding the User Interface... 4 Main

More information

Quick Tips

Quick Tips 2017-2018 Quick Tips Belw are sme tips t help teachers register fr the Read t Succeed Prgram: G t www.sixflags.cm/read It will lk like this: If yu DO have an accunt frm last year, please lgin with yur

More information

Aloha Offshore SDLC Process

Aloha Offshore SDLC Process Alha Sftware Develpment Life Cycle Alha Offshre SDLC Prcess Alha Technlgy fllws a sftware develpment methdlgy that is derived frm Micrsft Slutins Framewrk and Ratinal Unified Prcess (RUP). Our prcess methdlgy

More information

The transport layer. Transport-layer services. Transport layer runs on top of network layer. In other words,

The transport layer. Transport-layer services. Transport layer runs on top of network layer. In other words, The transprt layer An intrductin t prcess t prcess cmmunicatin CS242 Cmputer Netwrks Department f Cmputer Science Wellesley Cllege Transprt-layer services Prvides fr lgical cmmunicatin* between applicatin

More information

Since its last production release there have been two main areas of work on DIPPlus, namely user interface simplification and barcode scanning.

Since its last production release there have been two main areas of work on DIPPlus, namely user interface simplification and barcode scanning. Summary f changes in DIPPlus v2.14 Since its last prductin release there have been tw main areas f wrk n DIPPlus, namely user interface simplificatin and barcde scanning. A. We are undertaking an extensive

More information

You try: Find an equivalent fraction. 1 Find an equivalent fraction to 4. Model: Model: 6. Multiply by a Form of One: 8

You try: Find an equivalent fraction. 1 Find an equivalent fraction to 4. Model: Model: 6. Multiply by a Form of One: 8 WCCUSD Grade Find an equivalent fractin t. Mdel: Study Guide Yu try: Find an equivalent fractin. Mdel: Multiply by a Frm f One: Find an equivalent fractin t. Multiply by a Frm f One: Simplify: 0 Find an

More information

CS1150 Principles of Computer Science Boolean, Selection Statements (Part II)

CS1150 Principles of Computer Science Boolean, Selection Statements (Part II) CS1150 Principles f Cmputer Science Blean, Selectin Statements (Part II) Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 Review What s the scientific ntatin f 9,200,000?

More information

Chapter 1 Introduction. What is a Design Pattern? Design Patterns in Smalltalk MVC

Chapter 1 Introduction. What is a Design Pattern? Design Patterns in Smalltalk MVC Chapter 1 Intrductin Designing bject-riented sftware is hard, and designing reusable bject-riented sftware is even harder. It takes a lng time fr nvices t learn what gd bject-riented design is all abut.

More information

Introduction to Mindjet on-premise

Introduction to Mindjet on-premise Intrductin t Mindjet n-premise Mindjet Crpratin Tll Free: 877-Mindjet 1160 Battery Street East San Francisc CA 94111 USA Phne: 415-229-4200 Fax: 415-229-4201 www.mindjet.cm 2012 Mindjet. All Rights Reserved

More information

Interfacing to MATLAB. You can download the interface developed in this tutorial. It exists as a collection of 3 MATLAB files.

Interfacing to MATLAB. You can download the interface developed in this tutorial. It exists as a collection of 3 MATLAB files. Interfacing t MATLAB Overview: Getting Started Basic Tutrial Interfacing with OCX Installatin GUI with MATLAB's GUIDE First Buttn & Image Mre ActiveX Cntrls Exting the GUI Advanced Tutrial MATLAB Cntrls

More information

labs Who is your user?

labs Who is your user? E XPLORATION Wh is yur user? Everybdy? First wrld cnsumers? End users in emerging markets? Startups? Enterprises? Will yu be able t eventually serve the needs f a billin peple? What is yur untapped pprtunity?

More information

Create Your Own Report Connector

Create Your Own Report Connector Create Yur Own Reprt Cnnectr Last Updated: 15-December-2009. The URS Installatin Guide dcuments hw t cmpile yur wn URS Reprt Cnnectr. This dcument prvides a guide t what yu need t create in yur cnnectr

More information

Constituent Page Upgrade Utility for Blackbaud CRM

Constituent Page Upgrade Utility for Blackbaud CRM Cnstituent Page Upgrade Utility fr Blackbaud CRM In versin 4.0, we made several enhancements and added new features t cnstituent pages. We replaced the cnstituent summary with interactive summary tiles.

More information

Please contact technical support if you have questions about the directory that your organization uses for user management.

Please contact technical support if you have questions about the directory that your organization uses for user management. Overview ACTIVE DATA CALENDAR LDAP/AD IMPLEMENTATION GUIDE Active Data Calendar allws fr the use f single authenticatin fr users lgging int the administrative area f the applicatin thrugh LDAP/AD. LDAP

More information

EASTERN ARIZONA COLLEGE Visual Basic Programming I

EASTERN ARIZONA COLLEGE Visual Basic Programming I EASTERN ARIZONA COLLEGE Visual Basic Prgramming I Curse Design 2015-2016 Curse Infrmatin Divisin Business Curse Number CMP 121 Title Visual Basic Prgramming I Credits 3 Develped by Lydia Mata Lecture/Lab

More information

Graphics Transformations and Layers

Graphics Transformations and Layers Graphics Transfrmatins and Layers CS111 Cmputer Prgramming Department f Cmputer Science Wellesley Cllege Review cs1graphics Things t knw: All ur graphics prgrams shuld start with: frm cs1graphics imprt

More information

How to use DCI Contract Alerts

How to use DCI Contract Alerts Hw t use DCI Cntract Alerts Welcme t the MyDCI Help Guide series Hw t use DCI Cntract Alerts In here, yu will find a lt f useful infrmatin abut hw t make the mst f yur DCI Alerts which will help yu t fully

More information

TRAINING GUIDE. Overview of Lucity Spatial

TRAINING GUIDE. Overview of Lucity Spatial TRAINING GUIDE Overview f Lucity Spatial Overview f Lucity Spatial In this sessin, we ll cver the key cmpnents f Lucity Spatial. Table f Cntents Lucity Spatial... 2 Requirements... 2 Setup... 3 Assign

More information

Automatic imposition version 5

Automatic imposition version 5 Autmatic impsitin v.5 Page 1/9 Autmatic impsitin versin 5 Descriptin Autmatic impsitin will d the mst cmmn impsitins fr yur digital printer. It will autmatically d flders fr A3, A4, A5 r US Letter page

More information