BITG 1113: Introduction To Computers And Programming Language LECTURE 1 LECTURE 1 1

Size: px
Start display at page:

Download "BITG 1113: Introduction To Computers And Programming Language LECTURE 1 LECTURE 1 1"

Transcription

1 BITG 1113: Introduction To Computers And Programming Language LECTURE 1 LECTURE 1 1

2 Learning Outcomes At the end of this lecture, you should be able to: tell the purpose of computer programs. describe the hardware and software components of a computer system. tell about the language of a computer. describe the evolution of programming languages. list high-level programming languages. LECTURE 1 2

3 Learning Outcomes (cont.) At the end of this lecture, you should be able to: tell about the history of C++ language. recognize a C++ program. explain how a C++ program is processed and tested. explain what compiler, linker and loader are and what they do. explain the different types of program errors. recognize the Professional Ethics for Computer Programmers. LECTURE 1 3

4 Why Program? Computer programmable machine designed to follow instructions. Program a set of instructions for a computer to follow. Programmer person who writes instructions (program) to make computer perform a task. SO, without programmers, no program; without program, a computer cannot do anything. LECTURE 1 4

5 Computer Components Computer is an electronic device, with two major components. Computer Hardware Software LECTURE 1 5

6 Computer Hardware Hardware refers to the physical parts of the computer that have mass (they can be touched). Hardware for a typical computer system include the following FIVE main categories : 1. Central Processing Unit (CPU) 2. Main Memory / Primary Storage / Internal Memory 3. Secondary Storage / Auxiliary Storage / External Memory 4. Input Devices 5. Output Devices LECTURE 1 6

7 Main Hardware Component Categories LECTURE 1 7

8 Central Processing Unit (CPU) Processor; Brain of the computer. Comprised of: Control Unit (CU) Retrieves, decodes and executes program instructions from RAM Coordinates activities of all other parts of computer Arithmetic & Logic Unit (ALU) Hardware optimized for high-speed numeric calculation Hardware designed for true/false, yes/no decisions LECTURE 1 8

9 CPU Organization LECTURE 1 9

10 Main Memory Main memory stores instructions and data while a program is running. It is volatile. Main memory is erased when program terminates or computer is turned off. Also called Random Access Memory (RAM) Consists of long list of memory locations Each contains zeros and ones Can change during program execution Each memory location is called a byte. It has eight bits. Binary Digit or Bit : A digit that can only be zero or one. Data and instructions (programs) are kept as binary digits. Address : A unique number that identifies a memory location. LECTURE 1 10

11 LECTURE 1 11

12 Main Memory Some data is too large for a single byte. Most integers and real numbers are too large. Next few consecutive bytes can store the additional bits for larger data. Address refers to the first byte. LECTURE 1 12

13 Main Memory LECTURE 1 13

14 Secondary Storage Secondary memory stores instructions and data between sessions Non-volatile: data is preserved when program is not running, or computer is turned off. Comes in a variety of media: magnetic: floppy disk drive (FDD), hard disk drive (HDD), magnetic tape drive optical: Compact Disc (CD), Digital Video Disc (DVD) flash memory : USB Flash drive LECTURE 1 14

15 Input Devices Devices that are sources to get input. Input is the information sent to the computer from the outside. Input consists of: A program Some data Many devices can provide INPUT: Keyboard, mouse, scanner, digital camera, microphone, barcode reader, joystick HDD, FDD, flash drive, magnetic tape, CD-ROM LECTURE 1 15

16 Output Devices Devices that send output. Output is information from the computer to the outside world. Many devices can be used for OUTPUT: Computer monitor, printer, projector, speaker, headphone, plotter HDD, FDD, flash drive, magnetic tape, CD-RW, DVD-RW LECTURE 1 16

17 LECTURE 1 17

18 Computer Software Software: refers to program that resides and executes electronically on the hardware. Software is divided into 2 categories Software System Software Application Software LECTURE 1 18

19 System Software Normally supplied by the manufacturer of the computer. Software that manages computer hardware resources, and the programs that run on them. Basic types of system software: BIOS, operating systems, utility programs, software development tools. The operating system is the most important type of system software. Without it, a user cannot run an application program on their computer, unless the application program is self booting. LECTURE 1 19

20 Operating System The operating system: Allows us to communicate with the computer Is a program Allocates the computer s resources Responds to user requests to run other programs Common operating systems include: UNIX Linux DOS Windows Macintosh VMS LECTURE 1 20

21 Application Software Programs that provide services (problem solution) to the user. Designed to perform a specific task (e.g. : course registration system, banking system) OR a generalpurpose task (e.g. : word processing, games). May be acquired by purchasing off-the-shelf or by designing for own purpose (custom made). Off-the-shelf : Prewritten and ready to use. For general-purpose task. Custom made : Written by in-house, consulting firm or software house. For specific task. LECTURE 1 21

22 Where are the application and system software? LECTURE 1 22

23 The Language of a Computer Machine language: language of a computer. Consists of binary digits (bits); sequences of 0s and 1s. 0 (signal off), 1 (signal on) Example : LECTURE 1 23

24 History Of Computer Languages Computer language evolution The only language understood by a computer is machine language LECTURE 1 24

25 History Of Computer Languages (cont.) 1. Machine Language Computer only understand this language. Series of 1 s and 0 s (binary numbers), such as Difficult to write. Low level language LECTURE 1 25

26 History Of Computer Languages (cont.) Early computers were programmed in machine language To calculate wages = rates * hours in machine language: //Load //Multiply //Store LECTURE 1 26

27 History Of Computer Languages (cont.) 2. Symbolic/Assembly Language Unique to particular computer. Use mnemonics symbols. E.g. MUL Multiply Easier to understand. LECTURE 1 27

28 History Of Computer Languages (cont.) Using assembly language instructions, wages = rates x hours can be written as: LOAD rate MULT hours STOR wages Must be translated to machine language (zeros and ones) for the CPU to execute a program written in assembly language. LECTURE 1 28

29 History Of Computer Languages (cont.) 3. High-Level Language Are designed to be easy to read and write. Programmers use this language to write programs. Compiler: translates a program written in a high-level language to machine language Portable to many different computers. E.g. COBOL, FORTRAN, Visual Basic, Pascal, C, C++, C#, Java, Lisp, Ada The equation wages = rate x hours can be written in C++ as: wages = rate * hours; LECTURE 1 29

30 Some Well-Known High-Level Programming Languages LECTURE 1 30

31 History Of Computer Languages (cont.) 4. Natural Language Like our natural language (such as English, French, or Chinese) Its use is still quite limited. LECTURE 1 31

32 Programs and Programming Languages Types of languages: High-level: closer to human language Low-level: used for communication with computer hardware directly. Often written in binary machine code (0 s/1 s) directly. LECTURE 1 32

33 C++ evolved from C C++ History C++ designed by Bjarne Stroustrup at Bell Laboratories in early 1980s Overcame several shortcomings of C Incorporated object oriented programming C remains a subset of C++ C++ programs were not always portable from one compiler to another In mid-1998, ANSI/ISO C++ language standards were approved LECTURE 1 33

34 A simple C++ program begins this way #include <iostream> using namespace std; int main() { And ends this way } A Sample of C++ Program return 0; LECTURE 1 34

35 Example of a C++ Program #include <iostream> using namespace std; int main() { cout << "My first C++ program." << endl; cout << "The sum of 2 and 3 = " << 5 << endl; cout << "7 + 8 = " << << endl; return 0; } Output of a sample Run : My first C++ program. The sum of 2 and 3 = = 15 LECTURE 1 35

36 Program Development A computer understands a program only if the program is coded in its machine language. Programmer have to write the program and turn it into an executable code (machine language). Programmer have to understand the problem -> break into actions (write program)-> execute by the computer. LECTURE 1 36

37 From a High-level Program to an Executable Code Involves these processes: a) Editing : To create or edit file containing the program (source code) with a text editor. b) Compiling : The process involves the compiler. The compiler is actually two separate programs : preprocessor and translator. Firstly, preprocessor is run to convert source file directives (instructions that begin with #) to source code program statements. Secondly, the translator checks that the program obeys the rule. If all the rules are being obeyed, the translator convert the source code into machine language (object code). The two steps, are often performed by command COMPILE. Syntax errors detected will prevent execution of the following process. c) Linking : Run linker to connect system library functions code to the object code, producing an executable code. Performed by command BUILD. LECTURE 1 37

38 From a High-level Program to an Executable Code Programmer Programmer Code Programmer Code Executable Code LECTURE 1 38

39 Program Development (cont.) Then, after that to produce the result (output) of the program, there are another 2 processes : Loading : Loader loads the executable code/program into the main memory (RAM) Executing: The last step is to execute (run) the program to see the output of the program. These 2 processes are often performed by a single command DEBUG. LECTURE 1 39

40 Processing a C++ Program LECTURE 1 40

41 Testing and Debugging Bug A mistake in a program Debugging A process of eliminating mistakes in programs Term used when a moth caused a failed relay on the Harvard Mark 1 computer. Grace Hopper and other programmers taped the moth in logbook stating: First actual case of a bug being found. LECTURE 1 41

42 Program Errors Syntax errors Violation of the grammar rules of the language Discovered by the compiler Error messages may not always show correct location of errors Run-time errors Error conditions detected by the computer at run-time Logic errors Errors in the program s algorithm Most difficult to diagnose Computer does not recognize this error LECTURE 1 42

43 Integrated Development Environments (IDEs) An integrated development environment, or IDE, combine all the tools needed to write, compile, and debug a program into a single software application. Examples are Microsoft Visual C++, Borland C++ Builder, CodeWarrior, etc. LECTURE 1 43

44 Integrated Development Environments (IDEs) LECTURE 1 44

45 Professional Ethics for Computer Programmers Privacy and Misuse of Data Computer Hacking Plagiarism and Software Piracy Misuse of a Computer Resource -the end- 45 LECTURE 1

Chapter 1: Why Program? Main Hardware Component Categories 8/23/2014. Main Hardware Component Categories: Why Program?

Chapter 1: Why Program? Main Hardware Component Categories 8/23/2014. Main Hardware Component Categories: Why Program? Chapter 1: Introduction to Computers and Programming 1.1 Why Program? Why Program? Computer programmable machine designed to follow instructions Program instructions in computer memory to make it do something

More information

Chapter 1: Introduction to Computers and Programming

Chapter 1: Introduction to Computers and Programming Chapter 1: Introduction to Computers and Programming 1.1 Why Program? Why Program? Computer programmable machine designed to follow instructions Program instructions in computer memory to make it do something

More information

Chapter 1: An Overview of Computers and Programming Languages. Objectives. Objectives (cont d.) Introduction

Chapter 1: An Overview of Computers and Programming Languages. Objectives. Objectives (cont d.) Introduction Chapter 1: An Overview of Computers and Programming Languages Objectives Objectives (cont d.) In this chapter, you will: Learn about different types of computers Explore hardware and software Learn about

More information

Chapter 1: Why Program? Computers and Programming. Why Program?

Chapter 1: Why Program? Computers and Programming. Why Program? Chapter 1: Introduction to Computers and Programming 1.1 Why Program? Why Program? Computer programmable machine designed to follow instructions Program instructions in computer memory to make it do something

More information

Chapter 1 Introduction to Computers and Programming

Chapter 1 Introduction to Computers and Programming Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming Copyright 2003 Scott/Jones Publishing Contents 1.1 Why Program? 1.2 Computer Systems: Hardware

More information

Week 0: Intro to Computers and Programming. 1.1 Why Program? 1.2 Computer Systems: Hardware and Software. Hardware Components

Week 0: Intro to Computers and Programming. 1.1 Why Program? 1.2 Computer Systems: Hardware and Software. Hardware Components Week 0: Intro to Computers and Programming Gaddis: Sections 1.1-3 and 2.1 CS 1428 Fall 2014 Jill Seaman 1.1 Why Program? Computer programmable machine designed to follow instructions Program instructions

More information

CHAPTER 1: INTRODUCTION TO COMPUTERS AND PROGRAMMING. 1 Muhalim Mohamed Amin Faculty of

CHAPTER 1: INTRODUCTION TO COMPUTERS AND PROGRAMMING. 1 Muhalim Mohamed Amin Faculty of CHAPTER 1: INTRODUCTION TO COMPUTERS AND PROGRAMMING 1 Muhalim Mohamed Amin Faculty of Computing @2015/2016-1 Objectives In this chapter, you will learn: Basic computer concepts. The different types of

More information

Introduction. Arizona State University 1

Introduction. Arizona State University 1 Introduction CSE100 Principles of Programming with C++, Fall 2018 (based off Chapter 1 slides by Pearson) Ryan Dougherty Arizona State University http://www.public.asu.edu/~redoughe/ Arizona State University

More information

SCSP Programming Technique C

SCSP Programming Technique C SCSP1103 - Programming Technique C 9/27/15 Objectives In this chapter, you will learn: CHAPTER 1: Basic computer concepts. The different types of programming languages in general. INTRODUCTION TO COMPUTERS

More information

Chapter 1 INTRODUCTION

Chapter 1 INTRODUCTION Chapter 1 INTRODUCTION A digital computer system consists of hardware and software: The hardware consists of the physical components of the system. The software is the collection of programs that a computer

More information

EKT 120/4 Computer Programming KOLEJ UNIVERSITI KEJURUTERAAN UTARA MALAYSIA

EKT 120/4 Computer Programming KOLEJ UNIVERSITI KEJURUTERAAN UTARA MALAYSIA EKT 120/4 Computer Programming KOLEJ UNIVERSITI KEJURUTERAAN UTARA MALAYSIA AZUWIR MOHD NOR ROOM: Pusat Pengajian CABIN C PHONE: (04) 979 8249 Email: azuwir@kukum.edu.my Office hours: make appoinment or

More information

Programming 1. Lecture 1 COP 3014 Fall August 28, 2017

Programming 1. Lecture 1 COP 3014 Fall August 28, 2017 Programming 1 Lecture 1 COP 3014 Fall 2017 August 28, 2017 Main Components of a computer CPU - Central Processing Unit: The brain of the computer. ISA - Instruction Set Architecture: the specific set of

More information

Computer Fundamentals

Computer Fundamentals Computer Fundamentals 1 Draw the block diagram of computer architecture and explain each block. Computer is made up of mainly four components, 1) Central processing unit (CPU) 2) Input section 3) Output

More information

1a Computers, Problem Solving!

1a Computers, Problem Solving! 1a Computers, Problem Solving!! 1E3! 1a Computers and Problem Solving 1 Objectives! n To introduce the architecture of a computer.! n To introduce the notion of a programming language.! n To explore computational

More information

Programming 1 - Honors

Programming 1 - Honors Programming 1 - Honors Lecture 1 COP 3014 Spring 2017 January 10, 2017 Main Components of a computer CPU - Central Processing Unit: The brain of the computer. ISA - Instruction Set Architecture: the specific

More information

Computer is an electronic machine that can receive, store, transform and output data of all kinds (image, text, numeric, graphics and sound).

Computer is an electronic machine that can receive, store, transform and output data of all kinds (image, text, numeric, graphics and sound). ELECTRONIC COMPUTERS THEN AND NOW Computer is an electronic machine that can receive, store, transform and output data of all kinds (image, text, numeric, graphics and sound). In the Past (i.e., during

More information

Topics. Hardware and Software. Introduction. Main Memory. The CPU 9/21/2014. Introduction to Computers and Programming

Topics. Hardware and Software. Introduction. Main Memory. The CPU 9/21/2014. Introduction to Computers and Programming Topics C H A P T E R 1 Introduction to Computers and Programming Introduction Hardware and Software How Computers Store Data Using Python Introduction Computers can be programmed Designed to do any job

More information

Chapter 1 Introduction to Computers and C++ Programming

Chapter 1 Introduction to Computers and C++ Programming Chapter 1 Introduction to Computers and C++ Programming 1 Outline 1.1 Introduction 1.2 What is a Computer? 1.3 Computer Organization 1.7 History of C and C++ 1.14 Basics of a Typical C++ Environment 1.20

More information

CHAPTER 1 Introduction to Computers and Java

CHAPTER 1 Introduction to Computers and Java CHAPTER 1 Introduction to Computers and Java Copyright 2016 Pearson Education, Inc., Hoboken NJ Chapter Topics Chapter 1 discusses the following main topics: Why Program? Computer Systems: Hardware and

More information

Chapter 1: Introduction to Computers and Java

Chapter 1: Introduction to Computers and Java Chapter 1: Introduction to Computers and Java Starting Out with Java: From Control Structures through Objects Fifth Edition by Tony Gaddis Chapter Topics Chapter 1 discusses the following main topics:

More information

8/23/2014. Chapter Topics. Introduction. Java History. Why Program? Java Applications and Applets. Chapter 1: Introduction to Computers and Java

8/23/2014. Chapter Topics. Introduction. Java History. Why Program? Java Applications and Applets. Chapter 1: Introduction to Computers and Java Chapter 1: Introduction to Computers and Java Starting Out with Java: From Control Structures through Objects Fifth Edition by Tony Gaddis Chapter Topics Chapter 1 discusses the following main topics:

More information

C H A P T E R 1. Introduction to Computers and Programming

C H A P T E R 1. Introduction to Computers and Programming C H A P T E R 1 Introduction to Computers and Programming Topics Introduction Hardware and Software How Computers Store Data How a Program Works Using Python Computer Uses What do students use computers

More information

Lecture 1: Preliminaries

Lecture 1: Preliminaries Lecture 1: Preliminaries Edgardo Molina Department of Computer Science City College of New York August 30, 2011 Edgardo Molina (CS@CCNY) Lecture 1 August 30, 2011 1 / 44 Info and Schedule Course Info and

More information

CSc 10200! Introduction to Computing. Lecture 1 Edgardo Molina Fall 2013 City College of New York

CSc 10200! Introduction to Computing. Lecture 1 Edgardo Molina Fall 2013 City College of New York CSc 10200! Introduction to Computing Lecture 1 Edgardo Molina Fall 2013 City College of New York 1 Introduction to Computing Lectures: Tuesday and Thursday s (2-2:50 pm) Location: NAC 1/202 Recitation:

More information

Elements of Computers and Programming Dr. William C. Bulko. What is a Computer?

Elements of Computers and Programming Dr. William C. Bulko. What is a Computer? Elements of Computers and Programming Dr. William C. Bulko What is a Computer? 2017 What is a Computer? A typical computer consists of: a CPU memory a hard disk a monitor and one or more communication

More information

CSC180: Lecture 2. Wael Aboulsaadat.

CSC180: Lecture 2. Wael Aboulsaadat. CSC180: Lecture 2 Wael Aboulsaadat wael@cs.toronto.edu http://portal.utoronto.ca/ Acknowledgement: These slides are partially based on the slides supplied with Prof. Savitch book: Problem Solving with

More information

Fundamentals of Programming. Lecture 1: Introduction to C Programming

Fundamentals of Programming. Lecture 1: Introduction to C Programming 1 Fundamentals of Programming Lecture 1: Introduction to C Programming Instructor: Fatemeh Zamani f_zamani@ce.sharif.edu Sharif University of Technology Computer Engineering Department 2 Outline Grading

More information

C++ Programming Language Lecture 1 Introduction

C++ Programming Language Lecture 1 Introduction C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department Introduction In this course you will learn C++ and the legacy C code. It is

More information

Introduction to Java Programming

Introduction to Java Programming Introduction to Java Programming Lecture 1 CGS 3416 Spring 2017 1/9/2017 Main Components of a computer CPU - Central Processing Unit: The brain of the computer ISA - Instruction Set Architecture: the specific

More information

SECTION 2 (Part B) Types And Components Of Computer Systems. Sophia Pratzioti

SECTION 2 (Part B) Types And Components Of Computer Systems. Sophia Pratzioti SECTION 2 (Part B) Types And Components Of Computer Systems 2 Hardware & Software Hardware: is the physical parts of the computer system the part that you can touch and see. Hardware can be either external

More information

Fundamentals of Programming (Python) Basic Concepts. Ali Taheri Sharif University of Technology Spring 2018

Fundamentals of Programming (Python) Basic Concepts. Ali Taheri Sharif University of Technology Spring 2018 Fundamentals of Programming (Python) Basic Concepts Ali Taheri Sharif University of Technology Outline 1. What is a Computer? 2. Computer System Organization 3. What is a Computer Program? 4. Programming

More information

Problem Solving and Program Design - Chapter 1. Cory L. Strope

Problem Solving and Program Design - Chapter 1. Cory L. Strope Problem Solving and Program Design - Chapter 1 Cory L. Strope Overview of Computers and Programming Computer Hardware Computer Software Software Development (Problem Solving) Pseudocode Flowchart Intro.

More information

LECTURE SCHEDULE 2. Units of Memory, Hardware, Software and Classification of Computers

LECTURE SCHEDULE 2. Units of Memory, Hardware, Software and Classification of Computers LECTURE SCHEDULE 2 Units of Memory, Hardware, Software and Classification of Computers Units of Memory The memory unit is the principal storage of the computer. All the data and instructions that the computer

More information

Week 1 Introduction to Computer and Algorithm (Part1) UniMAP Sem II 11/12 DKT121: Basic Computer Programming 1

Week 1 Introduction to Computer and Algorithm (Part1) UniMAP Sem II 11/12 DKT121: Basic Computer Programming 1 Week 1 Introduction to Computer and Algorithm (Part1) UniMAP Sem II 11/12 DKT121: Basic Computer Programming 1 General Information Contributes 3 units: 2 hours lectures 2 hours labs and tutorials Main

More information

1.The First Instrument known in the history of computers was. a) Pascal s adding machine b) Napier s bones c) Abacus d) Analytical Engine

1.The First Instrument known in the history of computers was. a) Pascal s adding machine b) Napier s bones c) Abacus d) Analytical Engine Quiz Questions 1.The First Instrument known in the history of computers was. a) Pascal s adding machine b) Napier s bones c) Abacus d) Analytical Engine 5/1/2006 Computer Programming TA 103 BE I year 2

More information

0 Introduction: Computer systems and program development

0 Introduction: Computer systems and program development 0 Introduction: Computer systems and program development Outline 1 Introduction 2 What Is a Computer? 3 Computer Organization 4 Evolution of Operating Systems 5 Personal Computing, Distributed Computing

More information

Chapter One. Introduction to Computer System

Chapter One. Introduction to Computer System Principles of Programming-I / 131101 Prepared by: Dr. Bahjat Qazzaz -------------------------------------------------------------------------------------------- Chapter One Introduction to Computer System

More information

Computer Principles and Components 1

Computer Principles and Components 1 Computer Principles and Components 1 Course Map This module provides an overview of the hardware and software environment being used throughout the course. Introduction Computer Principles and Components

More information

8/25/2016. What Is a Computer? The Components of a Computer

8/25/2016. What Is a Computer? The Components of a Computer Discovering Computers & Microsoft Office 2010 Selected Slides from Chapters 1-5 What Is a Computer? A computer is an electronic device, operating under the control of instructions stored in its own memory

More information

Information Communications Technology (CE-ICT) 6 th Class

Information Communications Technology (CE-ICT) 6 th Class Information Communications Technology (CE-ICT) 6 th Class Lecture 2: Computer Concepts (Part A) Lecturer: Objectives Hardware Concepts Types of Computer Components of a Computer System Computer Performance

More information

Lecture 1: CS2400 Introduction to Computer Science

Lecture 1: CS2400 Introduction to Computer Science Lecture 1: CS2400 Introduction to Computer Science Introduction to the course Introduction to computers Ethics Programming C++ CS2400 Lecture 1-1- 2017 David M. Chelberg Computer Science What is computer

More information

Agenda Computer Hardware Input Devices Output Devices Secondary Storage Computer Software System Software Application Software Working with Windows

Agenda Computer Hardware Input Devices Output Devices Secondary Storage Computer Software System Software Application Software Working with Windows Agenda Computer Hardware Input Devices Output Devices Secondary Storage Computer Software System Software Application Software Working with Windows A Computer is a device which allows you to Input raw

More information

Hardware and Software - Revision Summary

Hardware and Software - Revision Summary Hardware and Software - Revision Summary Complete this worksheet to provide a study tool for this chapter. Hardware Hardware is Peripheral hardware includes Hardware Functions Function Description Examples

More information

Ch. 1: Computer System part I

Ch. 1: Computer System part I Chapter 1 Computer System Ch. 1: Computer System part I Benjamas Panyangam 2013 Revision by Suphakit Awiphan Ph.D. Adapted for English Section by Kittipitch Kuptavanich And Prakarn Unachak Computer Classification

More information

Computer ANAMIKA ACADEMY. Mo Which function has the ability to move from one web page to another Hyper link

Computer ANAMIKA ACADEMY. Mo Which function has the ability to move from one web page to another Hyper link 1. Which function has the ability to move from one web page to another Hyper link web page? 2. What is the full name of GUI? GRAPHICAL USER INTERFACE 3. Which function keys are used to make spell and mild

More information

COMPUTER BASICS LECTURER: ATHENA TOUMBOURI

COMPUTER BASICS LECTURER: ATHENA TOUMBOURI COMPUTER BASICS LECTURER: ATHENA TOUMBOURI WHAT IS A COMPUTER SCIENCE? The definition of computer science is a branch of engineering science that studies the technology and the principles of computers.

More information

Java and Software Design

Java and Software Design Introduction to Java and Software Design Jindal Consulting Chapter 1 Overview of Programming and Problem Solving Slides by Varun Jindal 1 Chapter 1 Topics Computer Programming Programming Life-Cycle Phases

More information

SKILL AREA 304: Review Programming Language Concept. Computer Programming (YPG)

SKILL AREA 304: Review Programming Language Concept. Computer Programming (YPG) SKILL AREA 304: Review Programming Language Concept Computer Programming (YPG) 304.1 Demonstrate an Understanding of Basic of Programming Language 304.1.1 Explain the purpose of computer program 304.1.2

More information

Programming 1. Lecture 1 COP 3014 Fall August 28, 2018

Programming 1. Lecture 1 COP 3014 Fall August 28, 2018 Programming 1 Lecture 1 COP 3014 Fall 2018 August 28, 2018 Programming I - Course Information Instructor: Sharanya Jayaraman PhD Candidate in Computer Science Research Interests: High Performance Computing,

More information

elc International School

elc International School Subject: COMPUTER SCIENCE (0478) Syllabus 2016 Topics to be covered Section 1: Theory of Computer Science Theory: At the end of the section candidates should be able to Practical: At the end of the section

More information

Welcome to Computer Organization and Design Logic

Welcome to Computer Organization and Design Logic Welcome to Computer Organization and Design Logic CS 64: Computer Organization and Design Logic Lecture #1 Fall 2018 Ziad Matni, Ph.D. Dept. of Computer Science, UCSB A Word About Registration for CS64

More information

Zimmer CSCI /24/18. CHAPTER 1 Overview. COMPUTER Programmable devices that can store, retrieve, and process data.

Zimmer CSCI /24/18. CHAPTER 1 Overview. COMPUTER Programmable devices that can store, retrieve, and process data. CHAPTER 1 Overview COMPUTER Programmable devices that can store, retrieve, and process data. COMPUTER DEVELOPMENTS- Smaller size - processors (vacuum tubes -> transistors ->IC chip) Microprocessor - miniaturized

More information

Lecture 01 & 02 Computer Programming

Lecture 01 & 02 Computer Programming Lecture 01 & 02 Computer Programming 15 Computer Systems Engineering Second Semester By: Mr. Ali Asghar Manjotho, Lecturer, CSE-MUET Contents Computer programming (LL 02) Why programming? (LL 02) Instructions

More information

Q1. Describe C.P.U and its subunits with the help of diagram?

Q1. Describe C.P.U and its subunits with the help of diagram? Q1. Describe C.P.U and its subunits with the help of diagram? Ans. C.P.U (CENTRAL PROCESSING UNIT) Book page # 27 The C.P.U is the brain of computer.it controls and supervises all the units. Processing

More information

15/09/15. Introduction to Computers & The Internet. Contents. Computer hardware and software. Input and output devices CPU. Memory.

15/09/15. Introduction to Computers & The Internet. Contents. Computer hardware and software. Input and output devices CPU. Memory. Introduction to Computers & The Internet Dr. Ahmad Reeves Computer Science Dep. Lecture 2 Contents Computer hardware and software Input and output devices CPU Memory Storage Motherboard Computers Have

More information

Parts of the Computer System. Parts of the Computer System. Parts of the Computer System. Essential Computer Hardware. Information Processing Cycle

Parts of the Computer System. Parts of the Computer System. Parts of the Computer System. Essential Computer Hardware. Information Processing Cycle Looking Inside the Computer System NOS 116, 118, 218, 222 Handout 10 Hardware & Software Computer systems have four parts Hardware Software Data User 1 1B-2 Hardware Mechanical devices in the computer

More information

ST. MARY S COLLEGE FORM 4

ST. MARY S COLLEGE FORM 4 Term 1 Week 1 Week 2 FUNDAMENTALS OF HARDWARE AND SOFTWARE 1. The generalpurpose computer system 2. Functions of the major hardware components of a computer system 3. Functions and uses of primary storage

More information

Welcome to Computer Organization and Design Logic CS 64: Computer Organization and Design Logic Lecture #1 Winter 2018

Welcome to Computer Organization and Design Logic CS 64: Computer Organization and Design Logic Lecture #1 Winter 2018 Welcome to Computer Organization and Design Logic CS 64: Computer Organization and Design Logic Lecture #1 Winter 2018 Ziad Matni Dept. of Computer Science, UCSB A Word About Registration for CS64 FOR

More information

Introduction to Computers. Joslyn A. Smith

Introduction to Computers. Joslyn A. Smith Introduction to Computers Joslyn A. Smith March 9, 2010 5/18/2011 1 What is a Computer? An electronic device that has the capability of performing the following tasks: Responds to input. Processes the

More information

Programming: detailed instructions which tell the computer hardware what to do aka software Computer Science: the study NOT of computers, but of what

Programming: detailed instructions which tell the computer hardware what to do aka software Computer Science: the study NOT of computers, but of what Programming: detailed instructions which tell the computer hardware what to do aka software Computer Science: the study NOT of computers, but of what can be computed what processes a computer can execute

More information

COMP163. Introduction to Computer Programming. Introduction and Overview of the Hardware

COMP163. Introduction to Computer Programming. Introduction and Overview of the Hardware COMP163 Introduction to Computer Programming Introduction and Overview of the Hardware Reading Read chapter 1 of the online textbook What is the difference between a simple calculator and a computer? Hardware

More information

CSCE150A. Administrivia. Overview. Hardware. Software. Example. Program. Pseudocode. Flowchart. Control Structures. Hello World Program CSCE150A

CSCE150A. Administrivia. Overview. Hardware. Software. Example. Program. Pseudocode. Flowchart. Control Structures. Hello World Program CSCE150A Computer Science & Engineering 150A Problem Solving Using Computers Lecture 01 - Course Introduction Stephen Scott (Adapted from Christopher M. Bourke) Roll Syllabus Course Webpage: http://cse.unl.edu/~sscott/teach/classes/cse150af09/

More information

Computer Science & Engineering 150A Problem Solving Using Computers

Computer Science & Engineering 150A Problem Solving Using Computers Computer Science & Engineering 150A Problem Solving Using Computers Lecture 01 - Course Introduction Stephen Scott (Adapted from Christopher M. Bourke) 1 / 43 Fall 2009 Roll Syllabus Course Webpage: http://cse.unl.edu/~sscott/teach/classes/cse150af09/

More information

Types of Data. PE 231 Education Media AND Technology. Information. Assessment. Information Concepts

Types of Data. PE 231 Education Media AND Technology. Information. Assessment. Information Concepts Types of Data Data Represented by PE 231 Education Media AND Technology Alphanumeric data Image data Audio data Numbers, letters, and other characters Graphic images or pictures Sound, noise, tones Video

More information

Chapter 1 Introduction to Computers and C++ Programming

Chapter 1 Introduction to Computers and C++ Programming Chapter 1 Introduction to Computers and C++ Programming 1 Outline 1.1 Introduction 1.2 What Is a Computer? 1.3 Computer Organization 1.4 Evolution of Operating Systems 1.5 Personal Computing, Distributed

More information

The Programming Process Summer 2010 Margaret Reid-Miller

The Programming Process Summer 2010 Margaret Reid-Miller The Programming Process 15-110 Margaret Reid-Miller Hardware Components Central Processing Unit (CPU) Program control Arithmetic/logical operations Coordinates data movement between memory and registers

More information

INFORMATION COMUNICATION TECHNOLOGY SKS Lecture Two

INFORMATION COMUNICATION TECHNOLOGY SKS Lecture Two INFORMATION COMUNICATION TECHNOLOGY SKS 1362 Lecture Two Microprocessor CPU: Central Processing Unit Brain of the computer Executes instructions 2 Microprocessor CPU: It has mathematical function Calculates

More information

INFORMATION SYSTEM PARTS AND COMPUTER TYPES

INFORMATION SYSTEM PARTS AND COMPUTER TYPES INFORMATION SYSTEM PARTS AND COMPUTER TYPES PARTS OF INFORMATION SYSTEM People are end users who use computers to make themselves more productive. Hardware refers to the physical components of your computer

More information

Test Bank for Prelude to Programming Chapter 0

Test Bank for Prelude to Programming Chapter 0 Test Bank for Prelude to Programming Chapter 0 MULTIPLE CHOICE 1. Which of the following is not an attribute of a computer? a. can act on intermediate results without human intervention b. has its roots

More information

Programming Principles and Techniques

Programming Principles and Techniques Aptech Ltd Version 1.0 Page 1 of 11 Table of Contents Aptech Ltd Version 1.0 Page 2 of 11 Application Software Assembler American Standard Code for Information Interchange Arithmetic Logic Unit (ALU) Algorithm

More information

True/False Indicate whether the statement is true or false. Bubble A for True and B for False

True/False Indicate whether the statement is true or false. Bubble A for True and B for False 1A Name _ Midterm Review Part 1 Lesson 1 and 2 True/False Indicate whether the statement is true or false. Bubble A for True and B for False 1. A computer is an electronic device that receives data (input),

More information

True/False Indicate whether the statement is true or false. Bubble A for True and B for False

True/False Indicate whether the statement is true or false. Bubble A for True and B for False 1 Name Midterm Review Part 1 Lesson 1 and 2 "B" True/False Indicate whether the statement is true or false. Bubble A for True and B for False 1. Eight bits are equal to one byte. 2. A computer is an electronic

More information

Computer Basics 1/24/13. Computer Organization. Computer systems consist of hardware and software.

Computer Basics 1/24/13. Computer Organization. Computer systems consist of hardware and software. Hardware and Software Computer Basics TOPICS Computer Organization Data Representation Program Execution Computer Languages Computer systems consist of hardware and software. Hardware includes the tangible

More information

Total Mark out of 35

Total Mark out of 35 University of Bahrain College of Information Technology Department of Information Systems ITBIS105 Test 1 Version 1 (35 points) 30 Oct 2013 @ 8:00-9:00 AM Student Name: Section: ID Number: Serial Number:

More information

Computer Devices Part 1 25 Question(s) Test ID:

Computer Devices Part 1 25 Question(s) Test ID: Computer Part 1 25 Question(s) Test ID: 148114 Name: Date: 1) Match the term with the definition Output s Storage How to tell it what to do Allows the user to enter information into a system, such as a

More information

COMPUTER HARDWARE RAYMOND ROSE

COMPUTER HARDWARE RAYMOND ROSE COMPUTER HARDWARE RAYMOND ROSE LEARNING OUTCOMES 1.1 Identify types of computer how they process information, and the purpose and function of different hardware components. Understanding the computer and

More information

Computer Organization

Computer Organization Chapter 5 Computer Organization Figure 5-1 Computer hardware :: Review Figure 5-2 CPU :: Review CPU:: Review Registers are fast stand-alone storage locations that hold data temporarily Data Registers Instructional

More information

Intro to Programming & C Why Program? 1.2 Computer Systems: Hardware and Software. Why Learn to Program?

Intro to Programming & C Why Program? 1.2 Computer Systems: Hardware and Software. Why Learn to Program? Intro to Programming & C++ Unit 1 Sections 1.1-4 and 2.1-10, 2.12-13, 2.15-17 CS 1428 Spring 2019 Jill Seaman 1.1 Why Program? Computer programmable machine designed to follow instructions Program a set

More information

Outline. Introduction to Programming (in C++) Introduction. First program in C++ Programming examples

Outline. Introduction to Programming (in C++) Introduction. First program in C++ Programming examples Outline Introduction to Programming (in C++) Introduction Programming examples Algorithms, programming languages and computer programs Jordi Cortadella, Ricard Gavaldà, Fernando Orejas Dept. of Computer

More information

Computer System Overview

Computer System Overview Computer System Overview based on CBSE curriculum Class 11 By- Neha Tyagi PGT CS KV 5 Jaipur II Shift, Jaipur Region Neha Tyagi, KV 5 Jaipur II Shift Introduction Computer is a machine which brought resolution

More information

Computer Components 1 CSC1103- Nouf AlJaffan Saturday, 02 February 2013

Computer Components 1 CSC1103- Nouf AlJaffan Saturday, 02 February 2013 Computer Components 1 Computer Definition A computer is a machine that is used to store and process data electronically 2 A Computer System User Hardware Software User Software Hardware 3 A Computer System

More information

! Learn how to think like a computer scientist. ! Learn problem solving. ! Read and write code. ! Understand object oriented programming

! Learn how to think like a computer scientist. ! Learn problem solving. ! Read and write code. ! Understand object oriented programming 1 TOPIC 1 INTRODUCTION TO COMPUTER SCIENCE AND PROGRAMMING Topic 1 Introduction to Computer Science and Programming Notes adapted from Introduction to Computing and Programming with Java: A Multimedia

More information

Angel International School - Manipay 1 st Term Examination November, 2015 ICT

Angel International School - Manipay 1 st Term Examination November, 2015 ICT Grade 07 Angel International School - Manipay 1 st Term Examination November, 2015 ICT I. Underline the correct answer. Duration: 2 Hours Index No:- 1) Components of a computer CPU are (a) ALU, CU (b)

More information

Computers in Engineering COMP 208. Computer Structure. Computer Architecture. Computer Structure Michael A. Hawker

Computers in Engineering COMP 208. Computer Structure. Computer Architecture. Computer Structure Michael A. Hawker Computers in Engineering COMP 208 Computer Structure Michael A. Hawker Computer Structure We will briefly look at the structure of a modern computer That will help us understand some of the concepts that

More information

Fundamentals of Programming (C)

Fundamentals of Programming (C) Borrowed from lecturer notes by Omid Jafarinezhad Fundamentals of Programming (C) Group 6 Lecturer: Vahid Khodabakhshi CE 40153 - Fall 97 Lecture 1 Introduction and Brief History Department of Computer

More information

Computer Basics 1/6/16. Computer Organization. Computer systems consist of hardware and software.

Computer Basics 1/6/16. Computer Organization. Computer systems consist of hardware and software. Hardware and Software Computer Basics TOPICS Computer Organization Data Representation Program Execution Computer Languages Computer systems consist of hardware and software. Hardware includes the tangible

More information

Introduction to Computers and Java

Introduction to Computers and Java Introduction to Computers and Java Chapter 1 Objectives Overview of computer hardware and software, programs and compilers the Java programming language Example program Hardware and Software Computer systems

More information

Module 1: Introduction

Module 1: Introduction Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems Personal-Computer Systems Parallel Systems Distributed Systems Real-Time Systems

More information

An Introduction to Computers and Java CSC 121 Spring 2015 Howard Rosenthal

An Introduction to Computers and Java CSC 121 Spring 2015 Howard Rosenthal An Introduction to Computers and Java CSC 121 Spring 2015 Howard Rosenthal Lesson Goals Learn the basic terminology of a computer system Understand the basics of high level languages, including java Understand

More information

Introducing the Computer

Introducing the Computer Introducing the Computer Lecture Outline 9 Instructor: Kevin Robertson Computer Components and Processing Functions Introduction to the Computer* Information processor capable of performing electronically

More information

Chapter 2: Computers: The Machines Behind Computing.

Chapter 2: Computers: The Machines Behind Computing. Chapter 2: Computers: The Machines Behind Computing. TRUEFALSE 1. Computers perform all tasks using a combination of arithmetic and logical operations. 2. Fourth-generation languages (4GLs) are also called

More information

ENT 189: COMPUTER PROGRAMMING. H/P: Home page:

ENT 189: COMPUTER PROGRAMMING.   H/P: Home page: ENT 189: COMPUTER PROGRAMMING Dr. PAULRAJ M P, Associate Professor, School of Mechatronic Engineering, #42- Level 2, Ulu Pauh New Campus 02600-Arau. PERLIS Email: paul@unimap.edu.my H/P: 017 5103757 Home

More information

Electricity: Voltage. Gate: A signal enters the gate at a certain voltage. The gate performs operations on it, and sends it out was a new signal.

Electricity: Voltage. Gate: A signal enters the gate at a certain voltage. The gate performs operations on it, and sends it out was a new signal. Hardware CSCE 101 Electricity: Voltage Gate: A signal enters the gate at a certain voltage. The gate performs operations on it, and sends it out was a new signal. The signals voltage will either be between

More information

Introduction to Computers and Java. Objectives. Outline. Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich.

Introduction to Computers and Java. Objectives. Outline. Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich. Introduction to Computers and Java Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich http://seal.ifi.uzh.ch 2008 W. Savitch, F.M. Carrano, Pearson Prentice Hall Objectives! Overview computer

More information

Introduction to Computers and Java

Introduction to Computers and Java Introduction to Computers and Java Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich http://seal.ifi.uzh.ch 2008 W. Savitch, F.M. Carrano, Pearson Prentice Hall Objectives! Overview computer

More information

An Overview of the Computer System. Kafui A. Prebbie 24

An Overview of the Computer System. Kafui A. Prebbie 24 An Overview of the Computer System Kafui A. Prebbie -kafui@kafui.com 24 The Parts of a Computer System What is a Computer? Hardware Software Data Users Kafui A. Prebbie -kafui@kafui.com 25 The Parts of

More information

CHAPTER 1 TYPES & COMPONENTS OF COMPUTER SYSTEM

CHAPTER 1 TYPES & COMPONENTS OF COMPUTER SYSTEM CHAPTER 1 TYPES & COMPONENTS OF COMPUTER SYSTEM 1.1 Hardware and Software Q.1) Define hardware and software: a) Hardware Hardware is a general term used for the physical components (parts) that make up

More information

There are many types of computers, including:

There are many types of computers, including: Computer Basics There are many types of computers, including: Supercomputers... are used to process very large amounts of information including processing information to predict hurricanes, satellite images

More information

CS1500 Algorithms and Data Structures for Engineering, FALL Virgil Pavlu, Jose Annunziato,

CS1500 Algorithms and Data Structures for Engineering, FALL Virgil Pavlu, Jose Annunziato, CS1500 Algorithms and Data Structures for Engineering, FALL 2012 Virgil Pavlu, vip@ccs.neu.edu Jose Annunziato, jannunzi@gmail.com Rohan Garg Morteza Dilgir Huadong Li cs1500hw@gmail.com http://www.ccs.neu.edu/home/vip/teach/cpp_eng/

More information

Introduction to Computers and Java

Introduction to Computers and Java Introduction to Computers and Java Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich http://seal.ifi.uzh.ch 2008 W. Savitch, F.M. Carrano, Pearson Prentice Hall Objectives Overview computer

More information