ANALYSIS Egg Database Analysis Tools
|
|
|
- Judith Russell
- 10 years ago
- Views:
Transcription
1 1 ANALYSIS INTRODUCTION 1 1. Introduction. ANALYSIS Egg Database Analysis Tools by John Walker This program is in the public domain. This program implements frequently-performed analyses of generic eggsummary data, in the form of a generic egganalysis class derived therefrom which adds various analytic tools and the storage to represent them and support their computation. (The generic stuff refers to the fact that all of these classes are defined as templates in which the data type used for the egg sample data is parametric. This permits analyses which wish to aggregate data or express it in other measures, for example, z scores, to avoid the round-off which forcing the egg sample to its default value of unsigned char would entail. We classify statistics computed as all egg, where we produce time series which evaluate quantities at a moment of time across all eggs reporting, and per egg, where we measure the behaviour of individual eggs across the entire time period in the data set. To use this code, you ll need to be familiar with the eggdata program; you ll probably use the cache to obtain your data sets and prepare extracts of time intervals of interest, and you ll need to understand the generic eggsummary class to access raw data. You may also wish to consult the timedate program to manipulate dates and times, and the statlib program for statistical tests on the data. In general, you can think of the development of analysis software as a process of migration of tools from specific purpose-built analysis programs such as those presented in examples, into this program as they become more widely used, and finally into eggdata if they are fundamentally applicable to the original data set. analysis_test.c 1 #define REVDATE "4th February 2002" See also section 23.
2 2 PROGRAM GLOBAL CONTEXT ANALYSIS 2 2. Program global context. #include "config.h" / System-dependent configuration / Preprocessor definitions Application include files 4 Class implementations 6 3. We export the class definitions for this package in the external file analysis.h that programs which use this library may include. analysis.h 3 #ifndef ANALYSIS_HEADER_DEFINES #define ANALYSIS_HEADER_DEFINES #include <math.h> / Make sure math.h is available / #include <iostream> #include <iomanip> #include <fstream> #include <exception> #include <stdexcept> #include <string> #include <vector> #include <map> using namespace std; #include <ctype.h> #include <assert.h> #include "eggdata.h" #include "timedate.h" #include "statlib.h" Class definitions 8 4. The following include files provide access to external components of the program not defined herein. Application include files 4 #include "analysis.h" / Class definitions for this package / This code is used in section This is a dummy placeholder for code to be compiled into the binary part of the program. At the moment, we have only template classes, so we d get an error on the reference absent this definition of the code portion. If we end up exclusively with templates, this definition and the reference below may be removed. Egg analysis utilities 5 This code is used in section The following classes are defined and their implementations provided. Class implementations 6 Egg analysis utilities 5 This code is used in section 2.
3 7 ANALYSIS EGG ANALYSIS UTILITIES 3 7. Egg analysis utilities.
4 4 THE EGG ANALYSIS CLASS ANALYSIS 8 8. The Egg Analysis Class. The egganalysis extends eggsummary to provide a variety of analyses of the raw sample data and output thereof. The intention is that egganalysis will implement the standard workhorse statistics, then be further extended to add exploratory measures. We slice the raw data two ways here: as a time series across all eggs reporting in a given time period and per-egg looking at the behaviour of each egg over the entire time period in the data set. As with the parent class, we define this as a template, generic egganalysis, which can be instantiated with whatever data type is required for the individual egg samples. A default instantiation with unsigned char is provided via the typedef egganalysis. Class definitions 8 template class Sample class generic egganalysis : public generic eggsummary < Sample > { public: double mean, variance, stouffer z ; double egg mean, egg stdev ; Sample egg min sample, egg max sample ; int egg num sample ; int nsamples ; private: void free all egg analysis data (void){ #define ReleaseTable (x) if ((x) Λ) { delete (x); (x) = Λ; ReleaseTable (mean ); ReleaseTable (variance ); ReleaseTable (stouffer z ); ReleaseTable (nsamples ); #undef ReleaseTable void free per egg analysis data (void){ #define ReleaseTable (x) if ((x) Λ) { delete (x); (x) = Λ; ReleaseTable (egg mean ); ReleaseTable (egg stdev ); ReleaseTable (egg min sample ); ReleaseTable (egg max sample ); ReleaseTable (egg num sample ); #undef ReleaseTable public: generic egganalysis ( ) { mean = variance = stouffer z = Λ; nsamples = Λ; egg mean = egg stdev = Λ; egg min sample = egg max sample = Λ; egg num sample = Λ; void write egg statistics CSV (string filename ); void write per egg statistics CSV (string filename );
5 8 ANALYSIS THE EGG ANALYSIS CLASS 5 void write deviation plot (string filename, string charttitle = "", int timeinterval = 1, int tickoffset = 0, string x axis label = "", double referenceprobability = 0.05, systemtime referenceprobabilitystarttime = systemtime(0)); generic egganalysis ( ) { free all egg analysis data ( ); free per egg analysis data ( ); void compute all egg statistics (void); void compute per egg statistics (void); ; typedef generic egganalysis < unsigned char > egganalysis ; See also sections 9, 10, 16, 17, and 18. This code is used in section Here we compute a time series for each time interval in the database, aggregating data across all the eggs (assuming they are synchronised). We compute: nsamples mean stouffer_z Number of eggs reporting in this second Mean value across all eggs reporting in this second Stouffer Z for eggs reporting Let v e be the sample reported by egg e for a given second, n the number of eggs which reported values this second, µ and σ the mean and standard deviation, respectively, of the samples produced by the eggs. Then the values tabulated are as follows: nsamples mean stouffer_z n n e=0 ve n n mean µ e=0 σ/ n Class definitions 8 + template class Sample void generic egganalysis Sample :: compute all egg statistics (void){ assert ( generic eggsummary < Sample > ::seconds per row ) ; / If this pops, you probably forgot to load the data / int nitems = generic eggsummary < Sample > :: seconds of data /generic eggsummary < Sample > ::seconds per row ; free all egg analysis data ( ); mean = new double[nitems ]; variance = new double[nitems ]; stouffer z = new double[nitems ]; nsamples = new int[nitems ]; int i; for (i = 0; i < nitems ; i++) { int j; double rsum = 0, zsum = 0; int n = 0; for (j = 0; j < generic eggsummary < Sample > ::eggs reporting ; j ++ ) { if ( issamplevalid ( generic eggsummary < Sample > ::get egg index (i, j) ) ) { n++; rsum += generic eggsummary < Sample > ::get egg index (i, j); nsamples [i] = n; mean [i] = rsum /n; stouffer z [i] = ( mean [i] ( generic eggsummary < Sample > ::trial size /2 ) ) / ( sqrt ( generic eggsummary < Sample > ::trial size /4.0 ) / sqrt (static cast double (n)) ) ; if (isnan (stouffer z [i]) (i > 0)) { stouffer z [i] = stouffer z [i 1];
6 6 THE EGG ANALYSIS CLASS ANALYSIS Slicing the data set the other way, by egg rather than time, yields statistics on the behaviour of individual eggs over the time period in the database. These statistics are largely irrelevant to hypotheses being tested by the GCP, but facilitate studies of peculiarities of individual or classes of random event generators which may influence the composite result. For each egg, we compute for all n valid samples s x : egg_num_sample n egg_mean µ = egg_stdev σ = n i=0 si n n egg_min_sample min 1 i n s i egg_max_sample max 1 i n s i i=0 (si µ)2 n 1 Class definitions 8 + template class Sample void generic egganalysis Sample :: compute per egg statistics (void) { Allocate and initialise per egg statistics tables 11 ; Compute per egg sum, maximum, and minimum values 12 ; Compute per egg mean and standard deviation 13 ; 11. We begin computation of the per-egg statistics by allocating arrays for the results, one slot per egg and initialise them appropriately for the subsequent computations. If previously allocated tables are present, they are released. Allocate and initialise per egg statistics tables 11 free per egg analysis data ( ); egg mean = new double [ generic eggsummary < Sample > :: eggs reporting ] ; egg stdev = new double [ generic eggsummary < Sample > :: eggs reporting ] ; egg min sample = new Sample [ generic eggsummary < Sample > :: eggs reporting ] ; egg max sample = new Sample [ generic eggsummary < Sample > :: eggs reporting ] ; egg num sample = new int [ generic eggsummary < Sample > :: eggs reporting ] ; / Initialise variables for per-egg statistics / int i; int nitems = generic eggsummary < Sample > :: seconds of data /generic eggsummary < Sample > ::seconds per row ; for (i = 0; i < generic eggsummary < Sample > ::eggs reporting ; i++ ) { egg mean [i] = egg stdev [i] = 0; egg min sample [i] = generic eggsummary < Sample > ::trial size + 1; egg max sample [i] = 0; egg num sample [i] = 0; This code is used in section 10.
7 12 ANALYSIS THE EGG ANALYSIS CLASS Next, we make a first pass over the data, accumulating the sum (to be used later to obtain the mean value), minimum, and maximum of valid samples from that egg. Along the way, we count the number of valid samples from each egg present in the data set. Compute per egg sum, maximum, and minimum values 12 for (i = 0; i < generic eggsummary < Sample > ::eggs reporting ; i++ ) { int j; for (j = 0; j < nitems ; j ++) { Sample es = generic eggsummary < Sample > ::get egg index (j, i); if (issamplevalid (es )) { egg num sample [i]++; egg mean [i] += es ; if (es < egg min sample [i]) { egg min sample [i] = es ; if (es > egg max sample [i]) { egg max sample [i] = es ; This code is used in section Finally, we can compute the mean and standard deviation for each egg, the mean simply by dividing the sample sum computed in the first pass by the number of valid samples, and the standard deviation by making a second pass over the data now that the mean is known. Eggs which contributed no valid samples are ignored in this step and their mean and standard deviation set to zero. The standard deviation is also set to zero if an egg contributes only a single sample. Compute per egg mean and standard deviation 13 for (i = 0; i < generic eggsummary < Sample > :: eggs reporting ; i++ ) { int j; if (egg num sample [i] > 1) { egg mean [i] /= egg num sample [i]; for (j = 0; j < nitems ; j ++) { Sample es = generic eggsummary < Sample > ::get egg index (j, i); if (issamplevalid (es )) { egg stdev [i] += (es egg mean [i]) (es egg mean [i]); egg stdev [i] = sqrt (egg stdev [i]/(egg num sample [i] 1)); This code is used in section As a convenience, output routines which depend on the all-egg statistics having been computed test whether the statistics have been computed and, if not, perform this task automatically. Compute all egg statistics if not previously done 14 if (mean Λ) { compute all egg statistics ( ); This code is used in sections 16 and And here s the same convenience for folks interested in the per-egg statistics. Compute per egg statistics if not previously done 15 if (egg mean Λ) { compute per egg statistics ( ); This code is used in section 17.
8 8 THE EGG ANALYSIS CLASS ANALYSIS This method writes a.csv file containing a time series of the all-egg statistics for the time period. Need to include a table of fields in this file once it stops changing. Class definitions 8 + template class Sample void generic egganalysis Sample :: write egg statistics CSV (string filename ){ FILE of = fopen (filename.c str ( ), "w"); double ichisum = 0, chisum = 0; int nitems = generic eggsummary < Sample > ::seconds of data /generic eggsummary < Sample > ::seconds per row ; int i, idof = 0; Compute all egg statistics if not previously done 14 ; for (i = 0; i < nitems ; i++) { double zsquare = stouffer z [i] stouffer z [i]; double xe = chisquaredistribution ::x from p k ( , i + 1); chisum += zsquare ; idof ++; fprintf (of, "24,%lu,%d,%.6f,%.6f,%.6f,%d,%.6f,%.6f\n", generic eggsummary < Sample > ::start time.get time ( ) + ( i generic eggsummary < Sample > ::seconds per row ), nsamples [i], mean [i], stouffer z [i], chisum, idof, xe, (chisum xe )/xe, chisquaredistribution ::p from k x (chisum, i + 1) ) ; fclose (of ); 17. The write per egg statistics CSV method creates a.csv file containing the per-egg statistics calculated by compute per egg statistics. The statistics will be calculated automatically if they haven t already been prepared. The.csv file contains one record for each egg which contributed samples to the database, formatted as follows: 25,Egg number,number of samples,mean,max,min,stdev where 25 is the record type code, Egg number the egg number, Number of samples the number of valid samples from this egg present in the data set, Mean, Max, and Min the arithmetic mean value of all samples, and the maximum and minimum values present, and Stdev the standard deviation of the samples from the egg. Eggs whose data have been entirely discarded as invalid are not listed in the report. Class definitions 8 + template class Sample void generic egganalysis Sample :: write per egg statistics CSV (string filename ){ ofstream of (filename.c str ( )); Compute per egg statistics if not previously done 15 ; of setprecision (8); for (int i = 0; i < generic eggsummary < Sample > ::eggs reporting ; i++ ) { if (egg num sample [i] > 0) { of "25," generic eggsummary < Sample > ::egg number [i] "," egg num sample [i] "," egg mean [i] "," ((double) egg max sample [i]) "," ((double) egg min sample [i]) "," egg stdev [i] endl ; of.close ( );
9 18 ANALYSIS THE EGG ANALYSIS CLASS The write deviation plot method generates, with the able assistance of GNUPLOT, a chart of the cumulative deviation the time span in the object. A comparison line to a given referenceprobability (0.05 by default) can be plotted as well. If a referenceprobability of zero is specified, no reference line is plotted. You can offset the reference probability curve with respect to the data set by specifying a referenceprobabilitystarttime for the curve; the curve is plotted starting at the first time at or after the specified moment, with this Y axis origin at the value of the all-egg deviation curve at that moment. Specifying a negative value for the referenceprobability causes the curve to be plotted below the expectation value curve. Class definitions 8 + template class Sample void generic egganalysis Sample :: write deviation plot (string filename, string charttitle, int timeinterval, int tickoffset, string x axis label, double referenceprobability, systemtime referenceprobabilitystarttime ){ ofstream gp((filename + ".gp").c str ( )), dat ((filename + ".dat").c str ( )); Compute all egg statistics if not previously done 14 ; Write GNUPLOT data table for deviation plot 19 ; / Create GNUPLOT instructions to plot data / double final p = chisquaredistribution ::p from k x (idof, chisum ); gp "set term pbm small color" endl ; Generate chart title for deviation plot 20 ; gp "set ylabel \"Cumulative Deviation" endl ; Generate label for X (time) axis of deviation plot 21 ; if (timeinterval 1) { Generate X axis tick labels for deviation plot 22 ; gp "plot \"" filename ".dat\" using 1:2 title \"Composite: " generic eggsummary < Sample > :: eggs reporting " eggs; p = " setprecision (3) (1.0 final p) "\" with lines,\\" endl ; if (referenceprobability 0) { gp " \"" filename ".dat\" using 1:3 title \"p=" referenceprobability "\" with lines,\\" endl ; gp " 0 title \"\"" endl ; string command ("gnuplot "); command += filename + ".gp ppmtogif >" + filename + ".gif"; #ifdef DEV_PLOT_DEBUG cout command endl ; #else command += " 2>/dev/null"; gp.close ( ); dat.close ( ); system (command.c str ( )); #ifndef DEV_PLOT_DEBUG / Delete the temporary files used to create the plot / remove ((filename + ".gp").c str ( )); remove ((filename + ".dat").c str ( ));
10 10 THE EGG ANALYSIS CLASS ANALYSIS The GNUPLOT data file for the deviation plot consists of three columns: the time interval index (used for the x axis), the cumulative deviation, and the reference probability curve (if referenceprobability 0). Write GNUPLOT data table for deviation plot 19 double ichisum = 0, chisum = 0; int nitems = generic eggsummary < Sample > ::seconds of data /generic eggsummary < Sample > ::seconds per row ; int i, ref = 0, idof = 0; double cxebase ; bool firstref = true ; for (i = 0; i < nitems ; i++) { double zsquare = stouffer z [i] stouffer z [i]; double xe = chisquaredistribution ::x from p k (0.5, i + 1); chisum += zsquare ; idof ++; dat i " " (chisum xe ); if ( ( generic eggsummary < Sample > ::start time.get time ( ) + ( generic eggsummary < Sample > :: seconds per row i ) ) referenceprobabilitystarttime.get time ( ) ) { double xpref = chisquaredistribution :: x from p k (fabs (referenceprobability ), ref + 1); if (firstref ) { cxebase = chisum xe ; firstref = false ; dat " " (((referenceprobability < 0)? 1 : 1) ((chisquaredistribution ::x from p k (0.5, ref + 1) xpref ) + cxebase )); ref ++; dat endl ; This code is used in section If the user doesn t supply a custom title for the chart, generate one from the start and end times of the data plotted. If the chart covers precisely one day, the default title is just the date. If the start and end times are in the same day but not the first and last seconds of it, the date is given only before the start time. Generate chart title for deviation plot 20 if (charttitle "") { charttitle = generic eggsummary < Sample > :: start time.datetostring ( ); if ( ( generic eggsummary < Sample > ::start time.get time ( ) generic eggsummary < Sample > ::start time.midnight ( ) ) ( ( generic eggsummary < Sample > ::end time.get time ( )+1 ) ( generic eggsummary < Sample > ::start time.get time ( ) + systemtime ::SecondsPerDay ) ) ) { charttitle += " " + generic eggsummary < Sample > ::start time.timetostring ( ); charttitle += " "; if ( generic eggsummary < Sample > ::start time.midnight ( ) generic eggsummary < Sample > ::end time.midnight ( ) ) { charttitle += generic eggsummary < Sample > :: end time.datetostring ( ) + " "; charttitle += generic eggsummary < Sample > :: end time.timetostring ( ); gp "set title \"" charttitle "\"" endl ; This code is used in section 18.
11 21 ANALYSIS THE EGG ANALYSIS CLASS The caller can supply the label for the x (time) axis of the deviation plot explicitly by passing the desired label as the x axis label argument (or a single blank for no label at all). If the null string is supplied (the default if the argument is omitted), a label will be generated based on the timeinterval argument. If the timeinterval is not one of the intervals defined below, the axis will be labeled as Time Periods you should provide a custom label along with a nonstandard time interval. Generate label for X (time) axis of deviation plot 21 if (x axis label " ") { if (x axis label "") { switch (timeinterval ) { case 1: x axis label = "Seconds"; break; case systemtime :: SecondsPerMinute : x axis label = "Minutes"; break; case systemtime :: SecondsPerHour : x axis label = "Hours"; break; case systemtime :: SecondsPerDay : x axis label = "Days"; break; default: x axis label = "Time Periods"; break; x axis label += " Elapsed"; gp "set xlabel \"" x axis label "\"" endl ; This code is used in section If the timeinterval is one second (the default), GNUPLOT s default x axis labeling is adequate. Otherwise, we must generate a set xtics statement which supplies the labels and gives their locations along the axis. We place labels at each timeinterval, offset tickoffset seconds, which may be positive or negative. Generate X axis tick labels for deviation plot 22 int ctime = generic eggsummary < Sample > ::start time.get time ( ) + tickoffset ; bool first = true ; gp "set xtics ( \\" endl ; for (i = 0; i < nitems ; i++) { if ((ctime % timeinterval ) 0) { if ( first ) { gp ",\\" endl ; first = false ; gp "\"" ((i + tickoffset )/timeinterval ) "\" " i; ctime ++; gp "\\" endl " )" endl ; This code is used in section 18.
12 12 TEST PROGRAM ANALYSIS Test program. analysis_test.c 1 + Test program include files 26 ; Show how to call test program 25 ; int main (int argc, char argv [ ]){ extern char optarg ; / Imported from getopt / extern int optind ; try { int opt ; Process command-line options 24 ; #if 0 / Eggsummary analysis and plotting tests / { int j; eggdatabases ed ; ed.set Fourmilab defaults ( ); #ifndef CACHE_TEST #define DEFAULT_EGGANALYSIS #ifdef DEFAULT_EGGANALYSIS generic eggsummary cache < egganalysis > ec(&ed, "rotten_egg.csv", 50, 150); egganalysis esr ; egganalysis ext ; #else typedef generic egganalysis double double egganalysis; generic eggsummary cache < double egganalysis > ec(&ed, "rotten_egg.csv", 50, 150); double egganalysis esr ; double egganalysis ext ; esr = ec.get by date (" "); systemtime refstart ; / refstart.fromstring( :00:00 ); / / refstart.fromstring( :00:00 ); / #ifndef EXTRACT_TEST systemtime exstart, exend ; exstart.fromstring (" :00:00"); exend.fromstring (" :30:00"); esr extract time range (&ext, exstart, exend ); esr = &ext ; esr compute per egg statistics ( ); esr describe ( ); esr write per egg statistics CSV ("peregg.csv"); esr write deviation plot ("devtest", / Name of plot file / "", / Custom title for chart / systemtime :: SecondsPerHour, / Time interval for x axis labels / systemtime :: SecondsPerHour 8, / Offset in seconds for x axis labels / "", / Custom title for x axis / 0.05, / Probability for reference curve / refstart / Time to begin reference curve plot / ); #else egganalysis esr ; systemtime t; t.fromstring (" "); / t.fromstring( ); / esr.load from CSV (ed.database file (t)); esr.exclude bad data ("rotten_egg.csv");
13 23 ANALYSIS TEST PROGRAM 13 esr.limit to range (50, 150, &cout ); esr.compute all egg statistics ( ); #if 0 for (j = 0; j < esr.eggs reporting ; j ++) { cout esr.egg number [j] ": " (int) esr.get egg index (86399, j) "\n"; #if 0 esr.write egg statistics CSV ("test_24.csv"); #ifndef SIMPLE esr.write deviation plot ("devtest", / Name of plot file / "", / Earth Day: 2001 April 22, // Custom title for chart / systemtime :: SecondsPerHour, / Time interval for x axis labels / systemtime :: SecondsPerHour 8, / Offset in seconds for x axis labels / "", / Custom title for x axis / 0.05 / Probability for reference curve / ); #else esr.write deviation plot ("devtest", / Name of plot file / "Earth Day: 2001 April 22", / Custom title for chart / systemtime :: SecondsPerHour / Time interval for x axis labels / ); #if 1 / Multi-day extraction and analysis tests / { eggdatabases ed ; ed.set Fourmilab defaults ( ); generic eggsummary cache < egganalysis > ec(&ed, "rotten_egg.csv", 50, 150); egganalysis ext ; systemtime refstart ; systemtime exstart, exend ; exstart.fromstring (" :00:00"); exend.fromstring (" :30:00"); ec.extract time range (&ext, exstart, exend ); ext.compute per egg statistics ( ); ext.describe ( ); ext.write per egg statistics CSV ("peregg.csv"); ext.write deviation plot ("devtest", / Name of plot file / "", / Custom title for chart / systemtime :: SecondsPerHour, / Time interval for x axis labels / systemtime :: SecondsPerHour 8, / Offset in seconds for x axis labels / "", / Custom title for x axis / 0.05, / Probability for reference curve / refstart / Time to begin reference curve plot / ); catch(exception &e)
14 14 TEST PROGRAM ANALYSIS 23 { cout "Blooie!!! Exception popped: " e.what ( ) endl ; #ifndef CORE_DUMP #ifdef STACK_TRACE char s[160]; sprintf (s, "/bin/echo where\nq >/tmp/gdbcmd ; gdb batch command ""/tmp/gdbcmd %s %d", argv [0], getpid ( )); system (s); sleep(5); throw; / Re-throw exception to dump core / return 0; 24. We use getopt to process command line options. This permits aggregation of options without arguments and both darg and d arg syntax. Process command-line options 24 while ((opt = getopt (argc, argv, "nu :")) 1) { switch (opt ) { case u : / u Print how-to-call information / case? : usage ( ); return 0; case : / Extended options / switch (optarg [0]) { case c : / copyright / cout "This program is in the public domain.\n"; return 0; case h : / help / usage ( ); return 0; case v : / version / cout PRODUCT " " VERSION "\n"; cout "Last revised: " REVDATE "\n"; cout "The latest version is always available\n"; cout "at return 0; This code is used in section 23.
15 25 ANALYSIS TEST PROGRAM Procedure usage prints how-to-call information. Show how to call test program 25 static void usage (void) { cout PRODUCT " Analyse eggsummary files. Call:\n"; cout " " PRODUCT " [options] [infile] [outfile]\n"; cout "\n"; cout "Options:\n"; cout " copyright Print copyright information\n"; cout " u, help Print this message\n"; cout " version Print version number\n"; cout "\n"; cout "by John Walker\n"; cout " This code is used in section We need the following definitions to compile the test program. Test program include files 26 #include "config.h" / Our configuration / / C++ include files / #include <iostream> #include <exception> #include <stdexcept> #include <string> using namespace std; #include <stdio.h> #include <stdlib.h> #include <ctype.h> #ifdef HAVE_GETOPT #ifdef HAVE_UNISTD_H #include <unistd.h> #else #include "getopt.h" / No system getopt use our own / #include "analysis.h" / Class definitions for this package / This code is used in section 23.
16 16 INDEX ANALYSIS Index. The following is a cross-reference table for analysis. Single-character identifiers are not indexed, nor are reserved words. Underlined entries indicate where an identifier was declared. ANALYSIS_HEADER_DEFINES: 3. argc: 23, 24. argv : 23, 24. assert : 9. c str : 16, 17, 18. CACHE_TEST: 23. charttitle : 8, 18, 20. chisquaredistribution : 16, 18, 19. chisum : 16, 18, 19. close : 17, 18. command : 18. compute all egg statistics : 8, 9, 14, 23. compute per egg statistics : 8, 10, 15, 17, 23. CORE_DUMP: 23. cout : 18, 23, 24, 25. ctime : 22. cxebase : 19. dat : 18, 19. database file : 23. datetostring : 20. DEFAULT_EGGANALYSIS: 23. describe : 23. DEV_PLOT_DEBUG: 18. double egganalysis: 23. e: 23. ec: 23. ed : 23. egg max sample : 8, 11, 12, 17. egg mean : 8, 11, 12, 13, 15, 17. egg min sample : 8, 11, 12, 17. egg num sample : 8, 11, 12, 13, 17. egg number : 17, 23. egg stdev : 8, 11, 13, 17. egganalysis : 8, 23. eggdatabases : 23. eggs reporting : 9, 11, 12, 13, 17, 18, 23. eggsummary : 8. end time : 20. endl : 17, 18, 19, 20, 21, 22, 23. es : 12, 13. esr : 23. exception: 23. exclude bad data : 23. exend : 23. exstart : 23. ext : 23. EXTRACT_TEST: 23. extract time range : 23. fabs : 19. false : 19, 22. fclose : 16. filename : 8, 16, 17, 18. final p: 18. first : 22. firstref : 19. fopen : 16. fprintf : 16. free all egg analysis data : 8, 9. free per egg analysis data : 8, 11. fromstring : 23. generic egganalysis: 1, 8, 9, 10, 16, 17, 18, 23. generic eggsummary : 1, 8, 9, 11, 12, 13, 16, 17, 18, 19, 20, 22. generic eggsummary cache : 23. get by date : 23. get egg index : 9, 12, 13, 23. get time : 16, 19, 20, 22. getopt : 23, 24. getpid : 23. gp: 18, 20, 21, 22. HAVE_GETOPT: 26. HAVE_UNISTD_H: 26. i: 9, 11, 16, 17, 19. ichisum : 16, 19. idof : 16, 18, 19. isnan : 9. issamplevalid : 9, 12, 13. j: 9, 12, 13, 23. limit to range : 23. load from CSV : 23. main : 23. mean : 8, 9, 14, 16. midnight : 20. n: 9. nitems : 9, 11, 12, 13, 16, 19, 22. nsamples : 8, 9, 16. of : 16, 17. ofstream: 17, 18. opt : 23, 24. optarg : 23, 24. optind : 23. p from k x : 16, 18. PRODUCT: 24, 25. ref : 19. referenceprobability : 8, 18, 19. referenceprobabilitystarttime : 8, 18, 19. refstart : 23. ReleaseTable : 8. remove : 18. REVDATE: 1, 24.
17 27 ANALYSIS INDEX 17 rsum : 9. s: 23. Sample: 8, 9, 10, 11, 12, 13, 16, 17, 18, 19, 20, 22. seconds of data : 9, 11, 16, 19. seconds per row : 9, 11, 16, 19. SecondsPerDay : 20, 21. SecondsPerHour : 21, 23. SecondsPerMinute : 21. set Fourmilab defaults : 23. setprecision : 17, 18. SIMPLE: 23. sleep: 23. sprintf : 23. sqrt : 9, 13. STACK_TRACE: 23. start time : 16, 19, 20, 22. std: 3, 26. stouffer z : 8, 9, 16, 19. string: 8, 16, 17, 18. system : 18, 23. systemtime: 8, 18, 20, 21, 23. t: 23. tickoffset : 8, 18, 22. timeinterval : 8, 18, 21, 22. timetostring : 20. trial size : 9, 11. true : 19, 22. usage : 24, 25. variance : 8, 9. VERSION: 24. what : 23. write deviation plot : 8, 18, 23. write egg statistics CSV : 8, 16, 23. write per egg statistics CSV : 8, 17, 23. x axis label : 8, 18, 21. x from p k : 16, 19. xe : 16, 19. xpref : 19. zsquare : 16, 19. zsum : 9.
18 18 NAMES OF THE SECTIONS ANALYSIS Allocate and initialise per egg statistics tables 11 Used in section 10. Application include files 4 Used in section 2. Class definitions 8, 9, 10, 16, 17, 18 Used in section 3. Class implementations 6 Used in section 2. Compute all egg statistics if not previously done 14 Used in sections 16 and 18. Compute per egg mean and standard deviation 13 Used in section 10. Compute per egg statistics if not previously done 15 Used in section 17. Compute per egg sum, maximum, and minimum values 12 Used in section 10. Egg analysis utilities 5 Used in section 6. Generate X axis tick labels for deviation plot 22 Used in section 18. Generate chart title for deviation plot 20 Used in section 18. Generate label for X (time) axis of deviation plot 21 Used in section 18. Process command-line options 24 Used in section 23. Show how to call test program 25 Used in section 23. Test program include files 26 Used in section 23. Write GNUPLOT data table for deviation plot 19 Used in section 18. analysis.h 3 analysis_test.c 1, 23
19 ANALYSIS Section Introduction Program global context Egg analysis utilities The Egg Analysis Class Test program Index Page
An Incomplete C++ Primer. University of Wyoming MA 5310
An Incomplete C++ Primer University of Wyoming MA 5310 Professor Craig C. Douglas http://www.mgnet.org/~douglas/classes/na-sc/notes/c++primer.pdf C++ is a legacy programming language, as is other languages
Storage Classes CS 110B - Rule Storage Classes Page 18-1 \handouts\storclas
CS 110B - Rule Storage Classes Page 18-1 Attributes are distinctive features of a variable. Data type, int or double for example, is an attribute. Storage class is another attribute. There are four storage
Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.
Name: Class: Date: Exam #1 - Prep True/False Indicate whether the statement is true or false. 1. Programming is the process of writing a computer program in a language that the computer can respond to
C++ Programming: From Problem Analysis to Program Design, Fifth Edition. Chapter 3: Input/Output
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 3: Input/Output Objectives In this chapter, you will: Learn what a stream is and examine input and output streams Explore
The C Programming Language course syllabus associate level
TECHNOLOGIES The C Programming Language course syllabus associate level Course description The course fully covers the basics of programming in the C programming language and demonstrates fundamental programming
Illustration 1: Diagram of program function and data flow
The contract called for creation of a random access database of plumbing shops within the near perimeter of FIU Engineering school. The database features a rating number from 1-10 to offer a guideline
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
Sources: On the Web: Slides will be available on:
C programming Introduction The basics of algorithms Structure of a C code, compilation step Constant, variable type, variable scope Expression and operators: assignment, arithmetic operators, comparison,
Wave Analytics Data Integration
Wave Analytics Data Integration Salesforce, Spring 16 @salesforcedocs Last updated: April 28, 2016 Copyright 2000 2016 salesforce.com, inc. All rights reserved. Salesforce is a registered trademark of
Simple C++ Programs. Engineering Problem Solving with C++, Etter/Ingber. Dev-C++ Dev-C++ Windows Friendly Exit. The C++ Programming Language
Simple C++ Programs Engineering Problem Solving with C++, Etter/Ingber Chapter 2 Simple C++ Programs Program Structure Constants and Variables C++ Operators Standard Input and Output Basic Functions from
CORBA Programming with TAOX11. The C++11 CORBA Implementation
CORBA Programming with TAOX11 The C++11 CORBA Implementation TAOX11: the CORBA Implementation by Remedy IT TAOX11 simplifies development of CORBA based applications IDL to C++11 language mapping is easy
C++ INTERVIEW QUESTIONS
C++ INTERVIEW QUESTIONS http://www.tutorialspoint.com/cplusplus/cpp_interview_questions.htm Copyright tutorialspoint.com Dear readers, these C++ Interview Questions have been designed specially to get
PART-A Questions. 2. How does an enumerated statement differ from a typedef statement?
1. Distinguish & and && operators. PART-A Questions 2. How does an enumerated statement differ from a typedef statement? 3. What are the various members of a class? 4. Who can access the protected members
The University of Alabama in Huntsville Electrical and Computer Engineering CPE 112 01 Test #4 November 20, 2002. True or False (2 points each)
True or False (2 points each) The University of Alabama in Huntsville Electrical and Computer Engineering CPE 112 01 Test #4 November 20, 2002 1. Using global variables is better style than using local
SQLITE C/C++ TUTORIAL
http://www.tutorialspoint.com/sqlite/sqlite_c_cpp.htm SQLITE C/C++ TUTORIAL Copyright tutorialspoint.com Installation Before we start using SQLite in our C/C++ programs, we need to make sure that we have
Lab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++)
Lab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++) (Revised from http://msdn.microsoft.com/en-us/library/bb384842.aspx) * Keep this information to
NICK COLLIER - REPAST DEVELOPMENT TEAM
DATA COLLECTION FOR REPAST SIMPHONY JAVA AND RELOGO NICK COLLIER - REPAST DEVELOPMENT TEAM 0. Before We Get Started This document is an introduction to the data collection system introduced in Repast Simphony
Engineering Problem Solving and Excel. EGN 1006 Introduction to Engineering
Engineering Problem Solving and Excel EGN 1006 Introduction to Engineering Mathematical Solution Procedures Commonly Used in Engineering Analysis Data Analysis Techniques (Statistics) Curve Fitting techniques
IPC. Semaphores were chosen for synchronisation (out of several options).
IPC Two processes will use shared memory to communicate and some mechanism for synchronise their actions. This is necessary because shared memory does not come with any synchronisation tools: if you can
Data exploration with Microsoft Excel: univariate analysis
Data exploration with Microsoft Excel: univariate analysis Contents 1 Introduction... 1 2 Exploring a variable s frequency distribution... 2 3 Calculating measures of central tendency... 16 4 Calculating
ECE 341 Coding Standard
Page1 ECE 341 Coding Standard Professor Richard Wall University of Idaho Moscow, ID 83843-1023 [email protected] August 27, 2013 1. Motivation for Coding Standards The purpose of implementing a coding standard
An API for Reading the MySQL Binary Log
An API for Reading the MySQL Binary Log Mats Kindahl Lead Software Engineer, MySQL Replication & Utilities Lars Thalmann Development Director, MySQL Replication, Backup & Connectors
MAS 500 Intelligence Tips and Tricks Booklet Vol. 1
MAS 500 Intelligence Tips and Tricks Booklet Vol. 1 1 Contents Accessing the Sage MAS Intelligence Reports... 3 Copying, Pasting and Renaming Reports... 4 To create a new report from an existing report...
C++ Language Tutorial
cplusplus.com C++ Language Tutorial Written by: Juan Soulié Last revision: June, 2007 Available online at: http://www.cplusplus.com/doc/tutorial/ The online version is constantly revised and may contain
N3458: Simple Database Integration in C++11
N3458: Simple Database Integration in C++11 Thomas Neumann Technische Univeristät München [email protected] 2012-10-22 Many applications make use of relational database to store and query their data. However,
Answers to Review Questions Chapter 7
Answers to Review Questions Chapter 7 1. The size declarator is used in a definition of an array to indicate the number of elements the array will have. A subscript is used to access a specific element
C++ Programming Language
C++ Programming Language Lecturer: Yuri Nefedov 7th and 8th semesters Lectures: 34 hours (7th semester); 32 hours (8th semester). Seminars: 34 hours (7th semester); 32 hours (8th semester). Course abstract
Member Functions of the istream Class
Member Functions of the istream Class The extraction operator is of limited use because it always uses whitespace to delimit its reads of the input stream. It cannot be used to read those whitespace characters,
A brief introduction to C++ and Interfacing with Excel
A brief introduction to C++ and Interfacing with Excel ANDREW L. HAZEL School of Mathematics, The University of Manchester Oxford Road, Manchester, M13 9PL, UK CONTENTS 1 Contents 1 Introduction 3 1.1
PROBLEM SOLVING SEVENTH EDITION WALTER SAVITCH UNIVERSITY OF CALIFORNIA, SAN DIEGO CONTRIBUTOR KENRICK MOCK UNIVERSITY OF ALASKA, ANCHORAGE PEARSON
PROBLEM SOLVING WITH SEVENTH EDITION WALTER SAVITCH UNIVERSITY OF CALIFORNIA, SAN DIEGO CONTRIBUTOR KENRICK MOCK UNIVERSITY OF ALASKA, ANCHORAGE PEARSON Addison Wesley Boston San Francisco New York London
Comp151. Definitions & Declarations
Comp151 Definitions & Declarations Example: Definition /* reverse_printcpp */ #include #include using namespace std; int global_var = 23; // global variable definition void reverse_print(const
How To Port A Program To Dynamic C (C) (C-Based) (Program) (For A Non Portable Program) (Un Portable) (Permanent) (Non Portable) C-Based (Programs) (Powerpoint)
TN203 Porting a Program to Dynamic C Introduction Dynamic C has a number of improvements and differences compared to many other C compiler systems. This application note gives instructions and suggestions
Tips and Tricks SAGE ACCPAC INTELLIGENCE
Tips and Tricks SAGE ACCPAC INTELLIGENCE 1 Table of Contents Auto e-mailing reports... 4 Automatically Running Macros... 7 Creating new Macros from Excel... 8 Compact Metadata Functionality... 9 Copying,
Ubuntu. Ubuntu. C++ Overview. Ubuntu. History of C++ Major Features of C++
Ubuntu You will develop your course projects in C++ under Ubuntu Linux. If your home computer or laptop is running under Windows, an easy and painless way of installing Ubuntu is Wubi: http://www.ubuntu.com/download/desktop/windowsinstaller
Result Entry by Spreadsheet User Guide
Result Entry by Spreadsheet User Guide Created in version 2007.3.0.1485 1/50 Table of Contents Result Entry by Spreadsheet... 3 Result Entry... 4 Introduction... 4 XML Availability... 4 Result Entry...
Big Data and Analytics by Seema Acharya and Subhashini Chellappan Copyright 2015, WILEY INDIA PVT. LTD. Introduction to Pig
Introduction to Pig Agenda What is Pig? Key Features of Pig The Anatomy of Pig Pig on Hadoop Pig Philosophy Pig Latin Overview Pig Latin Statements Pig Latin: Identifiers Pig Latin: Comments Data Types
Getting Started with the Internet Communications Engine
Getting Started with the Internet Communications Engine David Vriezen April 7, 2014 Contents 1 Introduction 2 2 About Ice 2 2.1 Proxies................................. 2 3 Setting Up ICE 2 4 Slices 2
Appendix M: Introduction to Microsoft Visual C++ 2010 Express Edition
Appendix M: Introduction to Microsoft Visual C++ 2010 Express Edition This book may be ordered from Addison-Wesley in a value pack that includes Microsoft Visual C++ 2010 Express Edition. Visual C++ 2010
Informatica e Sistemi in Tempo Reale
Informatica e Sistemi in Tempo Reale Introduction to C programming Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa October 25, 2010 G. Lipari (Scuola Superiore Sant Anna)
Oracle Database: SQL and PL/SQL Fundamentals NEW
Oracle University Contact Us: + 38516306373 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training delivers the
Wave Analytics Data Integration Guide
Wave Analytics Data Integration Guide Salesforce, Winter 16 @salesforcedocs Last updated: November 6, 2015 Copyright 2000 2015 salesforce.com, inc. All rights reserved. Salesforce is a registered trademark
Oracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: 1.800.529.0165 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This course is designed to deliver the fundamentals of SQL and PL/SQL along
7.7 Case Study: Calculating Depreciation
7.7 Case Study: Calculating Depreciation 1 7.7 Case Study: Calculating Depreciation PROBLEM Depreciation is a decrease in the value over time of some asset due to wear and tear, decay, declining price,
MPLAB TM C30 Managed PSV Pointers. Beta support included with MPLAB C30 V3.00
MPLAB TM C30 Managed PSV Pointers Beta support included with MPLAB C30 V3.00 Contents 1 Overview 2 1.1 Why Beta?.............................. 2 1.2 Other Sources of Reference..................... 2 2
Textbook: T. Issariyakul and E. Hossain, Introduction to Network Simulator NS2, Springer 2008. 1
Event Driven Simulation in NS2 Textbook: T. Issariyakul and E. Hossain, Introduction to Network Simulator NS2, Springer 2008. 1 Outline Recap: Discrete Event v.s. Time Driven Events and Handlers The Scheduler
/* File: blkcopy.c. size_t n
13.1. BLOCK INPUT/OUTPUT 505 /* File: blkcopy.c The program uses block I/O to copy a file. */ #include main() { signed char buf[100] const void *ptr = (void *) buf FILE *input, *output size_t
Networks and Protocols Course: 320301 International University Bremen Date: 2004-11-24 Dr. Jürgen Schönwälder Deadline: 2004-12-03.
Networks and Protocols Course: 320301 International University Bremen Date: 2004-11-24 Dr. Jürgen Schönwälder Deadline: 2004-12-03 Problem Sheet #10 Problem 10.1: finger rpc server and client implementation
Course notes Standard C++ programming
Department of Cybernetics The University of Reading SE2B2 Further Computer Systems Course notes Standard C++ programming by Dr Virginie F. Ruiz November, 03 CREATING AND USING A COPY CONSTRUCTOR... 27
Integrating the C++ Standard Template Library Into the Undergraduate Computer Science Curriculum
Integrating the C++ Standard Template Library Into the Undergraduate Computer Science Curriculum James P. Kelsh [email protected] Roger Y. Lee [email protected] Department of Computer Science Central
Variable Base Interface
Chapter 6 Variable Base Interface 6.1 Introduction Finite element codes has been changed a lot during the evolution of the Finite Element Method, In its early times, finite element applications were developed
4 Other useful features on the course web page. 5 Accessing SAS
1 Using SAS outside of ITCs Statistical Methods and Computing, 22S:30/105 Instructor: Cowles Lab 1 Jan 31, 2014 You can access SAS from off campus by using the ITC Virtual Desktop Go to https://virtualdesktopuiowaedu
Data exploration with Microsoft Excel: analysing more than one variable
Data exploration with Microsoft Excel: analysing more than one variable Contents 1 Introduction... 1 2 Comparing different groups or different variables... 2 3 Exploring the association between categorical
G563 Quantitative Paleontology. SQL databases. An introduction. Department of Geological Sciences Indiana University. (c) 2012, P.
SQL databases An introduction AMP: Apache, mysql, PHP This installations installs the Apache webserver, the PHP scripting language, and the mysql database on your computer: Apache: runs in the background
Computer Programming C++ Classes and Objects 15 th Lecture
Computer Programming C++ Classes and Objects 15 th Lecture 엄현상 (Eom, Hyeonsang) School of Computer Science and Engineering Seoul National University Copyrights 2013 Eom, Hyeonsang All Rights Reserved Outline
Tutorial on C Language Programming
Tutorial on C Language Programming Teodor Rus [email protected] The University of Iowa, Department of Computer Science Introduction to System Software p.1/64 Tutorial on C programming C program structure:
Phys4051: C Lecture 2 & 3. Comment Statements. C Data Types. Functions (Review) Comment Statements Variables & Operators Branching Instructions
Phys4051: C Lecture 2 & 3 Functions (Review) Comment Statements Variables & Operators Branching Instructions Comment Statements! Method 1: /* */! Method 2: // /* Single Line */ //Single Line /* This comment
TivaWare Utilities Library
TivaWare Utilities Library USER S GUIDE SW-TM4C-UTILS-UG-1.1 Copyright 2013 Texas Instruments Incorporated Copyright Copyright 2013 Texas Instruments Incorporated. All rights reserved. Tiva and TivaWare
Project 2: Bejeweled
Project 2: Bejeweled Project Objective: Post: Tuesday March 26, 2013. Due: 11:59PM, Monday April 15, 2013 1. master the process of completing a programming project in UNIX. 2. get familiar with command
Brent A. Perdue. July 15, 2009
Title Page Object-Oriented Programming, Writing Classes, and Creating Libraries and Applications Brent A. Perdue ROOT @ TUNL July 15, 2009 B. A. Perdue (TUNL) OOP, Classes, Libraries, Applications July
What is a Loop? Pretest Loops in C++ Types of Loop Testing. Count-controlled loops. Loops can be...
What is a Loop? CSC Intermediate Programming Looping A loop is a repetition control structure It causes a single statement or a group of statements to be executed repeatedly It uses a condition to control
Lecture 3. Arrays. Name of array. c[0] c[1] c[2] c[3] c[4] c[5] c[6] c[7] c[8] c[9] c[10] c[11] Position number of the element within array c
Lecture 3 Data structures arrays structs C strings: array of chars Arrays as parameters to functions Multiple subscripted arrays Structs as parameters to functions Default arguments Inline functions Redirection
1 Abstract Data Types Information Hiding
1 1 Abstract Data Types Information Hiding 1.1 Data Types Data types are an integral part of every programming language. ANSI-C has int, double and char to name just a few. Programmers are rarely content
CpSc212 Goddard Notes Chapter 6. Yet More on Classes. We discuss the problems of comparing, copying, passing, outputting, and destructing
CpSc212 Goddard Notes Chapter 6 Yet More on Classes We discuss the problems of comparing, copying, passing, outputting, and destructing objects. 6.1 Object Storage, Allocation and Destructors Some objects
Ch 7-1. Object-Oriented Programming and Classes
2014-1 Ch 7-1. Object-Oriented Programming and Classes May 10, 2014 Advanced Networking Technology Lab. (YU-ANTL) Dept. of Information & Comm. Eng, Graduate School, Yeungnam University, KOREA (Tel : +82-53-810-2497;
Simply Accounting Intelligence Tips and Tricks Booklet Vol. 1
Simply Accounting Intelligence Tips and Tricks Booklet Vol. 1 1 Contents Accessing the SAI reports... 3 Running, Copying and Pasting reports... 4 Creating and linking a report... 5 Auto e-mailing reports...
KITES TECHNOLOGY COURSE MODULE (C, C++, DS)
KITES TECHNOLOGY 360 Degree Solution www.kitestechnology.com/academy.php [email protected] [email protected] Contact: - 8961334776 9433759247 9830639522.NET JAVA WEB DESIGN PHP SQL, PL/SQL
Object Oriented Software Design II
Object Oriented Software Design II Introduction to C++ Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa February 20, 2012 G. Lipari (Scuola Superiore Sant Anna) C++ Intro February
ASCII Encoding. The char Type. Manipulating Characters. Manipulating Characters
The char Type ASCII Encoding The C char type stores small integers. It is usually 8 bits. char variables guaranteed to be able to hold integers 0.. +127. char variables mostly used to store characters
Visual C++ 2010 Tutorial
Visual C++ 2010 Tutorial Fall, 2011 Table of Contents Page No Introduction ------------------------------------------------------------------- 2 Single file program demo --------- -----------------------------------------
Crash Course in Java
Crash Course in Java Based on notes from D. Hollinger Based in part on notes from J.J. Johns also: Java in a Nutshell Java Network Programming and Distributed Computing Netprog 2002 Java Intro 1 What is
Module 816. File Management in C. M. Campbell 1993 Deakin University
M. Campbell 1993 Deakin University Aim Learning objectives Content After working through this module you should be able to create C programs that create an use both text and binary files. After working
Moving from CS 61A Scheme to CS 61B Java
Moving from CS 61A Scheme to CS 61B Java Introduction Java is an object-oriented language. This document describes some of the differences between object-oriented programming in Scheme (which we hope you
AP Computer Science Java Subset
APPENDIX A AP Computer Science Java Subset The AP Java subset is intended to outline the features of Java that may appear on the AP Computer Science A Exam. The AP Java subset is NOT intended as an overall
First Java Programs. V. Paúl Pauca. CSC 111D Fall, 2015. Department of Computer Science Wake Forest University. Introduction to Computer Science
First Java Programs V. Paúl Pauca Department of Computer Science Wake Forest University CSC 111D Fall, 2015 Hello World revisited / 8/23/15 The f i r s t o b l i g a t o r y Java program @author Paul Pauca
SQL Server Array Library 2010-11 László Dobos, Alexander S. Szalay
SQL Server Array Library 2010-11 László Dobos, Alexander S. Szalay The Johns Hopkins University, Department of Physics and Astronomy Eötvös University, Department of Physics of Complex Systems http://voservices.net/sqlarray,
Object Oriented Software Design II
Object Oriented Software Design II C++ intro Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa February 26, 2012 G. Lipari (Scuola Superiore Sant Anna) C++ Intro February 26,
5 Arrays and Pointers
5 Arrays and Pointers 5.1 One-dimensional arrays Arrays offer a convenient way to store and access blocks of data. Think of arrays as a sequential list that offers indexed access. For example, a list of
Portal Connector Fields and Widgets Technical Documentation
Portal Connector Fields and Widgets Technical Documentation 1 Form Fields 1.1 Content 1.1.1 CRM Form Configuration The CRM Form Configuration manages all the fields on the form and defines how the fields
Operator Overloading. Lecture 8. Operator Overloading. Running Example: Complex Numbers. Syntax. What can be overloaded. Syntax -- First Example
Operator Overloading Lecture 8 Operator Overloading C++ feature that allows implementer-defined classes to specify class-specific function for operators Benefits allows classes to provide natural semantics
Dell KACE K1000 Management Appliance. Asset Management Guide. Release 5.3. Revision Date: May 13, 2011
Dell KACE K1000 Management Appliance Asset Management Guide Release 5.3 Revision Date: May 13, 2011 2004-2011 Dell, Inc. All rights reserved. Information concerning third-party copyrights and agreements,
Gestation Period as a function of Lifespan
This document will show a number of tricks that can be done in Minitab to make attractive graphs. We work first with the file X:\SOR\24\M\ANIMALS.MTP. This first picture was obtained through Graph Plot.
Chapter 2: Elements of Java
Chapter 2: Elements of Java Basic components of a Java program Primitive data types Arithmetic expressions Type casting. The String type (introduction) Basic I/O statements Importing packages. 1 Introduction
System Administrator Training Guide. Reliance Communications, Inc. 603 Mission Street Santa Cruz, CA 95060 888-527-5225 www.schoolmessenger.
System Administrator Training Guide Reliance Communications, Inc. 603 Mission Street Santa Cruz, CA 95060 888-527-5225 www.schoolmessenger.com Contents Contents... 2 Before You Begin... 4 Overview... 4
Microsoft' Excel & Access Integration
Microsoft' Excel & Access Integration with Office 2007 Michael Alexander and Geoffrey Clark J1807 ; pwiueyb Wiley Publishing, Inc. Contents About the Authors Acknowledgments Introduction Part I: Basic
IS0020 Program Design and Software Tools Midterm, Feb 24, 2004. Instruction
IS0020 Program Design and Software Tools Midterm, Feb 24, 2004 Name: Instruction There are two parts in this test. The first part contains 50 questions worth 80 points. The second part constitutes 20 points
Using Excel as a Management Reporting Tool with your Minotaur Data. Exercise 1 Customer Item Profitability Reporting Tool for Management
Using Excel as a Management Reporting Tool with your Minotaur Data with Judith Kirkness These instruction sheets will help you learn: 1. How to export reports from Minotaur to Excel (these instructions
Information Server Documentation SIMATIC. Information Server V8.0 Update 1 Information Server Documentation. Introduction 1. Web application basics 2
Introduction 1 Web application basics 2 SIMATIC Information Server V8.0 Update 1 System Manual Office add-ins basics 3 Time specifications 4 Report templates 5 Working with the Web application 6 Working
Scatter Plots with Error Bars
Chapter 165 Scatter Plots with Error Bars Introduction The procedure extends the capability of the basic scatter plot by allowing you to plot the variability in Y and X corresponding to each point. Each
Oracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: +966 12 739 894 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training is designed to
Oracle Tuxedo Systems and Application Monitor (TSAM)
Oracle Tuxedo Systems and Application Monitor (TSAM) Reference Guide 10g Release 3 (10.3) January 2009 Tuxedo Systems and Application Monitor Reference Guide, 10g Release 3 (10.3) Copyright 2007, 2009,
Optimization of sampling strata with the SamplingStrata package
Optimization of sampling strata with the SamplingStrata package Package version 1.1 Giulio Barcaroli January 12, 2016 Abstract In stratified random sampling the problem of determining the optimal size
Course Name: ADVANCE COURSE IN SOFTWARE DEVELOPMENT (Specialization:.Net Technologies)
Course Name: ADVANCE COURSE IN SOFTWARE DEVELOPMENT (Specialization:.Net Technologies) Duration of Course: 6 Months Fees: Rs. 25,000/- (including Service Tax) Eligibility: B.E./B.Tech., M.Sc.(IT/ computer
El Dorado Union High School District Educational Services
El Dorado Union High School District Course of Study Information Page Course Title: ACE Computer Programming II (#495) Rationale: A continuum of courses, including advanced classes in technology is needed.
Introduction to SQL for Data Scientists
Introduction to SQL for Data Scientists Ben O. Smith College of Business Administration University of Nebraska at Omaha Learning Objectives By the end of this document you will learn: 1. How to perform
Boolean Expressions, Conditions, Loops, and Enumerations. Precedence Rules (from highest to lowest priority)
Boolean Expressions, Conditions, Loops, and Enumerations Relational Operators == // true if two values are equivalent!= // true if two values are not equivalent < // true if left value is less than the
Oracle SQL. Course Summary. Duration. Objectives
Oracle SQL Course Summary Identify the major structural components of the Oracle Database 11g Create reports of aggregated data Write SELECT statements that include queries Retrieve row and column data
Alarms & Events Plug-In Help. 2015 Kepware, Inc.
2015 Kepware, Inc. 2 Table of Contents Table of Contents 2 Alarms & Events Plug-In 3 Overview 3 OPC AE Plug-In Terminology 3 OPC AE Plug-In Conditions 4 The OPC AE Plug-In from the OPC AE Clients' Perspective
UIL Computer Science for Dummies by Jake Warren and works from Mr. Fleming
UIL Computer Science for Dummies by Jake Warren and works from Mr. Fleming 1 2 Foreword First of all, this book isn t really for dummies. I wrote it for myself and other kids who are on the team. Everything
J a v a Quiz (Unit 3, Test 0 Practice)
Computer Science S-111a: Intensive Introduction to Computer Science Using Java Handout #11 Your Name Teaching Fellow J a v a Quiz (Unit 3, Test 0 Practice) Multiple-choice questions are worth 2 points
