Back

Fundamentals of C/C++ Programming Language

PÎRÎ REİS UNIVERSITY

FACULTY OF ENGINEERING

dEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING

Course Catalogue ForM

Course Name: Fundamentals of C/C++ Programming Language

Degree: Bachelor

Code

Semester

Local Credits

ECTS Credits

Course Implementation, Hours/Week

Theoretical

Tutorial

Laboratory

EEE317

Spring

3

4

2

0

2

Department

Electrical and Electronics Engineering

Course Type

Compulsory

Course Language

English

Instructor

Assoc. Prof. Dr. Yıldıray Yalman

Contact Information

D1-110

yyalman@pirireis.edu.tr

Office Hours

Monday (15:00-16:00 AM)

Course Prerequisites

-

Course Category

by Content (%)

Basic Sciences

Engineering Science

Engineering Design

General Education

5

60

30

5

Course Description

 

This course provides a comprehensive introduction to the C/C++ language, emphasizing portability and structured design. Students are introduced to all major language elements (selection, repetition/control statements) including fundamental data types, flow control, and standard function libraries. Thorough treatment is given to the topics of string and character manipulation, dynamic memory allocation, standard I/O, macro definition, and the C runtime library. The course explains the use of selection and repetition statements, structures, unions, and pointers early on so the students can practice extensively in the hands on labs. Structured programming constructs and varargs functions are also covered.

 

Course Objectives

 

On successful completion of the course, the student should be able to:

  • Create an algorithm and flowchart,
  • Know the basic syntax rules of C and C ++ language,
  • Know error detection and debugging,
  • Solve a problem with C / C ++ and write the necessary codes

 

Course Learning Outcomes

 

At the end of this course,  students:

1. Know and defines basic programming concepts

2. Use repetition and controls expressions.

3. Be able to used and modified in the framework of library functions

4. Be able to find errors in C/C++ program codes.

5. Be able to create an array and string, be able to process them.

6. Be able to create original function, struct and class.

 

                       

 

 

 

Instruction Methods and Techniques

Recitation by the use of power point presentations, problem solving exercises,

Dev-C++ platform and other compilers.

Tutorial Place

Regular class rooms for recitation and example problems

Textbook

  • C++ How to Program, Paul Deitel & Harvey Deitel, 9th Edition, ISBN: 9780273793298, 2014.

 

Other References

  • C-How to Program, Paul Deitel & Harvey Deitel, 7th Edition, ISBN:  9780132990448, 2010.
  • C++ Programming: From Problem Analysis to Program Design, D.S. Malik, Course Technology, 4th Edition.
  • A Complete Guide to Programming in C++, Ulla Kirch-Prinz, Peter Prinz, Jones and Bartlett Publishers, 1st Edition.
  • The C++ Programming Language, B. Stroustrup, Addison-Wesley, 3rd Edition.
  • Practical C++ Programming, S. Oualline, O'Reilly Media Inc., 2nd Edition

Homework & Projects

-

Laboratory Work

 

Computer Use

Power-point and Dev-C++ Compiler.

Other Activities

-

Assessment Criteria

Activities

Quantity

Effects on Grading

Midterm Exams

1

% 30

Quizzes

5

% 10

Homework

 

 

Projects

 

 

Term Paper/Project

 

 

Laboratory Work

12

% 25

Other Activities

 

 

Final Exam

1

% 35

 

European Credit Transfer System (ECTS) / WORKLOAD TABLE

Activities

Count

Hours

Total

Workload

Lecture

14

2

28

Midterm

1

25

25

Quiz

5

2

10

Homework

 

 

 

Term Paper/Project

 

 

 

Laboratory Work

12

2

24

Projects

 

 

 

Tutorial

 

 

 

Seminar

 

 

 

Presentation

 

 

 

Field Study

 

 

 

Final Exam

1

30

30

Total Workload

 

 

117

Total Workload/25

 

 

117/25

Course ECTS Credits

 

 

5

 

COURSE PLAN

Weeks

Topics

Course Outcomes

1

Introduction to Computer Programming, Fundamentals of the C/C++ Programming Languages

1

2

Data types, relational and logical operators

1-2

3

Selection statements (if, if-else), Multiple-selection statement (Switch-case)

1-2

4

Repetition statements (while, do-while)

1-2

5

Repetition statement (for)

1-2

6

Functions

3

7

Functions

2-3

8

Midterm exam

1-3

9

Pointers

4

10

Pointers

4

11

Arrays

4-5

12

Strings

3, 5, 6

13

I/O Streams

3, 5, 6

14

Structs and Introduction to Classes

7

 

 

LABORATORY ASSIGNMENTS

Week

Assignment

1

Introduction to Computer Programming, Dev-C++ Compiler introduction

2

Fundamentals of Algorithms and Flowing charts, Variable types, Definitions

3

Basic input/output operations

4

Selection statements (if, if-else), Multiple-selection statement (Switch-case)

5

Repetition statements (while, do-while)

6

Repetition statement (for)

7

Functions

8

Midterm Week

9

Functions

10

Pointers

11

Arrays

12

Strings

13

I/O Streams

14

Compensation Week

 

Relationship between the Course and the Engineering Faculty Programs

 

 

Program Outcomes

Level of Contribution*

N

P

C

a

An ability to apply knowledge of mathematics, science, and engineering

 

X

 

b

An  ability to design and conduct experiments, as well as to analyze and interpret data

 

X

 

c

An ability to design a system, component or process to meet desired needs

 

X

 

d

Ability to function on multi-disciplinary teams

X

 

 

e

An ability to identify, formulate, and solve engineering problems

 

 

X

f

An understanding of professional and ethical responsibility

 

X

 

g

An ability to communicate effectively

X

 

 

h

The broad education necessary to understand the impact of engineering solutions in a global and societal context

 

 

X

i

A recognition of the need for, and an ability to engage in life-long learning

 

 

X

j

A knowledge of contemporary issues

 

 

X

k

An ability to use the techniques, skills and modern engineering tools necessary for engineering practice

 

 

X

l

An ability to apply basic knowledge in communication, control, power electronics and computer tracks in the context of Electrical and Electronics Engineering

 

 

X

 

 

 

 

 

 

 

 

 

 

 

 

* C: Completely, P: Partially, N: None

 

Program Outcomes & Course Outcomes Connectivity Matrix

Course

Outcomes

 

Program Outcomes

I

II

III

IV

V

VII

a

 

X

X

 

X

 

b

     

X

X

X

c

X

   

X

 

X

d

       

 

X

e

X

X

X

 

 

 

f

X

     

 

 

g

X

 

X

 

 

 

h

     

X

 

X

i

     

X

X

X

j

X

 

X

 

 

X

k

     

X

 

X

l

X

 

X

X

X

 

 

 

Prepared by

 

 

Yıldıray Yalman

Date

 

 

January, 2018

 Signature