Browse Course Material

Course info.

  • Prof. John Guttag

Departments

  • Electrical Engineering and Computer Science

As Taught In

  • Computer Science

Introduction to Computer Science and Programming

Lecture 3: problem solving.

  • Download video
  • Download transcript

MIT Open Learning

introduction to computer problem solving ppt

Flipped classroom.

  • Each week, send an email to all students in the class that briefly describes activities for that week (lectures, reading, and programming assignments drawn from the book or from this booksite).
  • Students watch the lecture videos at their own pace, do the readings, and work on the programming assignments.

Self-study.

Available lectures..

Harvard University Logo

CS50's Introduction to Computer Science

An introduction to the intellectual enterprises of computer science and the art of programming.

introduction to computer problem solving ppt

There is one session available:

Cs50's introduction to computer science, about this course.

This is CS50x , Harvard University's introduction to the intellectual enterprises of computer science and the art of programming for majors and non-majors alike, with or without prior programming experience. An entry-level course taught by David J. Malan, CS50x teaches students how to think algorithmically and solve problems efficiently. Topics include abstraction, algorithms, data structures, encapsulation, resource management, security, software engineering, and web development. Languages include C, Python, SQL, and JavaScript plus CSS and HTML. Problem sets inspired by real-world domains of biology, cryptography, finance, forensics, and gaming. The on-campus version of CS50x , CS50, is Harvard's largest course.

Students who earn a satisfactory score on 9 problem sets (i.e., programming assignments) and a final project are eligible for a certificate. This is a self-paced course–you may take CS50x on your own schedule.

HarvardX requires individuals who enroll in its courses on edX to abide by the terms of the edX honor code. HarvardX will take appropriate corrective action in response to violations of the edX honor code , which may include dismissal from the HarvardX course; revocation of any certificates received for the HarvardX course; or other remedies as circumstances warrant. No refunds will be issued in the case of corrective action for such violations. Enrollees who are taking HarvardX courses as part of another program will also be governed by the academic policies of those programs.

HarvardX pursues the science of learning. By registering as an online learner in an HX course, you will also participate in research about learning. Read our research statement to learn more.

Harvard University and HarvardX are committed to maintaining a safe and healthy educational and work environment in which no member of the community is excluded from participation in, denied the benefits of, or subjected to discrimination or harassment in our program. All members of the HarvardX community are expected to abide by Harvard policies on nondiscrimination, including sexual harassment, and the edX Terms of Service. If you have any questions or concerns, please contact [email protected] and/or report your experience through the edX contact form .

Class central top 100 course of all-time.

At a glance

  • Institution: HarvardX
  • Subject: Computer Science
  • Level: Introductory
  • Professional Certificate in Computer Science for Game Development
  • Professional Certificate in Computer Science for Web Programming
  • Professional Certificate in Computer Science for Artificial Intelligence
  • Professional Certificate in Computer Science for Python Programming
  • XSeries in CS50's AP® Computer Science Principles
  • Language: English
  • Video Transcript: English
  • Associated skills: Resource Management, Cryptography, JavaScript (Programming Language), SQL (Programming Language), Python (Programming Language), Security Software, C (Programming Language), Finance, Cascading Style Sheets (CSS), Algorithms, Forensic Sciences, HyperText Markup Language (HTML), Computer Science, Data Structures

What you'll learn

  • A broad and robust understanding of computer science and programming
  • How to think algorithmically and solve programming problems efficiently
  • Concepts like abstraction, algorithms, data structures, encapsulation, resource management, security, software engineering, and web development
  • Familiarity in a number of languages, including C, Python, SQL, and JavaScript plus CSS and HTML
  • How to engage with a vibrant community of like-minded learners from all levels of experience
  • How to develop and present a final programming project to your peers

This course is part of CS50's AP® Computer Science Principles XSeries Program

Interested in this course for your business or team.

Academia.edu no longer supports Internet Explorer.

To browse Academia.edu and the wider internet faster and more securely, please take a few seconds to  upgrade your browser .

Enter the email address you signed up with and we'll email you a reset link.

  • We're Hiring!
  • Help Center

paper cover thumbnail

1 Steps in problem solving

by vijay mani

Free Related PDFs

A framework for an integrated problem solving and program development environment that addresses the needs of students learning programming is proposed. Several objectives have been accomplished: defining the tasks required for program development and a literature review to determine the actual difficulties involved in learning those tasks. A comprehensive study of environments and tools developed to support the learning of problem solving and programming was then performed, covering programming environments, debugging aids, intelligent tutoring systems, and intelligent programming environments. This was followed by a careful analysis and critique of these systems, which uncovered the limitations that have prevented them from accomplishing their goals. Next, an extensive study of problem solving methodologies developed in this century was carried out and a common model for problem solving was produced. The tasks of program development were then integrated with the common model for p...

An integrated environment for problem-solving and program development

Ruhul Qudus Dr Ahmad

2017, Dr Ahmad

COM113 INTRO TO COMPUTER PROGRAMMING Theory Book

Timothy G Mattson

More Patterns for Parallel Application Programs

Sumant Aditya

Basics of Programming

AMOS BATALI EZRA

2021, O LEVEL COMPUTER STUDIES

Computer programming:  A computer works by executing a set of instructions known as a program.  The term programming refers to the process of developing computer instructions (programs) to solve a particular task. It involves use of special characters, signs and symbols found in a particular programming language to create computer instructions.  A programming language is a special set of symbols that can be translated into machine readable form by the computer when arranged in a particular sequence or order. Each language has a special sequence or order of writing characters usually referred to as the syntax.

ELEMENTARY PROGRAMMING PRINCIPLES {BY MR. SADIK SEBI

Neal Gafter

Parallel Incremental Compilation

henok fikere

An algorithm is a set of instructions, sometimes called a procedure or a function that is used to perform a certain task. This can be a simple process, such as adding two numbers together, or a complex function, such as adding effects to an image. For example, in order to sharpen a digital photo, the algorithm would need to process each pixel in the image and determine which ones to change and how much to change them in order to make the image look sharper. Most computer programmers spend a large percentage of their time creating algorithms. (The rest of their time is spent debugging the algorithms that don't work properly.) The goal is to create efficient algorithms that do not waste more computer resources (such as RAM and CPU time) than necessary. This can be difficult, because an algorithm that performs well on one set of data may perform poorly on other data. As you might guess, poorly written algorithms can cause programs to run slowly and even crash. Therefore, software updates are often introduced, touting " improved stability and performance ". While this sounds impressive, it also means that the algorithms in the previous versions of the software were not written as well as they could have been.

Algorithm and Flow Chart 2.1 ALGORITHM 2.1.1 Introduction

Jeronimo Lopez Ledesma

Code Complete, Second Edition eBook

Nguyễn Anh Thanh

Some Algorithm Structure and Support Patterns for Parallel Application Programs

FREE RELATED PAPERS

Ari Korhonen

2009, Electronic Notes in Theoretical Computer Science

This paper reports on the results of a two year project in which visual algorithm simulation exercises were developed for a spatial data algorithms course. The success of the project is studied from several point of views, ie, from developer's, teachers's, and student's perspective. The amount of work, learning outcomes, and feasibility of the system has been estimated based on the data gathered during the project. The results are encouraging, which motivates to extend the concept also for other courses in the future.

Experiences on using trakla2 to teach spatial data algorithms

Péter Szlávi

Acta Didactica Napocensia

The Cognitive Toolkit of Programming – Algorithmic Abstraction, Decomposition-Superposition

Ville Karavirta

Work in progress: Automatic generation of algorithm animations for lecture slides

Phillip Benachour , Jaime Urquiza-Fuentes

Animation and Interactive Programming: A Practical Approach

Arvind Jaiswal

C Notes

Christiane Metzner

A An Exploratory Study for Identifying and Implementing Concerns in Integer Programming

Kanna Velusamy

SE notes BIT

Eneku Ronald

S4 ELEMENTARY COMPUTER PROGRAMING NOTES

Raimund Kirner

Abstract Worst-case execution time (WCET) analysis is a prerequisite for successfully designing and developing systems, which have to satisfy hard real-time constraints. Of key importance for the precision and performance of algorithms and tools for WCET analysis are the expressiveness and usability of annotation languages, which are routinely used by developers for providing WCET algorithms and tools with hints for separating feasible from infeasible program paths.

WCET Annotation Languages Reconsidered: The Annotation Language Challenge

Engcse Engcse

Unit I Contents

Marcelo Campo

2010, Computer Languages, Systems & Structures

An approach for non-intrusively adding malleable fork/join parallelism into ordinary JavaBean compliant applications

Keith W Miller

Most existing programs were written for sequential machines. As parallel architectures become commonplace, programmers will face the task of porting applications from sequential machines to parallel machines. For some programming languages and for some specific machine environments, sophisticated compilers will simplify this porting considerably[Padua and Wolfe]. However, even with a parallellzing compiler, the porting will probably rcquire some handcrafting of the code.

A design methodology for portable software on parallel computers

Quentin F Stout

Algorithmic Techniques for Regular Networks of Processors

kennedy Bonsu

LECTURE NOTES ON SOFTWARE ENGINEERING Course Code: BCS-306

Russ Miller , Quentin F Stout

Algorithmic techniques for networks of processors

Ben Shneiderman

Language designers and language proponents are often given to making claims about the" readability,"" debug���ability,"" understandability,"" learnability,"" naturalness," etc. of a (their!) particular programming language. For the most part such claims are psychological in nature, and thus open to empirical inquiry. The problem is that this type of research is difficult to carry out and, frankly, only lip service (and" lip resources") to its need is given by the computing community.

SYSTEM MESSAGE GUIDELINES: POSITIVE TONE, CONSTRUCTIVE, SPECIFIC, AND USER CENTERED

Richard Yost

Monitoring of space station life support systems with miniature mass spectrometry and artificial intelligence

Dieter Fensel

1998, … Software Engineering

Developing knowledge-based systems with MIKE

Mrityunjay Ghosh

2020, ArXiv

The magnificence grandeur of quantum computing lies in the inherent nature of quantum particles to exhibit true parallelism, which can be realized by indubitably fascinating theories of quantum physics. The possibilities opened by quantum computation (QC) is no where analogous to any classical simulation as quantum computers can efficiently simulate the complex dynamics of strongly correlated inter-facial systems. But, unfolding mysteries and leading to revolutionary breakthroughs in quantum computing are often challenged by lack of research and development potential in developing qubits with longer coherence interval, scaling qubit count, incorporating quantum error correction to name a few. Putting the first footstep into explorative quantum research by researchers and developers is also inherently ambiguous - due to lack of definitive steps in building up a quantum enabled customized computing stack. Difference in behavioral pattern of underlying system, early-stage noisy device,...

QDLC - The Quantum Development Life Cycle

Journal of Information Technology Education: Research

On the Design and Development of a UML-Based Visual Environment for Novice Programmers

Reuben Otwori

Introduction to Programming

Mohammed Tammam

C++

Abdullah Al Mizan

Foundation of Software Engnineering

Kanchan Kamila

Provides Burdwan University Master of Computer Application Syllabus

BU MCA Syllabus

Alejandro Chmiel

This article describes two stages of a study carried out with pre-university students, to gather information about the learning of the concept of inductive structures. The study complements two previous investigations focusing on the design of recursive algorithms, from which the study of students’ understanding about the input structures of the algorithms arises as a necessity. The theoretical framework used in the three studies is the epistemology of Jean Piaget, specially works about recursive reasoning on the series of natural numbers. Our methodology of research follows principles of Piaget’s experiments in which the clinical method from psychiatry was adopted. In this sense, the instructional instance is a tool for obtaining information about cognitive processes. In the first stage, two instructional instances with eight voluntary participants were conducted, in which a problem about an inductively defined set is presented and some questions are posed. The analysis of the resp...

A Study about Students' Knowledge of Inductive Structures

Johann Schumann

2003, Journal of Functional Programming

AutoBayes: a system for generating data analysis programs from statistical models

Volker Weinberg

HPC Programming Techniques, PRACE-1IP D7.5

Midian Kurland

HAL is a multi-disciplinary open access archive for the deposit and dissemination of scientific research documents, whether they are published or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers. L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés. On the Cognitive Prerequisites of Learning Computer Programming Roy D. Pea, D. Midian Kurland

  •   We're Hiring!
  •   Help Center
  • Find new research papers in:
  • Health Sciences
  • Earth Sciences
  • Cognitive Science
  • Mathematics
  • Computer Science
  • Academia ©2023

PowerShow.com - The best place to view and share online presentations

  • Preferences

Free template

INTRODUCTION TO PROBLEM SOLVING - PowerPoint PPT Presentation

introduction to computer problem solving ppt

INTRODUCTION TO PROBLEM SOLVING

Introduction to problem solving engineers must analyze and solve a wide range of technical problems. some will be reasonably simple single-solution problems. – powerpoint ppt presentation.

  • Engineers must analyze and solve a wide range of technical problems. Some will be reasonably simple single-solution problems. Others will be open-ended and will likely require a team of engineers from several disciplines. Some problems may have no clear solution.
  • PROBLEM SOLVING INVOLVES
  • FOCUS Computer Assisted Problem Solving
  • Computers are good tools for solving rule-based problems using decision rules
  • SOME SAY ENGINEERING PROBLEM SOLVING REQUIRES A COMBINATION OF SCIENCE AND ART
  • Common-Sense
  • RECOGNIZE AND UNDERSTAND THE PROBLEM
  • GATHER DATA (AND VERIFY ITS ACCURACY)
  • SELECT GUIDING THEORIES AND PRINCIPLES
  • MAKE ASSUMPTIONS WHEN NECESSARY
  • SOLVE THE PROBLEM
  • VERIFY THE RESULTS
  • PRESENT THE SOLUTION
  • Create a new product
  • Invention/conceptualization
  • New/modified design of existing product
  • Cost reduction
  • Do it faster, cheaper, better
  • example Personal computers
  • Develop or change a procedure
  • Example Warehouse inventory -- Instead of having 3 month's inventory go to "just in time"
  • Human factors
  • Make our lives longer, better, easier
  • Examples cruise control, moving sidewalks, management tools
  • GIVENS The initial condition of the problem
  • OPERATIONS The various actions we are allowed to perform
  • GOALS The desired final condition of the problem
  • PROBLEM STATE The state of the problem at any specific point in time
  • SOLUTION Completely specified the GIVENS, OPERATIONS, GOALS, and succession of PROBLEM STATES to get to GOAL state
  • IDENTIFY THE PROBLEM
  • YOU CANT FIX IT IF YOU DONT KNOW WHAT IS BROKEN.
  • DETERMINE WHAT IS REQUIRED FOR THE SOLUTION
  • WHAT IS KNOWN?
  • WHAT IS UNKNOWN?
  • ANY RESTRICTIONS OR LIMITATIONS?
  • ANY SPECIAL CASES?
  • DEVELOP A STEP-BY-STEP PLAN (ALGORITHM).
  • HOW ARE YOU GOING TO FIX IT?
  • OUTLINE THE SOLUTION IN A LOGIC DIAGRAM
  • EXECUTE THE PLAN.
  • KEEP TRACK OF WHAT WORKS AND WHAT DOESNT.
  • ANALYZE THE SOLUTION
  • REVISE THE PLAN AND RE-EXECUTE AS NEEDED.
  • KEEP THE GOOD PARTS OF THE PLAN AND ALTER THE NOT-SO-GOOD ONES.
  • REPORT / DOCUMENT THE RESULTS
  • LET YOUR BOSS KNOW HOW YOUR IDEA WORKED ( in a written report ).
  • PROBLEM Keep food from spoiling
  • SOLUTION In 1809 Nicholas Appert invented a process for preserving food in glass bottles by filling them with water to kill the bacteria. He was awarded 12 000 francs by the French government.
  • In 1810 Appert wrote a book Lart de Conserver (very successful and profitable).
  • PROBLEM Bottles break easily.
  • SOLUTION Peter Durand (London) devised a sealed tin container.
  • PROBLEM How to open the tin. Soldiers used knives, bayonets, and even rifle fire. A tin of roast veal carried on one of William Parrys Arctic expeditions bore the instruction, Cut round on the top near the outer edge with a chisel and hammer. The can (iron) was .2 thick and weighed a pound (empty).
  • SOLUTION(S)
  • 1. Use steel (stronger and thinner).
  • 2. Create specialized tools for opening cans
  • 1858 Ezra Warner (Connecticut) got a patent for a can opener that was describes as Part bayonet, part sickle with a large curved blade.
  • 1870 William Lyman (Connecticut) patented a can opener with a wheel that revolved around a center hole punched in the can.
  • PROBLEM Lymans can opener had to be adjusted for each can size and the punching of the center hole had to be exact.
  • SOLUTION Modern style can opener was patented in 1925. There is still room for improvement.
  • PROBLEM Thin cans lacked stiffness and buckled.
  • 1. Add a rim at top and bottom.
  • 2. Corrugate the sides.
  • PROBLEM Beverage cans opened with can openers had jagged edges and too big an opening.
  • SOLUTION The Church Key can opener.
  • PROBLEM It kept getting lost or you didnt have it with you when you needed it.
  • SOLUTION Cans with discardable pull tabs, called pop tops.
  • PROBLEM What to do with pull tabs after removal?
  • Discard them? Littering
  • Make chains? Artistic
  • Drop them in the can? Dangerous
  • SOLUTION Pop tops that stay attached to the can.
  • PROBLEM Some people with long finger nails or weak, arthritic fingers cannot open them.
  • AND SO ON, AND ON, AND ON, AND ...
  • Problem Fill a bottle with stones
  • Instructions
  • Document any assumptions that may be required
  • Write a step-by-step procedure for solving the problem
  • Do this in pairs first then have a solution for your table
  • Assumptions
  • Bottle is present
  • Stones are present
  • There are enough stones to fill bottle
  • Bottle is empty (or at least not full)
  • Some (or all) stones fit through opening
  • 1. Set bottle upright near stones
  • 2. Check to see if bottle is full. If so, then go to Step 6
  • 3. Pick up a stone and try to put it in bottle
  • 4. If stone too large to fit, discard stone, and go to Step 3
  • 5. Otherwise, the stone fits, go to Step 2
  • In mathematics, computing, linguistics, and related disciplines, an algorithm is a finite list of well-defined instructions for accomplishing some task that, given an initial state, will terminate in a defined end-state.
  • Write a detailed set of instructions (algorithm) for replacing the tire and inner tube on the front wheel of a ten-speed bicycle. The bicycle has caliper brakes that must be loosened unless the tire is not inflated. It has standard (not quick release) hubs and no front fender. The axle may not be removed from the wheel because it contains bearings. The bicycle must be ready to ride when the work described in your algorithm is completed. Organize your detailed set of instructions into logical sub-tasks. Document any assumptions you make.
  • Your boss has asked you to instruct a new employee in the use of drawing instruments. Your task is to explain how to construct a polygon using drawing instruments. You have decided to start with construction of a regular dodecagon (12 sided polygon) using only a pencil, straightedge, and compass. Write an algorithm (a step by step procedure) to accomplish this task. Assume that the new employee has had no experience with the use of drawing instruments. You must specify which instruments are to be used. It may be useful to draw simple diagrams to help the new employee understand more easily.
  • In 1989, the National Academy of Engineering selected the 10 engineering achievements that it considered to be the most important accomplishments during the previous 25 years
  • Microprocessor
  • Moon landing
  • Application satellites
  • CAD(Computer Aided Design)/CAM(Computer Aided Manufacturing)
  • Advanced composite materials
  • CAT(Computer Axial Tomography)
  • Genetic engineering
  • Optical fiber
  • The Office of Science and Technology Policy in Washington, D.C. identified the grand challenges as part of a research and development strategy for high performance computing.
  • Prediction of weather, climate, and global change
  • Computerized speech understanding
  • Human Genome Project
  • Improvements in vehicle performance
  • Enhanced oil and gas recovery
  • strong communication skills for both oral presentations and for preparing written materials
  • the design/process/manufacture path, which consists of taking an idea from a concept to a product
  • cooperativeness in interdisciplinary team
  • to understand world marketplace
  • not only to analyze data, but synthesize a solution using many pieces of information
  • to consider their solutions in their social context

PowerShow.com is a leading presentation sharing website. It has millions of presentations already uploaded and available with 1,000s more being uploaded by its users every day. Whatever your area of interest, here you’ll be able to find and view presentations you’ll love and possibly download. And, best of all, it is completely free and easy to use.

You might even have a presentation you’d like to share with others. If so, just upload it to PowerShow.com. We’ll convert it to an HTML5 slideshow that includes all the media types you’ve already added: audio, video, music, pictures, animations and transition effects. Then you can share it with your target audience as well as PowerShow.com’s millions of monthly visitors. And, again, it’s all free.

About the Developers

PowerShow.com is brought to you by  CrystalGraphics , the award-winning developer and market-leading publisher of rich-media enhancement products for presentations. Our product offerings include millions of PowerPoint templates, diagrams, animated 3D characters and more.

chapter 1 an introduction to computers and problem solving

Chapter 1 - An Introduction to Computers and Problem Solving

Aug 06, 2014

740 likes | 1.09k Views

Chapter 1 - An Introduction to Computers and Problem Solving. 1.1 An Introduction to Computers 1.2 Windows, Folders, and Files 1.3 Program Development Cycle 1.4 Programming Tools. 1.1 An Introduction to Computers. Create and manage a list of friends' addresses and phone numbers

  • numbered nyc streets algorithm
  • different parts
  • pseudocode example
  • alt tools folder options
  • calculate loan
  • translation process

hali

Presentation Transcript

Chapter 1 - An Introduction to Computers and Problem Solving • 1.1 An Introduction to Computers • 1.2 Windows, Folders, and Files • 1.3 Program Development Cycle • 1.4 Programming Tools

1.1 An Introduction to Computers • Create and manage a list of friends' addresses and phone numbers • Calculate loan payments and amortization • Computations to support other course work

Communicating with the Computer • Machine language – low level, hard for humans to understand • Visual Basic – high level, understood by humans, consists of instructions such as Click, If, and Do

Compiler • A compiler translates a high-level language into machine language. • The Visual Basic compiler points out certain types of errors during the translation process.

Programming and Complicated Tasks • Tasks are broken down into instructions that can be expressed by a programming language • A program is a sequence of instructions • Programs can be only a few instructions or millions of lines of instructions

All Programs Have in Common: • Take data and manipulate it to produce a result • Input – Process – Output • Input – from files, the keyboard, or other input device • Output – usually to the monitor, a printer, or a file

Hardware and Software • Hardware – the physical components of the computer • Central processing unit • Disk drive • Monitor • Software – The instructions that tell the computer what to do

Programmer and User • Programmer – the person who solves the problem and writes the instructions for the computer • User – any person who uses the program written by the programmer • In this class, you are BOTH Programmer and User….NOT TYPICAL

Problem Solving • Developing the solution to a problem • Algorithm – a step by step series of instructions to solve a problem

Visual Basic 2010 • BASIC originally developed at Dartmouth in the early 1960s • Visual Basic created by Microsoft in 1991 • Visual Basic 2010 is similar to original Visual Basic, but more powerful • Released Last Summer (2010)

XP vs Vista vs Windows 7 XP Vista Windows 7

1.2 Windows, Folders, and Files • Windows and Its Little Windows • Mouse Actions • Files and Folders

Windows and Its Little Windows • Difference between Windows and windows. • Title bar indicates if window is active.

Mouse Actions: • Hover • Drag and drop • Click • Right-click • Double-Click

Files and Folders File: holds programs or data. Its name usually consists of letters, digits, and spaces. Folder: contains files and other folders (called subfolders).

Key Terms in using Folders and Files TermExample • Disk Hard disk, flash drive, DVD • File name Payroll • Extension .txt • Filename Payroll.txt • Path TextFiles\Payroll.txt • Filespec C:\TextFiles\Payroll.txt

Windows Explorer • Used to view, organize, and manage folders and files. • Manage: copy, move, delete

Invoking Windows Explorer • Right-click on Windows Start button • Click on Explore (or Open Windows Explorer) in context menu

Display File Extensions (Vista & Windows 7) • Click on Windows Start button. • Type Folder Options into Search box. • Press Enter key. • Click on View tab in dialog box. • Uncheck ″Hide extensions for known file types″. • Click on OK.

Display File Extensions (Vista & Windows 7 cont.)

Display File Extensions (XP) • Alt/Tools/Folder Options • Click the View tab. • Uncheck "Hide extensions for known file types“. • Click on OK.

1.3 Program Development Cycle • Performing a Task on the Computer • Program Planning

Terminology A computer program may also be called: • Project • Application • Solution

Program Development Cycle • Software refers to a collection of instructions for the computer • The computer only knows how to do what the programmer tells it to do • Therefore, the programmer has to know how to solve problems

Performing a Task on the Computer • Determine Output • Identify Input • Determine Processnecessary to turn given Input into desired Output

Problem-Solving: Approach Like Algebra Problem • How fast is a car traveling if it goes 50 miles in 2 hours? • Output: a number giving the speed in miles per hour • Input: the distance and time the car has traveled • Process: speed = distance / time

Pictorial representation of the Problem Solving Process

Program Planning • A recipe is a good example of a plan • Ingredients and amounts are determined by what you want to bake • Ingredients are input • The way you combine them is the processing • What is baked is the output

Program Planning (continued) • Always have a plan before trying to write a program • The more complicated the problem, the more complex the plan must be • Planning and testing before coding saves time

Program Development Cycle • Analyze: Define the problem. • Design: Plan the solution to the problem. • Choose the interface: Select the objects (text boxes, buttons, etc.).

Program Development Cycle (continued) • Code: Translate the algorithm into a programming language. • Test and debug: Locate and remove any errors in the program. • Complete the documentation: Organize all the materials that describe the program.

1.4 Programming Tools • Flowcharts • Pseudocode • Hierarchy Chart • Direction of Numbered NYC Streets Algorithm • Class Average Algorithm

Programming Tools Three tools are used to convert algorithmsinto computer programs: • Flowchart- Graphically depicts the logical steps to carry out a task and shows how the steps relate to each other. • Pseudocode- Uses English-like phrases with some Visual Basic terms to outline the program. • Hierarchychart - Shows how the different parts of a program relate to each other.

Algorithm A step-by-step series of instructions for solving a problem (a recipe is an example of an algorithm).

Problem Solving Example • How many stamps should you use when mailing a letter? • One rule of thumb is to use one stamp for every five sheets of paper or fraction thereof.

Algorithm • Request the number of sheets of paper; call it Sheets. (input) • Divide Sheets by 5. (processing) • Round the quotient up to the next highest whole number; call it Stamps. (processing) • Reply with the number Stamps. (output)

Flowchart Graphically depicst the logical steps to carry out a task and show how the steps relate to each other.

Flowchart Symbols

Flowchart Symbols (continued)

Flowchart Example

Pseudocode Uses English-like phrases with some Visual Basic terms to outline the task.

Pseudocode Example Determine the proper number of stamps for a letter Read Sheets (input) Set the number of stamps to Sheets / 5 (processing) Round the number of stamps up to the next whole number (processing) Display the number of stamps (output)

HierarchyChart • Shows how the different parts of a program relate to each other Hierarchy charts are also called • structure charts • HIPO (Hierarchy plus Input-Process-Output) charts • top-down charts • VTOC (Visual Table of Contents) charts

Hierarchy Charts Example

Divide-and-ConquerMethod • Used in problem solving – take a large problem and break it into smaller problems • Solve the small problems first

Statement Structures • Sequence – execute instructions from one line to the next without skipping over any lines • Decision - if the answer to a question is “Yes” then one group of instructions is executed. If the answer is “No,” then another is executed • Looping – a series of instructions are executed repeatedly

Sequence Flow Chart

Decision Flow Chart

Looping Flow Chart

Direction of Numbered NYC Streets Algorithm • Problem: Given a street number of a one-way street in New York City, decide the direction of the street, either eastbound or westbound • Discussion: in New York City even numbered streets are Eastbound, odd numbered streets are Westbound

  • More by User

Chapter 1 Introduction to Computers

Chapter 1 Introduction to Computers

Chapter 1 Introduction to Computers Chapter 1 Objectives Next Recognize the importance of computer literacy Identify the types of software Define the term computer and identify its components Describe the categories of computers Explain why a computer is a powerful tool

1.72k views • 44 slides

Chapter 1 Introduction to Computers

Chapter 1 Introduction to Computers Chapter 1 Objectives Next Recognize the importance of computer literacy Describe the categories of computers Identify the components of a computer Identify the types of computer users Discuss the uses of the Internet and World Wide Web

1.01k views • 48 slides

Chapter 1 Introduction to Computers

Chapter 1 Introduction to Computers Chapter 1 Objectives Next Recognize the importance of computer literacy Distinguish between system software and application software Define the term, computer Describe the categories of computers Identify the components of a computer

763 views • 48 slides

Chapter 1 Introduction to Computers

Chapter 1 Introduction to Computers CHAPTER 1 OBJECTIVES Recognize the importance of computer literacy Identify the components of a computer Discuss the uses of the Internet and World Wide Web Identify the types of software Describe the categories of computers

732 views • 22 slides

Chapter 1 Introduction to Computers

Chapter 1 Introduction to Computers. A World of Computers. Next. What is computer literacy ?. Knowledge and understanding of computers and their uses. Computers are everywhere. p. 4-5 Fig. 1-1. What Is a Computer?. Processes data into information

911 views • 47 slides

Chapter 1 Introduction to Computers

Chapter 1 Introduction to Computers. Chapter 1 Objectives. Next. Recognize the importance of computer literacy. Describe the categories of computers. Identify the components of a computer. Identify the types of computer users. Discuss the uses of the Internet and World Wide Web.

787 views • 47 slides

Chapter 1 Introduction to Object-Oriented Programming and Problem Solving

Chapter 1 Introduction to Object-Oriented Programming and Problem Solving

Chapter 1 Introduction to Object-Oriented Programming and Problem Solving. Knowledge Goals. Understand what a computer program is Know the three phases of the software life cycle Understand what an algorithm is Learn what a high-level programming language is

1.07k views • 57 slides

Introduction to Computers Chapter 1

Introduction to Computers Chapter 1

Introduction to Computers Chapter 1. By: Nicholas Smalarz Chris Cahill Daniel Upbin. Outline. What is Computer? Components of a Computer Why is a Computer so Powerful? Computer Applications and Society Examples of Computer Usage Networks and Internet Computer Software

460 views • 21 slides

Chapter 1 Introduction to Computers

Chapter 1 Introduction to Computers. Chapter 1 Learning Objectives. Recognize the importance of computer literacy. Define the term computer and identify its components. Explain why a computer is a powerful tool. Recognize the purpose of a network.

565 views • 46 slides

Chapter 1 Introduction to Computers

Chapter 1 Introduction to Computers. A World of Computers. Notable Technology Prognostications “I think there is a world market for maybe five computers.” Thomas Watson, Chairman of IBM, 1943 “Computers in the future may weigh no more than one and a half tons.” Popular Mechanics, 1949

648 views • 32 slides

Chapter 1 Introduction to Computers

Chapter 1 Introduction to Computers. Chapter 1 Objectives. Next. Recognize the importance of computer literacy. Distinguish between system software and application software. Define the term, computer. Describe the categories of computers. Identify the components of a computer.

631 views • 48 slides

Chapter 1 Introduction to Computers

Chapter 1 Introduction to Computers. Business Technology Applications Mrs. Janet Wilson. BEFORE ACTIVITY. BRAINSTORM What are some advantages and disadvantages of using a computer??. 1. Explain why computer literacy is vital to success in today’s world

252 views • 12 slides

An Introduction to Problem solving

An Introduction to Problem solving

An Introduction to Problem solving. Fruit Problem.

484 views • 20 slides

An Introduction to Problem Solving

An Introduction to Problem Solving

An Introduction to Problem Solving. 1. What is 110% of 200? (Similar to p.70 #28). 2. 30 is 70% of what? (Similar to p.70 #30). 3. 50 is what percent of 400? (Similar to p.70 #32).

287 views • 16 slides

Chapter 1 - An Introduction to Computers and Problem Solving

Chapter 1 - An Introduction to Computers and Problem Solving. 1.1 An Introduction to Computing and Visual Basic 1.2 Program Development Cycle 1.3 Programming Tools. Communicating with the Computer. Machine language – low level, hard for humans to understand

583 views • 42 slides

Chapter 1 Introduction to Computers

Chapter 1 Introduction to Computers. Maran Illustrated Computers CIS 102. Hardware. Software. Getting Help. How Computers Work in General. Input devices. Process (CPU). Output. Storage device. Data representation in Bytes. Computer Memory.

753 views • 57 slides

Chapter 1 Introduction to Computers

480 views • 47 slides

Chapter 1 - An Introduction to Computers and Problem Solving

Chapter 1 - An Introduction to Computers and Problem Solving. 1.1 An Introduction to Computing and Visual Basic 1.2 Program Development Cycle 1.3 Programming Tools. 1.1 An Introduction to Computing and Visual Basic. Miscellaneous Questions. Communicating with the Computer.

475 views • 47 slides

Chapter 1 Introduction to Computers

250 views • 21 slides

IMAGES

  1. PPT

    introduction to computer problem solving ppt

  2. PPT

    introduction to computer problem solving ppt

  3. PPT

    introduction to computer problem solving ppt

  4. PPT

    introduction to computer problem solving ppt

  5. PPT

    introduction to computer problem solving ppt

  6. PPT

    introduction to computer problem solving ppt

VIDEO

  1. solving Rubik's in 2 moves #shorts #viral #trending #youtubeshorts

  2. Uses of internet ppt

  3. Disadvantages Of Computer || By Rahul || Sharp Your Basics

  4. 1 INTRODUCTION TO ACCOUNTING

  5. L2 PROGRAMMING FOR PROBLEM SOLVING INTRO

  6. Computer Literacy

COMMENTS

  1. Unit 1. Problem Solving with Computer

    Unit 1. Problem Solving with Computer Feb. 29, 2016 • 30 likes • 35,129 views Download Now Download to read offline Education Problem analysis, Algorithms and Flowchart, Coding, Compilation and Execution, History of C, Structure of C program, Debugging, Testing and Documentation https://github.com/ashim888/csit-c

  2. PDF An Introduction to Computer Science and Problem Solving

    Chapter 1 An Introduction to Computer Science and Problem Solving What is in This Chapter ? This first chapter explains what computer science is all about. It will help you understand that the goal of a computer scientist is to solve problems using computers.

  3. PPT Problem Solving for Computer Science

    Literature Results 3 Code-review task (bug fixing) F T N 8.71 9.10 S 4.27 6.62 5 Habits of Highly INeffective Programmers Design with less than total focus Disorganized code Style, comments, design Bite off more than you can chew During implementation Debug in a random walk Program/debug In zombie mode a.k.a Don't start early enough 7 Habits ...

  4. Lecture 3: Problem Solving

    MIT OpenCourseWare is a web based publication of virtually all MIT course content. OCW is open and available to the world and is a permanent MIT activity

  5. Problem solving using Computer

    Jul. 19, 2013 • 10 likes • 9,909 views. Download Now. Download to read offline. Education. Technology. A presentation on problem solving techniques. D. David Livingston J Follow. Problem solving using Computer - Download as a PDF or view online for free.

  6. 1 introduction to problem solving and programming

    4.Data Structures and Algorithms Difficulties with Problem Solving a when choosing the best alternative, you might eliminate good alternatives or list the pros and cons too hastily a may not use a logical sequence of steps in your solution a takes practice and time to perfect a one of the most difficult tasks for the problem solver is writing the instructions a assume the computer knows ...

  7. UNIT 1

    Problem solving (with in the context of developing programs) refers to analyzing a problem with the intention of deriving a solution for the problem. Using computer's in problem solving. Software development method (SDM). Consists of the following steps:

  8. (PPT) lesson 1-Introduction to computers.pptx

    These are 1) it accepts data or instructions by way of input, 2) it stores data, 3) it can process data as required by the user, 4) it gives results in the form of output, and 5) it controls all operations inside a computer. We discuss below each of these operations. 1. Input: In computing, an input device is any peripheral (piece of computer ...

  9. Lecture Slides

    The quintessential problem-solving model is known as linear programming, and the simplex method for solving it is one of the most widely used algorithms. In this lecture, we given an overview of this central topic in operations research and describe its relationship to algorithms that we have considered. Table of lectures.

  10. HarvardX: CS50's Introduction to Computer Science

    This is CS50x, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming for majors and non-majors alike, with or without prior programming experience.An entry-level course taught by David J. Malan, CS50x teaches students how to think algorithmically and solve problems efficiently. Topics include abstraction, algorithms, data structures ...

  11. PPT

    Chapter 1 - An Introduction to Computers and Problem Solving • 1.1 An Introduction to Computing and Visual Basic • 1.2 Program Development Cycle • 1.3 Programming Tools. Communicating with the Computer • Machine language - low level, hard for humans to understand • Visual Basic - high level, understood by humans, consists of instructions such as Click, If, and Do

  12. 11 Unit 1 Problem Solving Techniques

    Aug. 22, 2018 • 6 likes • 2,549 views. Download Now. Download to read offline. Education. 11 Unit 1 Problem Solving Techniques According to new CBSE class XI Syllabus 2018-19. praveenjigajinni Follow. 11 Unit 1 Problem Solving Techniques - Download as a PDF or view online for free.

  13. PPT

    1 Introduction to Computers, Problem Solving, and Programming Chapter 1 2 1.1 Overview of Computers Computer - A device for counting or computing Dr. John Atanasoff - 1st computer. ENIAC 1946 at U of Penn Dr. John Von Neumann - Princeton Stored program concept Memory rather than wires and switches. Computing History 3 Overview of Computers

  14. (PPT) 1 Steps in problem solving

    A framework for an integrated problem solving and program development environment that addresses the needs of students learning programming is proposed. Several objectives have been accomplished: defining the tasks required for program development and a literature review to determine the actual difficulties involved in learning those tasks.

  15. PPT

    Problem Solving 1.1 An Introduction to Computers 1.2 Windows, Folders, and Files 1.3 Program Development Cycle 1.4 Programming Tools 2 Communicating with the Computer Machine language low level, hard for humans to understand Visual Basic high level, understood by humans, consists of instructions such as Click, If, and Do 3 Compiler

  16. PROBLEM SOLVING POWERPOINT

    Problem Solving PowerPoint Presentation Content slides include topics such as: teaching problem solving skills, evaluating how you solve problems, understanding the process: how to solve problems, 8 active listening techniques, primary issues for problem solvers, group or individual brainstorming, the problem solving framework, vertical and late...

  17. INTRODUCTION TO PROBLEM SOLVING

    1 INTRODUCTION TO PROBLEM SOLVING Engineers must analyze and solve a wide range of technical problems. Some will be reasonably simple single-solution problems. Others will be open-ended and will likely require a team of engineers from several disciplines. Some problems may have no clear solution. 2 INTRODUCTION TO PROBLEM SOLVING

  18. Chapter 7 basics of computational thinking

    Introduction to computer class 7 Dr. Mazin Mohamed alkathiri. 5.4K views • 21 slides. Chapter Introduction to Modular Programming.ppt AmanuelZewdie4. ... (CT) is a problem solving process that includes a number of characteristics and dispositions. CT is essential to the development of computer applications, but it can also be used to support ...

  19. PPT

    Introduction to Computer ProgrammingProblem Solving & Algorithms Muhammad AdnanTalib Lec#4 27th Sep,2012 Computer Science Department COMSATS Institute of Information Technology Sahiwal Problem Solving • Problem Solving is a key factor of human intelligence • Consider the example. Problem Solving • From our daily life experience we know that the best way to solve a problem is to divide it ...

  20. PPT

    Introduction to Problem Solving • Programming is a problem solving activity. When you write a program, you are actually writing an instruction for the computer to solve something for you. • Problem solving is the process of transforming the description of a problem into asolution by using our knowledge of the problem domain and by relying on our ability to select and use appropriate ...

  21. PPT

    Computer Problem • Utilize computer to solve the real world problem.The real world problem is called Computer Problem. This is the meaning of Computer problem in our class we have to solve. Computer Problem Problem: find the largest number between three number (12, 15, 18) Human:a primary student knows it is 18. Computer: zzzZZZZZ~~~~~~ NO IDEA.

  22. PPT

    PPT - Introduction to Problem Solving PowerPoint Presentation, free download - ID:2087628 Presentation Download 1 / 19 Download Presentation >> Introduction to Problem Solving Jul 21, 2014 1.09k likes | 3.86k Views Introduction to Problem Solving. Psychology 355: Cognitive Psychology Instructor : John Miyamoto 05/27 /2014: Lecture 09-1.

  23. PPT

    CIS 115 Lecture 1 Introduction to Programming and Problem Solving Parts of a Computer System: • Hardware: Electronic Devices • Software: Instructions and Computer Programs Hardware • Input : Keyboard, Mouse • System unit: • Random Access Memory (RAM) • Central Processing Unit (CPU) • Output: Monitor, Printer • Secondary Storage: Disk Drive

  24. PPT

    Chapter 1 - An Introduction to Computers and Problem Solving • 1.1 An Introduction to Computers • 1.2 Windows, Folders, and Files • 1.3 Program Development Cycle • 1.4 Programming Tools. 1.1 An Introduction to Computers • Create and manage a list of friends' addresses and phone numbers • Calculate loan payments and amortization • Computations to support other course work