Archived curriculum
This course information is shown from a curriculum applied in previous years. It is kept available for equivalence and graduation procedures.
- Unit
- Mathematics
- Current program
- Mathematics
- Semester
- 1. Year - Spring Semester
- Type
- Compulsory
- Credit
- 3
- ECTS
- 4
- Language
- İngilizce
- Contact hours
- Lecture 2 · Practice 2 · Lab 0
On this page
Course Objective
This course aims to introduce the students the fundamental elements of the C programming language.
Course Content
Algorithms and Flowcharts, Variable Declarations and Data Types, Arithmetic Expressions, Pointers, Library Functions, Selection Structures, Repetition and Loop Statements, Arrays, Strings, Recursion.
Prerequisites
MCS 115 Introduction to Computer Sciences
Delivery and Teaching Methods
- Lecture
- Question and answer
- Practice
- Teamwork
Learning Outcomes and Contribution to Programme Outcomes
- 1Learn basics of programming concepts using the C programming language.
- 2Get programming experience in a laboratory environment.
Weekly Topics
| Week | Topic |
|---|---|
| 1 | Programming Skills (Algorithm and Flowchart) |
| 2 | 2.1 C Language Elements 2.2 Variable Declarations and Data Types 2.3 Executable Statements 2.4 General Form of a C program |
| 3 | 2.5 Arithmetic Expressions 2.6 Formatting Numbers in Program Output 2.7 Interactive Mode, Batch Mode, and Data Files 3.1 Building Programs from Existing Information 3.2 Library Functions |
| 4 | 3.4 Functions without Arguments 3.5 Functions with Input Arguments 4.1 Control Structures 4.2 Conditionals 4.3 The if Statement 4.4 if Statements with Compound Statements 4.7 Nested if Statements and Multiple-Alternative Decisions 4.8 The switch Statement |
| 5 | 5.2 Counting Loops and the while Statement 5.3 Computing a Sum or a Product in a Loop 5.4 The for Statement 5.6 Loop Design (Sentinel-Control Loop only) |
| 6 | Mid-Term Examination |
| 7 | 5.7 Nested Loops 5.8 The do-while Statement and Flag-Controlled Loops |
| 8 | 6.1 Functions with Simple Output Parameters 6.2 Multiple Calls to a function with Input/Output Parameters |
| 9 | 6.3 Scopes of Names 6.4 Formal Output Parameters As Actual Arguments |
| 10 | 7.1 Representation and Conversion of Numeric Types 7.2 Representation and Conversion of Numeric Type Char 7.3 Enumerated Types |
| 11 | 8.1 Declaring and Referencing Arrays 8.2 Array Subscripts 8.3 Using for Loops For Sequential Access |
| 12 | 8.4 Using Array Elements as Function Arguments 8.5 Array Arguments |
| 13 | 8.6 Searching and Sorting an Array 8.7 Multidimensional Arrays |
| 14 | 9.1 String Basics 9.2 String Library Functions: Assignment and Substrings |
| 15 | 10.1 The Nature of Recursion 10.2 Tracing a Recursive Function 10.3 Recursive Mathematical Functions |
| 16 | Final Examination |
Assessment
| Method | Number | Weight |
|---|---|---|
| Lab | 5 | %10 |
| Midtermexam | 2 | %50 |
| Finalexam | 1 | %40 |
| Total | %100 | |
ECTS Workload
| Activity | Number | Duration (hours) | Total |
|---|---|---|---|
| Laboratory | 16 | 2 | 32 |
| Out-of-Class Study Time | 14 | 2 | 28 |
| Midterm Exam Preparation | 2 | 7 | 14 |
| Final Exam Preparation | 1 | 14 | 14 |
| Total workload (hours) | 88 | ||
| ECTS equivalent (workload / 30) | 2.9 | ||
Resources
- Textbook Problem Solving and Program Design in C, Jeri R. Hanly, Elliot B. Koffman, 4th Edition, Pearson Addison Wesley, 2004.
- Other C How to Program, Deitel, Pearson Prentice Hall, 2004.
- Other C Programming Laboratory Manual, Prof. Dr. Ali Yazici, Asst. Prof. Dr. Çigdem Turan, Inst. Fügen Selbes, Atilim University, Department of Computer Engineering, 2001.
- Other C in a Nutshell- O’Reilly, 2005.
- Textbook Teach Yourself C in 21 Days, Sams Publishing, 1999.