Outline Introduction What Is a Computer? Computer Organization

Slides:



Advertisements
Similar presentations
EC-111 Algorithms & Computing Lecture #1 Instructor: Jahan Zeb Department of Computer Engineering (DCE) College of E&ME NUST.
Advertisements

Introduction to Computer Programming Nai-Wei Lin Department of Computer Science and Information Engineering National Chung Cheng University.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
1 Fall 2008ACS-1903 Chapter 1 Topics Java History Java Programs Why Program? Computer Systems: Hardware and Software Programming Languages What Is a Program.
Java Environment (CSS444)
Introduction to Computer Programming CSC 1401: Introduction to Programming with Java Lecture 2 Wanda M. Kunkle.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Chapter 1 – Introduction to Computers and C++ Programming.
 2000 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers and C++ Programming Outline 1.1Introduction 1.2What Is a Computer?
Ceng 230 Programming with C
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.
 2000 Prentice Hall, Inc. All rights reserved. 1 Introduction to Computers and C Programming Outline Introduction What Is a Computer? Computer Organization.
CS102 Introduction to Computer Programming
 2003 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet, and the Web Outline 1.1 Introduction 1.2 What Is a.
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI CSCI.
1 Chapter 1 - Introduction to Computers, the Internet, and the World Wide Web Outline 1.1Introduction 1.2What Is a Computer? 1.3Computer Organization 1.4Evolution.
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 1 – Car Payment Calculator and Guess the Number.
C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
 2002 Prentice Hall. All rights reserved. Chapter 1 – Introduction to Computers, the Internet, and the Web Outline 1.1 Introduction 1.2 What Is a Computer?
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Introduction to Computers Outline 1.1Introduction.
 2006 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 1 Introduction to Computers, the Internet and.
1 CISC181 Introduction to Computer Science Dr. McCoy Lecture 1 February 8, 2005.
1 MIS 131 Introduction to Algorithms and Programming 2015/2016 Fall - Chapter 1 -
1 Programming Fundamentals How to Program in C++ How to Program in C++
COMPUTER PROGRAMMING. Computer programming the objective of the module to gain the necessary skills to develop a computer program using one of the high.
CHAPTER 1 INTRODUCTION 1 st Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
Computer Organization & Assembly Language © by DR. M. Amer.
Spring 09- ICE0124 Programming Fundamentals I Java Programming XuanTung Hoang Lecture No. 1.
 2001 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet and the World Wide Web Outline 1.1Introduction 1.2What.
CS2301:Computer Programming 2
Computer Fundamentals MSCH 233 Lecture 1. What is a computer? A computer is an electronic machine which can accept data in a certain form, process the.
UniMAP Sem2-10/11 DKT121: Fundamental of Computer Programming1 Introduction to C – Part 1.
1 Introduction to Computers, the Internet and World Wide Web.
CHAPTER 1.1 INTRODUCTION TO COMPUTERS AND C++ Dr. Shady Yehia Elmashad.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
Introduction to JAVA Programming
Chapter 1 – Introduction to Computers, the Internet, and the Web Outline 1.1 Introduction 1.2 What Is a Computer? 1.3 Computer Organization 1.4 Evolution.
Structured programming 1 st stage By Heba.A Raheem Assist Lecturer College of Sciences/Computer Sciences Department.
ITSE 1430 – Introduction to C# Programing Chapter 1 – Introduction to Computers, the Internet and Visual C# ITSE Introduction to C# Programing 1.
Introduction to Computers - Hardware
Chapter 1: Introduction to Computers and Programming
Software Development Environment
Java Programming: From the Ground Up
 2001 Prentice Hall, Inc. All rights reserved.
Introduction to Computers, the Internet and the World Wide Web
Chapter 1: Introduction to computers and C++ Programming
Chapter 1 – Introduction to Computers, the Internet, and the Web
1.2 What is a Computer? Computer Computer programs Hardware Software
Outline Introduction What Is a Computer? Computer Organization
Computer Programming (CS-161)
Introduction to Programming
Chapter 1 – Introduction to Computers and C++ Programming
Introduction to Computers and Java
Intro to Programming Week # 1 Hardware / Software Lecture # 2
Java programming lecture one
Chapter 1: An Overview of Computers and Programming Languages
1.6 Machine Languages, Assembly Languages, and High-level Languages
C++ Programming: From Problem Analysis to Program Design
Chapter 1: Introduction to Computers and Programming
Chapter 1 – Introduction to Computers, the Internet, and the Web
Computer Electronic device Accepts data - input
Chapter 1 – Introduction to Computers, the Internet, and the Web
Chapter 1 – Introduction to Computers and C++ Programming
Introduction to Computer Programming
Chapter 1 – Introduction to Computers and C++ Programming
Chapter 1 – Introduction to Computers, the Internet, and the Web
Introduction to Computers, Internet and the World Wide Web
Chapter 1 Introduction.
Chapter 1 – Introduction to Computers and C++ Programming
Presentation transcript:

MIS 131 Introduction to Algorithms and Programming 2018/2019 Fall - Chapter 0 -

Outline Introduction What Is a Computer? Computer Organization Machine Languages, Assembly Languages and High-level Languages Software Deveopment Java Programming Language

What is a Computer? Computer Device capable of performing computations and making logical decisions Computers process data under the control of sets of instructions called computer programs Hardware Various devices comprising a computer Keyboard, screen, mouse, disks, memory, CD-ROM, and processing units Software Programs that run on a computer

Software System programs Operating systems Microsoft 7,10, Unix, Lnix, Android, IOS Utility programs - Compilers and interpreters C,C++,Java compilers QBasic interpreter Application Programs LOGO - accounting program SPSS - statistics program Minecraft – game program Registration program

Six logical units in every computer: Input unit Obtains information from input devices (keyboard, mouse) Output unit Outputs information (to screen, to printer, to control other devices) Memory unit Rapid access, low capacity, stores input information Arithmetic and logic unit (ALU) Performs arithmetic calculations and logic decisions Central processing unit (CPU) Supervises and coordinates the other sections of the computer Secondary storage unit Cheap, long-term, high-capacity storage Stores inactive programs

Three Types of Programming Languages Machine languages Assembly languages High-level languages

Machine languages Strings of numbers giving machine specific instructions Natural language of the computer 0-1 corresponding to high or low voltage Instructions and data are encoded into binary numbers Example: 100111001011 110010100110 001011100101

Assembly languages English-like abbreviations representing elementary computer operations (translated via assemblers) Example: LOAD BASEPA ADD OVERPAY STORE GROSSPAY

High-level languages Codes similar to everyday English Use mathematical notations (translated via compilers) Example: grossPay = basePay + overTimePay if (grade < 50) status = “failed” while (number <= 10)

Onces compiled turn into machine code grossPay = basePay + overTimePay one line of a programm Variables grossPay basePay overTimePay Onces compiled turn into machine code after loading each instuction and data has an adress in main memory of the computer executing the sum instruction basePay and overTimePay has values they are summed and assigned to grossPay

Meaning of computer programming Problem solving Problem programmer

machine language compiler interpreter high level languages programmer QBasic, C,C++,Java,VB.NET programmer natural languages Turkish English

What CPU does Reading data or instructions from main memory Performing aritmetic operations Addition, multiplication , division,… Performing logical opertations Comparing numbers They are equal, one is lsss then the other Moving results of operation back to main memory

Steps of Software Development Problem definition Analysing the problem Development of algorithm, pseudocode and flow chart Programming Testing the program Deployment of the program

The text books Java How to Program, 10th or higher Editions Late Object Version by Deitel & Deitel Pearson Starting out with Programming Logic and Design 2ed Eddition by Tony Gaddis

Version of Java Java 2 Enterprise Edition (J2EE) Java 2 Micro Edition (J2ME) J2SE Development Kit (JDK)

Two Styles of Programming Structured programming MIS 131 Introduce structured programming with a pure object oriented language Lava Object oriended programing MIS 132 Basic object oriented programming Object oriented capabilities of Java

History of Java Java by Sun Microsystems in 1991 team leader: James Gosling Originally for intelligent consumer-electronic devices Then used for creating Web pages with dynamic content Now also used for: Develop large-scale enterprise applications Enhance WWW server functionality Provide applications for consumer devices (cell phones, etc.)

MIS 131 web page: misprivate.boun.edu.tr/badur/MIS131 You can find: Lecture slides Requirements: weights Exam schedule Anounsements Homework sets Old quizes and exam questions