Computer Terms Good to Know.

Slides:



Advertisements
Similar presentations
Computer Components.
Advertisements

Using Computers CS French Chapter 1.
COSC 120 Computer Programming
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter 1- Visual Basic Schneider1 Chapter 1 An Introduction to Computers and Visual Basic.
Pseudocode.
Guide To UNIX Using Linux Third Edition
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
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.
Pseudocode.
Programming Logic and Design Fourth Edition, Introductory
Computers & Logic An Overview. Hardware Hardware is the equipment, or the devices, associated with a computer. For a computer to be useful, however, it.
Introduction to Computers and Programming
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
Why Program? Computer – programmable machine designed to follow instructions Program – instructions in computer memory to make it do something Programmer.
Chapter Introduction to Computers and Programming 1.
DCT 1123 Problem Solving & Algorithms
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
INTRODUCTION TO COMPUTER PROGRAMMING itc-314 LECTURE 01.
Chapter 1: Introduction to Computers and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Seventh Edition by Tony Gaddis, Judy.
Introduction to the Computer System. What is a computer ? A computer is an electronic device that can accept data and instruction, process them or store.
 Why?  Because it can be programmed to do more than one specific task. ◦ Accountants ~ tax forms etc. ◦ Machinists ~ control drilling, lathes etc. ◦
S2008Final_part1.ppt CS11 Introduction to Programming Final Exam Part 1 S A computer is a mechanical or electrical device which stores, retrieves,
Patrick J. McSweeney MW: 5 – 8:30pm.
Logic and Systems A beginner’s guide.
Chapter 2 Pseudocode. Objectives To introduce common words, keywords and meaningful names when writing pseudocode To define the three basic control structures.
Pseudocode. Simple Program Design, Fourth Edition Chapter 2 2 Objectives In this chapter you will be able to: Introduce common words, keywords, and meaningful.
Pseudocode Simple Program Design Third Edition A Step-by-Step Approach 2.
CONTENTS Processing structures and commands Control structures – Sequence Sequence – Selection Selection – Iteration Iteration Naming conventions – File.
8-1 Compilers Compiler A program that translates a high-level language program into machine code High-level languages provide a richer set of instructions.
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
The Computer System CS 103: Computers and Application Software.
1 Overview of Programming Principles of Computers.
Internet & World Wide Web How to Program, 5/e © by Pearson Education, Inc. All Rights Reserved.
While loops. Iteration We’ve seen many places where repetition is necessary in a problem. We’ve been using the for loop for that purpose For loops are.
Introduction to Computer Programming using Fortran 77.
Sebastián Álvarez Henao.. It refers to all physical parts of a computer system; its components are: electrical, electronic, electromechanical and mechanical.
Copyright © 2014, 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Eighth Edition by Tony Gaddis,
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Introduction to Computer Programming By: Mr. Baha Hanene Chapter 1.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
Presentation on Components of Information system
Programming Logic and Design Seventh Edition Chapter 1 An Overview of Computers and Programming.
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.
Chapter 1: Introduction to Computers and Programming
Operating Systems What an Operating System is.
BASIC PROGRAMMING C SCP1103 (02)
Chapter 10 Programming Fundamentals with JavaScript
An Overview of the Computer System
Hardware vs. Software Question 1 What is hardware?
Computer Fundamentals 1
BASIC PROGRAMMING C SCP1103 (02)
Introduction To Flowcharting
BY GAWARE S.R. COMPUTER SCI. DEPARTMENT
Looking Inside the machine (Types of hardware, CPU, Memory)
Chapter 1: Introduction to Computers and Programming
An Overview of the Computer System
Chapter 10 Programming Fundamentals with JavaScript
Introduction to pseudocode
Faculty of Computer Science & Information System
Fundamentals of visual basic
An Introduction to Computers and Visual Basic
Introduction to Computing
Networks & I/O Devices.
Programming Logic and Design Eighth Edition
Computer components.
Chapter 1: Introduction to Computers and Programming
Presentation transcript:

Computer Terms Good to Know

System A group of independent but interrelated elements comprising a unified whole

Computer System Hardware Software Data People

Hardware Mechanical, magnetic, electronic, and electrical devices comprising a computer system: CPU, disk drives, keyboard, or screen

Software Programs used to direct the operation of a computer, as well as documentation giving instructions on how to use them Operating System Software Applications Software

Data Facts, statistics, or items of information A collection of facts from which conclusions may be drawn Examples: Data: 123456789 Information: 123-45-6789

People Human beings, as distinguished from animals or other beings Required in order to interpret the data received from a computer system

Operating System Software Software required to support the production or execution of application programs but which is not specific to any particular application Examples: Windows, UNIX, Linux, MacOS, VM

Application Software A program used for a particular application Examples include: Document Processing (Word) Spreadsheets (Excel) Database (Access) Communications, Browsers, & e-Mail (Firefox) Education & Learning (West Point Bridge) Entertainment & Gaming (Halo Reach)

Things a Computer System Can Do Input Process Storage Output

Input Noun: Data or signals entered into a system for processing or transmission Verb: To enter data into a system

Process Noun: A running software program or other computing operation Verb: To perform operations on data

Storage Noun: Device into which data can be entered, in which they can be held, and from which they can be retrieved at a later time Verb: (Store) To hold information for use at a later date

Output Noun: Information in a form suitable for transmission from internal to external units of a computer, or to an outside medium. Verb: To transfer data from internal storage to an external medium, as paper or microfilm

Variables “A named space in main memory that holds a value that can be changed” Can hold information Temporary space in main memory Available while program or function runs Released when program or function ends

Variable Naming Rules Must start with a letter May contain letters & numbers May NOT contain spaces or special characters Except may contain underscore or dash Should make sense Might be case sensitive

Computer Program Statements Sequential: Taken in a sequence Decision or Selection: The process of making a choice Iteration or Loop: A repetition of a statement or statements in a program

Sequential Taken in a sequence The next following the previous A program will execute (follow the instructions in) one line at a time When a line of instruction is complete, the program processes the next line in sequence

Decision or Selection The act or process of making a choice The computer will decide if a statement will be executed based on the outcome of some condition being true Syntax is usually “if (condition is true) { perform these statements }”

If Syntax if(condition) { execute statements when condition is true }

If Else Syntax if(condition) { execute statements when condition is true } else { execute statements when condition is false

If Else If Syntax if(condition1 is true) { execute statements when condition1 is true } else if(condition2 is true) { execute statements when condition2 is true

Switch Case Syntax Switch(variableName) { case value1: execute statements when variableName is value1; break; case value2: execute statements when variableName is value2; break; case value3: execute statements when variableName is value3; break; default: execute statements when no values match }

Iteration or Loop A repetition of a statement or statements in a program The computer will decide to execute one or more statements again based on the outcome of some condition being true Syntax is usually “while (condition is true) { perform these statements }”

Loop Definitions Sentinel - A symbol, mark, or other labeling device indicating the beginning or end of a unit of information Sentinel Value - In programming, a special value that is used to terminate a loop Sentinel Variable - The variable that contains the sentinel value

3 Parts to Every Loop Start - the condition of the sentinel variable at the start of the loop Test - test the sentinel value against some stopping value, the loop will repeat when the condition is true Change - change the value of the sentinel so that, at some time, the test will become false & the loop will not repeat

Different Loops For While Do While (Different languages may have differences)

For Loop Execute a code segment more than once Loops while some condition is true Use when you know how many times

For Loop Syntax for(sentinelVariableStartValue; sentinelVariableTestCondition; sentinelVariableChange) { statements when condition is true }

While Loop Execute a code segment more than once Loops while some condition is true Use when you don't know how many times to loop If the condition is false the first time this will NOT execute even once

While Loop Syntax initialize sentinelVariableValue while(test sentinelVariableValue) { statements when condition is true change sentinelVariableValue }

Do While Loop Execute a code segment more than once Loops while some condition is true Use when you don't know how many times to loop If the condition is false the first time this will execute at least once

Do While Loop Syntax initialize sentinelVariableValue do { code segments when condition is true change sentinelVariableValue } while(test sentinelVariableValue)