Introduction to
Programming Language C
BIL 110E
CONTACT INFORMATION
Instructor: Egnar Özdikililer
E-mail: [email protected]
COURSE INFORMATION
Text Books:
C-How-to-Program-Deitel-6Ed, H.M. Deitel and P.J. Deitel,
Prentice-Hall Inc., 2010
Web Pages:
https://www.programiz.com/c-programming#tutorial
https://www.sitesbay.com/cprogramming/index
Editor & Compiler Software:
DEV C++: https://sourceforge.net/projects/orwelldevcpp/
Code::Blocks:
http://sourceforge.net/projects/codeblocks/files/Binaries/20.03/Windo
ws/codeblocks-20.03-setup.exe
Online Compiler: https://replit.com/
COURSE INFORMATION
• Exams and Grading:
• Two midterm exams (each 20%)
• Two quizzes (each 2.5%)
• Two projects (15%)
• One final exam (40%)
• Before the final exam the sum of your midterm exam
grades should be larger than 25
• Attendance: Minimum 5 weeks
• Course web address http://www.ninova.itu.edu.tr
5
1.1 Introduction
▪ We will learn
– The C programming language
– Structured programming and proper programming techniques
© 2007 Pearson Education, Inc. All rights reserved.
6
1.2 Machine Languages, Assembly
Languages, and High-level Languages
Three types of programming languages
1. Machine languages
- Strings of numbers giving machine specific
instructions
- Example:
10010111
00110001
10001111
2. Assembly languages
- English-like abbreviations representing
elementary computer operations (translated via
assemblers)
- Example:
LOAD BASEPAY
ADD OVERPAY
STORE GROSSPAY
© 2007 Pearson Education, Inc. All rights reserved.
7
1.3 Machine Languages, Assembly
Languages, and High-level Languages
Three types of programming languages (continued)
3. High-level languages
- Codes similar to everyday English
- Use mathematical notations (translated via compilers)
- Example:
grossPay = basePay + overTimePay
© 2007 Pearson Education, Inc. All rights reserved.
© 2007 Pearson Education, Inc. All rights reserved.
9
© 2007 Pearson Education, Inc. All rights reserved.