430 likes | 536 Views
Whatcom Fair Voting Welcomes you. Here is your Logic and Accuracy Test. Please watch the next slides, and see whether they are “ right”. Math Program Example One:. input 2. input 2 input 3 ____________________________. input 2 input 3 ____________________________ output 5.
E N D
Whatcom Fair VotingWelcomes you Here is your Logic and Accuracy Test. Please watch the next slides, and see whether they are“right”.......
Math Program Example One:
input 2 input 3 ____________________________
input 2 input 3 ____________________________ output 5
Math Program Examples Two, and more:
input 3 input 4 ____________________________
input 3 input 4 ____________________________ output 7
input 12345 input 11111 __________________________________
input 12345 input 11111 __________________________________ output 23456
input 100 input -1
input 100 input -1 ____________________________ output 99
So......... What does this math program do? (those examples are re-displayed on the next slide)
input 2 input 3 ______ output 5 input 3 input 4 ______ output 7 input 12345 input 11111 ___________ output 23456 input 100 input -1 _________ output 99
So......... What does this math program do? Or, even more simply,
Or, even more simply, What would the output be for the following example:
input 555 input 444 ____________________________ output ?
Well, if you're being asked this question on the math portion of the SAT test (which is known NOT to be malicious) you can safely answer:
Well, if you're being asked this question on the math portion of the SAT test (which is known NOT to be malicious) you can safely answer: "It adds the two numbers input!" with an instruction like:..........
INPUT X INPUT Y IF X and Y are NUMBERS THEN ____________________ OUTPUT = X+Y (that’s the program code, logically)
input 555 input 444 ____________________________ output 999 ( it’s logical, right?) so: would give:
But what if....??? The real program code was.......
INPUT X INPUT Y ( IF ( X = 555 AND Y = 444 ) <-- “special case”
INPUT X INPUT Y ( IF ( X = 555 AND Y = 444 ) THEN ( OUTPUT ……. (are you watching? programming code uses “logic”; IF “THIS” is a special case, THEN do “THAT”. )
INPUT X INPUT Y ( IF ( X = 555 AND Y = 444 ) THEN ( OUTPUT "HOLY SMOKE BATMAN!") OR ELSE ( OUTPUT = X+Y ) ) (Oh, that’s not what you expected?)
input 555 input 444 ____________________________ outputHOLY SMOKE BATMAN
And that’s the “right” answer, because the instructions say so.
But unless you either came upon that special case by sheer luck, ...... or..... You actually read all the lines of the program code, you’d never know!
“Logical” conclusion: No test can “prove” that the program “does not have” some special case tucked away inside it.
“L&A” tests(*) only find accidental errors, not intentional variations. (*)L&A= ”Logic & Accuracy”
The ONLY WAY to verify the workings of computer code is to review every step written into the code. ...every step!
A review of every step written into the code is necessary, so a trusted inspector can see the way the counting is done for EVERY CASE, even odd, special cases...... in fact, .....
in fact, ..... A review looking for odd, special cases is especially necessary, so no unexpected results could be written into the procedures, because that’s the only way they could be found.
And that is what we insist must be done with the programs that get and count your votes, because......
If you cannot trust the way the votes are counted, then .....
If you cannot trust the way the votes are counted,then nothing much else in politics matters.
Insist on avoter-verified paper ballotat the polling-place - archived for auditing recounts, so that….. an external, independent audit of votes is possible...and
and ..... “public source” software code, to allow inspectors to look for odd, special cases, so no unexpected results could be written into the procedures.
paper ballots and open source software Thanks for caring, Whatcom Fair Voting web source: http://www.nas.com/beddill/fairvoting/ Rev 4