© Jalal Kawash 2010 Introduction Peeking into Computer Science 1.

Slides:



Advertisements
Similar presentations
Spreadsheet Vocabulary
Advertisements

EGN 1006 – Introduction to Engineering Engineering Problem Solving and Excel.
1 Excel Spreadsheets Excel is software that lets you create tables, and calculate and analyze data. This type of software is called spreadsheet software.
O(N 1.5 ) divide-and-conquer technique for Minimum Spanning Tree problem Step 1: Divide the graph into  N sub-graph by clustering. Step 2: Solve each.
Spreadsheets A spreadsheet package is a general purpose computer package that is designed to perform calculations. A spreadsheet is a table which is divided.
General Astronomy Using Excel for Lab Analysis. Introduction Being able to use a spreadsheet to help in analysis of any laboratory work is a very useful.
1 ICS102: Introduction To Computing King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science.
ACOT Intro/Copyright Succeeding in Business with Microsoft Excel 2010: Chapter1.
Chapter 1 - An Introduction to Computers and Problem Solving
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
CS171 Introduction to Computer Science II Graphs Strike Back.
© Jalal Kawash 2010 Elementary Set Theory Peeking into Computer Science.
Intro to Microsoft Excel The Microsoft Excel window will open up ready for you to create a new spreadsheet 1 The ribbon, which sits above the spreadsheet,
© Janice Regan, CMPT 102, Sept CMPT 102 Introduction to Scientific Computer Programming The software development method algorithms.
James Tam Introduction To Problem Solving This section will focus on problem solving strategies.
Text Retrieval and Spreadsheets Class 4 LBSC 690 Information Technology.
Introduction to C++ Programming CS 117 Section 2 and KNET Sections Spring 2001 MWF 1:40-2:30.
New Mexico Computer Science For All Introduction to Algorithms Maureen Psaila-Dombrowski.
Adding Automated Functionality to Office Applications.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Chapter 6: Pivot Tables Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
B.A. (Mahayana Studies) Introduction to Computer Science November March Office Tools A look at the main tools most computer users.
COMP An Introduction to Computer Programming : University of the West Indies COMP6015 An Introduction to Computer Programming Lecture 02.
Chapter 10: Working with Large Data Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
 Introduction to MS-Excel Introduction to MS-Excel  Entering data in EXCEL Entering data in EXCEL  Formulas & Functions in EXCEL Formulas & Functions.
© Jalal Kawash 2010 Introduction Peeking into Computer Science 1.
1 California State University, Fullerton Chapter 8 Personal Productivity and Problem Solving.
Chapter 3 PART 2 - SPREADSHEET CMPF 112 : COMPUTING SKILLS CALC FOR LINUX.
Muhammad Adnan Talib Lec#4 27 th Sep,2012 Computer Science Department COMSATS Institute of Information Technology Sahiwal Introduction to Computer Programming.
Curricular Unit: Using MS Excel to Analyze Real Life Data Economics 553 Assignment #3 Summary: This lesson involves the use of Microsoft Excel to analyze.
Introduction to Excel What Can I Do with a Spreadsheet?
© Jalal Kawash 2010 Introduction Peeking into Computer Science 1.
COMP 1001: Introduction to Computers for Arts and Social Sciences Searching Algorithms Monday, May 30, 2011.
© Jalal Kawash 2010 Trees & Information Coding: 3 Peeking into Computer Science.
What is a Spreadsheet? A grid that organizes data into columns and rows It can be used to store, sort & manipulate information… … and to perform calculations.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved. What Can I Do with a Spreadsheet.
Working with Spreadsheets A spreadsheet is a worksheet that resembles a table and is used for organizing numbers. An electronic spreadsheet file can contain.
© 2001 Business & Information Systems 2/e1 Chapter 8 Personal Productivity and Problem Solving.
Lead Black Slide Powered by DeSiaMore1. 2 Chapter 8 Personal Productivity and Problem Solving.
© Jalal Kawash 2010 Trees & Information Coding Peeking into Computer Science.
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
© Jalal Kawash Database Queries Peeking into Computer Science.
Creating A Worksheet and Embedded Chart Chapter 1.
Microsoft Excel P.6 Computer Studies Chapter 1 – Introduction of Microsoft Excel What is Microsoft Excel? Microsoft Excel is a software for.
C OMPUTING E SSENTIALS Timothy J. O’Leary Linda I. O’Leary Presentations by: Fred Bounds.
© Jalal Kawash Database Queries Peeking into Computer Science.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Excel Project 1 Creating a Worksheet and an Embedded Chart.
Flowchart. a diagram of the sequence of movements or actions of people or things involved in a complex system or activity. a graphical representation.
Introduction to Spreadsheets and Microsoft Excel FSE 200.
Science 801 Robotics The Final Project. Task Your team will create a robot that will complete a number of challenges as it moves through a series of tasks.
Chapter 2 Excel Fundamentals Logical IF (Decision) Statements Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CS 101 – Oct. 7 Solving simple problems: create algorithm Structure of solution –Sequence of steps (1,2,3….) –Sometimes we need to make a choice –Sometimes.
Spreadsheet Design & Assignment 1 Based on: M. Banarjee, Personal Communication, 2008 J. Nevison, The Elements of Spreadsheet Style, Prentice-Hall, 1987.
Lesson 2 Tables and Charts
Statistical Analysis with Excel
Topic:- ALGORITHM Incharge Faculty – Lokesh Sir.
TU170 Learning online and computing with confidence
Algorithms and Flowcharts
Microsoft Office Illustrated
Algorithm Algorithm is a step-by-step procedure or formula or set of instruction for solving a problem Its written in English language or natural language.
Prepared by Rao Umar Anwar For Detail information Visit my blog:
An Introduction to Visual Basic .NET and Program Design
Assembler, Compiler, Interpreter
Introduction to Excel Spreadsheets I can…
Unit# 6: ICT Applications
Microsoft Excel 101.
Assembler, Compiler, Interpreter
Understanding Problems and how to Solve them by using Computers
Agenda What is SEO ? How Do Search Engines Work? Measuring SEO success ? On Page SEO – Basic Practices? Technical SEO - Source Code. Off Page SEO – Social.
Tutorial 7 – Integrating Access With the Web and With Other Programs
Presentation transcript:

© Jalal Kawash 2010 Introduction Peeking into Computer Science 1

© Jalal Kawash 2010Peeking into Computer Science Reading Assignment Mandatory: Chapter 1 Optional: None 2

Problems & Solutions Computer Science perspective 3

© Jalal Kawash 2010Peeking into Computer Science Objectives At the end of this section, you will be able to: 1. Define a (computational) problem 2. Understand the terms algorithm and program 3. Start working with Microsoft Excel Spreadsheets

© Jalal Kawash 2010Peeking into Computer Science Computer Science Studying computers and utilizing them to solve problems Computational problems are solved by computers Computer scientists use methodological thinking when approaching problems 5

© Jalal Kawash 2010Peeking into Computer Science Problems Any problem has input and output ◦Examples: laundry, cooking, building The problem specifies what needs to be done It specifies the relationship between input and output The problem is not concerned with how 6

© Jalal Kawash 2010Peeking into Computer Science Example: Searching the Web Searching the Web is a computational problem Input: A collection of keywords Output: A ranked list of Web documents that are relevant to the input keywords 7

© Jalal Kawash 2010Peeking into Computer Science Solution: Search Engine Collects and records information about Web documents in a database Web crawlers or spiders collect information You can use a search engine through a Web browser All are programs 8

© Jalal Kawash 2010Peeking into Computer Science Programs Solutions to computational problems are represented as programs Program = sequence of computer instructions Written in a programming language Algorithm = A program that is not written in a programming language It is the specification of a program 9

© Jalal Kawash 2010Peeking into Computer Science Web Crawler Algorithm to-visit = a non-empty list of initial URLs to be visited For each URL in to-visit: ◦Open that URL document d ◦Record information about d in the database ◦Scan d for hyperlinks ◦For each hyperlink in d:  Add the hyperlink to to-visit 10

© Jalal Kawash 2010Peeking into Computer Science General-Purpose Programs Browsers and crawlers are specialized programs General-purpose programs can be used to solve variety of problems Example: Microsoft Excel program 11

© Jalal Kawash 2010Peeking into Computer Science Spreadsheets Gird of cells Cell = intersection of a column and row Columns are referenced by letters Rows are referenced by numbers Example cell: B1 contains

© Jalal Kawash 2010Peeking into Computer Science Formulas Allow us to perform calculations Formulas start with = ◦= is an instruction to perform calculations 13 =C7*D7

© Jalal Kawash 2010Peeking into Computer Science Functions Allow us to perform group calculations Some example functions: sum, average, minimum, and maximum 14 =SUM(E7:E9)

© Jalal Kawash 2010Peeking into Computer Science Charts A picture is worth thousand words! 15

Divide and Conquer The power to solve 16

© Jalal Kawash 2010Peeking into Computer Science Objectives At the end of this section, you will be able to: 1. Understand and use the Divide & Conquer technique 2. Apply Divide & Conquer to a spreadsheet example

© Jalal Kawash 2010Peeking into Computer Science Divide & Conquer Approach Divide and Conquer: Divide the problem into smaller easier to solve problems Solve the sub-problems Combine the sub-solutions 18

© Jalal Kawash 2010Peeking into Computer Science Divide & Conquer Start with an overview of the solution ◦Specify the components Overview Component 1 Component 2 Component n 19

© Jalal Kawash 2010Peeking into Computer Science Divide & Conquer Repeat for the components, specify subcomponents Overview 1 2 n 20

© Jalal Kawash 2010Peeking into Computer Science Divide and Conquer Making a table Easier: ◦Make the legs ◦Make the top ◦Combine them 21

© Jalal Kawash 2010Peeking into Computer Science Making a Table Can go further down the tree if need be Table LegsTop 22

© Jalal Kawash 2010Peeking into Computer Science Making a Table Table LegsTop 23

Design Example Spreadsheets 24

© Jalal Kawash 2010Peeking into Computer Science The Problem I would like to move to a US state that: ◦Has a warm climate ◦Has a low crime rate ◦Is close to Ottawa Dividing the problem: 1.Collect the avg high temperature per state 2.Collect homicide rates from US states 3.Measure the time it takes to drive from each state to Ottawa 25

© Jalal Kawash 2010Peeking into Computer Science 1. Collecting avg high temperatures Avg high temperature is recorded in Fahrenheit Use Google calculator to convert to Celsius Record the data in a spreadsheet 26

The spreadsheet 27

© Jalal Kawash 2010Peeking into Computer Science 2. Collecting Homicide Rates Find some source and record the rates in the spreadsheet. My source is: "graphic Discovery" by Howard Wainer. 28

The spreadsheet 29

© Jalal Kawash 2010Peeking into Computer Science 3. Time to Ottawa This needs to be further divided into sub- problems: 1.Find a point in the state 2.Measure the distance from that point to Ottawa For 2, we can simply use Google maps For 1, the geographic center, the capital city, or something else? We choose the capital city 30

© Jalal Kawash 2010Peeking into Computer Science 31

© Jalal Kawash 2010Peeking into Computer Science Google Maps 32

© Jalal Kawash 2010Peeking into Computer Science The Spreadsheet 33

© Jalal Kawash 2010Peeking into Computer Science Combining Sub-Solutions Since we have more than one factor, we need to weigh the factors based on preference One way is to use a weighted average My preferences are: ◦Warmer: 30% ◦Fewer homicide: 50% ◦Closer to Ottawa: 20% 34

© Jalal Kawash 2010Peeking into Computer Science The Spreadsheet 35

© Jalal Kawash 2010Peeking into Computer Science The Solution 36