Ada. Randki (spotkania) w Adzie. Model. U Ady. Zasady. task Buffer is entry Append (I: in integer); entry Take (I: out integer); end Buffer;

Size: px
Start display at page:

Download "Ada. Randki (spotkania) w Adzie. Model. U Ady. Zasady. task Buffer is entry Append (I: in integer); entry Take (I: out integer); end Buffer;"

Transcription

1 Model ZADANIE AKTYWNE :<:2ΰ8- &( Ada Randki (spotkania) w Adzie ZHM FLHΓ ZHM FLHΓ ZADANIE BIERNE 35=<-08- &( U Ady Zasady ZHM FLHΓ =DGDQLHVNαDGDVL ]HVSHF\ILNDFMLRUD]WUH FL 6SHF\ILNDFMDPR H]DZLHUDόW\ONRGHNODUDFMHZHM όdqjentries) task Buffer is entry Append (I: in integer); entry Take (I: out integer); end Buffer; =DGDQLHF]\QQHPR HZ\ZRαDόZHM FLHBuffer.Append(15) :WUH FL]DGDQLDELHUQHJRV RSLVDQHF]\QQR FLGRNRQ\ZDQHZ WUDNFLHUDQGNLSRSU]H]GDQHZHM FLH task body Buffer is {... } accept Append (I: in integer) do ^RSLVF]\QQR FL` end Append; {... } end Buffer; Ada str. 1

2 6\QFKURQL]DFMDPL G]\]DGDQLHPDNW\ZQ\PZ\ZRαXM F\P ZHM FLHD]DGDQLHPELHUQ\PV\PHWU\F]QHF]HNDQLH Wzajemne wykluczanie.rohmnl]zl ]DQH]LQVWUXNFMDPLaccept V UHDOL]RZDQHMDNR kolejki proste Semantyka randki 1. =DGDQLHF]\QQHZ\ZRαXM FHZHM FLHSU]HND]XMHSDUDPHWU\ aktualne in i inoutgr]dgdqldelhuqhjrl]dzlhv]dvl Z RF]HNLZDQLXQD]DNR F]HQLHUDQGNL 2. =DGDQLHELHUQHZ\NRQXMHLQVWUXNFMHZWUH FLRGSRZLHGQLHJR ZHM FLD 3. Parametry out i inoutv SU]HND]\ZDQHGR]DGDQLDF]\QQHJR 4. 5DQGNDNR F]\VL NRQW\QXDFMD]DGD Charakterystyka randki jako operacji pierwotnej Synchroniczna komunikacja bez bufowania $V\PHWU\F]QDLGHQW\ILNDFMD]DGD 'ZXNLHUXQNRZ\SU]HSα\ZGDQ\FK :\NRQ\ZDQLHFL JXLQVWUXNFML 6NαDGQLD Instrukcja when w1 DFFHSWZHM FLHGR,HQGZHM FLH instrukcje-poza-rejonem-krytycznym-1; when w2 DFFHSWZHM FLHGR,HQGZHM FLH instrukcje-poza-rejonem-krytycznym-2;... else I-inne; {terminate; lub delay T; I-inne;} end ; Ada str. 2

3 Semantyka 1. 6]XNDQLHRWZDUW\FKJDα ]LW\FK]SUDZG]LZ\PLGR]RUDPL-H OL ich nie ma az brak frazy elsewreα G 2. -H OLV ]DGDQLDF]\QQHRF]HNXM FHZNROHMNDFKSU]\ZHM FLDFK RWZDUW\FKJDα ]LWRUR]SRF]\QDVL UDQGND]pierwszym zadaniem w niedeterministyczniez\eudqhmjdα ]LRWZDUWHM 3. -H OLZV]\VWNLHNROHMNLZRWZDUW\FKJDα ]LDFKV SXVWHRUD]QLH ma else, delay ani terminate, to zadanie bierne zostaje ]DZLHV]RQH*G\W\ONRMDNLH ]DGDQLHF]\QQH]JαRVLFK όzhm FLD GRRWZDUWHMJDα ]LWRUR]SRF]\QDVL ]QLPUDQGNDXZDJD GR]RU\QLHV MX ZDUWR FLRZDQHF]\OL]ELyURWZDUW\FKJDα ]LQLH ]PLHQLDVL 4. Randka przebiega standardowo 5. 3R]DNR F]HQLXUDQGNL]DGDQLHELHUQHZ\NRQXMHinstrukcje-pozarejonem-krytycznym 6. Mamy else-h OLQLHPDRWZDUW\FKJDα ]LDOERNROHMNLZ RWZDUW\FKV SXVWHWRMHVWZ\NRQ\ZDQ\FL JLQVWUXNFMLI-inne 7. Mamy delay-h OLNROHMNLZRWZDUW\FKJDα ]LDFKV SXVWHWR zadanie bierne czeka, ale tylko T jednostek, a potem wykonuje I- inne 8. Mamy terminate:vnuyflhsrzrgxmh]dnr F]HQLH]ELRUX ]DGD MH OLLQVWUXNFMD jest zawieszona i wszystkie HZHQWXDOQH]DGDQLDDNW\ZQH]DNR F]\α\VL OXEWH F]HNDM Z ]JDα ]L terminate 3URJUDPRZDQLH]X \FLHP =Z\NαDUDQGNDLPSOHPHQWXMHPHFKDQL]P53&Remote Procedure Call). Fraza uogσlnia RPC Fraza delay implementuje ograniczony czas oczekiwania Ada str. 3

4 task body T is accept czujnik-1 do... ; accept czujnik-2 do... ; delay 0.1; milisekund Alarm; end ; end T; Fraza else MHVWUyZQRZD QDdelay z zerem. Implementuje rodzaj przepytywania (ang. pollingvsudzg F]\QLHPDNRPXQLNDWyZ GRSU]HWZRU]HQLDLMH OLQLHWRZ\NRQXMQRUPDOQHF]\QQR FL Kilkakrotne accept GODWHJRVDPHJRZHM FLD DFFHSW(GRHQG(QLHSDU]\VWHZ\ZRαDQLD DFFHSW(GRHQG(SDU]\VWHZ\ZRαDQLD Instrukcje po acceptprj E\όSXVWH7DNDIRUPDVαX \GR synchronizacji, np. kzystania z zasobu task body zasσb is accept Chce; accept Zwalnia; end zasσb;,qvwuxnfmhudqgnlprj ]DZLHUDόZHZQ WU]LQQHUDQGNLDOER Z\ZRαDQLDZHM όnrqvwuxnfmhwdnlhpdm ]QDF]Q VLα Z\UD]X Ada str. 4

5 6\QFKURQL]DFMDWU]HFK]DGD task body T1 is... DFFHSW6\QFKUGR7Z\ZRαXMHWRZHM FLH DFFHSW6\QFKU7Z\ZRαXMHWRZHM FLH end Synchr-2;... end T1; =DGDQLH7E G]LH]DZLHV]RQHGRSyW\GRSyNLQLHQDVW SLUDQGND ]7-H OL7]JαRVLVL SLHUZV]HGR7WRE G]LHRF]HNLZDαRZ NROHMFHZHM FLRZHMD SRMDZLVL 7RFRQDPFKRG]L Select w zadaniu czynnym =DGDQLHF]\QQHPR H]DZLHVLόVL MHG\QLHF]HNDM FQDMHGQR ZHM FLHQLHPDZ\ZRαD ZLHOXZHM όqdud] 3U]\NαDGQDZ\NRU]\VWDQLHRJUDQLF]RQHJRF]DVXRF]HNLZDQLDZ ]DGDQLXF]\QQ\P-H OLZRNUH ORQ\PF]DVLHVHNF]XMQLNQLH zareaguje, to zostanie poinfmowany operat task body T is Sens.sample (...); delay 1.0; -- w sekundach Notify-operat; end ; end T; $QNLHWRZDQLHNLONX]DGD REVαXJXM F\FKVHUZHUyZ]DGDQLH F]\QQHDQJD XMHVL ZUDQGN W\ONRZWHG\JG\VHUZHUMHVW Ada str. 5

6 QDW\FKPLDVWGRVW SQ\:W\PXM FLXMH OLMHVWNLONXF]HNDM F\FK VHUZHUyZWRUDQGNDRGE G]LHVL ]ND G\P task body T is Server-1.E (...); else null; end ; Server-2.E (...); else null; end ;... end T; 6SRWNDQLH]MHGQ\P]RF]HNXM F\FKVHUZHUyZ task body T is Server-1.E (...); else Server-2.E (...); else... end ; end ; end T; Priytety type Priities is (Low, Medium, High); task Server is entry Request (Priities) (...); Ada str. 6

7 end Server; task body Server is accept Request (High) (...)...; when Request (High) Count = 0 accept Request (Medium) (...)...; when Request (High) Count = 0 and Request (Medium) Count = 0 accept Request (Low) (...)...; end ; end Server; 6HUYHU5HTXHVW+LJKZ\ZRαDQLH Semaf package Mutex-Package; task type Simple-Mutex is entry Wait; entry Signal; end Simple-Mutex; task type Mutex is entry Init (N: in Integer); entry Wait; entry Signal; end Mutex; end Mutex-Package; package body Mutex-Package is task body Simple-Mutex is Ada str. 7

8 accept Wait; accept Signal; terminate; end ; end Simple-Mutex; task body Mutex is Count: Integer; accept Init (N: in Integer) do Count := N; end Init; when Count > 0 accept Wait do Count := Count - 1; end Wait; accept Signal do Count := Count + 1; end Signal; terminate; end ; end Mutex; end Mutex-Package; 6NαDGQLD$G\ Predefiniowane typy: Integer, Float, Character, Boolean, String Typy wyliczeniowe: type States is (Off, Run, Start); Ada str. 8

9 Tablice type Arr is array (1..100) of Integer; Rekdy type Rec is recd field1: Integer; field2: Boolean; end recd; :VND QLNL type Rec_Pointer is access Rec; Instrukcje if A > B then & $WHQ UHGQLNMHVWZD Q\ elsif A < B then C := B; else C := 0; end if; f I in A(I) := 0; while X > 0 X := X/2; X := X/2; exit when X <= 0; PakietWR]ELyUGHNODUDFMLGDQ\FKLSURFHGXUNWyU\PR QD RGG]LHOQLHNRPSLORZDόXPLHV]F]DόZELEOLRWHFHLXGRVW SQLDό LQQ\PSDNLHWRPE G SURJUDPRZLJαyZQHPX AtrybutWRIXQNFMDSU]HND]XM FDZDUWR όsuhghilqlrzdqhm ZLHONR FL]ZL ]DQHM]RELHNWHP S: String (1..80); Ada str. 9

10 if S Length < 50 then PQLHMQL HOHPZ6 S(S Last) := S(S First); -- wstaw na koniec, to co end if; QDSRF] WNX f I in S Range -- dla wszystkich elementσw w S S(I) := * ; Typ zadaniowy (task type): dla zadeklarowania kilku LGHQW\F]Q\FK]DGD GHNODUXMHVL W\S]DGDQLRZ\DQDVW SQLH ZLHOHZFLHOH WHJRW\SX Ada str. 10

Color Screen Phones: SIP-T48G and SIP-T46G with firmware version 73

Color Screen Phones: SIP-T48G and SIP-T46G with firmware version 73 This document provides detailed information on how to use ACD (automatic call distribution) feature on Yealink IP phones integrated with Star2Star platform. ACD enables organizations to manage a large

More information

Pro3 1 : listes chaînées

Pro3 1 : listes chaînées Initiation à l algorithmique, L2 2005-2006, JC Fournier 3.1 Pro3 1 : listes chaînées Spécification : 1 generic 2 type element i s private ; 3 package l i s t e s c h a i n is 4 5 type position is private

More information

ECE 3401 Lecture 7. Concurrent Statements & Sequential Statements (Process)

ECE 3401 Lecture 7. Concurrent Statements & Sequential Statements (Process) ECE 3401 Lecture 7 Concurrent Statements & Sequential Statements (Process) Concurrent Statements VHDL provides four different types of concurrent statements namely: Signal Assignment Statement Simple Assignment

More information

South East of Process Main Building / 1F. North East of Process Main Building / 1F. At 14:05 April 16, 2011. Sample not collected

South East of Process Main Building / 1F. North East of Process Main Building / 1F. At 14:05 April 16, 2011. Sample not collected At 14:05 April 16, 2011 At 13:55 April 16, 2011 At 14:20 April 16, 2011 ND ND 3.6E-01 ND ND 3.6E-01 1.3E-01 9.1E-02 5.0E-01 ND 3.7E-02 4.5E-01 ND ND 2.2E-02 ND 3.3E-02 4.5E-01 At 11:37 April 17, 2011 At

More information

This copy is for personal use only - distribution prohibited.

This copy is for personal use only - distribution prohibited. J Stoma 2013; 66, 4: 551-565 O R I GE IDNI AT L O RAIRATLI C L E PubMed search methodology 1 2 1 Department of Oral Surgery, Pomeranian Medical University, Szczecin, Poland Head: dr hab. 2 Head: lek. stom.

More information

Introduction to Python

Introduction to Python Caltech/LEAD Summer 2012 Computer Science Lecture 2: July 10, 2012 Introduction to Python The Python shell Outline Python as a calculator Arithmetic expressions Operator precedence Variables and assignment

More information

12. A B C A B C A B C 1 A B C A B C A B C JK-FF NETr

12. A B C A B C A B C 1 A B C A B C A B C JK-FF NETr 2..,.,.. Flip-Flops :, Flip-Flops, Flip Flop. ( MOD)... -8 8, 7 ( ).. n Flip-Flops. n Flip-Flops : 2 n. 2 n, Modulo. (-5) -4 ( -), (-) - ( -).. / A A A 2 3 4 5 MOD-5 6 MOD-6 7 MOD-7 8 9 / A A A 2 3 4 5

More information

Awaiting Information (AI) Reasons. July 2016

Awaiting Information (AI) Reasons. July 2016 July 2016 135 77 75 3 23 452 806 403 535 45 8 2 127 315 1,951 219 255 416 130 1 7 445 775 443 June 2016 620 190 97 86 8 26 942 463 641 7 2 51 63 397 1,799 262 250 401 141 5 3 522 754 425 May 2016 142 549

More information

Archivio Sp. z o.o. Schema XSD opisująca typy dokumentów obsługiwane w Systemie Invo24

Archivio Sp. z o.o. Schema XSD opisująca typy dokumentów obsługiwane w Systemie Invo24 Archivio Sp. z o.o. Schema XSD opisująca typy dokumentów obsługiwane w Systemie Invo24 Wersja 1.0 Archivio Sp. z o.o. Strona 1

More information

Typy danych. Data types: Literals:

Typy danych. Data types: Literals: Lab 10 MIPS32 Typy danych Data types: Instructions are all 32 bits byte(8 bits), halfword (2 bytes), word (4 bytes) a character requires 1 byte of storage an integer requires 1 word (4 bytes) of storage

More information

database abstraction layer database abstraction layers in PHP Lukas Smith BackendMedia smith@backendmedia.com

database abstraction layer database abstraction layers in PHP Lukas Smith BackendMedia smith@backendmedia.com Lukas Smith database abstraction layers in PHP BackendMedia 1 Overview Introduction Motivation PDO extension PEAR::MDB2 Client API SQL syntax SQL concepts Result sets Error handling High level features

More information

Technical Support Set-up Procedure

Technical Support Set-up Procedure Technical Support Set-up Procedure How to Setup the Amazon S3 Application on the DSN-320 Amazon S3 (Simple Storage Service) is an online storage web service offered by AWS (Amazon Web Services), and it

More information

Facebook Twitter YouTube Google Plus Website Email

Facebook Twitter YouTube Google Plus Website Email PHP MySQL COURSE WITH OOP COURSE COVERS: PHP MySQL OBJECT ORIENTED PROGRAMMING WITH PHP SYLLABUS PHP 1. Writing PHP scripts- Writing PHP scripts, learn about PHP code structure, how to write and execute

More information

Wstęp do programowania w języku PHP

Wstęp do programowania w języku PHP Wstęp do programowania w języku PHP Programowanie obiektowe PHP OOP O czym jest ta prezentacja wstęp do programowania obiektowego cechy języka php przestrzenie nazw composer automatyczne ładowanie klas

More information

Ada-95 dla programistów C/C++

Ada-95 dla programistów C/C++ Introduction Dariusz Wawrzyniak (na podst. oprac. Simona Johnstona) Part I Ada Basics Outline 1 2 Ada 3 Ada outline 1 2 Ada 3 Ada Ada is case insensitive, so begin BEGIN Begin are all the same. The tick

More information

Problem 1. CS 61b Summer 2005 Homework #2 Due July 5th at the beginning of class

Problem 1. CS 61b Summer 2005 Homework #2 Due July 5th at the beginning of class CS 61b Summer 2005 Homework #2 Due July 5th at the beginning of class This homework is to be done individually. You may, of course, ask your fellow classmates for help if you have trouble editing files,

More information

Distributed Network Management Using SNMP, Java, WWW and CORBA

Distributed Network Management Using SNMP, Java, WWW and CORBA Distributed Network Management Using SNMP, Java, WWW and CORBA André Marcheto Augusto Hack Augusto Pacheco Augusto Verzbickas ADMINISTRATION AND MANAGEMENT OF COMPUTER NETWORKS - INE5619 Federal University

More information

Certified PHP/MySQL Web Developer Course

Certified PHP/MySQL Web Developer Course Course Duration : 3 Months (120 Hours) Day 1 Introduction to PHP 1.PHP web architecture 2.PHP wamp server installation 3.First PHP program 4.HTML with php 5.Comments and PHP manual usage Day 2 Variables,

More information

Understand State Information in Web Applications

Understand State Information in Web Applications Understand State Information in Web Applications Lesson Overview How does ASP.NET state management work? In this lesson, you will review these ASP.NET terms: View state Control state Application state

More information

TCP/IP Networking, Part 2: Web-Based Control

TCP/IP Networking, Part 2: Web-Based Control TCP/IP Networking, Part 2: Web-Based Control Microchip TCP/IP Stack HTTP2 Module 2007 Microchip Technology Incorporated. All Rights Reserved. Building Embedded Web Applications Slide 1 Welcome to the next

More information

WYPE NIA UCZENNICA/UCZE SZKO Y PODSTAWOWEJ WYPE NIJ DRUKOWANYMI LITERAMI. IMI NAZWISKO. KLASA(np. 4.a,5.b,6.c)

WYPE NIA UCZENNICA/UCZE SZKO Y PODSTAWOWEJ WYPE NIJ DRUKOWANYMI LITERAMI. IMI NAZWISKO. KLASA(np. 4.a,5.b,6.c) WYPE NIA UCZENNICA/UCZE SZKO Y PODSTAWOWEJ WYPE NIJ DRUKOWANYMI LITERAMI. IMI NAZWISKO KLASA(np. 4.a,5.b,6.c) CZAS: 45 MINUT 24 MAJA 2010 R. OGÓLNOPOLSKI STANDARYZOWANY SPRAWDZIAN Z J ZYKA ANGIELSKIEGO

More information

Client SuiteScript Developer s Guide

Client SuiteScript Developer s Guide Client SuiteScript Developer s Guide Copyright NetSuite, Inc. 2005 All rights reserved. January 18, 2007 This document is the property of NetSuite, Inc., and may not be reproduced in whole or in part without

More information

Reach 4 million Unity developers

Reach 4 million Unity developers Reach 4 million Unity developers with your Android library Vitaliy Zasadnyy Senior Unity Dev @ GetSocial Manager @ GDG Lviv Ankara Android Dev Days May 11-12, 2015 Why Unity? Daily Users 0 225 M 450 M

More information

Organization of Records in Blocks

Organization of Records in Blocks Organization of Records in Blocks Read Sec. 4.2 Riguzzi et al. Sistemi Informativi Slides derived from those by Hector Garcia-Molina 1 Topic How to lay out records on blocks 2 To represent: Integer (short):

More information

What is COM/DCOM. Distributed Object Systems 4 COM/DCOM. COM vs Corba 1. COM vs. Corba 2. Multiple inheritance vs multiple interfaces

What is COM/DCOM. Distributed Object Systems 4 COM/DCOM. COM vs Corba 1. COM vs. Corba 2. Multiple inheritance vs multiple interfaces Distributed Object Systems 4 COM/DCOM Piet van Oostrum Sept 18, 2008 What is COM/DCOM Component Object Model Components (distributed objects) à la Microsoft Mainly on Windows platforms Is used in large

More information

In this example the length of the vector is determined by D length and used for the index variable.

In this example the length of the vector is determined by D length and used for the index variable. Loops Loop statements are a catagory of control structures that allow you to specify repeating sequences of behavior in a circuit. There are three primary types of loops in VHDL: for loops, while loops,

More information

The Designer's Guide to VHDL

The Designer's Guide to VHDL The Designer's Guide to VHDL Third Edition Peter J. Ashenden EDA CONSULTANT, ASHENDEN DESIGNS PTY. LTD. ADJUNCT ASSOCIATE PROFESSOR, ADELAIDE UNIVERSITY AMSTERDAM BOSTON HEIDELBERG LONDON m^^ yj 1 ' NEW

More information

Channel Access Client Programming. Andrew Johnson Computer Scientist, AES-SSG

Channel Access Client Programming. Andrew Johnson Computer Scientist, AES-SSG Channel Access Client Programming Andrew Johnson Computer Scientist, AES-SSG Channel Access The main programming interface for writing Channel Access clients is the library that comes with EPICS base Written

More information

20 Using Scripts. (Programming without Parts) 20-1

20 Using Scripts. (Programming without Parts) 20-1 20 Using Scripts (Programming without Parts) This chapter explains the basics of creating and using programming scripts in GP-Pro EX. Please start by reading 20.1 Settings Menu (page 20-2) and then turn

More information

BLADE 12th Generation. Rafał Olszewski. Łukasz Matras

BLADE 12th Generation. Rafał Olszewski. Łukasz Matras BLADE 12th Generation Rafał Olszewski Łukasz Matras Jugowice, 15-11-2012 Gl o b a l M a r k e t i n g Dell PowerEdge M-Series Blade Server Portfolio M-Series Blades couple powerful computing capabilities

More information

Basics of I/O Streams and File I/O

Basics of I/O Streams and File I/O Basics of This is like a cheat sheet for file I/O in C++. It summarizes the steps you must take to do basic I/O to and from files, with only a tiny bit of explanation. It is not a replacement for reading

More information

GCE. Computing. Mark Scheme for January 2011. Advanced Subsidiary GCE Unit F452: Programming Techniques and Logical Methods

GCE. Computing. Mark Scheme for January 2011. Advanced Subsidiary GCE Unit F452: Programming Techniques and Logical Methods GCE Computing Advanced Subsidiary GCE Unit F452: Programming Techniques and Logical Methods Mark Scheme for January 2011 Oxford Cambridge and RSA Examinations OCR (Oxford Cambridge and RSA) is a leading

More information

Chapter 6 Concurrent Programming

Chapter 6 Concurrent Programming Chapter 6 Concurrent Programming Outline 6.1 Introduction 6.2 Monitors 6.2.1 Condition Variables 6.2.2 Simple Resource Allocation with Monitors 6.2.3 Monitor Example: Circular Buffer 6.2.4 Monitor Example:

More information

Form Validation. Server-side Web Development and Programming. What to Validate. Error Prevention. Lecture 7: Input Validation and Error Handling

Form Validation. Server-side Web Development and Programming. What to Validate. Error Prevention. Lecture 7: Input Validation and Error Handling Form Validation Server-side Web Development and Programming Lecture 7: Input Validation and Error Handling Detecting user error Invalid form information Inconsistencies of forms to other entities Enter

More information

RT Language Classes. Real-Time Programming Languages (ADA and Esterel as Examples) Implementation. Synchroneous Systems Synchronous Languages

RT Language Classes. Real-Time Programming Languages (ADA and Esterel as Examples) Implementation. Synchroneous Systems Synchronous Languages RT Language Classes Real-Time Programming Languages (ADA and Esterel as Examples) HLL suitable for RT-Analysis (e.g., rms or time-driven) Synchronous HLL (clock driven) Esterel Lustre (State Charts) RT-Euclid

More information

Intro DNS, security problems SPARK IRONSIDES Experimental results (previous, new) Lessons in humility Hitting the sweet spot Conclusions, future work

Intro DNS, security problems SPARK IRONSIDES Experimental results (previous, new) Lessons in humility Hitting the sweet spot Conclusions, future work Intro DNS, security problems SPARK IRONSIDES Experimental results (previous, new) Lessons in humility Hitting the sweet spot Conclusions, future work DNS (internet Domain Name System) is the protocol for

More information

A POSIX-Ada Interface for Application-Defined Scheduling

A POSIX-Ada Interface for Application-Defined Scheduling A POSIX-Ada Interface for Application-Defined Scheduling By: Mario Aldea Rivas Michael González Harbour (aldeam@unican.es) (mgh@unican.es) Ada-Europe 2002 Vienna, Austria, June 17-21, 2002 4 GRUPO DE COMPUTADORES

More information

EE282 Computer Architecture and Organization Midterm Exam February 13, 2001. (Total Time = 120 minutes, Total Points = 100)

EE282 Computer Architecture and Organization Midterm Exam February 13, 2001. (Total Time = 120 minutes, Total Points = 100) EE282 Computer Architecture and Organization Midterm Exam February 13, 2001 (Total Time = 120 minutes, Total Points = 100) Name: (please print) Wolfe - Solution In recognition of and in the spirit of the

More information

PL / SQL Basics. Chapter 3

PL / SQL Basics. Chapter 3 PL / SQL Basics Chapter 3 PL / SQL Basics PL / SQL block Lexical units Variable declarations PL / SQL types Expressions and operators PL / SQL control structures PL / SQL style guide 2 PL / SQL Block Basic

More information

DM74LS151 1-of-8 Line Data Selector/Multiplexer

DM74LS151 1-of-8 Line Data Selector/Multiplexer 1-of-8 Line Data Selector/Multiplexer General Description This data selector/multiplexer contains full on-chip decoding to select the desired data source. The DM74LS151 selects one-of-eight data sources.

More information

ESCI 386 IDL Programming for Advanced Earth Science Applications Lesson 6 Program Control

ESCI 386 IDL Programming for Advanced Earth Science Applications Lesson 6 Program Control ESCI 386 IDL Programming for Advanced Earth Science Applications Lesson 6 Program Control Reading: Bowman, Chapters 16 CODE BLOCKS A code block consists of several lines of code contained between a BEGIN

More information

ECS 15. Strings, input

ECS 15. Strings, input ECS 15 Strings, input Outline Strings, string operation Converting numbers to strings and strings to numbers Getting input Running programs by clicking on them Strings in English Dictionary: string (strĭng)

More information

PL/SQL MOCK TEST PL/SQL MOCK TEST I

PL/SQL MOCK TEST PL/SQL MOCK TEST I http://www.tutorialspoint.com PL/SQL MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to PL/SQL. You can download these sample mock tests at your local

More information

Data Masking. Procedure

Data Masking. Procedure Procedure Author: G S Chapman Date: October 2008 Version: 1.1 Location of Document: DOCUMENT HISTORY Version Date Changed By: Remarks 1.1 20/10/2008 G S Chapman This version DOCUMENT DISTRIBUTION Copy

More information

ClientAce WPF Project Example

ClientAce WPF Project Example Technical Note ClientAce WPF Project Example 1. Introduction Traditional Windows forms are being replaced by Windows Presentation Foundation 1 (WPF) forms. WPF forms are fundamentally different and designed

More information

Lecture 4: Writing shell scripts

Lecture 4: Writing shell scripts Handout 5 06/03/03 1 Your rst shell script Lecture 4: Writing shell scripts Shell scripts are nothing other than les that contain shell commands that are run when you type the le at the command line. That

More information

Aras Corporation. 2005 Aras Corporation. All rights reserved. Notice of Rights. Notice of Liability

Aras Corporation. 2005 Aras Corporation. All rights reserved. Notice of Rights. Notice of Liability Aras Corporation 2005 Aras Corporation. All rights reserved Notice of Rights All rights reserved. Aras Corporation (Aras) owns this document. No part of this document may be reproduced or transmitted in

More information

Integrating R with the Go programming language using interprocess communication

Integrating R with the Go programming language using interprocess communication Integrating R with the Go programming language using interprocess communication Christoph Best, Karl Millar, Google Inc. chbest@google.com Statistical software in practice & production Production environments!!!=

More information

Optical-Sensor Data Handling

Optical-Sensor Data Handling Weatherford Reservoir Monitoring System Data Logger Platform Platform Operations Staff Shore Primary Data Flow Path, by SCADA Production Optimization Those who rely on data produced by in-well optical

More information

Writing cleaner and more powerful SAS code using macros. Patrick Breheny

Writing cleaner and more powerful SAS code using macros. Patrick Breheny Writing cleaner and more powerful SAS code using macros Patrick Breheny Why Use Macros? Macros automatically generate SAS code Macros allow you to make more dynamic, complex, and generalizable SAS programs

More information

Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY

Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY Advanced Web Development Duration: 6 Months SCOPE OF WEB DEVELOPMENT INDUSTRY Web development jobs have taken thе hot seat when it comes to career opportunities and positions as a Web developer, as every

More information

aan n a l i a z a l i z a Bankowy

aan n a l i a z a l i z a Bankowy Bankowy kalejdoskop analiza W służbie marketingu? BADANIE satysfakcja dziennikarzy Co się zmieniło? Po macoszemu Ilość nie znaczy jakość Bankowy piarowiec czyli kto? PR w banku z czym to się je? Współpraca

More information

CS 378 Big Data Programming. Lecture 9 Complex Writable Types

CS 378 Big Data Programming. Lecture 9 Complex Writable Types CS 378 Big Data Programming Lecture 9 Complex Writable Types Review Assignment 4 - CustomWritable QuesIons/issues? Hadoop Provided Writables We ve used several Hadoop Writable classes Text LongWritable

More information

A Brief Introduction to MySQL

A Brief Introduction to MySQL A Brief Introduction to MySQL by Derek Schuurman Introduction to Databases A database is a structured collection of logically related data. One common type of database is the relational database, a term

More information

Concurrent Programming

Concurrent Programming Concurrent Programming Shared Memory Passing the baton Monitors Verónica Gaspes www.hh.se/staff/vero CERES, November 2, 2007 ceres Outline 1 Recap 2 Readers & Writers Readers & writers (mutual exclusion)

More information

PRI-(BASIC2) Preliminary Reference Information Mod date 3. Jun. 2015

PRI-(BASIC2) Preliminary Reference Information Mod date 3. Jun. 2015 PRI-(BASIC2) Table of content Introduction...2 New Comment...2 Long variable...2 Function definition...3 Function declaration...3 Function return value...3 Keyword return inside functions...4 Function

More information

Field Properties Quick Reference

Field Properties Quick Reference Field Properties Quick Reference Data types The following table provides a list of the available data types in Microsoft Office Access 2007, along with usage guidelines and storage capacities for each

More information

Creating a Simple, Multithreaded Chat System with Java

Creating a Simple, Multithreaded Chat System with Java Creating a Simple, Multithreaded Chat System with Java Introduction by George Crawford III In this edition of Objective Viewpoint, you will learn how to develop a simple chat system. The program will demonstrate

More information

Dice. David Watkins Emily Chen Khaled Atef Phillip Schiffrin. djw2146 ec2805 kaa2168 pjs2186. Manager System Architect Testing Language Guru

Dice. David Watkins Emily Chen Khaled Atef Phillip Schiffrin. djw2146 ec2805 kaa2168 pjs2186. Manager System Architect Testing Language Guru Dice David Watkins Emily Chen Khaled Atef Phillip Schiffrin djw2146 ec2805 kaa2168 pjs2186 Manager System Architect Testing Language Guru September 30 th, 2015 1 DESCRIPTION Dice is a distributed systems

More information

WYPE NIA UCZENNICA/UCZE GIMNAZJUM WYPE NIJ DRUKOWANYMI LITERAMI. IMI NAZWISKO. KLASA(np. 1.a,2.b,3.c)

WYPE NIA UCZENNICA/UCZE GIMNAZJUM WYPE NIJ DRUKOWANYMI LITERAMI. IMI NAZWISKO. KLASA(np. 1.a,2.b,3.c) WYPE NIA UCZENNICA/UCZE GIMNAZJUM WYPE NIJ DRUKOWANYMI LITERAMI. IMI NAZWISKO KLASA(np. 1.a,2.b,3.c) CZAS: 45 MINUT 24 MAJA 2010 R. OGÓLNOPOLSKI STANDARYZOWANY SPRAWDZIAN Z J ZYKA ANGIELSKIEGO DIAGNOZUJ

More information

Component Based Rapid OPC Application Development Platform

Component Based Rapid OPC Application Development Platform Component Based Rapid OPC Application Development Platform Jouni Aro Prosys PMS Ltd, Tekniikantie 21 C, FIN-02150 Espoo, Finland Tel: +358 (0)9 2517 5401, Fax: +358 (0) 9 2517 5402, E-mail: jouni.aro@prosys.fi,

More information

Classe AGI - PHP 5.x

Classe AGI - PHP 5.x Classe AGI - PHP 5.x Contents Package AGI Procedural Elements 2 agi_lib_v5x.php 2 Package AGI Classes 3 Class AGI 3 Constructor construct 3 Method exec_command 4 Method getagi_env 4 Method getdebug 4 Method

More information

Analysis of Binary Search algorithm and Selection Sort algorithm

Analysis of Binary Search algorithm and Selection Sort algorithm Analysis of Binary Search algorithm and Selection Sort algorithm In this section we shall take up two representative problems in computer science, work out the algorithms based on the best strategy to

More information

SQL Server An Overview

SQL Server An Overview SQL Server An Overview SQL Server Microsoft SQL Server is designed to work effectively in a number of environments: As a two-tier or multi-tier client/server database system As a desktop database system

More information

PostgreSQL Functions By Example

PostgreSQL Functions By Example Postgre joe.conway@credativ.com credativ Group January 20, 2012 What are Functions? Introduction Uses Varieties Languages Full fledged SQL objects Many other database objects are implemented with them

More information

Simple Fortran Multitasking Library for the Apple Macintosh Computer

Simple Fortran Multitasking Library for the Apple Macintosh Computer Simple Fortran Multitasking Library for the Apple Macintosh Computer Viktor K. Decyk Department of Physics and Astronomy UCLA Los Angeles, California 90095-1547 decyk@physics.ucla.edu The Apple Macintosh

More information

Part I. Multiple Choice Questions (2 points each):

Part I. Multiple Choice Questions (2 points each): Part I. Multiple Choice Questions (2 points each): 1. Which of the following is NOT a key component of object oriented programming? (a) Inheritance (b) Encapsulation (c) Polymorphism (d) Parallelism ******

More information

OPENBARE ZITTING 1. U ni f o r m e a l g e m e ne p o l i t i e v e r o r d e ni ng e n p u nc t u e l e i m p l e m e nt a t i e GAS ( g e m e e nt e l i j k e a d m i ni s t r a t i e v e s a nc t i

More information

Load balancing and failover For kbmmw v. 2.50+ ProPlus and Enterprise Editions

Load balancing and failover For kbmmw v. 2.50+ ProPlus and Enterprise Editions Load balancing and failover For kbmmw v. 2.50+ ProPlus and Enterprise Editions Introduction... 2 Centralized load balancing... 3 Distributed load balancing... 4 Fail over... 5 Client controlled fail over...

More information

Schema Classes. Polyhedra Ltd

Schema Classes. Polyhedra Ltd Schema Classes Polyhedra Ltd Copyright notice This document is copyright 1994-2006 by Polyhedra Ltd. All Rights Reserved. This document contains information proprietary to Polyhedra Ltd. It is supplied

More information

ENTRAINMENT OF PARTICLES IN THE MECHANOBR LABORATORY FLOTATION MACHINE

ENTRAINMENT OF PARTICLES IN THE MECHANOBR LABORATORY FLOTATION MACHINE Prace Naukowe Instytutu Górnictwa Nr 16 Politechniki :URFáDZVNLHM Nr 16 6WXGLD L DWHULDá\ Nr 3 24 -DQ '5=

More information

Implementing Object Tracking on Cisco IOS XR Software

Implementing Object Tracking on Cisco IOS XR Software Implementing Object Tracking on Cisco IOS XR Software This module describes the configuration of object tracking on your Cisco IOS XR network. For information about its application in IPSec, see Cisco

More information

SenseLink TM. End-Point Controller. Addendum

SenseLink TM. End-Point Controller. Addendum SenseLink TM End-Point Controller Addendum MKS Instruments, Inc. Control & Information Technology Products Group 3350 Scott Blvd Bldg 4 Santa Clara, CA 95054 Main: 408.235.7620 Fax: 408.235.7625 SenseLink

More information

PL/SQL Overview. Basic Structure and Syntax of PL/SQL

PL/SQL Overview. Basic Structure and Syntax of PL/SQL PL/SQL Overview PL/SQL is Procedural Language extension to SQL. It is loosely based on Ada (a variant of Pascal developed for the US Dept of Defense). PL/SQL was first released in ١٩٩٢ as an optional extension

More information

Better PHP Security Learning from Adobe. Bill Condo @mavrck PHP Security: Adobe Hack

Better PHP Security Learning from Adobe. Bill Condo @mavrck PHP Security: Adobe Hack Better PHP Security Learning from Adobe Quickly, about me Consultant! Senior Engineer! Developer! Senior Developer! Director of Tech! Hosting Manager! Support Tech 2014: Digital Director Lunne Marketing

More information

Java and Distributed Object Models: An Analysis

Java and Distributed Object Models: An Analysis Abstract Java and Distributed Object Models: An Analysis Marjan Hericko *, Matjaz B. Juric *, Ales Zivkovic *, Ivan Rozman *, Tomaz Domajnko *, Marjan Krisper ** * University of Maribor, Faculty of Electrical

More information

Writing Control Structures

Writing Control Structures Writing Control Structures Copyright 2006, Oracle. All rights reserved. Oracle Database 10g: PL/SQL Fundamentals 5-1 Objectives After completing this lesson, you should be able to do the following: Identify

More information

Introduction to Python

Introduction to Python Introduction to Python Sophia Bethany Coban Problem Solving By Computer March 26, 2014 Introduction to Python Python is a general-purpose, high-level programming language. It offers readable codes, and

More information

Package sjdbc. R topics documented: February 20, 2015

Package sjdbc. R topics documented: February 20, 2015 Package sjdbc February 20, 2015 Version 1.5.0-71 Title JDBC Driver Interface Author TIBCO Software Inc. Maintainer Stephen Kaluzny Provides a database-independent JDBC interface. License

More information

Unit 39. Malware. portmanteau word VáRZRSo- ZVWDáH]SRáF]HQLDLnQ\FKVáyZ malicious ]árolz\

Unit 39. Malware. portmanteau word VáRZRSo- ZVWDáH]SRáF]HQLDLnQ\FKVáyZ malicious ]árolz\ -]\NDQJLHOVNLGODHOHNWURQLNyZLLQIRUPDW\NyZ. Unit 39 Malware Malware, a portmanteau word from the words malicious and software, is software designed to infiltrate or damage a computer system without the

More information

APPLICATION OF IP MONITORING IN THE SUPERVISING SYSTEM OF A BUILDING

APPLICATION OF IP MONITORING IN THE SUPERVISING SYSTEM OF A BUILDING TEKA Kom. Mot. i Energ. Roln. OL PAN, 2011, 11, 9 17 APPLICATION OF IP MONITORING IN THE SUPERVISING SYSTEM OF A BUILDING Artur Boguta Lublin University of Technology Summary. Thanks to the development

More information

Principles of Database Management Systems. Overview. Principles of Data Layout. Topic for today. "Executive Summary": here.

Principles of Database Management Systems. Overview. Principles of Data Layout. Topic for today. Executive Summary: here. Topic for today Principles of Database Management Systems Pekka Kilpeläinen (after Stanford CS245 slide originals by Hector Garcia-Molina, Jeff Ullman and Jennifer Widom) How to represent data on disk

More information

Settle-to-File Credit Card Driver for 3700 POS

Settle-to-File Credit Card Driver for 3700 POS Restaurant Enterprise Series Settle-to-File Credit Card Driver for 3700 POS Version 4.x August 15, 2008 Copyright 2004-2008 by MICROS Systems, Inc. Columbia, MD USA All Rights Reserved MD0003-076 ii Installation

More information

Oracle For Beginners Page : 1

Oracle For Beginners Page : 1 Oracle For Beginners Page : 1 Chapter 17 EXCEPTION HANDLING What is an? How to handle s? Predefined s When NO_DATA_FOUND is not raised? User-defined Reraising an Associating an With An Oracle Error Exception

More information

1 Stored Procedures in PL/SQL 2 PL/SQL. 2.1 Variables. 2.2 PL/SQL Program Blocks

1 Stored Procedures in PL/SQL 2 PL/SQL. 2.1 Variables. 2.2 PL/SQL Program Blocks 1 Stored Procedures in PL/SQL Many modern databases support a more procedural approach to databases they allow you to write procedural code to work with data. Usually, it takes the form of SQL interweaved

More information

Documentum Developer Program

Documentum Developer Program Program Enabling Logging in DFC Applications Using the com.documentum.fc.common.dflogger class April 2003 Program 1/5 The Documentum DFC class, DfLogger is available with DFC 5.1 or higher and can only

More information

Package HadoopStreaming

Package HadoopStreaming Package HadoopStreaming February 19, 2015 Type Package Title Utilities for using R scripts in Hadoop streaming Version 0.2 Date 2009-09-28 Author David S. Rosenberg Maintainer

More information

WAYNESBORO AREA SCHOOL DISTRICT CURRICULUM INTRODUCTION TO COMPUTER SCIENCE (June 2014)

WAYNESBORO AREA SCHOOL DISTRICT CURRICULUM INTRODUCTION TO COMPUTER SCIENCE (June 2014) UNIT: Programming with Karel NO. OF DAYS: ~18 KEY LEARNING(S): Focus on problem-solving and what it means to program. UNIT : How do I program Karel to do a specific task? Introduction to Programming with

More information

How To Rate Plan On A Credit Card With A Credit Union

How To Rate Plan On A Credit Card With A Credit Union Rate History Contact: 1 (800) 331-1538 Form * ** Date Date Name 1 NH94 I D 9/14/1998 N/A N/A N/A 35.00% 20.00% 1/25/2006 3/27/2006 8/20/2006 2 LTC94P I F 9/14/1998 N/A N/A N/A 35.00% 20.00% 1/25/2006 3/27/2006

More information

Implementing and Using Execution Time Clocks in Ada Hard Real-Time Applications

Implementing and Using Execution Time Clocks in Ada Hard Real-Time Applications Implementing and Using Execution Time Clocks in Ada Hard Real-Time Applications By: M. González Harbour, M. Aldea Rivas, J.J. Gutiérrez García, and J.C. Palencia Gutiérrez Departamento de Electrónica y

More information

Design Patterns in C++

Design Patterns in C++ Design Patterns in C++ Concurrency Patterns Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa May 4, 2011 G. Lipari (Scuola Superiore Sant Anna) Concurrency Patterns May 4,

More information

6ES7313-5BF03-0AB0. Supply voltages Rated value 24 V DC Yes permissible range, upper limit (DC) circuit breaker type B, min. 4 A

6ES7313-5BF03-0AB0. Supply voltages Rated value 24 V DC Yes permissible range, upper limit (DC) circuit breaker type B, min. 4 A 6ES7313-5BF03-0AB0 Page 1 Product data sheet 6ES7313-5BF03-0AB0 SIMATIC S7-300, CPU 313C, COMPACT CPU WITH MPI, 24 DI/16 DO, 4AI, 2AO 1 PT100, 3 FAST COUNTERS (30 KHZ), INTEGRATED 24V DC POWER SUPPLY,

More information

Autodialler. Installation & Programming Guide HYL004. Please read these instructions before you start the installation. Installation.

Autodialler. Installation & Programming Guide HYL004. Please read these instructions before you start the installation. Installation. Autodialler HYL004 Installation & Programming Guide Features Please read these instructions before you start the installation LCD Display Programmable 9 x 32 digit phone numbers for each trigger. 10 second

More information

Release Notes System Software 7.9.2. Copyright 2. March 2010 Funkwerk Enterprise Communications GmbH Version 1.0

Release Notes System Software 7.9.2. Copyright 2. March 2010 Funkwerk Enterprise Communications GmbH Version 1.0 Release Notes System Software 7.9.2 Copyright 2. March 2010 Funkwerk Enterprise Communications GmbH Version 1.0 Purpose This document describes new features, changes, and solved problems of System Software

More information

Java Coding Practices for Improved Application Performance

Java Coding Practices for Improved Application Performance 1 Java Coding Practices for Improved Application Performance Lloyd Hagemo Senior Director Application Infrastructure Management Group Candle Corporation In the beginning, Java became the language of the

More information

public static void main(string[] args) { System.out.println("hello, world"); } }

public static void main(string[] args) { System.out.println(hello, world); } } Java in 21 minutes hello world basic data types classes & objects program structure constructors garbage collection I/O exceptions Strings Hello world import java.io.*; public class hello { public static

More information

Division of Informatics, University of Edinburgh

Division of Informatics, University of Edinburgh CS1Bh Lecture Note 20 Client/server computing A modern computing environment consists of not just one computer, but several. When designing such an arrangement of computers it might at first seem that

More information