Tools for LC physics study
|
|
- Kenneth West
- 5 years ago
- Views:
Transcription
1 Tool for LC phyic tudy Akiya Miyamoto, KEK Content: 1. Introduction to JLC computing 9:00-9:30 2. Breif introduction to C++ 9:30-10:00 3. Introduction to ROOT 10:00-11:30 4. Introduction to JSF and Demo 11:30-12:00 5. Intall JSF and other package 13:30-6. Introduction to a ample program 7.Introduction to a ample analyi -15:00
2 Computing at KEK JLC Phyic Group Internet world KEK FW Main acce root jlc.cc.kek.jp Router jlcgate DMZ XX network your terminal jlclogin FJ network jlccpu01 jlccpu02...
3 Computing ytem jlc.cc.kek.jp OS: AIX for CPU erver, Data erver, but alo gateway machine for remote acce by h jlcgate OS: BSD gateway for remote acce limitted ue only for thoe who can not ue jlc.cc.kek.jp jlclogin OS: Linux (Redhat 9) 2CPU erver for interactive program development jlccpuxx OS: Linux (Redhat 9), XX=01, 02, 03, 07, 0, 09 For CPU heavy job
4 How to ue jlclogin/jlccpuxx jlclogin: to edit program, and make a tet run Uing jlccpuxx ubmit job $ ubmit command ubmit job a a detached proce, ave command output in jobout $ ubmit command > jobout 2>&1 & (bah) $ ubmit command >&! jobout & (tch) how tatu of your job on cpu erver $ howjob how cpu load on each cpu erver $ cpulookup login to cpuerver $ rh jlccpuxx jlclogin uer can login to jlccpuxx without authentification ue thi feature to cancel job running on jlccpuxx ex. $ rh jlccpuxx p -ef grep uername $ rh jlccpuxx kill -15 NNNN
5 Setup account at jlclogin At the firt login, do $ cd $ cp ~miyamoto/toollect. $ cd ToolLect $ ource etup.bahrc $ root ample01.c Printer $ lpr file.p # printout $ lpr -Ptek3g423 file.p # printout to tek3g423 $ a2p file.text # printout text file $ a2p -o - file.text > file.p # convert text file to p $ lpq # how print que tatu $ lprm job_number # cancel print job
6 C++ reference!" #$ %'& () & * +, -. / () & * +, - : : >=<?@BA DC E A F : A : G 2 H 2 I JK : :L >=<?@A DC E A DF E F A F 9 () & * +, - MN O G 2 H 2 F P Q= R :L >=<?@A DC E A A C 9 () & * +, - G 2 H 2 :TS U VW X %Y Z[ 2 4 \] ^_ ` acb d e / f. ` g h9 i jk l G. m 5 O n o* pq : h9 i jk l G. m 5 O r a 6 pq F E >=<?@A tc C F A E E A E H I JK F3S QuS S v= wyx zx { % 2 ~ &. / ` ƒ 6 :@ 9 * + G H : : E C 9 Mˆ G H 2 Š XŒ
7 š Ž š œ C++ baic element Structure of C++ ource code Ž œ yš œ Ÿ š ž Ÿ yš Declare type of argument and return type of function. Prototype of all function mut be declared before it ue. œ š ž œ œ Ž œ Ÿ œ œ Variable defined outide a function ha a file cope: valid at all function // : comment line /*... : commented block */
8 º ¹ ² ³ ³ Ä ± «Æ É Ç É C++: Hello world! #include file.h Include file.h before compile #include <...> Included from /ur/include ee info cpp cout <<... << endl... part i output endl = \n : end of line ŠŠƲÈÇ ¹ Å ² ¹ µ ² «³ ± ² ª«½ ¼» «Á ± ± àÀ ² ¾ ³ ³ ² ¹ Ʋ Ç ¹ Å Ì ² Ì ÉËÊ Å Å ± À ²
9 Baic type of variable int i=3 // integer float f=3.4 // float double d=4.5 // double char c='a' // 1 byte character bool b=true // boolean variable int ia[20] // integer array of ize 20. ib[0] = 0 // ubtitute 0 to the firt element if ib array ib[19]=190 // 190 to the lat element Note: array index i 0 to n-1 int ka[40][5] // equivalent to INTEGER KA(5,40) in FORTRAN Note: index ordering i oppoite compare to FORTRAN
10 new and delete new : dynamically allocate memory area Thi area won't releaed unle delete command i ued. delete: releae memory area allocated by new * : pointer variable firt addre of array int *ib=new int[20] // allocate integer array of ize 20, dynamically ib[0] = 0 // ubtitute 0 to the firt element if ib array ib[19]= 190 // 190 to the lat element *(ib+19)= 190 // other way to ubtitute to the lat element delete ib // releae dynamically allocated area. char *tr= Thi i a pen String i alway an array of char. End of tring i \00. and 'i different tr[13]='n' tr[14]=\00
11 C++ minimum - 1 Compile and link g++, make, Imakefile, xmkmf -a C++ ource program emi colon () : end of line // and /* */ : comment line and block Can write a Hello world program cpp (C pre-proceor) macro #include, #if, #ifdef, #define, #endif Baic type int, float, double, bool, char, void cont, tatic Operator +, -, *, /, %, <<, >>,, & ( no exponentiate ) Logical condition : <, >, ==,!=, >=, <=, &&, Addreing operator : *, & ++, +=, --, -= cat operator : ( ) Example: ample01.c #ifndef MY_FLAG #define MY_FLAG #include my_file.h #ele void func() { int a=0 cont int ize=5 double b[ize]={1.0,2.0,3.0,4.0,5.0 b[a++]=3.2 // b[0]=3.2 b[++a]=5.4 // b[1]=0, b[2]=5.4 int x=(int)b[2] cout << b[0]= << b[0] cout << b[1]= << b[1] cout << b[2]= << b[2] cout << x= << x cout << endl #endif
12 Ï Ï Ï Ð Ð Ð Ð Ð Ñ Ï Ï Ï Ï Ï C++ minimum 2 0x12(hex), 012(oct), 12(dec) 3.0e12 ( no 3.0d12 ) Array int a[20] a[0] to a[19] int b[][4][2] Dimenion b(2, 4, ) int *c=a c[3] &b[0][0][0] == b char *tr= Thi i a pen tr[12]='n' tr[13]=0x00 if ( condition ) { ele if ( ) { ele { int c = a == b? 0 : 1 witch (i ) { cae 1:... break cae 2:... break default:... for(int i=0i<20i++) { while ( i<10 ) {... Example: example02.c #include <iomanip> void ample02() { int ihex=0x12 int ioct=012 int idec=12 double xpi= cout << " ihex=" << ihex << " ioct=" << ioct cout << " idec=" << idec << endl cout << " def. xpi=" << xpi cout << " 9 prec. " << etpreciion(9) << xpi << endl for(int i=0i<50i++){ if( i==2 ) continue if( i==4 i == 20 ) break
13 C++ minimum - 3 #include <tdio.h> #include <iotream> #include <iomanip> printf( format,val) %d, %g, %f, %lg, %lf, % canf( format,&val) cout <<... << endl cout << preciion(15) cout << width(15) cout << cientific, fixed cin >> val Output to file oftream fout(file_name) fout << x << endl fout.cloe() Input from a file iftream fin(file_name) fin >> i fin.cloe() Example: example02.c uing namepace td void ample03() { int i=10 float x= printf( int i=%d float x=%g\n,i,x) double y printf( Enter y= ) canf( %lg,&y) printf( y=%g\n,y) char filename[100] cout << Enter filename cin >> filename oftream fout(filename) fout << y= << y << endl fout.cloe() TDatime da trtream out out << Today i << da.getmonth() out << - << da.getday() << end TString t t.getline(out) cout << t << endl
14 C++ minimum - 4 prototype ( function call ) cope call by value, addre, reference int ub ( float a ) int ub ( float *a ) or ub (float a[]) int ub ( float &a ) enum MyID { kheight, kweight, ksize typedef int Int_t truct { int a float b abc Example: example04.c void ample04(){ int i=1 for(int k=0k<10k++){ int i=k+2 cout << i after loop i << i << endl void wap_by_addre(int *a, int *b){ int tmp=*a *a = *b *b = tmp void wap_by_reference(int &a, int &b){ int tmp=a a=b b=tmp void wap_tet(){ int a=20 int b=50 wap_by_addre(&a, &b) cout << a= << a << b= << b << endl wap_by_reference(a,b) cout << a= << a << b= << b << endl
15 Ò Ò Ò Ò Ò Ò Ò C++ minimum - Cla MyCla.h cla MyCla : public Baic { private: Int_t fdata public: MyCla::MyCla() MyCla::MyCla(Int_t data):fdata(data) { virtual ~MyCla(){ inline Int_t GetData(){ return fdata void SetData(Int_t data=10) MyCla.cxx MyCla::MyCla() { fdata=20 void SetData(Int_t data) { fdata=data cla proto-type, implementation private, protected, public inheritance contructor, default contructor, detructor default argument inline function operator over loading
16 ã ã ÚÙ åæ Ö ãû ú Û Ú û ú ëì à #$ ëì % åæ Ö *) åæ *) ëì *) ëì ð ëì åæ ã" ä û ëì Ö à Ý Ù Ù ëì åæ Ú Û ëì à Ú Û RS TU TU OP V[ Ö Q Ó Õ ÕÔ î í àßáâ â Þ ä âá Ù ëì ê àßáâ â ÝßÞ Û Ü ØÙ þÿ üý ê û ú ø ó ùö ø ó õö òôó ïñð þÿ ê ç è ò ç è ð è ø ó ó ê ù á Ü ð!" ç è ê ç è / +. ù - ', + '( & ïñð $ #6 ç è ý 354 " ð $ #6 ç è % 9û cla MyObject : public TObject { protected: int fdata public: MyObject(char *name, char *title): TNamed(name, B : A =?> < ädc : Ù / ç è ò " ù %, E $ #6 / ç è ò F" ê à á ÖÜ $ #6 / ç è ò ê " ù á ÖÜ Oba ` $ #6!" _ ^ ] \ YZ X W V N G G LM JK I H ó
17 c ed e f g h kl mn o p q r tu v w o xzy { q r tu v w kl~ y ƒ w r q r tu v w kl~ ˆ y q r tu v w kl~ p ƒ tu v w o xzy ƒ tu v w kl~ y Š Œ v t ƒ w r ƒ tu v w kl ˆ y { ƒ tu v w kl h Ž o p Ž kl k š œ ž œ Ÿ ~ p Ž { ª«xzy ±«² k ~ y ±«² ³ µ ¹ º { k ~ h ¼» Ž
18 ½ ½ ½ ¾ ¾ ½ ¾ ¾ ¾ C++ Advanced Feature Operator overloading Template cla Standard Template Library tring, vector iterator FORTRAN interface Call Fortran ubroutine Paing character variable Acce Fortran common
Pointers & Arrays. CS2023 Winter 2004
Pointers & Arrays CS2023 Winter 2004 Outcomes: Pointers & Arrays C for Java Programmers, Chapter 8, section 8.12, and Chapter 10, section 10.2 Other textbooks on C on reserve After the conclusion of this
More informationLecture 5 C Programming Language
Lecture 5 C Programming Language Summary of Lecture 5 Pointers Pointers and Arrays Function arguments Dynamic memory allocation Pointers to functions 2D arrays Addresses and Pointers Every object in the
More informationAPPLESHARE PC UPDATE INTERNATIONAL SUPPORT IN APPLESHARE PC
APPLESHARE PC UPDATE INTERNATIONAL SUPPORT IN APPLESHARE PC This update to the AppleShare PC User's Guide discusses AppleShare PC support for the use of international character sets, paper sizes, and date
More informationModules. CS2023 Winter 2004
Modules CS2023 Winter 2004 Outcomes: Modules C for Java Programmers, Chapter 7, sections 7.4.1-7.4.6 Code Complete, Chapter 6 After the conclusion of this section you should be able to Understand why modules
More informationPointers. CS2023 Winter 2004
Pointers CS2023 Winter 2004 Outcomes: Introduction to Pointers C for Java Programmers, Chapter 8, sections 8.1-8.8 Other textbooks on C on reserve After the conclusion of this section you should be able
More informationASCII Code - The extended ASCII table
ASCII Code - The extended ASCII table ASCII, stands for American Standard Code for Information Interchange. It's a 7-bit character code where every single bit represents a unique character. On this webpage
More informationO Type of array element
! " #! $ % % # & : ; a ontiguous sequene of variables. all of the sae type. Eah variable is identified by its index. Index values are integers. Index of first entry is. ' ( ) * + May /,. - ( & ( ( J K
More informationOOstaExcel.ir. J. Abbasi Syooki. HTML Number. Device Control 1 (oft. XON) Device Control 3 (oft. Negative Acknowledgement
OOstaExcel.ir J. Abbasi Syooki HTML Name HTML Number دهدهی ا کتال هگزاد سیمال باینری نشانه )کاراکتر( توضیح Null char Start of Heading Start of Text End of Text End of Transmission Enquiry Acknowledgment
More information1. Oracle Mobile Agents? 2. client-agent-server client-server
1. Oracle Mobile Agents?!"#$ application software system%. &'( )'*+, -. */0 1 23 45 678 9:; >?, %@ +%. - 6A(mobility) : B? CDE@ F GH8!" * channel #I 1 = / 4%. ()'*, &', LAN) - * application
More information) $ G}] }O H~U. G yhpgxl. Cong
» Þ åî ïî á ë ïý þý ÿ þ ë ú ú F \ Œ Œ Ÿ Ÿ F D D D\ \ F F D F F F D D F D D D F D D D D FD D D D F D D FD F F F F F F F D D F D F F F D D D D F Ÿ Ÿ F D D Œ Ÿ D Ÿ Ÿ FŸ D c ³ ² í ë óô ò ð ¹ í ê ë Œ â ä ã
More informationSecond Year March 2017
Reg. No. :... Code No. 5052 Name :... Second Year March 2017 Time : 2 Hours Cool-off time : 15 Minutes Part III COMPUTER APPLICATION (Commerce) Maximum : 60 Scores General Instructions to Candidates :
More informationCMPT 470 Based on lecture notes by Woshun Luk
* ) ( & 2XWOLQH &RPSRQHQ 2EMHF 0RGXOHV CMPT 470 ased on lecture notes by Woshun Luk What is a DLL? What is a COM object? Linking two COM objects Client-Server relationships between two COM objects COM
More informationThis file contains an excerpt from the character code tables and list of character names for The Unicode Standard, Version 3.0.
Range: This file contains an excerpt from the character code tables and list of character names for The Unicode Standard, Version.. isclaimer The shapes of the reference glyphs used in these code charts
More informationConMan. A Web based Conference Manager for Asterisk. How I Managed to get Con'd into skipping my summer vacation by building this thing
ConMan A Web based Conference Manager for Asterisk -or- How I Managed to get Con'd into skipping my summer vacation by building this thing $90503&07 $:3.74889028,-47,94708 $90503&078:3.42 Sun Labs, slide
More informationUSB-ASC232. ASCII RS-232 Controlled USB Keyboard and Mouse Cable. User Manual
USB-ASC232 ASCII RS-232 Controlled USB Keyboard and Mouse Cable User Manual Thank you for purchasing the model USB-ASC232 Cable HAGSTROM ELECTRONICS, INC. is pleased that you have selected this product
More informationChemistry Hour Exam 2
Chemistry 838 - Hour Exam 2 Fall 2003 Department of Chemistry Michigan State University East Lansing, MI 48824 Name Student Number Question Points Score 1 15 2 15 3 15 4 15 5 15 6 15 7 15 8 15 9 15 Total
More informationCMSC 313 Lecture 03 Multiple-byte data big-endian vs little-endian sign extension Multiplication and division Floating point formats Character Codes
Multiple-byte data CMSC 313 Lecture 03 big-endian vs little-endian sign extension Multiplication and division Floating point formats Character Codes UMBC, CMSC313, Richard Chang 4-5 Chapter
More informationPersonal Conference Manager (PCM)
Chapter 3-Basic Operation Personal Conference Manager (PCM) Guidelines The Personal Conference Manager (PCM) interface enables the conference chairperson to control various conference features using his/her
More informationCartons (PCCs) Management
Final Report Project code: 2015 EE04 Post-Consumer Tetra Pak Cartons (PCCs) Management Prepared for Tetra Pak India Pvt. Ltd. Post Consumer Tetra Pak Cartons (PCCs) Management! " # $ " $ % & ' ( ) * +,
More informationDue Date: See Blackboard
Source File: ~/2315/45/lab45.(C CPP cpp c++ cc cxx cp) Input: under control of main function Output: under control of main function Value: 4 Integer data is usually represented in a single word on a computer.
More informationfont faq HOW TO INSTALL YOUR FONT HOW TO INSERT SWASHES, ALTERNATES, AND ORNAMENTS
font faq HOW TO INSTALL YOUR FONT You will receive your files as a zipped folder. For instructions on how to unzip your folder, visit LauraWorthingtonType.com/faqs/. Your font is available in two formats:
More informationCommunication and processing of text in the Kildin Sámi, Komi, and Nenets, and Russian languages.
TYPE: 96 Character Graphic Character Set REGISTRATION NUMBER: 200 DATE OF REGISTRATION: 1998-05-01 ESCAPE SEQUENCE G0: -- G1: ESC 02/13 06/00 G2: ESC 02/14 06/00 G3: ESC 02/15 06/00 C0: -- C1: -- NAME:
More informationState of Connecticut Workers Compensation Commission
State of Connecticut Workers Compensation Commission Notice to Employees Workers Compensation Act Chapter 568 of the Connecticut General Statutes (the Workers Compensation Act) requires your employer,
More informationSheila. Regular Bold. User s Guide
Sheila Regular Bold User s Guide font faq HOW TO INSTALL YOUR FONT You will receive your files as a zipped folder. For instructions on how to unzip your folder, visit LauraWorthingtonType.com/faqs/. Your
More informationContrast. user s guide
N Contrast chu U77777777V user s guide c P font faq HOW TO INSTALL YOUR FONT You will receive your files as a zipped folder. For instructions on how to unzip your folder, visit LauraWorthingtonType.com/faqs/.
More informationAdorn. Serif. Smooth. v22622x
s u Adorn f Serif Smooth 9 0 t v22622x user s guide PART OF THE ADORN POMANDER SMOOTH COLLECTION v O P E N T Y P E FAQ : For information on how to access the swashes and alternates, visit LauraWorthingtonType.com/faqs
More informationAdorn. Serif. Smooth. v22622x. user s guide PART OF THE ADORN POMANDER SMOOTH COLLECTION
s u Adorn f Serif Smooth 9 0 t v22622x user s guide PART OF THE ADORN POMANDER SMOOTH COLLECTION v font faq HOW TO INSTALL YOUR FONT You will receive your files as a zipped folder. For instructions on
More informationShort Notes of CS201
#includes: Short Notes of CS201 The #include directive instructs the preprocessor to read and include a file into a source code file. The file name is typically enclosed with < and > if the file is a system
More informationAlfred Aho Brian Kernighan Peter Weinberger gawk awk GUN. GNU linux. gawk
awk linux/unix awk linux/unix ( ) awk Alfred AhoBrian KernighanPeter Weinbergergawk awk GUN awk gawk GNU linux Bell awk GNU awk gawk awk [options] 'script' var=value file(s) awk [options] -f scriptfile
More informationBUCKLEY. User s Guide
BUCKLEY User s Guide O P E N T Y P E FAQ : For information on how to access the swashes and alternates, visit LauraWorthingtonType.com/faqs All operating systems come equipped with a utility that make
More informationERNST. Environment for Redaction of News Sub-Titles
ERNST Environment for Redaction of News Sub-Titles Introduction ERNST (Environment for Redaction of News Sub-Titles) is a software intended for preparation, airing and sequencing subtitles for news or
More informationUNIVERSITY OF THE FREE STATE DEPARTMENT OF COMPUTER SCIENCE AND INFORMATICS CSIS1614
UNIVERSITY OF THE FREE STATE DEPARTMENT OF COMPUTER SCIENCE AND INFORMATICS CSIS1614 DATE: 7 May 2015 MARKS: 130 ASSESSOR: Prof. P.J. Blignaut (Bonus marks: 5) MODERATOR: Dr. L. de Wet TIME: 180 minutes
More informationCS201 - Introduction to Programming Glossary By
CS201 - Introduction to Programming Glossary By #include : The #include directive instructs the preprocessor to read and include a file into a source code file. The file name is typically enclosed with
More informationCommunication and processing of text in the Chuvash, Erzya Mordvin, Komi, Hill Mari, Meadow Mari, Moksha Mordvin, Russian, and Udmurt languages.
TYPE: 96 Character Graphic Character Set REGISTRATION NUMBER: 201 DATE OF REGISTRATION: 1998-05-01 ESCAPE SEQUENCE G0: -- G1: ESC 02/13 06/01 G2: ESC 02/14 06/01 G3: ESC 02/15 06/01 C0: -- C1: -- NAME:
More informationHoneyBee User s Guide
HoneyBee User s Guide font faq HOW TO INSTALL YOUR FONT You will receive your files as a zipped folder. For instructions on how to unzip your folder, visit LauraWorthingtonType.com/faqs/. Your font is
More informationRapid Prototyping of flexible Embedded Systems on multi-dsp Architectures
Rapid Prototyping of flexible Embedded Systems on multi-dsp Architectures Bernhard Rinner, Martin Schmid and Reinhold Weiss Institut für Technische Informatik Technische Universität Graz Inffeldgasse 16/1,
More informationCOMP322 - Introduction to C++ Lecture 02 - Basics of C++
COMP322 - Introduction to C++ Lecture 02 - Basics of C++ School of Computer Science 16 January 2012 C++ basics - Arithmetic operators Where possible, C++ will automatically convert among the basic types.
More informationThe Logical Solution - Digital Video Extension. DVI EXTENSION - Velocity Series
Digital Video Extension System-3 Digital Video Extension System-3R Digital Video Extension System-3 A/V+ Digital Video Extension System-3 A/V Pro Digital Video Extension System-3R A/V+ MRTS Technology
More information7. IP. » &!'() (IS: intermediate system) !"#$% *+'() (ES: end system) Copyright 2000, Suguru Yamaguchi, All right reserved
7. IP»!"#$%» &!'() (IS: intermediate system) *+'() (ES: end system) 1 ISES ES: End System!"#$Ethernet%&' ()*+,'-./ Ethernet IS: Intermediate System =>?@&+12/AB$CD EF FDDI ES: End System 0 FDDI%&'12!"#$345
More informationAdorn. Slab Serif Smooth R E G U LAR. v22622x
s u Adorn f Slab Serif Smooth R E G U LAR B OL D t 0 v22622x 9 user s guide PART OF THE ADORN POMANDER SMOOTH COLLECTION v O P E N T Y P E FAQ : For information on how to access the swashes and alternates,
More informationCassandra: Distributed Access Control Policies with Tunable Expressiveness
Cassandra: Distributed Access Control Policies with Tunable Expressiveness p. 1/12 Cassandra: Distributed Access Control Policies with Tunable Expressiveness Moritz Y. Becker and Peter Sewell Computer
More informationChapter 5 Data Organization: The Load and Store Instructions
Chapter 5 Data Organization: The Load and Store Instructions Arthur B. Maccabe Department of Computer Science The University of New Mexico Copyright 1993 2000, Arthur B. Maccabe and McGraw-Hill, Inc. Assembler
More informationVersion /10/2015. Type specimen. Bw STRETCH
Version 1.00 08/10/2015 Bw STRETCH type specimen 2 Description Bw Stretch is a compressed grotesque designed by Alberto Romanos, suited for display but also body text purposes. It started in 2013 as a
More informationUser Guide for Greek GGT-Fonts Revision date: 23 May, 2011
User Guide for Greek GGT-Fonts Revision date: 23 May, 2011 by Graham G Thomason Copyright Graham G Thomason, 2009. Permission is granted to copy or publish this document, provided this complete notice
More informationVariables Data types Variable I/O. C introduction. Variables. Variables 1 / 14
C introduction Variables Variables 1 / 14 Contents Variables Data types Variable I/O Variables 2 / 14 Usage Declaration: t y p e i d e n t i f i e r ; Assignment: i d e n t i f i e r = v a l u e ; Definition
More informationCMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 02, FALL 2012
CMSC 33 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 2, FALL 22 TOPICS TODAY Bits of Memory Data formats for negative numbers Modulo arithmetic & two s complement Floating point formats
More informationUNIVERSITY OF THE FREE STATE DEPARTMENT OF COMPUTER SCIENCE AND INFORMATICS CSIS1614. DATE: 5 March 2015 MARKS: 100 SECTION A (36)
UNIVERSITY OF THE FREE STATE DEPARTMENT OF COMPUTER SCIENCE AND INFORMATICS CSIS1614 DATE: 5 March 2015 MARKS: 100 ASSESSOR: Prof. P.J. Blignaut TIME: 180 minutes MODERATOR: Dr. L. de Wet SECTION A (36)
More informationC, C++, Fortran: Basics
C, C++, Fortran: Basics Bruno Abreu Calfa Last Update: September 27, 2011 Table of Contents Outline Contents 1 Introduction and Requirements 1 2 Basic Programming Elements 2 3 Application: Numerical Linear
More informationClaimSpotter: an Environment to Support Sensemaking with Knowledge Triples
ClaimSpotter: an Environment to Support Sensemaking with Knowledge Triples Bertrand Sereno, Simon Buckingham Shum & Enrico Motta Knowledge Media Institute The Open University Milton Keynes MK7 6AA, UK
More informationfont faq HOW TO INSTALL YOUR FONT HOW TO INSERT SWASHES, ALTERNATES, AND ORNAMENTS
font faq HOW TO INSTALL YOUR FONT You will receive your files as a zipped folder. For instructions on how to unzip your folder, visit LauraWorthingtonType.com/faqs/. Your font is available in two formats:
More informationCS 326 Operating Systems C Programming. Greg Benson Department of Computer Science University of San Francisco
CS 326 Operating Systems C Programming Greg Benson Department of Computer Science University of San Francisco Why C? Fast (good optimizing compilers) Not too high-level (Java, Python, Lisp) Not too low-level
More informationIII. CLAIMS ADMINISTRATION
III. CLAIMS ADMINISTRATION Insurance Providers: Liability Insurance: Greenwich Insurance Company American Specialty Claims Representative: Mark Thompson 142 N. Main Street, Roanoke, IN 46783 Phone: 260-672-8800
More informationTo provide state and district level PARCC assessment data for the administration of Grades 3-8 Math and English Language Arts.
200 West Baltimore Street Baltimore, MD 21201 410-767-0100 410-333-6442 TTY/TDD msde.maryland.gov TO: FROM: Members of the Maryland State Board of Education Jack R. Smith, Ph.D. DATE: December 8, 2015
More informationI SEMESTER EXAM : : XI :COMPUTER SCIENCE : MAX MARK a) What is the difference between Hardware and Software? Give one example for each.
I SEMESTER EXAM : : XI :COMPUTER SCIENCE : MAX MARK 70. a) What is the difference between Hardware and Software? Give one example for each. b) Give two differences between primary and secondary memory.
More information[DP19] DN-500CD. Serial Command Protocol Guide
[DP19] Serial Command Protocol Guide Ver. 1.2 January 16, 2017 inmusic Brands, Inc. 1 1 Contents 2 General... 3 2.1 RS-232C Control... 3 3 Specification... 4 3.1 RS-232C Control... 4 4 Communication Protocol...
More informationThe course that gives CMU its Zip! Web Services Nov 26, Topics HTTP Serving static content Serving dynamic content
15-213 The course that gives CMU its Zip! Web Services Nov 26, 2002 Topics HTTP Serving static content Serving dynamic content Web History 1945: 1989: 1990: Vannevar Bush, As we may think, Atlantic Monthly,
More informationDue Date: See Blackboard
Source File: ~/2315/11/lab11.(C CPP cpp c++ cc cxx cp) Input: Under control of main function Output: Under control of main function Value: 1 The purpose of this assignment is to become more familiar with
More informationChapter 15 - C++ As A "Better C"
Chapter 15 - C++ As A "Better C" Outline 15.1 Introduction 15.2 C++ 15.3 A Simple Program: Adding Two Integers 15.4 C++ Standard Library 15.5 Header Files 15.6 Inline Functions 15.7 References and Reference
More informationAdorn. Slab Serif BOLD. v x. user s gu ide
Adorn f Slab Serif BOLD t 9a0 v2226222x user s gu ide v fon t faq HOW T O I N S TA L L YOU R F ON T H O W T O I N S E R T S WA S H E S, You will receive your files as a zipped folder. For instructions
More informationBold U S E R S G U I D E
Yana Regular Bold Italic USER S GUIDE S S S font faq HOW TO INSTALL YOUR FONT You will receive your files as a zipped folder. For instructions on how to unzip your folder, visit LauraWorthingtonType.com/faqs/.
More informationIPv6 Servic es. LONG Net w ork
IP Servic es in LONG Net w ork Carlos Ralli Ucendo Telefonica Research & Development Overview IP Distributed Labs LONG: Building a distributed IP Lab. LONG Backbone LONG Global View LONG IP Services Examples
More informationADORN. Roman. v x. user s gu ide
ADORN f Roman t 9a0 v2226222x user s gu ide v fon t faq HOW T O I N S TA L L YOU R F ON T H O W T O I N S E R T S WA S H E S, You will receive your files as a zipped folder. For instructions on how to
More informationfont faq HOW TO INSTALL YOUR FONT HOW TO INSERT SWASHES, ALTERNATES, AND ORNAMENTS
font faq HOW TO INSTALL YOUR FONT You will receive your files as a zipped folder. For instructions on how to unzip your folder, visit LauraWorthingtonType.com/faqs/. Your font is available in two formats:
More informationEstimate Traffic with Combined Neural Network Approach
Estimate Traffic with Combined Neural Network Approach Edmond Chin-Ping Chang, Ph.D., P.E Oak Ridge National Laboratory, Oak Ridge, TN 37831-6207 USA E-mail: ecc2005@ornl.gov Abstract - Many operating
More informationA COMPARISON BETWEEN OBJECT-ORIENTED DATABASE SYSTEMS AND INFORMATION SYSTEM SHELLS
A COMPARISON BETWEEN OBJECT-ORIENTED DATABASE SYSTEMS AND INFORMATION SYSTEM SHELLS ABSTRACT The work makes an overview of the main characteristics of object-oriented database systems (OODBS) and information
More informationoptions (alternatives)
)! "!#$% #!&! '#($ * +,-./012-3/,-/ 452363/,7,89:636 ; ?@ABCDE=F@GGH>IJ@KLGMLBH=>JL>LGNCHC ; O@?HCH=> PQ=RG@EST=GKH>IDTBLI@C ; U@GLBH=> =V O W B= C=E@ =BX@Q O H C?HAGH>@C * 452363/,YZ8[3,\ 1,05. ],25.-83,-:
More informationPointers, Dynamic Data, and Reference Types
Pointers, Dynamic Data, and Reference Types Review on Pointers Reference Variables Dynamic Memory Allocation The new operator The delete operator Dynamic Memory Allocation for Arrays 1 C++ Data Types simple
More informationMAT 22B-001: Differential Equations
MAT 22B-001: Differential Equations Final Exam Solutions Note: There is a table of the Laplace transform in the last page Name: SSN: Total Score: Problem 1 (5 pts) Solve the following initial value problem
More informationGetting round your Mac with Shortcut Keys
The Mac has many useful keyboard shortcuts but these do depend on you knowing the difference between the following keys: Shift Fn Ctrl Alt (Also referred to as Option) Command (Also referred to as the
More informationAdorn. Serif. v x. user s gu ide
Adorn f Serif t 9a0 v2226222x user s gu ide v fon t faq HOW T O I N S TA L L YOU R F ON T H O W T O I N S E R T S WA S H E S, You will receive your files as a zipped folder. For instructions on how to
More informationOracle Primavera P6 Enterprise Project Portfolio Management Performance and Sizing Guide. An Oracle White Paper December 2011
Oracle Primavera P6 Enterprise Project Portfolio Management Performance and Sizing Guide An Oracle White Paper December 2011 Disclaimer The following is intended to outline our general product direction.
More informationArizona s First University. More ways to show off--controlling your Creation: IP and OO ECE 373
Arizona s First University. More ways to show off--controlling your Creation: IP and OO ECE 373 Overview Object Creation Control Distribution Possibilities Impact of design decisions on IP control 2 Good
More informationNon-numeric types, boolean types, arithmetic. operators. Comp Sci 1570 Introduction to C++ Non-numeric types. const. Reserved words.
, ean, arithmetic s s on acters Comp Sci 1570 Introduction to C++ Outline s s on acters 1 2 3 4 s s on acters Outline s s on acters 1 2 3 4 s s on acters ASCII s s on acters ASCII s s on acters Type: acter
More informationC:\Temp\Templates. Download This PDF From The Web Site
11 2 2 2 3 3 3 C:\Temp\Templates Download This PDF From The Web Site 4 5 Use This Main Program Copy-Paste Code From The Next Slide? Compile Program 6 Copy/Paste Main # include "Utilities.hpp" # include
More informationPRINCIPLES OF OPERATING SYSTEMS
PRINCIPLES OF OPERATING SYSTEMS Tutorial-1&2: C Review CPSC 457, Spring 2015 May 20-21, 2015 Department of Computer Science, University of Calgary Connecting to your VM Open a terminal (in your linux machine)
More informationCS2141 Software Development using C/C++ C++ Basics
CS2141 Software Development using C/C++ C++ Basics Integers Basic Types Can be short, long, or just plain int C++ does not define the size of them other than short
More informationBasic program The following is a basic program in C++; Basic C++ Source Code Compiler Object Code Linker (with libraries) Executable
Basic C++ Overview C++ is a version of the older C programming language. This is a language that is used for a wide variety of applications and which has a mature base of compilers and libraries. C++ is
More informationIntroduction to Programming using C++
Introduction to Programming using C++ Lecture One: Getting Started Carl Gwilliam gwilliam@hep.ph.liv.ac.uk http://hep.ph.liv.ac.uk/~gwilliam/cppcourse Course Prerequisites What you should already know
More informationIntroduction to C++ Systems Programming
Introduction to C++ Systems Programming Introduction to C++ Syntax differences between C and C++ A Simple C++ Example C++ Input/Output C++ Libraries C++ Header Files Another Simple C++ Example Inline Functions
More informationDue Date: See Blackboard
Source File: ~/2315/04/lab04.(C CPP cpp c++ cc cxx cp) Input: Under control of main function Output: Under control of main function Value: 3 In this assignment create an IntegerSet class that will provide
More information124 DISTO pro 4 / pro 4 a-1.0.0zh
0 30 40 50 DISTO PD-Z01 14 DISTO pro 4 / pro 4 a-1.0.0 DISTO pro 4 / pro 4 a-1.0.0 15 16 DISTO pro 4 / pro 4 a-1.0.0 DISTO pro 4 / pro 4 a-1.0.0 17 1 PD-Z03 3 7 4 5 6 10 9 8 18 DISTO pro 4 / pro 4 a-1.0.0
More informationFast Introduction to Object Oriented Programming and C++
Fast Introduction to Object Oriented Programming and C++ Daniel G. Aliaga Note: a compilation of slides from Jacques de Wet, Ohio State University, Chad Willwerth, and Daniel Aliaga. Outline Programming
More informationDistrict Institute of Education and Training Lawspet, Puducherry.
District Institute of Education and Training Lawspet, Puducherry. Educational Computing Record work done by with the Register Number. Submitted for the Internal Assessment examination, April / May 2011,
More informationRecap. ANSI C Reserved Words C++ Multimedia Programming Lecture 2. Erwin M. Bakker Joachim Rijsdam
Multimedia Programming 2004 Lecture 2 Erwin M. Bakker Joachim Rijsdam Recap Learning C++ by example No groups: everybody should experience developing and programming in C++! Assignments will determine
More informationDue Date: See Blackboard
Source File: ~/2315/06/lab06.(C CPP cpp c++ cc cxx cp) Input: Under control of main function Output: Under control of main function Value: 2 Extend the IntegerSet class from Lab 04 to provide the following
More informationChap. 3. Chap. 3. Recall and Precision Alternative Measures. TREC Collection CACM and ISI Collections CFC (Cystic Fibrosis Collection)
b!"$#%&'(!) *,+.-0/1-0/2 3547698;:'=?@A8;BC
More informationTopic 6: A Quick Intro To C. Reading. "goto Considered Harmful" History
Topic 6: A Quick Intro To C Reading Assumption: All of you know basic Java. Much of C syntax is the same. Also: Some of you have used C or C++. Goal for this topic: you can write & run a simple C program
More informationCOM S 213 PRELIM EXAMINATION #2 April 26, 2001
COM S 213 PRELIM EXAMINATION #2 April 26, 2001 Name: Student ID: Please answer all questions in the space(s) provided. Each question is worth 4 points. You may leave when you are finished with the exam.
More informationA Mixed Fragmentation Algorithm for Distributed Object Oriented Databases 1
A Mixed Fragmentation Algorithm for Distributed Object Oriented Databases 1 Fernanda Baião Department of Computer Science - COPPE/UFRJ Abstract Federal University of Rio de Janeiro - Brazil baiao@cos.ufrj.br
More informationDue Date: See Blackboard
Source File: ~/2305/lab06.(C CPP cpp c++ cc cxx cp) Input: Under control of main function Output: Under control of main function Value: 2 Extend the IntegerSet class from Lab 04 to provide the following
More informationAgenda. The main body and cout. Fundamental data types. Declarations and definitions. Control structures
The main body and cout Agenda 1 Fundamental data types Declarations and definitions Control structures References, pass-by-value vs pass-by-references The main body and cout 2 C++ IS AN OO EXTENSION OF
More informationAppendix C. Numeric and Character Entity Reference
Appendix C Numeric and Character Entity Reference 2 How to Do Everything with HTML & XHTML As you design Web pages, there may be occasions when you want to insert characters that are not available on your
More informationAN OVERVIEW OF C++ 1
AN OVERVIEW OF C++ 1 OBJECTIVES Introduction What is object-oriented programming? Two versions of C++ C++ console I/O C++ comments Classes: A first look Some differences between C and C++ Introducing function
More informationControl Flow Analysis
Control Flow Analyi Efficiency Control Flow Analyi Type an Effect ytem Data Flow Analyi Abtract Interpretation Correctne Control Flow Analyi p.1/35 Control Flow Analyi Flow information i eential for the
More informationCMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 02, SPRING 2013
CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 02, SPRING 2013 TOPICS TODAY Bits of Memory Data formats for negative numbers Modulo arithmetic & two s complement Floating point
More information1 Swing 2006A 5 B? 18. Swing Sun Microsystems AWT. 3.1 JFrame JFrame GHI
' þ ³ š ³ œ ³ 2006 1 Swing! " # &%' ()+-,./0 1 2 45-6 &8% 9 : ; < = >@? 2006A 5 B? 18 C@D E F : G HJILK-M!NPO-Q R S-I!T R!U V-W X Y!Z[N GUI\ ] ^ O-Q R S _a` b-w!c dje!f g Swing Wh i Z j k l m n N VisualEditor
More informationC++: Overview and Features
C++: Overview and Features Richard Newman r.newman@rdg.ac.uk Room CS127 2003-12-11 Programming & Design, 2003 1 Introduction You have: used streams seen how classes are used seen some C++ code Today: good
More informationAutomatic Verification of Finite State Concurrent Systems
Automatic Verification of Finite State Concurrent Systems Edmund M Clarke, Jr Computer Science Department Carnegie Mellon University Pittsburgh, PA 523 Temporal Logic Model Checking Specification Language:
More informationthe gamedesigninitiative at cornell university Lecture 7 C++ Overview
Lecture 7 Lecture 7 So You Think You Know C++ Most of you are experienced Java programmers Both in 2110 and several upper-level courses If you saw C++, was likely in a systems course Java was based on
More informationBanner 8 Using International Characters
College of William and Mary Banner 8 Using International Characters A Reference and Training Guide Banner Support January 23, 2009 Table of Contents Windows XP Keyboard Setup 3 VISTA Keyboard Setup 7 Creating
More information