CSE 340 Recitation Principles of Programming Languages Me















- Slides: 15

CSE 340 Recitation Principles of Programming Languages

Me • Erik Trickel, feel free to call me Erik • Computer Science, Ph. D – Security Research, exploitation of Android devices – Starting 2 nd Year • Prior Experience – 10 years working in IT industry – Programming for over 20 years – Took CSE 340 with Dr. Doupe in Fall of 2015

Truths and Lies • • • Have two children, 6 and 3 years old Graduated from law school magna cum laude Was a sponsored wakeboarder Played all the major US MMORPGS Have lived in Arizona all of my life Taught rock climbing at a 100 ft high climbing gym

Truths and Lies • Played poker professionally for several years • Can do a handstand • Developed an Android application that has over 1, 000 purchases • Compete on ASU’s hacking team, pwndevils • My wife is a vice president at American Express • My dog can understand or perform over 100 words/gestures/actions

Recitation Introduction • CSE 340 is one of the most difficult classes in the CS program at ASU • You will be required to program in C or C++ • Most students find the 3 rd, 4 th, and 5 th programming assignments very difficult

Recitation Introduction • The purpose of the recitation is to help you succeed in CSE 340 • I am here to serve you • Ask questions either in recitation or by email • Come to my office hours • Recitations will be a mix of prepared content and your questions

Schedule Monday Tuesday Wednesday Thursday Friday Rec - Erik 8: 35 -9: 25 9: 00 AM Rec - Erik 8: 35 -9: 25 9: 30 AM Rec - Erik 9 -9: 50 Erik Recitations 10: 00 AM Erik Office Hours 10: 30 AM 11: 00 AM Mohsen Rec 10: 45 -11: 35 Isaac's Lab Hrs 10 -11 11: 30 AM 12: 00 PM 12: 30 PM 1: 00 PM Steve's Lab Hrs 12: 30 - 1: 30 Steve's Lab Hrs 12: 30 -1: 30 PM Class 8: 30 AM 2: 00 PM 2: 30 PM 3: 00 PM 3: 30 PM Erik - OH 3: 30 -4: 30 4: 00 PM 4: 30 PM Rec - Erik 9 -9: 50 Ben's Lab Hours 10 -11 Mohsen OH 11 -12 Andrew Lab Hours 12: 15 -2: 15 Ryan's Lab Hrs 2: 30 -4: 30 Mohsen Rec 10: 45 -11: 35 Ben's Lab Hrs 3: 30 -4: 30 Mohsen OH 11 -12 Sarah's Lab Hours 12 -2 Mohsen Rec 10: 45 -11: 35 Erik - OH 12 -1 Class Dr. Doupe OH 3 -4 Dr. D OH 4: 30 -5 5: 00 PM Rec - Erik 4: 35 -5: 25 Isaac's Lab Hrs 4: 30 -5: 30 PM UGTA Lab Hours Mohsen Recs Mohsen OH Dr. Doupe Class Dr. Doupe OH

Recitation Introduction • You can come to any of the recitations or just watch online • I will take a head count, but will not take attendance • My recitations might be different from Mohsen’s

Academic Integrity • Dr. Doupe is VERY SERIOUS about academic integrity! • He has issued 23 academic integrity policy violations • There is a ZERO tolerance policy in this class • A student caught violating the academic integrity policy • Will receive a zero on the assignment • Will have their grade in the course lowered by a letter • Will be reported to the Dean’s office

Course Info • Course Website – Adamdoupe. com – http: //adamdoupe. com/teaching/classes/cse 340 principles-of-programming-languages-f 16/

Linux C/C++ IDE • Doing all your development on Cent. OS will save you so much extra work – Every year students try to do their development in Xcode, Visual Studio, or Notepad and then have a terrible time getting their code to run correctly in Cent. OS • https: //www. jetbrains. com/clion/ • https: //www. jetbrains. com/shop/eform/students – Search: jet brains student license

Linux Text Editors • VIM cheat sheet – http: //vim. rtorr. com/ • Sublime Text 3 (GUI) – http: //elearning. wsldp. com/pcmagazine/install-sublimetext-3 -centos-7 -linux/ • Emacs – http: //www. rgrjr. com/emacs_cheat. html – http: //www. jesshamrick. com/2012/09/10/absolutebeginners-guide-to-emacs/

Project 1 • http: //adamdoupe. com/teaching/classes/cse 3 40 -principles-of-programming-languagesf 16/project-1. html • Part 1 • Part 2 • Part 3

Project 1 • Part 2 – Virtual Box – Cent. OS 7 – Instructions to be posted on website • Common issues – Wifi not working from Cent. OS, try closing the VM down, going to Settings > Network > Check the "Cable Connected“ – For the error message, “Kernel requires…”, try enabling virtualization in your BIOS settings.

Project 1 • Part 3 – Output a percent – Outputs a file with all the code and the lines that were executed – Look for lines with #### – In GG, look for helpful post from Anders on creating a bash script for testing and gcovr