Computer Programming (1) Code & No.: CS 102 CREDIT HOURS: 5 UNIT Lecture 3.0 hours/week Lab: 2.0 hour/on every week a. This course introduces the students.

Slides:



Advertisements
Similar presentations
 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
Advertisements

Computer Components.
COMPUTER SYSTEM CAN BE DIVIDED INTO : 1- General Computer 2- Special Computer.
Using Computers CS French Chapter 1.
Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Sixth Edition by Tony Gaddis, Judy Walters,
Computer Hardware.
Starting Out with C++: Early Objects 5/e © 2006 Pearson Education. All Rights Reserved Starting Out with C++: Early Objects 5 th Edition Chapter 1 Introduction.
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
COMPUTER DEVICES Input Devices Output Devices Storage Devices
Chapter 1 – Lesson 1-2 Understanding Computers
Input, Output, Processing and Storage
CMSC 104, Version 9/01 1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The.
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
Why Program? Computer – programmable machine designed to follow instructions Program – instructions in computer memory to make it do something Programmer.
Chapter Introduction to Computers and Programming 1.
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
Introduction to Programming. Our Book in CS Why Program? Lets watch a video
An Introduction To Computer Hardware
Chapter 3 Computer Hard ware
INTRODUCTION TO COMPUTER PROGRAMMING itc-314 LECTURE 01.
Configuration.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter 1: Introduction to Computers and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Seventh Edition by Tony Gaddis, Judy.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Introduction to the Computer System. What is a computer ? A computer is an electronic device that can accept data and instruction, process them or store.
What is a computer ?  A computer is an electronic device that can accept data and instruction, process them or store them for later retrieval, and sometimes.
What is a computer? Computer is a device for processing information.
Intro to Computers Computer Applications. What is a Computer? Initially the term computer referred to an individual whose job it was to perform mathematical.
Computer Architecture
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
Aug CMSC 104, LECT-021 Machine Architecture Some material in this presentation is borrowed form Adrian Ilie From The UNIVERSITY of NORTH CAROLINA.
Computer Systems Mrs. Butera. Computer Systems Hardware Software.
Machine Architecture and Number Systems
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
Computer Organization. The Five Hardware Units General purpose computers use the "Von Neumann" architecture Also referred to as "stored program" architecture.
Computer Architecture2  Computers are comprised of three things  The physical computer  The operating system  The user and programs running on the.
Senem KUMOVA METİN // Fall CS 115 Introduction to Programming Introduction to Computing.
Introduction عزيزتي الطالبة : يهدف هذا المبحث من تمكينك من التعرف الى مفهوم لغات البرمجة وتعلم أسياسيات لغة البرمجة من خلال دراسة أجزاء من لغة C++ وكتابة.
Brief Version of Starting Out with C++ Chapter 1 Introduction to Computers and Programming.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming Dr. Halla Abdel Hameed.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
Copyright © 2014, 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Eighth Edition by Tony Gaddis,
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Computers Inside & Out. How have computers affected your life? How has technology affected your life?
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
Five Components of a Computer Input Device – keyboard, scanner, PDA/stylus, digital camera, mouse, MP3 player, fax machine, microphone Storage Device –
Copyright © 2015, 2012, 2009 Pearson Education, Inc., Publishing as Addison-Wesley All rights reserved. Chapter 1: Introduction to Computers and Programming.
A+ Guide to Managing and Maintaining Your PC, 7e Chapter 1 Introducing Hardware.
Chapter 1: Introduction to Computers and Programming
BASIC PROGRAMMING C SCP1103 (02)
Functions and Parts of a Computer
BASIC PROGRAMMING C SCP1103 (02)
A+ Guide to Managing and Maintaining Your PC, 7e
Introduction to Computers
08/28/06 parts of the computer.
The Computer Work Stations
Chapter 1: Introduction to Computers and Programming
Notes from Last Class Office Hours: GL Accounts?
Machine Architecture and Number Systems
Lesson 3 Computer Devices.
08/28/06 parts of the computer.
Chapter 1: Introduction to Computers and Programming
Presentation transcript:

Computer Programming (1) Code & No.: CS 102 CREDIT HOURS: 5 UNIT Lecture 3.0 hours/week Lab: 2.0 hour/on every week a. This course introduces the students to a General introduction to computers and programming languages b. The course also looks in structured programming and proper programming techniques, algorithm and Flowcharts c. The course deals with the three control structures in C++: sequence structure, selection structures and repetition structures, d. Introduction to arrays & pointers

2 10/4/1435 Lecture 1- Lecture 1- General introduction to computers and programming languages

3 Q: Define the following Computer – programmable machine designed to follow instructions Program – instructions in computer memory to make it do something Programmer – person who writes instructions (programs) to make computer perform a task

4 Q: Mention the Computer hardware component categories: 1. Central Processing Unit (CPU) 2. Main Memory 3. Secondary Memory / Storage 4. Input Devices 5. Output Devices

5 Q: Mention the Components of the Central Processing Unit (CPU) It is Comprised of: 1. Control Unit 2. Arithmetic & Logic Unit Mention the role of the control unit? 1. Retrieves and decodes program instructions 2. Coordinates activities of all other parts of computer

6 Q: Mention the role of the Arithmetic & Logic Unit? 1. It is optimized for high-speed numeric calculation 2. designed for true/false, yes/no decisions

7 Q: Design a chart that shows the CPU Organization Figure 1-3

8 Q: Define the Main memory? 1. It is volatile. 2. Also called Random Access Memory (RAM) 3. Organized as follows:  bit: smallest piece of memory. Has values 0 (off, false) or 1 (on, true)  byte: 8 consecutive bits. Bytes have addresses.

9 Q: What are Memory addresses? Each byte in memory is identified by a unique number known as an address. Each byte in memory is identified by a unique number known as an address.

10 Q: Define a Secondary Storage 1. Non-volatile 2. Comes in a variety of media:  magnetic: floppy disk, hard drive  optical: CD-ROM, DVD  Flash drives, connected to the USB port

11 What are Input Devices? 1. Devices that send information to the computer from outside 2. Many devices can provide input:  Keyboard, mouse, scanner, digital camera, microphone  Disk drives, CD drives, and DVD drives

12 What are output Devices? They are devices that pass output from the computer to the user. They are devices that pass output from the computer to the user. The most commonly used ones are: The most commonly used ones are: Monitors, audio devices, disk drives and microfilm recorder