14
CENG 102 – Computer Programming Melek OKTAY ([email protected] ) Syllabus Administrative Information

CENG 102 – Computer Programming

  • Upload
    anoush

  • View
    51

  • Download
    0

Embed Size (px)

DESCRIPTION

CENG 102 – Computer Programming. Melek OKTAY ( [email protected] ) Syllabus Administrative Information. Teaching Assistants DevC++ and Visual C++ 2010 Download Office Hours Send emails Programmin languages (C, C++, Java) Office Hours Monday -- 09:00 – 10:00 , 12:00-13:00 - PowerPoint PPT Presentation

Citation preview

Page 1: CENG 102 – Computer Programming

Bilgisayar Mühendisliği Bölümü

CENG 102 – Computer Programming

Melek OKTAY ([email protected])

SyllabusAdministrative Information

Page 2: CENG 102 – Computer Programming

FATİH ÜNİVERSİTESİ

Teaching Assistants DevC++ and Visual C++ 2010 Download Office Hours Send emails Programmin languages (C, C++, Java) Office Hours

– Monday -- 09:00 – 10:00 , 12:00-13:00– Wenesday – 12:00 – 13:00

2

Page 3: CENG 102 – Computer Programming

FATİH ÜNİVERSİTESİ 3

Catalog Description: Basic introduction to computers and programming with C.

• Algorithmic approach, • Control Structures • Declarations, • Functions and Arrays• Structures, Pointers and Strings• Input Output and File processing• The preprocessor • Data Structures • Introduction to GUI programming

Page 4: CENG 102 – Computer Programming

FATİH ÜNİVERSİTESİ

The objectives of this course are to develop a basic understanding of programming concepts and using these programming concepts in C language.

Structured programming concept is introduced.

Programming constructs such as sequential structures, selection structures, and repetition structures are explained.

As for introduction to programming with C languages, variables, – if-then-else,

– loop structures: for/while/do-while,

– break/continue/switch statements,

– flowcharting solutions,

– arrays are covered.

Educational Objectives:

4

Page 5: CENG 102 – Computer Programming

FATİH ÜNİVERSİTESİ 5

Educational Objectives:

This course aims to teach you how to read and write software in the C programming language. You will become familiar with the procedures necessary to structure and translate problems into steps for coding in a high level computing language. You will learn how to write programs so that others can use them. By the end of this course you should be able to :

• Read a standard C program and understand how it works. • Break down a problem into logical steps (an algorithm). • Convert algorithms into clear, well documented C code. • Write sections of a C program as part of a team.• Draw your algorithm flowcharts and write (algorithm)

pseudocode

Page 6: CENG 102 – Computer Programming

FATİH ÜNİVERSİTESİ

For regular student, – This course (Ceng-Bilm 101) is the most

important course in this term (please pay your effort)

It is fundemental course (Heart of the Computer Engineering)

CENG 101 CENG 102 Data Structure CENG 217 OOP

6

Page 7: CENG 102 – Computer Programming

FATİH ÜNİVERSİTESİ 7

Books Textbook:

C How to Program 6th edition by Deitel&Deitel,Prentice Hall, NJ,2010

Other Books: Jeri R. Hanly and Elliot B. Koffman, Problem Solving and

Program Design in C, Pearson Education, Sixth Edition. Brian Kernighan and Dennis Ritchie, C Programming

Language, Prentice Hall.

Page 8: CENG 102 – Computer Programming

FATİH ÜNİVERSİTESİ 8

Grading Policy:Attendance (Lab and Course)

Mandatory > 70%

Quiz(s) 4 10%

Homework(s) 5-6 20%

Midterm Exam(s) 2 40%

Final Exam 1 30%

Page 9: CENG 102 – Computer Programming

FATİH ÜNİVERSİTESİ

Course Contents:

( Weekly Lecture Plan) - Topics

1 Introduction / Orientation

2 Course Introduction, Introduction to C Programming

3 Simple data types, constants and variables, arithmetic in C, equality and relational operators, Assignment, function calls

4 Structured Programming, algorithms, pseudocode, control structures (sequential, selection, repetition)

5 Control structures (Selection:if-else statements and nested selection and switch structure)

6 Control structures (Repetition: counter-controlled and sentinel-controlled repetition with while)

7 Control structures (Repetition:for and do while)

8 Midterm

9 Control structures (Nested repetition), Break and continue statements

10 Functions: Program modules in C, math library functions, definitions, prototypes, header files

11 Functions: parameter passing: call by value, call by reference.

12 Functions: Scope rules, Recursion, recursion versus iteration

13 Functions: Recursion, recursion versus iteration, Arrays: Declaring arrays, examples using arrays

14 Arrays: Declaring arrays, examples using arrays, passing arrays to functions

15 Arrays: Passing arrays to functions

16 Arrays: Sorting arrays, searching arrays, Multiple-subscripted arrays

17 Final Exam

9

Page 10: CENG 102 – Computer Programming

FATİH ÜNİVERSİTESİ 10

Homework Assignments:

Assignments will be announced through the class web site. – All assignments should be submitted electronically before midnight

of the specified deadline day. – Late assignments will be accepted only the next day with 25%

penalty. – You should submit at least 80% of the assignments and collect at

least 40 out of 100 from the assignments. Otherwise, your homework grade will be considered as zero.

Programming assignments will be graded by Teaching Assistants on the basis of – correctness, – quality of design, – documentation, and – style.

Page 11: CENG 102 – Computer Programming

FATİH ÜNİVERSİTESİ 11

Honor Code: Unless stated otherwise, assignments should be done

individually and they are expected to be your own work.

TAKE PRIDE IN THE WORK YOU DO!!! DON'T CHEAT.

You may seek help in identifying syntax and run-time errors and engage in general discussions regarding the solutions,

But giving and receiving sections of code will be considering

cheating

Cheating (Kopya) will not be tolerated !!! (Homework, Lab, Quiz )

Automatically FAIL the course

All parties (giving or receiving) will be punished– At least they will get the grade of -100.

Page 12: CENG 102 – Computer Programming

FATİH ÜNİVERSİTESİ 12

Attendance Policy: You are responsible for all material covered in

class, even when you aren’t there!

According to the Fatih University rule, attendence(devamsızlık) of the student must be greater or equal to the 70%(Lab and Course, seperatelly!!!)

Attendance for examinations is mandatory. If it is impossible for you to be present for a scheduled exam, you must let us know BEFORE the test, so a make-up test can be scheduled.

Page 13: CENG 102 – Computer Programming

FATİH ÜNİVERSİTESİ 13

Communication

Class web site– Enter the follwing web site and register with your

student number as account namehttps://moodle.fatih.edu.tr (enrollment key – I will

send )

www.fatih.edu.tr/~moktay

Announcements– All the class related announcements will be made

either in class or at the class web page. Students are required to monitor the class web page regularly.

Page 14: CENG 102 – Computer Programming

FATİH ÜNİVERSİTESİ 14

Class RulesPlease be considerate of your classmates during class.

Students are expected to show courtesy and respect toward their classmates.

Please come to class on time. If you are late wait for the break.

Please make sure that your cellular phone and/or pager does not interrupt during lecture time, and especially during test time.

Please do not carry on side discussions with other students during lecture time.

When you have a question, please raise your hand and ask the question so that everyone may benefit from it.