CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.

Slides:



Advertisements
Similar presentations
COMPUTER BASICS Module Review.
Advertisements

ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
COMP6005 An Introduction to Computing Session Two: Computer Hardware.
 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
CS0004: Introduction to Programming Introduction to Programming.
Computer Basics 1 Computer Basic 1 includes two lessons:
Computer Basics. What is a Computer? A computer is a machine that can take inputs from the user, process that information, store that information as needed.
Wednesday, 9/4/02, Slide #1 1 CS 106 Intro to CS 1 Wednesday, 9/4/02  Today: Introduction, course information, and basic ideas of computers and programming.
Lecture 1: Intro to Computers Yoni Fridman 6/28/01 6/28/01.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic.
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.
Introduction to Computer Terminology
Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access memory.
CS 0008 Day 2 1. Today Hardware and Software How computers store data How a program works Operators, types, input Print function Running the debugger.
Course: Introduction to Computers
Systems Software Operating Systems.
Introduction to computer: storing instructions and information.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Computer for Health Sciences
Section 2.1 Identify hardware Describe processing components Compare and contrast input and output devices Compare and contrast storage devices Section.
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
1-1 Introduction to Computer Science Computer Hardware Components: CPU, Memory, and I/O What is the typical configuration of a computer sold today? Minia.
Chapter Introduction to Computers and Programming 1.
How Computers Work. A computer is a machine f or the storage and processing of information. Computers consist of hardware (what you can touch) and software.
COMPUTER PARTS There are many parts that work together to make a computer work.
Chapter 3.1:Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
CS130 Introduction to Programming with VB 6.0 Fall 2001.
Learning Targets Identify the external parts of the computer Identify examples of input devices Identify examples of output devices Define basic computer.
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.
Computer Parts There are many parts that work together to make a computer work.
What is a Computer? An, electrical machine, that can be programmed to accept data (input), process it into useful information (output) and store it away.
1 Nassau Community CollegeProf. Vincent Costa Acknowledgements: An Introduction to Programming Using Visual Basic 2012, All Rights ReservedAn Introduction.
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.
Introduction to Computers and Programming 1. History of computers (4 slides) 2. What is a computer system? 3. What is a software? 4. What is programming?
Visual C++ Programming: Concepts and Projects
Mrs. Ulshafer August, 2013 Java Programming Chapter 1.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
WHAT IS HARDWARE? Hardware refers to the set of components that make up the internal part of a computer. In case of the personal computers, it doesn’t.
Internal Lab Registeration labreg/lab/signup.aspxhttp:// labreg/lab/signup.aspx
Foundation year Lec.3: Computer SoftwareLec.3: Computer Software Lecturer: Dalia Mirghani Year: 2014/2015.
There are many parts that work together to make a computer work. System Unit Computer Parts.
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
Computer Parts There are many parts that work together to make a computer work.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
Main Computer Components
Ch 1 - Introduction to Computers and Programming Hardware Terminology Main Memory Auxiliary Memory Drives Writing Algorithms Using Pseudocode Programming.
Digital Literacy: Computer Basics
Chapter 4 Software. Introduction Program: is a set of sequence instructions that tell the computer what to do. Software: is a collection of programs,
Introduction To Computers
Introduction  Program: Set of sequence instruction that tell the computer what to do.  Software: A collection of programs, data, and information. 
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
INTRODUCTION TO COMPUTERS. A computer system is an electronic device used to input data, process data, store data for later use and produce output in.
Section 2.1 Section 2.2 Identify hardware
An Overview of the Computer System
Introduction to Visual Basic 2008 Programming
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
An Introduction to Computers and Visual Basic
An Introduction to Computers and Visual Basic
Computer Parts There are many parts that work together to make a computer work.
Looking Inside the machine (Types of hardware, CPU, Memory)
Chapter 1: How are computers organized?
An Introduction to Computers and Visual Basic
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
Presentation transcript:

CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu

My Office: Web Page: Class: Mon, Wed, Fri: 10:00am -10:50am  Office Hours (tentatively):  Mon: 11:00am -1:00pm  Wed: 11:00pm -1:00pm  By appointment Administrative Stuff

An Introduction to Computers What are the main components of a computer Processor (microprocessor, CPU –Central Processing Unit) Memory (RAM –Random Access Memory) Hard Disk Drive (HDD) Several device cards: graphics card, sound card, network card, modem Input/Output (I/O) Devices: keyboard, mouse; monitor, printer

Hardware, Software and Servers Hardware Refers to physical components of the computer Includes all components (even I/O) Software All the programs written for a particular computer or for any computers Servers vs. Personal computer Term “Personal computer” indicates that the machine is operated by one person at a time Term “Server” indicates that the computer provides resources to other computers

Make a computer understand Language =any system of arbitrary signals such as voice sounds, gestures or written symbols Computer languages classification Lowest level: Machine Code (binary) ( ) Assembly language: symbolic representation of Machine Code High-level (Human –readable): Visual Basic, Java, C++ It consists of instructions to which people can relate (Click, if, do) Ex: Try to speak with a French guy who doesn’t know English (assuming you don’t know French )

Communication protocol Human-Readable to Machine-Readable Compiler Windows Program (.exe) VB Source code Private Sub Form_Load() MsgBox ("Hello, World!”) End Sub Execute

Computer Programs A computer is a machine that does ONLY what it is instructed to Instructions are used in addition to language The tasks are broken down into a sequence of instructions. This sequence is called a program The process of executing the instructions is called running the program ************ Make the robot leave the class and come back in the same position. Language: Move (#of stapes), Turn Left, Turn Right

What is a program? Collection of instructions that: Accepts input Process Data Outputs results InputOutput Process

Why Visual Basic? Core of Microsoft Office Products VBA (Visual Basic for Applications) allows us to “program” Excel Allows you to make programs easily Lets you focus on problem at hand Creates GUI’s not ugly command line Interactive with user as an Event-Driven programming language

Event-driven programming paradigm A way of designing a program: the application is driven by events When creating an application, need to consider: How events can be (or should be) generated creating an interface to accept actions from the user (e.g. button click)‏ How events are handled coding event handlers to handle the events generated

Event-driven Programming What is an event? e.g. clicking a button, moving a mouse over a region, pressing a key, creating a form (window), timer going off Something that happens in the program interface at a point in time (typically done by the user)

Event-driven Programming What is an event handler? A piece of code in our program that tells the program what to do when an event happens e.g. when a particular button is clicked, update the display How do events drive a program? Each event has a handler When an event occurs, its handler is invoked If an event is not important, the programmer never writes an event handler, so the program ignores the event *************** Ex: click a button, text appear in my presentation. What is the event in this example ? What does the handler of this event do ?