GC101 Introduction to computers and programs

Slides:



Advertisements
Similar presentations
CS 111: Introduction to Programming Midterm Exam NAME _________________ UIN __________________ 10/30/08 1.Who is our hero? 2.Why is this person our hero?
Advertisements

CS150 Introduction to Computer Science 1 Professor: Chadd Williams.
1 Lecture 1  Getting ready to program  Hardware Model  Software Model  Programming Languages  The C Language  Software Engineering  Programming.
Computing Components 01/26/11. Announcements & Reminders Programs 1 due Friday, 9/2/11 What is my late policy? Proxy Codes for Labs  You should be able.
Chapter 2: Impact of Machine Architectures What is the Relationship Between Programs, Programming Languages, and Computers.
ICS 101 – Introduction to Computer Programming I Putu Danu Raharja Information & Computer Science Department CCSE - King Fahd University.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Computers & Logic An Overview. Hardware Hardware is the equipment, or the devices, associated with a computer. For a computer to be useful, however, it.
CHAPTER 1 GC 101 Introduction to computers and programs.
CS190/295 Programming in Python for Life Sciences: Lecture 1 Instructor: Xiaohui Xie University of California, Irvine.
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
Introduction COMP104: Fundamentals and Methodology.
Introduction CSE 1310 – Introduction to Computers and Programming
INTRODUCTION TO COMPUTER PROGRAMMING itc-314 LECTURE 01.
Computer Organization 1. INTRODUCTION The Second half of the twentieth century is usually known as the Age of Computers The term ‘Computer’ originates.
INTRODUCTION TO COMPUTING
Liang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved. 1 Chapter 1 Introduction to Computer Science.
Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions 
Unit - 1 Basic Computer Architecture P. Sugin Benzigar.
Introduction CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Introduction to Programming Using C Introduction to Computer Programming.
Introduction CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
CHAPTER 1 GC 101 Introduction to computers and programs.
1 Overview of Programming and Problem Solving Chapter 1.
COMP1050 Winter 2015 Computer System Maintenance.
S2008Final_part1.ppt CS11 Introduction to Programming Final Exam Part 1 S A computer is a mechanical or electrical device which stores, retrieves,
The Central Processing Unit (CPU) and the Machine Cycle.
1 Text Reference: Warford. 2 Computer Architecture: The design of those aspects of a computer which are visible to the programmer. Architecture Organization.
LECTURE#2 INTRODUCTION TO COMPUTERS, HISTORY AND APPLICATIONS INSTRUCTOR: M. MATEEN YAQOOB.
Princes Nora Bint Abdul Rahman University Dept. of Computer & Information Sciences CS 321 Computer Organization & Assembly Language Lecture 1 (Course Introduction)
Basic Computer Organization Rashedul Hasan.. Five basic operation No matter what shape, size, cost and speed of computer we are talking about, all computer.
BMTS 242: Computer and Systems Lecture 1: Introduction to Computer System Yousef Alharbi Website
M211 – Central Processing Unit
Review A program is… a set of instructions that tell a computer what to do. Programs can also be called… software. Hardware refers to… the physical components.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
Chapter 1 Introduction 2nd Semester H
Unit 2 Technology Systems
Software Development Environment
CSC235 Computer Organization & Assembly Language
 2001 Prentice Hall, Inc. All rights reserved.
Component 1.6.
GC211 Data Structure Lecture 1 Sara Alhajjam.
Computer Organization and Architecture
Introduction to Visual Basic 2008 Programming
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Introduction to Programming
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
INTRODUCTION TO MICROPROCESSORS
CS 21a: Intro to Computing I
Computer Organization
Introduction to Computing
Introduction CSE 1310 – Introduction to Computers and Programming
INTRODUCTION TO MICROPROCESSORS
Programming COMP104: Fundamentals and Methodology Introduction.
CS190/295 Programming in Python for Life Sciences: Lecture 1
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Introduction to Micro Controllers & Embedded System Design
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Computer Programming 1 introduction to JAVA Lecture 1 Instructor: Ruba A. Salamah Islamic University of Gaza.
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Introduction to Computer Programming
Dept. of Computer & Information Sciences (Course Introduction)
Basic Computer Organization
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
The Study of Computer Science Chapter 0
ICS103 Programming in C 1: Overview of Computers And Programming
Course Curriculum – Computer Programming
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Computer System.
Presentation transcript:

GC101 Introduction to computers and programs Lecture 1 Sara Alhajjam

Course syllabus OFFICE: Room 2 OFFICE HOURS: 10-11 TUE; THR E-MAIL ADDRESS: salhajjam@ksu.edu.sa WEB PAGE: http://fac.ksu.edu.sa/salhajjam CLASS HOURS: 10-12 MON; 10-12 WED; 8-10 THR Credit Hours: 3

Course Description: This course introduces the importance of computation in solving problems. It aims to make students confident of their ability to write small programs that allow them to accomplish useful goals. The course uses Java programming language.

Methods of Assessment: Assessment task Week due Proportion of Final Assessment 1 Assignments random 20% 2 Quizzes 10% 3 Mid Term 1 3/2 15% 4 Mid Term 2 9/3 5 Final Exam last 40%

Course Policies: No late homework will be accepted. Homework assignments are considered individual efforts. However, students are encouraged to share thoughts with others. Absolutely no copying and no plagiarism. Copyright should be respected. Academic dishonesty cases will be dealt with severely. All exams are closed book. The final exam will be comprehensive.

introduction Why care about computers and programming? Computers are now a part of everyone's existence, including work, school, learning and play. Many modern activities, such as social media, information sharing and business applications require computers, and people cannot complete these actions without one.  Human Beings are really good at analyzing and solving problems but get easily bored with repetitive tasks. On the other hand, a program can perform lots of repetitive tasks, efficiently.

Learn the Core Concepts of all Programming Languages There are many programming languages available: Pascal, c, Java, Perl and Python. All of these languages share core concepts. By focusing on these concepts, you are better able to learn any programming language. Hence, by learning Java, you are poised to learn other languages, such as C++ or Perl. By learning the core concepts, you are also much more marketable as you are able to learn new technologies quicker.

Learn the Basics of Java Programming Java is a popular programming language, widely used in industry. We will learn all the specifics of how to program in Java. This includes all the rules that are specific to Java. We will cover the fundamentals: Variables, Arithmetic, If / Else, For Loops, While Loops, Arrays, Methods, etc.

How is a computer defined? Electronic device operating under the control of instructions stored in its own memory. A computer is a device that accepts information (in the form of digitalized data) and manipulates it for some result based on a program or sequence of instructions on how the data is to be processed.

information processing cycle Input Processing Output Storage

What Is a Computer? Computer Computer programs Hardware Software Performs computations and makes logical decisions Millions / billions times faster than human beings Computer programs Sets of instructions by which a computer processes data Hardware Physical devices of computer system Software Programs that run on computers

Computer components Input Units Output Units Storage Units Central processing unit (CPU) (ALU) and (CU)

Input Unit An input unit performs the following functions: It accepts (or reads) the list of instructions and data from the outside world. It converts these instructions and data in computer acceptable format. It supplies the converted instructions and data to the computer system for further processing.

Output Unit The following functions are performed by an output unit: It accepts the results produced by the computer which are in coded form and hence cannot be easily understood by us. It converts these coded results to human acceptable (readable) form. It supplied the converted results to the outside world.

Storage Unit The specific functions of the storage unit are to store: All the data to be processed and the instruction required for processing (received from input devices). Intermediate results of processing. Final results of processing before these results are released to an output device.

Central Processing Unit (CPU) Arithmetic and Logic Unit (ALU) It consists of circuits that perform arithmetic operations (e.g. addition, subtraction, multiplication, division over data received from memory, and capable to compare numbers (less than, equal to, or greater than). Control Unit (CU) directs and controls the activities of the internal and external devices.  Does not perform any actual processing on the data,

Why Is a Computer So Powerful? Speed Reliability Accuracy Storage Communications

Programs Computer programs, known as software, are instructions to the computer. You tell a computer what to do through programs. Programs are written using programming languages. Without programs, a computer is an empty machine. Computers do not understand human languages, so you need to use computer languages to communicate with them.

Programming Languages Machine Language Machine language is a set of primitive instructions, in the form of binary code. Program with native machine language is a tedious process and it is highly difficult to read and modify. Example, to add two numbers, you might write an instruction in binary like this:  1101101010011010

Programming Languages Assembly Language Assembly languages were developed to make programming easy. Since the computer cannot understand assembly language, a program called assembler is used to convert assembly language programs into machine code. Example, to add two numbers, you might write an instruction in assembly code like this: ADD R1, R2

Programming Languages High-Level Language The high-level languages are English-like and easy to learn and program. Example, the following is a high-level language statement that computes the area of a circle with radius 5: area = 5 * 5 * 3.1415;