Vous êtes sur la page 1sur 3

Ankara Yildirim Beyazit University

Department of Computer Engineering


2017 - 2018 FALL Semester

Course Code CENG 103

Course Name Computer Programming 1

Course Credit 6 (3 hours Lecture + 2 hours Lab)

Yusuf Evren Ayka office:


Instructor
e-mail: evrenaykac@gmail.com

Yusuf evki Gnaydn office: B321


e-mail: yusufsevkignydn@gmail.com

Assistants Elif Gl office: B322


e-mail: egul@ybu.edu.tr

An introduction to programming from both design and programming standpoints. Syntax


and semantics of programming languages. Programming style. Program debugging and
Description testing. Data representation. Simple arithmetic expressions, decision and control
statements. Arrays. Introduction to standard libraries. Structured programming technique
will be introduced along with the usage of C language.

Problem Solving and Program Design in C, Jeri R. Hanly, Elliot B. Koffman, Addison Wesley,
Text Book
Seventh Edition, 2013
Lecture Notes
Other Materials Reference Books:
C How to Program, Deitel & Deitel, Pearson International Edition

1. Lecture quizzes will be pop-quizzes. NO make-up will be given for lecture quizzes.
2. Students who are absent for more than 3 labs will forfeit his/her Lab Performance +
Lab Work grades. But you will be able to take the lab exam.
3. In order to qualify to take the final exam, Students:
get at least 10 points from a weighted average of Lab Work plus Lab Exam and
IMPORTANT NOTES at least 7 points from Lecture Quizzes plus Midterm Exam
AND
attend at least 75% of all the lectures
(students can be absent at most 11 lecture HOURS)
Otherwise the students will get DZ.
Grading Catalog
AA 90 100
Lab Work %20 BA 80 89
Performance(class+lab) %10 BB 70 - 79
Lab Exam %25 CB 65 - 69

Lecture Quizzes %5 CC 60 - 64

Midterm %15 DC 55 - 59

Final %25 DD 50 - 54
FF 49 - 0

DETAILED COURSE OUTLINE

Week Lecture Topics Lab. Objectives

Information about the course:


Objective,Textbook, Grading
Introduction to
Programming Software Development Method
Expressing Algorithms
Steps in Developing a C Program
Lab 1:
1
General information.
Structure of a C Program Learning the structure of the software
Sep. 18 Sep. 22
Comments (Visual C++)
Preprocessor Directives
Main Function Prototype
Variable Declarations
Data Representation: Reserved Words,
Identifiers, Variables

Data Types, Constants, Punctuators


Declaration and Assignment Statements
Lab 2:
2 Arithmetic Operators (+, -, *, /, %)
Getting acquainted with the development
environment
Sep. 25 - Sep. 29 Arithmetic Expressions
Running a simple C program
I/O Statements: printf and scanf
Formatting Output

Lab 3:
Built-in Functions
Data Types, Constants, Arithmetic Operations ,
Boolean Expressions: Relational and Logical Operators
Formatting Output
3 Precedence of Operators
Simple Boolean Expressions
Built-in functions
Oct. 02 - Oct. 06 Compound Boolean Expressions
Solving simple arithmetic problems that require
usage of input values
Selection Structures:
Displaying the result of a simple calculation
Simple if Statement and ifelse

Nested if Statement Lab 4:


4
Switch Statement Relational and logical operators
if statement, compound statements
Oct. 09 - Oct. 13
Counter-controlled Repetition (for Loops)
Examples with for Loops LAB QUIZ 1

Increment Decrement Operators Lab 5:


5
Sentinel-controlled Repetition (while Loops) Nested if and switch statements
Counter-controlled Repetition
Oct. 16 Oct. 20
Dowhile
Data Validation. Loop Conversions
Week Lecture Topics Lab. Objectives

Nested Loops Lab 6:


6 Sentinel-controlled Repetition (while Loops)
Modular Programming
Dowhile, data validatiom
Function Prototype
Oct. 23 Oct. 27
void functions with no parameters
void functions with parameters
LAB QUIZ 2

Functions that return a value


Parameter Passing Lab 7:
Formal and Actual Parameters Nested Loops
7
Scope of Variables Void Functions with no parameters and with
parameters
Oct. 30 - Nov. 03 Functions with Output Parameters
Pointers Functions that return a value
Call by Value Call by Reference

8 File Operations Lab 8:


Opening, reading, writing, closing text files
Nov. 06 - Nov. 10 MIDTERM EXAM (Nov. 08, 2017)

One-dimensional Arrays
Declaration, Assignment, Initialization Lab 9:
Parallel Arrays
9 Functions with Output Parameters
Operations on One-dimensional Arrays File Operations
Nov. 13 - Nov. 17 Input / Output (getchar, putchar)
Counting
Find sum, average, min, max LAB QUIZ 3

Lab 10:
One-dimensional Arrays and Functions :Arrays as File Operations and One-dimensional Arrays
10
Input Parameters Parallel Arrays
Nov. 20 - Nov. 24 One-dimensional Arrays and Functions: Arrays as
Output Parameters One-dimensional Arrays and Functions, array s
as input parameters
Lab 11:
11 Two-dimensional Arrays One-dimensional Arrays and Functions, arrays
Declaration, Initialization, Operations as output parameters
Nov. 27 Dec. 01
Matrix Operations
LAB QUIZ 4

Lab 12:
12 Two-dimensional Arrays as Function Parameters Two dimensional arrays and matrix operations

Dec. 04 Dec. 08 Two-dimensional Arrays and Functions


Exercises with Two-dimensional Arrays

13 Lab 13:
Exercises with One-dimensional Arrays and Two-
dimensional Arrays, Exclusive Type Conversion
Dec. 11 Dec. 15 LAB EXAM (Dec. 13 WED, 2017)

Lab 14:
14
General Review LAB QUIZ 5 (Dec. 20 WED, 2017)
Dec. 18 Dec. 22

Dec. 25 Jan. 07 FINAL EXAMS

Vous aimerez peut-être aussi