Programming Challenges

Saturday, October 24, 2020 – Jim’s Challenge – Part 2

Download the challenge .pdf here.

Download the notes to the challenge here.


Saturday, September 26, 2020 – Jim’s Challenge Part 1

9:30-10a Cocktails & Conversation
10a Presentation

A two-parter:

Jim will issue a programming challenge to hone or improve your coding skills.

Programming Challenge 1
Challenge 1 consist of 1 input and 10 outputs. For the purpose of self-evaluation, use the point system below:
* Output #1 - #5:   3 points  
* Output #6 - #10 :2 points 
Input: 
* 12, byte-size integers each ranging in value from 33 to 255 inclusive 
* Test Input:  72,111,63,85,61,56,118,121,61,69,63,61
Outputs:
* The text enclosed in brackets may be omitted
* The outputs can be in any order
* Data shown below is separated by commas. Any other delimiter can be used
Output #1: 941 (sum)
Output #2:  78, 5 (integer average: quotient, remainder)
Output #3: 72,56,118, (even integers)
Output #4: 56,6 (smallest, position)
Output #5: 5,61,61,61,63,63, (#repeats, list)
Output #6: 18543 (value of new 16-bit integer)
** the 1st 2 elements of the input data (72,111) are used to define a new 16-bit integer
where 72 is the high byte and 111 the low byte
Output #7: 56,61,61,61,63,63,69,72,85,111,118,121 (sorted)
** elementary sorting algorithms: selection, insertion, bubble
Output #8: Ho?U=8vy=E?=   
** Hint: derived from Output #7
Output #9: HOUVYE (upper case)
Output#10: Key (1 =<Key<=26)
** “HOUVYE “(Output #9) is a coded word for “BIOPSY’ that has been encrypted using the Caesar Cipher. The Key unknown.  Decipher “HOUVYE” to produce “BIOPSEY’. Output #10 is the numerical value of Key.
Happy Coding: Jim Briante