Introduction to Computer Programming in C www.ccsa126.wikispaces.com.

Slides:



Advertisements
Similar presentations
Introduction to Assembly language
Advertisements

ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
٠ Orientation ٠ Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
Introduction to CS170. CS170 has multiple sections Each section has its own class websites URLs for different sections: Section 000:
CS2420: Lecture 1 Vladimir Kulyukin Computer Science Department Utah State University.
Lecture 14 Go over midterm results Algorithms Efficiency More on prime numbers.
Computer Science - I Course Introduction Computer Science Department Boston College Hao Jiang.
Program Design and Development
CS101- Lecture 11 CS101 Fall 2004 Course Introduction Professor Douglas Moody –Monday – 12:00-1:40 – – –Web Site: websupport1.citytech.cuny.edu.
Csc111 :Programming with Java First semester H.
Algorithms. Introduction Before writing a program: –Have a thorough understanding of the problem –Carefully plan an approach for solving it While writing.
Chapter 1 Program Design
Introduction to Programming Using C++ Dr. Mohamed Khafagy.
CS190/295 Programming in Python for Life Sciences: Lecture 1 Instructor: Xiaohui Xie University of California, Irvine.
CS1101: Programming Methodology Aaron Tan.
New experiences with teaching Java as a second programming language Ioan Jurca “Politehnica” University of Timisoara/Romania
CCSA 221 Programming in C CHAPTER 2 SOME FUNDAMENTALS 1 ALHANOUF ALAMR.
1 Programming Concepts Module Code : CMV6107 Class Contact Hours: 45 hours (Lecture 15 hours) (Laboratory/Tutorial 30 hours) Module Value: 1 Textbook:
Introduction COMP104: Fundamentals and Methodology.
Object Oriented Programming CEN 221. Course Description Classes, objects, inheritance, polymorphism, graphical user interfaces, event handling, exception.
Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.
COMP Introduction to Programming Yi Hong May 13, 2015.
CSc 2310 Principles of Programming (Java) Dr. Xiaolin Hu.
Instructor: Tina Tian. About me Office: RLC 203A Office Hours: Wednesday 1:30 - 4:30 PM or .
Programming in Java This is a one semester course. You will learn the language and some basic programming skills. You are expected to read, program,
Course Web Page Most information about the course (including the syllabus) will be posted on the course wiki:
Chapter 11 An Introduction to Visual Basic 2008 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
Agenda Exam #1 Review Modulus Conditionals Boolean Algebra Reading: Chapter Homework #5.
CS 140 Computer Programming (I) Second semester (3 credits) Imam Mohammad bin Saud Islamic University College of Computer Science and Information.
Bilgisayar Mühendisliği Bölümü CENG 102 – Computer Programming Melek OKTAY Syllabus Administrative Information.
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
Software Development CSCI-1302 Lakshmish Ramaswamy.
Introduction to ECE 2401 Data Structure Fall 2005 Chapter 0 Chen, Chang-Sheng
Ministry of Higher Education Sohar College of Applied Sciences IT department Comp Introduction to Programming Using C++ Fall, 2011.
CSC 2720 Building Web Applications General Info. People Instructor  Yuan Cheng Jiun (CJ)  Teaching Assistant  Xu Zheng Lin 
Introduction to Computer Programming (FIT-I pro) J. H. Wang Sep. 17, 2007.
CEN 111 Introduction to Algorithms and Programming INTERNATIONAL BURCH UNIVERSITY DEPARTMENT of INFORMATION TECHNOLOGIES Dr. Günay Karlı
CS1101: Programming Methodology
90-723: Data Structures and Algorithms for Information Processing Copyright © 1999, Carnegie Mellon. All Rights Reserved. 1 Lecture 1: Introduction Data.
Computer Programming -1- C++ CSC 1101 Computer Programming -1- C++
The Hashemite University Computer Engineering Department
King Saud University1 CSC 112 Java Programming I Introduction.
CSC 205 Java Programming II Introduction. Topics Syllabus Course goals and approach Review I Java language fundamentals.
Data Structures and Algorithms in Java AlaaEddin 2012.
Lecture1 Instructor: Amal Hussain ALshardy. Introduce students to the basics of writing software programs including variables, types, arrays, control.
Program Design. Simple Program Design, Fourth Edition Chapter 1 2 Objectives In this chapter you will be able to: Describe the steps in the program development.
INTRODUCTION TO COMPUTER PROGRAMMING(IT-303) Basics.
Computer Systems Architecture Edited by Original lecture by Ian Sunley Areas: Computer users Basic topics What is a computer?
CS140 – Computer Programming 1 Course Overview First Semester – Fall /1438 – 2016/2017 CS140 - Computer Programming 11.
CMPT 201 Computer Science II for Engineers
SKMM1013 Programming for Engineers
Computer Engineering Department Islamic University of Gaza
CS101 Computer Programming I
Introduction to Programming (CS 201)
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Computer Architecture Syllabus
Programming COMP104: Fundamentals and Methodology Introduction.
CS190/295 Programming in Python for Life Sciences: Lecture 1
Introduction to Programming Using C++
Computer Programming 1 introduction to JAVA Lecture 1 Instructor: Ruba A. Salamah Islamic University of Gaza.
CS 0007 Spring Lory Al Moakar.
Computer Engineering Department Islamic University of Gaza
Programming Fundamentals Lecture #1 Overview of Computer Programming
ITEC 202 Operating Systems
Design and Analysis of Algorithms
ICS103 Programming in C 1: Overview of Computers And Programming
Presentation transcript:

Introduction to Computer Programming in C

Lecture 1: Outline Introduction Course Syllabus Learning Objectives Textbooks Labs Grading Installing / using Visual Studio 2010

Introduction to programming What is programming and programming languages? Computers are really very dumb machines indeed because they do only what they are told to do. computer systems perform their operations on a very primitive level For example, know how to add one to a number or how to test whether a number is equal to zero. The basic operations of a computer system form what is known as the computer’s instruction set

Cont To solve a problem using a computer, you must express the solution to the problem in terms of the instructions of the particular computer. A computer program is just a collection of the instructions necessary to solve a specific problem. The approach or method that is used to solve the problem is known as an algorithm.

Example to develop a program that tests if a number is odd or even, the set of statements that solves the problem becomes the program. The method that is used to test if the number is even or odd is the algorithm. to develop a program to solve a particular problem, first express the solution to the problem in terms of an algorithm and then develop a program that implements that algorithm.

cont the algorithm for solving the even/odd problem might be expressed as follows: First, divide the number by two. If the remainder of the division is zero, the number is even; otherwise, the number is odd. you can then proceed to write the instructions necessary to implement the algorithm on a particular computer system. These instructions would be expressed in the statements of a particular computer language, such as Visual Basic, Java, C++, or C.

Programming in c Learning Objectives First course in Computer Programming No previous knowledge is assumed ! By the end of the course, students will: Understand fundamental concepts of computer programming/imperative structured programming languages Design algorithms to solve (simple) problems Use the C programming language

Textbook Stephen Kochan, Programming in C, 3 rd Edition, Sams Publishing, 2005 Main (first) textbook for this course Teaches you how to program (in C) Follows an approach suited for a first programming language

Policies and Grading Lectures: can be interactive, with questions and interactive problem solving Labs: mandatory attendance Each lab session has a practical programming assignment to be done individually in class Read lecture slides and corresponding textbook chapters before attending the lab session ! Final grade: 10 Programming Assignments30% Midterm Exam25% Final Exam 45% Total100%

Course chapters [Kochan] Some Fundamentals Compiling and Running your First C Program Variables, Data Types, and Arithmetic Expressions Input and output Program Looping Making Decisions Working with Arrays Working with Functions Putting it all together

IDE Microsoft visual studio 2010 / any edition

Installing VS 2010 After downloading the installation exe file we should extract it

Installing VS 2010

Installation options

Installing VS 2010 Installation in progress

Installing VS 2010 We should exit all Microsoft running Apps

Installing VS 2010 We must check all the supported packages we need

Installing VS 2010 We must check all features we want to install

Installing VS 2010