UNIT-3 PROBLEM SOLVING AND OFFICE AUTOMATION

Similar documents
FUNDAMENTALS OF COMPUTING & COMPUTER PROGRAMMING UNIT III. 2 Marks PROBLEM SOLVING AND OFFICE AUTOMATION

PROBLEM SOLVING AND OFFICE AUTOMATION. A Program consists of a series of instruction that a computer processes to perform the required operation.

Chapter 1 INTRODUCTION TO COMPUTER AND PROGRAMMING

SNS COLLEGE OF ENGINEERING,

FLOW CHART AND PSEUDO CODE

بسم اهلل الرمحن الرحيم

Pseudo Code and Flow Charts. Chapter 1 Lesson 2

Computer System and programming in C

PROGRAM DESIGN TOOLS. Algorithms, Flow Charts, Pseudo codes and Decision Tables. Designed by Parul Khurana, LIECA.

Unit-II Programming and Problem Solving (BE1/4 CSE-2)

PSEUDOCODE AND FLOWCHARTS. Introduction to Programming

UNDERSTANDING PROBLEMS AND HOW TO SOLVE THEM BY USING COMPUTERS

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Unit II. (i) Computer Programming Languages

PROBLEM SOLVING AND PYTHON PROGRAMMING

Class 8 ALGORITHMS AND FLOWCHARTS. The City School

A flow chart is a graphical or symbolic representation of a process.

PROBLEM SOLVING TECHNIQUES

C++ Programming Language Lecture 2 Problem Analysis and Solution Representation

CHAPTER 2 PROBLEM SOLVING TECHNIQUES. Mr Mohd Hatta Bin Hj Mohamed Ali Computer Programming BFC2042

Outline. Program development cycle. Algorithms development and representation. Examples.

GRADE VIII MODEL PAPER 2017 COMPUTER EDUCATION

CS111: PROGRAMMING LANGUAGE1. Lecture 2: Algorithmic Problem Solving

SME1013 PROGRAMMING FOR ENGINEERS

Notes By: Shailesh Bdr. Pandey, TA, Computer Engineering Department, Nepal Engineering College

Flowchart & Algorithm

Chapter 1: An Overview of Computers and Logic

ITEC102 INFORMATION TECHNOLOGIES

Algorithms Flowcharts And Pseudocode An Algorithm Baking

ITC213: STRUCTURED PROGRAMMING. Bhaskar Shrestha National College of Computer Studies Tribhuvan University

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

IDENTIFY WAYS OF REPRESENTING ALGORITHMS.

Microsoft Office Excel 2007

A Quick Review of Chapter 1

Microsoft Visual Basic 2005: Reloaded

Problem Solving Footer Text 10/30/2015 1

depicts pictorially schematic representation of an algorithm document algorithms. used in designing or documenting

CS 199 Computer Programming. Spring 2018 Lecture 2 Problem Solving

Introduction. Basic computer operations: Application of computer:

Programming Logic Beginning

Chapter Two: Program Design Process and Logic

ALGORITHMS AND FLOWCHARTS

The sequence of steps to be performed in order to solve a problem by the computer is known as an algorithm.

Problem Solving FLOWCHART. by Noor Azida Binti Sahabudin Faculty of Computer Systems & Software Engineering

Systems Development and Documentation Techniques. Lecture 2. (Chapter 3)

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

Introduction to Computers

Lesson 1. Introduction to Programming OBJECTIVES

Chapter 2: Input, Processing, and Output

SKILL AREA 306: DEVELOP AND IMPLEMENT COMPUTER PROGRAMS

Computers Programming Course 6. Iulian Năstac

KIHARU/KAHURO DISTRICT JOINT EXAMINATION 2013

Computer Fundamentals

Programming Logic - Beginning

3. Introduction to Algorithm and Flowchart

Constructing Algorithms and Pseudocoding This document was originally developed by Professor John P. Russo

1. The narratives, diagrams, charts, and other written materials that explain how a system works are collectively called

Job Ready Assessment Blueprint. Computer Programming. Test Code: 3023 / Version: 01

FLOWCHARTS A flowchart is a graphical representation of the steps to be followed for solving problem. It consists of a set of symbols.

Structured Program Development in C

Guided Problem Solving

CHAPTER 1: PROGRAM DEVELOPMENT LIFE CYCLE. Prepared for: CSC 128 Fundamentals of Computer Problem Solving

Chapter 3 Syntax, Errors, and Debugging. Fundamentals of Java

Chapter 3: Describing Syntax and Semantics. Introduction Formal methods of describing syntax (BNF)

VG Series Products Mass Interconnect Technologies

Algorithms and Flowcharts

PRINCIPLES OF COMPILER DESIGN UNIT I INTRODUCTION TO COMPILING

G.KAMALAKANNAN MCA., M.Tech., (PhD) HQMHSS, Chromepet, Chennai. Page

Pseudocode Structure 5th October 2018

Introduction to Flowcharting

Computer Programming-1 CSC 111. Chapter 1 : Introduction

Steps to program development

C++ Programming: From Problem Analysis to Program Design, Third Edition

OBJECT ORIENTED SIMULATION LANGUAGE. OOSimL Reference Manual - Part 1

7/8/10 KEY CONCEPTS. Problem COMP 10 EXPLORING COMPUTER SCIENCE. Algorithm. Lecture 2 Variables, Types, and Programs. Program PROBLEM SOLVING


PREMOCK GCE EXAMINATIONS

Reg. No. : Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, JANUARY First Semester GE 6151 COMPUTER PROGRAMMING

CSC 121 Spring 2017 Howard Rosenthal

Programming Language 2 (PL2)

Vanavani Mat. Hr. Sec. School. Subject : Computer Science Std: XI. Quarterly Exam Key

Simply Java Programming: An Application Driven, Tutorial

Spelling-Punctuation-Grammar Subject How will you promote high standards within this module? Term Duration (approx.)

Chapter 1 - An Introduction to Computers and Problem Solving

Chapter 2: Algorithm Discovery and Design. Invitation to Computer Science, C++ Version, Fourth Edition

INTENDED LEARNING OUTCOMES

PROGRAM DESIGN TOOLS. Algorithms, Flow Charts, Pseudo codes and Decision Tables. Designed by Parul Khurana, LIECA.

Syntax. A. Bellaachia Page: 1

Visual Basic Course Pack

Python - Week 1. Mohammad Shokoohi-Yekta

COMPUTING Syllabus Version 1.0

Slide 1. Slide 2. Slide 3. General Problem-Solving. Find the Weight of the Block. General_Problem_Solving_slides.docx 9/7/07 MET 107

ME 365 EXPERIMENT 3 INTRODUCTION TO LABVIEW

Chapter 1: Problem Solving Skills Introduction to Programming GENG 200

EKT 120/4 Computer Programming KOLEJ UNIVERSITI KEJURUTERAAN UTARA MALAYSIA

COP 3402 Systems Software. Lecture 4: Compilers. Interpreters

GE PROBLEM SOVING AND PYTHON PROGRAMMING. Question Bank UNIT 1 - ALGORITHMIC PROBLEM SOLVING

Microsoft Visual Basic 2015: Reloaded

Model Viva Questions for Programming in C lab

Software Development. Designing Software

Transcription:

UNIT-3 PROBLEM SOLVING AND OFFICE AUTOMATION 1. PLANNING THE COMPUTER To solve a problem using computer, three phases are necessary. They are i. Identifying the purpose i. Identifying the purpose ii. Developing a program iii. Executing the program First stage of problem solving Focus on understanding the problem Two activities are performed. They are Identifying Parameters and Constraints Collecting Information ii. Developing a Program After analyzing the problem, user has to plan for developing the program. For developing, the following activities are needed Identifying the logical structure Writing algorithm to list the various steps Drawing flowchart to represent the flow of information Writing pseudocode to specify the programming specifications. Writing the computer program Program code should be syntactically and semantically correct. Debugging the program Apply debugging techniques for removing errors. iii. Executing the program After developing an error free program,it needs to be executed in order to view the solution of the original problem. 2. ALGORITHMS Algorithm is one of the most basic tools to develop the problem. They are not computer programs and cannot be executed.

An algorithm is defined as a finite sequence of explicit instructions that, when provided with a set of input value produces an output and then terminates. After finite number of steps, solution of the problem is achieved. Algorithm Properties Must be no ambiguity in any instruction Should not be any uncertainity about which instruction is to be executed next. Algorithm should conclude after a finite number of steps. Algorithm cannot be open ended. Algorithm must be general enough to deal with any contingency. Example: Algorithm for determining the largest number, out of three numbers A,B,C Step 1: Start Step 2: Read the numbers A,B,C Step 3: Find the larger number between A and B and store it in MAX_AB Step 4: Find the larger number between MAX_AB and C and store it in MAX Step 5: Display MAX Step 6: Stop. 3. FLOWCHARTS A flowchart is a pictorial representation of an algorithm in which the steps are drawn in the form of different shapes of boxes and the logical flow is indicated by interconnecting arrows. It is used to understand the logic of the program. Boxes represent operation and the arrows represent the sequence in which the operations are implemented. Flowchart Symbols Symbol Symbol name Description Flow lines Connect symbols, indicates sequence of steps and direction of flow of control. Terminator representing beginning, end, pause

Input/output input, output values representation Processing Arithmetic and data movement instructions. Decision decision to be made Connector joins different flow lines Off page connector flowchart continues on next page Document paper document produced during flowchart process Manual Input input given by a developer or programmer Manual operation process has to be done by developer/programmer Online storage online data storage such as hard disks, magnetic drums. Magnetic disk data input and output from and to a magnetic disk.

Benefits of Flowchart Makes logic clear Communication Efficient Analysis Useful in coding Proper testing and debugging Appropriate documentation Limitations of Flowchart Complex for large programs Costly Difficult to modify No update Example: Flowchart for larger of 2 numbers Start Read A,B No Is A>B yes Output B Output A Stop

4. PSEUDOCODE Pseudo means imitation and code refers to instruction, written in a programming language. It is not real programming code, but it models and look like real code. It represents a generic way of describing al algorithm without using any specific programming language related notations. It is also known as Program Design Language (PDL). It provides high level description of an algorithm. It uses some keywords like Input-READ.OBTAIN, GET, PROMPT Output-PRINT,DISPLAY,SJOW Compute-COMPUTE,CALCULATE,DETERMINE Initialise-SET, INITIALISE Add one-increment If the pseudocode is once accepted,it is transformed into actual programming code. Example: Pseudocode for calculating area of a rectangle. PROMPT the user to enter the height of the rectangle. PROMPT the user to enter the width of the rectangle. COMPUTE the area by multiplying height with width. DISPLAY the area. STOP Pseudocode Guidelines Its not a difficult task. Statements should be written in simple English and the statements are programming language independent Pseudocode describes only logic and not programming Steps must be understandable. Should be concise. Instruction should be written in separate line. Benefits of Pseudocode It is language independent,so it can be used by most programmers. Easy to develop No need of syntax East to translate pseudocode into a programming language

Use of words and phrases It is compact and does not tend to run over many pages. Limitations of Pseudocode It does not provide visual representation of the programming logic There is no accepted standard for writing pseudocodes. They cannot be compiled and executed. There is no real formatting or syntax rules. 5. APPLICATION SOFTWARE PACKAGES Application software is software that helps a user to perform a specific task on the computer. Eg: MS word, MS Excel, MS Power point. Application Software is classified into types. They are General Application Software- software is designed based on the general requirements of the users. Customized Application Software- software is designed based on the requirements of the specific group of users. It is also known as tailor-made application software. Many application software are bundled together and collectively they can be used to accomplish specific tasks is known as application packages or application suites. Eg: MS office which comprises of, Classification of Application Software Enterprise Software Enterprise infrastructure Software Educational Software Product Engineering Software Content access Software Simulation Software Information worker Software Media development Software Word processor Spread sheet package Other application software

6. INTRODUCTION TO OFFICE PACKAGES Perform routine office related tasks. Common tasks are, Preparing documents,letters,memos,invoices. Preparing worksheets,financial statements etc. Preparing company presentations and product presentations. Microsoft launched MS office suite which comprises of word processor, spreadsheet package, presentation software,database package. Other office packages are open office,google docs,lotus Smart Suite.