CS 164: Java (CS1) Prior programming experience http://www.cs.colostate.edu/~cs164/ Introduction to CS1 Java Programming 1 Computer Science Department Picnic Welcome to the 2019-2020 Academic year ! Meet your faculty, department staff, and fellow students in a
social setting. Food and drink will be provided. When: Saturday, August 31st Time: 1pm-4pm Where: City Park Shelter #7 Introduction to CS1 Java Programming Welcome to CS164 !! Instructor: Wim Bohm, GTA: Jared Crouse, Lead UTA: Ben Gillet Lectures
Section 001, MWF 1:00pm - 1:50pm Clark A 201 Course Organization Lets go on line: cs.colostate.edu/~cs164 CS163: Instructor Ben Say. Same TAs Similar material, for students with no prior programming experience Introduction to CS1 Java Programming Computer Science: it touches everything! DEPARTMENT OF COMPUTER SCIENCE
Introduction to CS1 Java Programming Bio Informatics DNA & genomics: who / what we are DNA: string made out of millions of letters A,T,C,G involved in the production of proteins in your body unique per human, but similar between them matching: finding similarity of DNA strings, just like Google when you make a typo you Google "ocurrance" Google says: did you mean occurrence? gene expression: finding which parts of the DNA build
which proteins for which purpose many other applications Introduction to CS1 Java Programming AI: Artificial Intelligence Neural nets simulate brains Cells firing signals at each other Deep learning
many layers complex behavior Google Face recognition, language translation, game playing (chess, go) Introduction to CS1 Java Programming
Computers: hardware and software Hardware: data centers, racks and racks of servers, large volumes of data (disks), data communication Software: Programs are like recipes for cooking ERRORS (bugs):
need checking / testing / logic Introduction to CS1 Java Programming Computer Security protection layers firewall: wire / network level antivirus: OS level stop malicious program from executing authentication:
are you who you say you are does this e-mail have malware? Introduction to CS1 Java Programming MORE: games, robots, supercomputing (phone) apps DEPARTMENT OF COMPUTER SCIENCE Introduction to CS1 Java Programming CS1 Course Topics C1: Languages, Computers, Operating Systems
C2: Identifiers, Variables, Expressions, Operators C6: Methods: Parameters, Return Values C13: Interfaces C3: Conditionals, Booleans, Logical Operators C4: Math Functions, Characters, Strings C5: Loops: while, do/while, for C7, C8: Single and Multidimensional Arrays C9: Objects and Classes C12: Exceptions and File Input/Output C18: Recursion C20: Lists, Collections, Iterators C22, C23: Algorithms, Complexity, Sorting Introduction to CS1 Java Programming
10 ECLIPSE, an IDE: (integrated development environment) We use Eclipse for editing, testing, debugging and organizing our Java programs. Introduction to CS1 Java Programming Java Programming using Eclipse Introduction to CS1 Java Programming
12 Resources: Java Textbook Introduction to Java Programming Daniel Liang, 10th or 11th Edition Introduction to CS1 Java Programming Resources eBook: zyBooks Setup instructions on syllabus Activities are graded!
Introduced in Lab this week! Introduction to CS1 Java Programming Resources: Piazza Have a question about content? Check Piazza Need clarification on an assignment? Check Piazza DO NOT post code to Piazza. You WILL get a zero on the assignment. Introduction to CS1 Java Programming
Grading Criteria Your grade will be based on: 4 Exams : 60% 1st midterm : 15% 2nd midterm: 15% 3rd midterm: 15% Final exam : 15% In Lab Quizzes: 10% Programming Assignments: 10% zyBooks quizzes: 10% Labs: 10% Introduction to CS1 Java Programming
Grading Criteria Grades will not be assigned lower than shown: The instructor reserves the right to assign plus and minus grades. However, >= 90% A an A- (a minus), for example, is a lower grade than an A and therefore cannot >= 80% B be assigned to a score >= 90%. The >= 70% C instructor may choose to lower the
cutoffs (i.e. be more generous) at his >= 60% D sole discretion at the end of the Else F semester. You must have a minimum average of 60% on the exams to receive a C Introduction to CS1 Java Programming Grading Policy If you think you have been graded unfairly on a programming assignment, visit the cs163 help desk for
an explanation. All lab grading issues should be resolved in lab with the lead Lab TA BEFORE seeing the instructor. If you cannot resolve the problem, email the instructor. Complaints about grades must be made within two weeks of when the grade is released - you cannot come to be more than two weeks after the grade is released to dispute a grade. Introduction to CS1 Java Programming Communications Talk with your teaching assistant before or after
labs, at help desk, or during lab hours. Talk with your instructor during office hours. Email your instructor directly only if privacy is needed (health issue, staff complaint, etc.) Do not attach comments to Canvas, use the Piazza bulletin board instead. Piazza is in Canvas modules. Topics for assignments, Labs, ... Introduction to CS1 Java Programming Late Policy Every assignment has a due date Full credit requires meeting this deadline
Every assignment has a late date Late submissions have 20% penalty After this deadline, no credit is given Do the in class worksheets They help you prepare for tests Exceptions only for excused absences Medical emergencies, family emergencies, with documentation If an emergency happens, email your instructor right away You may have to get documentation from Student Case Management
Introduction to CS1 Java Programming Getting Help Web Sites: www.cs.colostate.edu/~cs164 Especially the Schedule Page Lectures, Recitations, Lab Hours, Help Desk Lab operators (general questions) Office Hours (see syllabus) Tutors, Friends, Consultants (be careful, you are responsible for your work) Textbook, Internet Introduction to CS1 Java Programming
Academic Integrity All assignments, labs, quizzes, exams are solo Unless otherwise specified You may get help from course instructors and TAs You may discuss concepts with other students, but: Never share code with another student Never copy code from another student Never let anyone else type in code for you Know the department academic honesty code! Introduction to CS1 Java Programming
Cheating What is cheating? What is not? Where is it defined? What is gained / lost when cheating? What are the consequences? When / how does it happen? How can cheating be avoided? Introduction to CS1 Java Programming
Lecture Expectations Come to class Attendance predicts success Be active, not passive: Take notes, Ask questions Do the worksheets Be prepared Do reading assignments before the lecture Be on time Lectures start and end on time
Introduction to CS1 Java Programming Lecture Expectations Cell phones off or on vibrate-only If you need to answer, leave the room first Laptops for note taking or coding! No games, audio, video, inappropriate websites
Respect your colleagues No snide or rude comments No comments on abilities No extended conversations Introduction to CS1 Java Programming Lab Expectations Use the Linux Lab CSB 120 Not the Windows Lab CSB110 No uncovered drinks and no food
Treat the lab as a professional workplace No disparaging comments No loud/rude/distracting behavior Professional composure at all times No sexual harassment of any sort, not ever! Introduction to CS1 Java Programming Tell Someone! If you see something concerning, please Tell Someone Your Instructor
Your TA CSU Tell Someone Office http://supportandsafety.colostate.edu/tellsomeone Introduction to CS1 Java Programming Motivation A student asks a roommate, Could you please go shopping for us and buy one carton of milk and, if they have avocados, get six. A short time later, the roommate returns with six cartons of milk. Why did you buy six cartons of milk? asks the student. The reply: They had avocados.
Readers Digest, September 2013 This is exactly what your Java program will do, because computers do what you ask them to do, not what you want them to do! Introduction to CS1 Java Programming Motivation Introduction to CS1 Java Programming Motivation
Introduction to CS1 Java Programming Motivation Introduction to CS1 Java Programming LEARNING: definitions Learning is a biological process. It occurs when networks of neurons in your brain send each other signals. Thinking is webs (of neurons) sending signals to other webs. A new idea is a newly formed sub network of neurons firing signals at each other
Two aspects: Understanding Remembering Introduction to CS1 Java Programming 32 Understanding Comes sometimes in a flash (Oh I get it) Often times it takes repeated exposure, examples, associations, hard work If you dont get it, go for a walk, come back, try more
circuits in your brain what does that mean? This requires FOCUS of ATTENTION (concentration) and REPEATED ACTION (do it, do it!) Understanding cannot be achieved passively; it demands an active and focused mind. Introduction to CS1 Java Programming 33 Remembering Memory: also a biological process involving firing
of neurons. Memories are RECONSTRUCTED (replayed) each time remembering happens. Use it or lose it: our brains web connections are not permanent, they need to be reused / reactivated to stay Neural nets that get used a lot become stable Introduction to CS1 Java Programming 34 Learning
Learning does NOT just happen to you it is something you do to yourself. The instructor can teach you theory and practice, point the way, give you exercises, problems to solve, do the hoki poki, BUT Learning is all YOUR ACTIVITY The basic assumption is that you want to learn. Without that, nothing will work Introduction to CS1 Java Programming 35
You wont learn unless you want to! Learning relies on your brain, which demands the same maintenance (food, exercise) as the rest of your body. Learning is difficult and it requires repeated effort. Dont cram the night before a test. Set yourself up for success! But if done right, it is GREAT! We wish you the best in your college days. Introduction to CS1 Java Programming 36
Types of Congressional Committees. Standing Committees. Where all bills are referred. Select Committees. accomplish a particular task. Joint Committees. members of each chamber . Conference Committees. Settles differences between versions of bills. House Rules Committee. makes rules that will govern...
MODALS OF OBLIGATION What are MODAL VERBS? HE MUST TOMORROW They are auxiliary verbs, they go with other verbs What are MODAL VERBS? HE CAN WILL MEET YOU 2 modals verbs cannot go together HE MUST TO MEET YOU TOMORROW...
Rosen, p.692. The Seller endeavors to retain the Luttingers' earnest money deposit: what are the Seller's arguments? In effect, the Seller is stating that he is entitled to retain the deposit because the Luttingers had breached, that is, they had...
Geometrie si Trigonometrie Aplicata in Studiul Stiintelor Naturii La suprafaţa de separare a două medii diferite lumina suferă un dublu fenomen: o parte din ea se întoarce în mediul din care a venit, iar cealaltă parte traversează suprafaţa de separaţie...
An individual who has successfully completed treatment (incl. EAP) and is no longer using drugs illegally. An individual in treatment and is no longer using drugs illegally. An alcohol dependent individual who can perform essential job functions and practice safely....
To Be or Not to Be: The Mysteries of Disk Formation Around Rapidly Spinning Be Stars Douglas R. Gies Department of Physics and Astronomy Center for High Angular Resolution Astronomy Georgia State University Outline Introduction to the Be Stars Evolution...
DSLs . Lecture 2: Search Algorithm. Ambiguity Resolution. Ranking. User interaction models. Leveraging ML for improving synthesis. Lecture 3: Hands-on session. Lecture 4: Miscellaneous related topics. Programming using Natural Language. Applications in computer-aided Education. The Four Big Bets. Outline /15
Ready to download the document? Go ahead and hit continue!