Presentation on theme: "Introduction to Computer Programming I CSE 113"— Presentation transcript:
1 Introduction to Computer Programming I CSE 113 Gaurav Kumar
2 CSE 113 – Introduction to Computer Programming I Instructor: Gaurav KumarOffice: 113V Davis Hallyou send me should be from your UBIT account and should include your full name and which course you are taking.
3 CSE 113 – Introduction to Computer Programming I Office HoursMonday 12:00 - 1:00PM Wednesday 12:00 - 1:00PM
4 Information on the Web All course content will be on the course website:UBLearns will be used to post course grades.
5 Course Structure Lecture (6 hours each week) Monday, Wednesday 2:00 PM – 4:55 PMRecitation/Lab (2 hours each week)Monday, Wednesday 5:00 – 5:50 PMYou should be registered for a recitationsection and a lecture.Recitations do not meet on 06/25.
6 Course Description and Prerequisites This course is an introduction to computer programming for non-majors.Intended computer science or computer engineering students should not take this course.There are no prerequisites for this course, but you should have some familiarity with a computer (that is, you should have used one before).
7 Course Grades 45% - Exams 35% - Programming Exams (2) Three in-class exams. Dates will be posted on the course website.35% - Programming Exams (2)Two practical exams.Dates will be listed on course website.20% - Programming Assignments6 lab assignments each worth 2.5% of your grade. One to 6 practice assignments worth a total of 5% of your course grade.
8 TextbookMichael Kölling – Introduction to Programming with Greenfoot: Object oriented Programming in Java with Games and SimulationsThe package (paper book and eBook) is available at the University Bookstore, Greeks and Sneaks, Amazon.
9 Course Grades Important Note: If you do not attempt the second practical exam, the highest grade you can earn in the course is an F.You will not be allowed to take the second practical exam if your grade on ANY of the 6 programming assignments is below 50%.
10 Letter GradesThere is no curve on the course grades. If your average falls in between the cutoffs, that is your grade.Score90-10085-8980 –8475 –7970 –7465 –6960 –6455 –5950 –540 –49GradeAA-B+BB-C+CC-DF
11 Course PoliciesRe-grading – any questions about graded work must be raised within one week of the return of the work.Incompletes – we will follow the university’s policy on incompletes –unless you meet the criterion, you will not get an incomplete.Disability Services – If you are registered, please bring me the letter indicating your accommodations.Athletics – If you are an athlete, please come to speak with me about how that will effect this course this semester.
12 Course Policies Disruption/Behavior in the Classroom Take note of the University’s policy on thisissue (in syllabus)Be respectful of each otherAcademic IntegrityBreaches of academic integrity will be investigated and punishments imposed in accordance with the University’s policies AND my department’s policies.My department’s policy is that ANY breach of academic integrity is punished with an F in the course (no more lenient punishments allowed).
15 CSE AnnouncementsPick up (and READ) syllabus if you have not already done so.No recitations meet today.
16 Quiz 1 What is Computer Programming ? Convincing the computer to never freezeSetting the alarm on a computerTelling the computer what to do through a special set of instructionsSpeeding up your computerCSE 113
17 Quiz 1 What is Computer Programming ? Convincing the computer to never freezeSetting the alarm on a computerTelling the computer what to do through a special set of instructionsSpeeding up your computerCSE 113
28 Terms Algorithm – Recipes / Set of steps Source code - Actual text used to write the instructions for a computer programCompiler - software tool that translates source code into data that the computer can understandData type - classification of pieces of information in a programVariable - container which represents a value in a programConstant – It’s a CONSTANTCSE 113
29 More TermsConditional - Set of code that will execute only if a certain condition is trueArray - A list of related valuesLoop - Segment of code that executes repeatedlyFunction - Set of code used to carry out specific tasksClass - Template for a real world object to be used in a programCSE 113
30 Syntax vs SemanticsSyntax – Not abiding by the guidelines/ set of rulesSemantic – Meaningful. ( Logical )Cow Dog Giraffe – Syntax Error for writing a sentence in English LanguageMy desk’s name is Gaurav – Semantically WrongCSE 113
31 Quiz 2 Instructions Code A compiler An algorithm Ask user for a number, ask user for another number, multiply the two numbers, print result.. What do you call this set of instructions?InstructionsCodeA compilerAn algorithmCSE 113
32 Quiz 2 Instructions Code A compiler An algorithm Ask user for a number, ask user for another number, multiply the two numbers, print result.. What do you call this set of instructions?InstructionsCodeA compilerAn algorithmCSE 113
33 Programming Language Language we can use to write computer programs. Similar to and different from natural language
34 Similarities to Natural Language Syntax - GrammarSemantics - MeaningWritten downRead
35 Differences from Natural Language Rarely spoken
36 Tools Editor – Place to type the program Compiler - Translator Execution Environment