Introduction to Computer Algorithmics and Programming Ceng 113 What is a Program?

Slides:



Advertisements
Similar presentations
TECH SKILLS COMPUTER BASICS
Advertisements

Chapter 1:Introduction to the world of computers
CSCI 1412 Tutorial 1 Introduction to Hardware, Software Parminder Kang Home:
An Overview of the Computer System
Introduction to the World of Computers
Chapter 1 Introduction to Computers p. 6.
What Is a Computer and What Does It Do?
Computer Systems – Hardware
 Prof. Dr. M. H. Assal Introduction to Computer AS 15/10/2014.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t CPTG104 Intro to Information Systems Dr. Hwang Essential Introduction to Computers.
Leticia Pacheco Information, Technology, The Internet, and You Chapter 1 Information, Technology, The Internet, and You Chapter 1.
Hardware For your computer. Definition First! Hardware is the equipment that processes data to create information. This includes Keyboard Monitor Printer.
Discovering computers A gateway to information
Hardware of Personal Computers
Systems Software Operating Systems.
Lecture # 1 M.Sc / BS(CS)/ BS(I.T) DPT www. Shahid Rasul.com.
Information Technology Ms. Abeer Helwa. Computer Generations First Generation (Vacuum Tubes) -They relied on the machine language to perform operations.
1 Lesson 1 Computers and Computer Systems Computer Literacy BASICS: A Comprehensive Guide to IC 3, 4 th Edition Morrison / Wells.
Hardware -Computer Organization. Hardware & Software A computer system consists of A computer system consists of –Hardware: anything you can touch, smell,
Bellringer Do you think students should study computers? Why or why not?
Microsoft Office 2010 Introduction to Computers and How to Purchase Computers and Mobile Devices.
COMPUTER SKILLS Chapter 1: Basic Concepts of IT 1.
Introduction to Computers
Introduction to Computers
Chapter 1 Introduction to Computers. Chapter 1 Objectives Recognize the importance of computer literacy Identify the components of a computer Discuss.
CLASSIFICATION OF DIGITAL COMPUTERS
Ch Review1 Review Chapter Microcomputer Systems Hardware, Software, and the Operating System.
An Overview of Using Computers
Computing Review Questions. Record your responses in your Computing 101 notebook.
What Is a Computer? How is a computer defined?
Living in a Digital World Discovering Computers Fundamentals, 2010 Edition.
What does a Computer Do?. What is a Computer? A computer is an electronic device, operating under the control of instructions stored in its own memory,
Copyright (c) 2004 Prentice Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Go! Computer Concepts.
Introduction to Computer
1 Chapter 1.  What Is A Computer ? Computer is an electronic device, operating under the control of instructions stored in its own memory, that can accept.
Week 1 Review of Computer Concepts. Objectives Recognize the importance of computer literacy Define the term, computer Identify the components of a computer.
Chapter 1 Introduction to Computers
MODULE 1 Computing Essentials © Paradigm Publishing, Inc.1.
Introduction to Computer Systems
Computer Basic Vocabulary
Chapter 2 Introduction to Systems Architecture. Chapter goals Discuss the development of automated computing Describe the general capabilities of a computer.
1 Title: Introduction to Computer Instructor: I LTAF M EHDI.
Academic PowerPoint Computer System – Architecture.
Types of Computers & Computer Hardware Computer Technology Day 1.
Chapter 1 Introduction to Computers. Chapter 1 Objectives Recognize the importance of computer literacy Define the term computer and identify its components.
COM111 Introduction to Computer Applications
1 Introduction to Computers M. Luqkman Qader Ruandzy.
Chapter 1 Introduction to Computers. Chapter 1 Objectives Recognize the importance of computer literacy Define the term, computer Identify the components.
Introduction to Computers in General By: Dr. Emelda Ntinglet-Davis Oracle DBA Class.
Defining the terms assignment. I will define the following terms: computer literate, computer, storage, Data, Information, input, output, information processing.
Welcome to Technology Application Jeopardy. Hardware More Hardware Jobs & Software Computer Types Storage
Copyright©2008 N.AlJaffan®KSU1 Introduction to Computers Created By: N.AlJaffan Modified By: N.AlShehri Chapter 1.
CPU Transforms Input and Output Each computer contains one Collection of electronic circuits Processor Interpretates and execute instructions in a program.
The Big Picture. My Story  Wrote great programs  Didn’t understand how they worked.
R. Stewart Fayetteville High School Types of Computers & Computer Hardware Computer Technology.
Discovering Computers 2008 Fundamentals Fourth Edition Discovering Computers 2008 Fundamentals Fourth Edition Chapter 1 Introduction to Computers.
Information Technology Basics. Introduction to Information Technology 2 Computer Science – Theory of Computational Applications Computer Engineers - Make.
Chapter 1 WHAT IS A COMPUTER Faculty of ICT & Business Management Tel : BCOMP0101 Introduction to Information Technology.
ITT_04101 COMPUTER APPLICATIONS Gaper M CIT
Discovering Computers 2009 Chapter 1 Introduction to Computers.
Introduction to Computers
Chapter 1 Introduction to Computers
Technology Literacy Hardware.
Introduction To Computers
Introduction To Computers
Lecture # 1 M.Sc / BS(CS)/ BS(I.T) DPT.
Computers Are Your Future
An Overview of the Computer System
Introduction to IT and Types of Computers
Introduction to Computers
Presentation transcript:

Introduction to Computer Algorithmics and Programming Ceng 113 What is a Program?

What does a computer do? A computer process data. A program is a list of detailed instructions that computers carries out. Data? Information?

A bit of history

Who is the programmer? Design and write programs that direct the computer to take raw data and transform that data into meaningful information for the end-user.

Common Misconceptions Don’t fear computers. Computers are tools to help you get your job done! “Only math experts can program computers”. “Computer makes mistakes”. “Computers are difficult to use”.

Computer Information System A system is a collection of interrelated parts that work together for a common goal. Hardware Software People Data Procedures

Hardware

A Motherboard CPU Power Supply Disk Memory Expansion Slots

Desktop PC

Portable

Handheld

Midrange Servers –Minicomputer or midrange computer: medium-sized computer used to host programs and data for a small network –May consist of a collection of individual circuit boards called blades (blade servers)‏

Mainframe Computers –Standard choice for large organizations, hospitals, universities, large businesses, banks, government offices –Larger, more expensive, and more powerful than midrange servers; usually operate 24 hours a day –Also called high-end servers or enterprise-class servers

Super Computers –Fastest, most expensive, most powerful type of computer –Space exploration, missile guidance, satellites, weather forecast, oil exploration, scientific research, complex Web sites, decision support systems, 3D applications –Commonly built by connecting hundreds of smaller computers, supercomputing cluster

Computer Networks

Software Operating Systems Application programs Utility programs

Software Operating Systems Application programs Utility programs

Operating System Hardware Operating System Programming Languages Databases Spreadsheets Word Processors The operating system helps the software communicate with the hardware.

People

Data

Procedures

What is a Program? Why are the programs like directions to the computer? Why do programs have to be so detailed? Why must programs reside in memory instead of remaining on the disk drive when you execute them?

Programs as directions A program is a list of detailed instructions that the computer carries out. Example: How you would describe starting a car to someone from the past.

Programs as directions Example Example: How you would describe starting a car to someone from the past. Solution 1: Use this key. Start the car.

Programs as directions Example Example: How you would describe starting a car to someone from the past. Solution 2: Attached is the key to the car. You need it to start the car. With the key in hand, go to the car door that is closest to the front door of the house. Under the door’s handle, you will see a round silver-dollar-sized metal part in which you can insert the key. After sticking the key into the hole as far as it goes, turn it to the right until you hear a click. Turn the key back to the left until it faces the same way as it did when you inserted it and remove the key.

Programs as directions Example ( Continued.. )‏ Solution 2: 6. Open the door and get into the car. Be sure to sit infront of the round wheel. 7. Close the door. 8. On the right side of the column holding the big round wheel (called a steering wheel), you will see a slot in which you can put the key. He hasn’t even started the car yet!

Programs as directions Not only are the programming instructions themselves important, but so is their order!

Problem Solving 1.Identify the problem. 2.Understanding the problem. 3.Identifying alternative solutions. 4.Selecting the best solution. 5.Preparing a list of instructions to solve problem. 6.Evaluating solution

Examples Define; How can you –Make a cup of a cocoa? Write a solution to the problem of finding the largest number out of three numbers. –List the specific steps that would enable another person to find the largest among.

Programs are saved instructions. CPU RAM Disc Programs Process A program must be in memory before the CPU can execute the program’s instructions.

Programs are saved instructions. Instructions Of The Program CPU OUTPUTOUTPUT Screen Printer Disk Sound sys. The programs comes from disk, executes, and then sends its results to any of the many output devices. Data Program Operating System A typical memory layout.

Language The instructions you give in your programs must be in a language the computer understand. “ ” Computer and people are at opposite ends of the spectrum. Programming languages are a solution between people and computer, but they have a highly specific syntax.

The Language Translator Your program’s source code. Machine’s native language of 1s and 0s. Compiler Interpreter or Both interpreters and compilers translate source code into low-level machine language that the computer can understand.

Interpreters Foreign language book One line at a time. Interpreter You Translation An interpreter acts like a human interpreter. Therefore it can be slow process. BASIC uses an interpreter; example code is; FOR i = 1 TO 50 PRINT i NEXT i

Compilers Foreign language book Compiler You Translation Completely translated (compiled)‏ book. After compiling the book, you no longer need the translator.

Next Course Designing the program and so on..