Download presentation
Presentation is loading. Please wait.
Published byCamron Ramsey Modified over 6 years ago
1
Elementary Programming Concepts Andrew (amwallis)
EECS 183 My name is Andrew, and I'll be your GSI this semester, and I want to officially welcome you to EECS183! Elementary Programming Concepts Andrew (amwallis)
2
About Me 2nd year CS masters student
B.S. in Computer Engineering and Electrical Engineering from Michigan Tech Interned this past summer with Siemens Healthcare developing a clinical dashboard to screen for rheumatic heart disease Race (road bicycles) with the Ann Arbor Velo Club Favorite books I read this summer were Outliers and The Stars My Destination Alfred Beyster Malcom Gladwell
3
About You! First, everyone introduce themselves…
Name, year, hometown, your programming experience, and something interesting about you Then take 2 or 3 minutes to get to know your neighbors (or anyone else in the room). Very helpful for working together in discussion. You’ll need this for Assignment 0 too! (keep it short, there will be 40 of them, you want at least 3 per minute). Give them a couple minutes to chat with their neighbors. In lecture, there will be a very short time for them to get the name and uniqname of two other students in the course. Here they can get more or make up for not getting enough in lecture. Tell the students they will be likely working together on problems during discussion, so they can get acquainted now.
4
Discussion Format Review of material covered in Lecture
Practice problems/code similar to project concepts and problems you will see on the exam Tips for Testing Come with questions! I’ll always leave time for questions, and I will stay after class for more personal questions Correct any mistakes I make during discussion! Challenge/Extended Problems Discussion slides will be posted within a day after our discussion ( me if I forget) Any suggestions for format are appreciated – I want to teach however will be most beneficial to you all In all the next discussions, I will come in with a practice/challenge problem posted online If you feel comfortable with the new material, feel free to work on the problem during class, and then we can compare solutions If you come up with a fun program, the idea and solution to me before class, and I’ll try to put it up for the rest of the class to try Correct my mistakes – interrupt me – keep me and your peers on their toes I will make many mistakes, some on purpose – don’t miss them!
5
Class Logistics (the bullet points)
If you have a question, check piazza first – someone probably already asked it! If not, post a question Next step is to go to office hours – check the website There are at least 4 hours of office hours every day DON’T CHEAT! The smallest infraction can result in major consequences On cheating: If you are not sure, it’s probably not a good idea, but you can always ask any IA or professor If you have done everything you can, you can me your question. Make sure you state the question clearly, and also indicate what you did to try to solve the problem before you ed
6
3-6 pm Tuesdays, and 3-8 pm M, W-F on the third floor,
Office Hours Office hours will be held on North Campus in the Duderstadt center, starting next Monday. There will always be office hours from: 3-6 pm Tuesdays, and 3-8 pm M, W-F on the third floor, There will sometimes be additional office hours on the weekend – the will be posted on the website There will be a paper sign up sheet that will arrive with the first staff member, and they will start promptly at 3, and end exactly at 8 (give or take 5 minutes) The website will indicate which staff members are present at which time, and this will remain mostly consistent This slide has a lot of information! It’s just for you to be able to reference later
7
Office Hours Location
8
Upcoming Event! Meet the staff and help with getting your laptop ready
Sunday, September 11th 1800 Chemistry Building Bring your laptop! Stay posted on the website for more info
9
Upcoming Due Dates: Zyante reading – due before each lecture
Assignment 0: Meet your classmates Hour of Code Survey Due: Friday, September 9th at 11:59 pm Assignment 1: Due: Friday, September 16th at 11:59 pm Always check the website for updates Zyante : (not as strict, but make sure you complete all reading and exercises for each week) Code with Anna and Elsa Classic Maze Minecraft Hour of Code Star Wars — Building a Galaxy with Code
10
Xcode vs. Visual Studio What is an IDE?
I work with Visual Studio – It’s great! Especially the debugger I should be able to answer most questions about both IDE is the whole thing Compiler is just one part IDE stands for Integrated Development Environment If I don’t know the answer I will make sure to put you in contact with someone that does, or find out asap and you back.
11
Xcode vs. Visual Studio What is an IDE?
Integrated Development Environment I work with Visual Studio – It’s great! Especially the debugger I worked with Visual Studio over the summer I should be able to answer most questions about both IDE is the whole thing Compiler is just one part Will learn about interpreted languages later (ie python) IDE stands for Integrated Development Environment Come get it set up this Sunday
12
Basics of Programs You will write your programs in an IDE (Xcode or Visual Studio) These provide a code editor (where you write and edit code) The code you write is sent through a compiler The compiler turns your code into object code (machine language) Machine language = lots of 0 and 1 Many are familiar with binary
13
Moving onto content…
14
What is an algorithm?
15
What is an algorithm? A specific approach to solve a problem
Counting people in a room (you did this in lecture) Finding a certain page in a book Picking teams with captains Different algorithms vary in efficiency and speed You’ll learn more about this in EECS203 and 281 if you choose to take them By halving the problem each time we vastly improve the search through the book
16
Any general questions about lecture material?
Pseudocode? Loops Conditions Difference between pseudocode and source code Code editor Compiler Object code (370) Return type Semicolons Cout cin Endl #include Using namespace std Variables Data types Operators Int division modulo
17
Tell me as much as you can about this program
Semicolon ends a program phrase – indicates end of line of code Reserved words (using namespace int void return cout) Variables: none Data types: int #include include the IO standard library Using namespace std lets us write cout instead of std::cout namespace is a declarative region that provides a scope to the identifiers, used to organize code into logical groups and to prevent name collisions that can occur especially when your code base includes multiple libraries Main is where the program originates/starts from Main can have variables passed in – in this case void Return: end main (more on functions later on) Must be return 0 because the return type of main is int
18
How to do well in EECS183 Start Projects early!!! (as soon as they come out) and go to office hours! Think ahead before you code! Work with others – talk through the logic out loud There is nothing more helpful than teaching others something you just learned Work with whiteboards Post on Piazza (questions and answers) and come to office hours! Teddy bear programming Discussion slides will be posted on canvas after lecture, remind me if they aren’t up within 24 hours
19
Feel free to ask me any questions after class!
Usually they’ll be more examples! I’ll be able to stay for about 30 minutes outside of the room Note for example slides: it is not required or presumed you will stay after discussion, but students will often have questions if you have the time.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.