Emphasis will be placed on the programming and logic parts, but the other topics are also important.

  1. If a apples and b bananas cost d dollarsand 2*a apples are 3k dollars, how many bananas can I get with kdollars if each banana costs j cents? (Hint: 100 cents in a dollar) Your expression should be in terms of a, d, k and j(this is far from the answer, just the example of the format):
  1. Write an algorithm in any programming language that computes the alternating sum of the first 300 prime integers, i.e.
  1. (A XOR B) NAND (A NAND B)?
  2. 0
  3. 1
  4. A XOR B
  5. NOT (A XOR B)
  6. NOT (B NAND A)
  1. Logic with Venn diagrams

Learn from the diagram above to explain why x*(NOT(x)+y) = x*y . Draw your own venn diagram to explain.

  1. Describe a vulnerability in IT departments or customer service departments and how it can be rectified.
  1. Decrypt the following text. Describe your method and any relevant code files you wrote:

Otqee ue m fia-bxmkqd namdp smyq bxmkqp az m otqeenamdp, m otqowqdqp smyqnamdp iuft 64 ecgmdqe mddmzsqp uz mz qustf-nk-qustf sdup. Otqee ue bxmkqp nk yuxxuaze ar bqabxq iadxpiupq, naft mymfqgde mzp bdarqeeuazmxe. Qmot bxmkqd nqsuze ftq smyq iuft 16 buqoqe: azq wuzs, azq cgqqz, fia daawe, fia wzustfe, fia nuetabe, mzp qustf bmize. Qmot ar ftq euj buqoq fkbqe yahqe purrqdqzfxk. Ftq yaef baiqdrgx buqoq ue ftq cgqqz mzp ftq xqmef baiqdrgx buqoq ue ftq bmiz. Ftq anvqofuhq ue fa 'otqowymfq' ftq abbazqzf'e wuzs nk bxmouzs uf gzpqd mz uzqeombmnxq ftdqmf ar ombfgdq. Fa ftue qzp, m bxmkqd'e buqoqe mdq geqp fa mffmow mzp ombfgdq ftq abbazqzf'e buqoqe, ituxq egbbadfuzs ftqud aiz. Uz mppufuaz fa otqowymfq, ftq smyq omz nq iaz nk haxgzfmdk dqeuszmfuaz nk ftq abbazqzf, ituot fkbuomxxk aoogde itqz faa ygot ymfqdumx ue xaef, ad ur otqowymfq mbbqmde gzmhaupmnxq. M smyq ymk mxea dqegxf uz m pdmi uz eqhqdmx imke. Otqee ue nqxuqhqp fa tmhq adusuzmfqp uz Uzpum, eayq fuyq nqradq ftq 7ft oqzfgdk; ftq Uzpumz smyq ar otmfgdmzsm ue mxea ftq xuwqxk mzoqefad ar jumzscu, vmzssu mzp etasu. Ftq buqoqe faaw az ftqud ogddqzf baiqde uz Ebmuz uz ftq xmfq 15ft oqzfgdk; ftq dgxqe iqdq ruzmxxk efmzpmdpulqp uz ftq 19ft oqzfgdk. Ftq rudef sqzqdmxxk dqoaszulqp Iadxp Otqee Otmybuaz, Iuxtqxy Efquzufl, oxmuyqp tue fufxq uz 1886. Euzoq 1948, ftq Iadxp Otmybuazetub tme nqqz oazfdaxxqp nk RUPQ, ftq smyq'e uzfqdzmfuazmx sahqdzuzs napk; ftq ogddqzf Iadxp Otmybuaz ue ftq Zadiqsumz Ymszge Omdxeqz. RUPQ mxea adsmzulqe ftq Iayqz'e Iadxp Otmybuazetub, ftq Iadxp Vgzuad Otmybuazetub, ftq Iadxp Eqzuad Otmybuazetub, ftq Nxufl mzp Dmbup Iadxp Otmybuazetube mzp ftq Otqee Axkybump, m babgxmd oaybqfufuaz myazs fqmye rday purrqdqzf zmfuaze. Ftqdq ue mxea m Oaddqebazpqzoq Otqee Iadxp Otmybuazetub mzp m Iadxp Oaybgfqd Otqee Otmybuazetub. Azxuzq otqee tme abqzqp mymfqgd mzp bdarqeeuazmx oaybqfufuaz fa m iupq mzp hmduqp sdagb ar bxmkqde. Ftqdq mdq mxea ymzk otqee hmdumzfe, iuft purrqdqzf dgxqe, purrqdqzf buqoqe, mzp purrqdqzf namdpe.