SE115 Introduction to Programming I
LAB formats containing the contents and the homeworks will be here before the related LAB lecture. Make sure that you often visit this web site for all SE115 materials.
Not only you need to practise with coding, but you should understand the philosophy of the LAB works as well. It is suggested to dissect the code examples in your text book. It is also adviced to examine the related examples in other educative web pages.
Office Hours: Tuesday 15:00-16:00 and Wednesday 15:00-16:00
Lecture Slides & Homeworks & LABWorks
- Lecture1
This first lecture gives an introduction to the world of computers.
The main textbook is "C How to Program", 7th edition, by Deitel & Deitel (published by Pearson Education).
The textbook's materials including the slides are registered to its publisher. If you have a registered copy of the textbook, you can access to the related materials at the publisher's website. Nevertheless, the slides at my course website shall be available to my students through a private key.
Besides, all code examples of the textbook, C How to Program, are open at the publisher's website (http://media.pearsoncmg.com/ph/esm/deitel/C_HTP7e/code_examples.html).
The slides of the 1st chapter of the textbook are accessible here. (To get the password to decompress the file, you should attend to the lecture in class.)
You may use my office hours (@Office#410).
Course assistants: Erdem Okur, Serhat Uzunbayır, Berkehan Akçay, Onur Çağırıcı, Ali Teoman Unay, Levent Tolga Eren.
HWs and LABs are not to be graded. - Lecture2
This 2nd lecture introduces the C system.
As a sample chapter material, 2nd chapter of the main textbook, C How to Program, is open at the publisher's website (http://media.pearsoncmg.com/ph/esm/deitel/C_HTP7e/SampleChapters/C_HTP7e_Ch02.pdf).
The slides of the 2nd chapter of the textbook
Try to do the answered exercises at the end of Chapter2 of the textbook.
LAB#1
Sample solution to LAB#1 - Lecture3
Lecture3 introduces the first part of the flow of control structures in C programming language.
Lecture3 slides (together with the slides of Lecture4)
Try to do the answered exercises at the end of Chapters 3 and 4 of the textbook.
LAB#2
Sample solution to LAB#2 - Lecture4
Lecture4 introduces the second part of the flow of control structures in C programming language.
Some important terms of this lecture are as follows: if, else if, switch-case, while, do-while, for, continue, break.
The course material of Lecture4 are mainly the codes of Chapter4 of the textbook.
LAB#3
Sample solution to LAB#3 - Lecture5
Lecture5 presents the functions. As the first part of the function concepts, Lecture5 covers the followings: declaration, definition, signature, prototype, invocation, and header.
Lecture5 slides
The slides of the 5th chapter of the textbook
Some exercises to practise on functions.
LAB#4
Sample solution to LAB#4 - Lecture6
Lecture6 proceeds with the second part of the functions, which covers call-by-value, scope, storage classes, recursion concepts, and recursive functions.
Lecture6 slides
The function, isPrime, which we have dissected in class is here.
LAB#5
Sample solution to LAB#5
Sample Midterm#1 exam - Lecture7
Lecture7 introduces the arrays and the pointers.
Lecture7 slides
The slides of the 6th chapter of the textbook
The slides of the 7th chapter of the textbook
Midterm#1 questions will be solved in LAB class. - Lecture8
Lecture8 gives the relation between arrays and pointers.
Lecture8 slides
LAB#6
Sample solution to LAB#6 - Lecture9
Lecture9 proceeds with arrays and pointers.
The following examples from Chapter6 of the textbook will be dissected in class: fig06_04.c, fig06_05.c, fig06_06.c, fig06_09.c, fig06_10.c, fig06_13.c, fig06_18.c.
The following examples from Chapter7 of the textbook will be dissected in class: fig07_06.c, fig07_07.c, fig07_20.c.
Try to do the exercises at the end of Chapters {5,6,7} of the textbook.
LAB#7
Sample solution to LAB#7 - Lecture10
As a review before the second midterm exam, the following exercises (from the textbook, 6th/7th edition) are to be solved: 6.9, 7.9.
Try to solve the questions here.
Sample Midterm#2 exam - Lecture11
Lecture11 introduces the "struct" concept.
Lecture11 slides
Some struct related exercises (together with their sample solutions) are available here.
Midterm#2 questions will be solved in LAB class. - Lecture12
Lecture12 gives some examples about the use of "struct" concept.
Lecture12 slides
LAB#8
Sample solution to LAB#8 - Lecture13
Lecture13 reviews all concepts.
LAB#9
Sample solution to LAB#9 - Lecture14
Lecture14 reviews the semester. - ANNOUNCEMENT: MAKE UP EXAM (BÜTÜNLEME SINAVI) RESULTS ARE HERE!