GEOS Chem Adjoint V8

Size: px
Start display at page:

Download "GEOS Chem Adjoint V8"

Transcription

1 GEOS Chem Adjoint V8 Flowchart descriptions of Inverse_driver.f Geos_chem_mod.f Chemistry_mod.f Chemdr.f Geos_chem_adj.f Jan/21, 2010 Meemong Lee

2 Shape & Color convention File Process Function calls Macro Operation IF branch Step1 Step2

3 Input.geos READ_INPUT_FILE Inverse_driver.f Input.gcadj READ_INPUT_ADJ_FILE Log_opt ITER N_CALC_STOP = ITER LOG_OPT? Y N SET_LOG_SF SET_SF INIT_SETULB INIT_INVERSE INIT_ADJ_ARRAYS Forward mode N_CALC_STOP == 0? N Y DO_GEOS_CHEM MAKE_SF_FILE N LADJ? Y Log_opt GET_X_FROM_SF Optimization Loop ITER = 0 : FWD only ITER = 1 : FWD + ADJ ITER >= 2 : Optimization loop + FWD + ADJ Optimization loop iterates ITER and increments it by one. CLOSE_FILES CLEANUP CLEANUP_ADJ ITER ITER = N_CALC_STOP +1

4 Optimization Loop ITERATE? SETULB N TASK == FG? LFDTEST && N_CALC > 1 SET_SF_FORFD N_CALC += 1 N_CALC == 1 Log_opt TASK == NEW_X? Y GET_SF_FROM_X N_CALC < N_CALC_STOP N SET_SF TASK == STOP? Y GET_SF_FROM_X DO_GEOS_CHEM Exit READ_GDT_FILE READ_CFN_FILE GET_GRADNT_FROM_ADJ!LFDTEST N_CALC_STOP == 1 N STT_ADJ_FD =ICS_SF_ADJ Y LFDTEST & LICS DO_GEOS_CHEM_ADJ STT_ADJ_FD STT_ADJ_FD =EMS_SF_ADJ Y LFDTEST & LADJ_EMS SET_OPT_RANGE MAKE_GDT_FILE MAKE_SF_FILE MAKE_CFN_FILE COST_FUNC_SAVE(N_CALC) = COST_FUNC MAKE_SAT_DIAG_FILE

5 DO_GEOS_CHEM

6 SET_DIRECTION(1) GEOS_Chem_mod.f INITIALIZE PROCESS OPEN/GET MET FIELDS AVGPOLE SET_FLOATING_PRESSURE AIRQNT RDLAND DO_PBL_MIX WRITE DIAGNOSTICS N LADJ Restart File READ MET FILES READ_RESTART_FILE Y DYNAMIC TIME STEP INIT_CHECKPT READ_RESTART_FILE APPLY_IC_SCALING Forward Loop ARCHIVE DIAGNSTICS COPY_I6_FIELDS CLEANUP & QUIT

7 INITIALIZE PROCESS INIT_DAO INITIALIZE(2) INITIALIZE(3) INIT_PRESSURE Step1!LVARTROP READ_TROPOPAUSE Step2 LEMIS LCHEM ITS_A_FULLCHEM _SIM INIT_COMOD ITS_A_AEROSOL_ SIM INIT_COMOD Step3!LADJ ITS_A_CH4_ SIM INIT_GLOBAL_CH4 Step4 LMEGAN INIT_MEGAN INITIALIZE(2) INITIALIZE(3)

8 READ MET FIELDS Step1 UNZIP && TIME_FOR_UNZIP UNZIP MET FIELDS Step2 UNZIP && TIME_FOR_DEL REMOVE MET FIELDS Step3 ITS_Time_FOR_A3 OPEN_A3_FIELDS_ADJ GET_A3_FIELDS Step4 ITS_Time_FOR_A6 OPEN_A6_FIELDS_ADJ READ_ A6_FIELDS_ADJ Step5 ITS_Time_FOR_I6 COPY_I6_FIELDS_ADJ OPEN_I6_FIELDS_ADJ GET_I6_FIELDS_1_ADJ Step6 LCHEM && NEW MONTH READ_UV_ALBEDO

9 DYNAMIC TIMESTEP Step1 FULL_CHEM_SIM TAGCO_SIM LEMIS && NEW_SEASON ANTHROEMS Step2 INTERPOLATE Step3 LUPBD DO_UPBDFLX Step4 DYNAMICS-FWD CONVECTION-FWD EMISSIONS-FWD Step5!LADJ && CH4_SIM CH4_AVGTP Step6 ITS_TIME_CHEM SET_CT_CHEM DO_CHEMISTRY Step7 LWETD && ITS_TIME_DYN DO_WETDEP Step8 LADJ DO_OUTPUT

10 Step1 NEW_DAY INTERPOLATE RDLAI LMEGAN RDISOLAI UPDATE_T_25_AVG Step2 INTERP FULL_CHEM H2HD_SIM RDSOIL Step3 LVARTROP CHECK_VAR_TROP Step4!LTRAN SET_FLOATING_PRESSURE Step5 AIRQNT COSSZA Step6 ND55 TROPOPAUSE Step7 SET_CT_DYN DIAG_2PM Step8 TIME_FOR_UNIT CONVERT_UNITS

11 DYNAMICS-FWD Transport Zme step = 30 ITS_Time_DYN LTRAN DO_TRANSPORT AIRQNT LUPBD && FULL_CHEM_SIM UPBDFLX_NOY(2) MAKE_RH LCONV LWETD LSULF INIT_WETSCAV

12 CONVECTION-FWD ConvecZon Zme step = 30 ITS_Time_CONV SET_CT_CONV DO_PBL_MIX LADJ Y CALL_CHK_CON_FILE LCONV Y DO_CONVECTION EMISSION-FWD Emission Zme step = 60 ITS_Time_EMIS SET_CT_CONV LDRYD && H2HD_SIM Y DO_DRYDEP LEMIS Y DO_EMISSION

13 DO_CHEMISTRY

14 chemistry_mod.f! A_CH4_SIM Y OPTDEPTH 3 A_FULLCHEM_SIM FULL_CHEM_SIM (next page+1 LADJ_CHEM 10 AN_AEROSOL_SIM AEROSOL_SIM (next page) 1 A_RnPbBe_SIM CHEMRnPbBe DRYFLXRnPbBe 2 A_CH3I_SIM CHEMCH31 4 A_HCN_SIM CHEM_HCN_CH3CN 6 A_TAGOX_SIM CHEM_TAGGED_OX 7 A_TAGCO_SIM CHEM_TAGGED_CO_ADJ 8 A_C2H6_SIM CHEM_C2H6 9 A_CH4_SIM CHEM_CH4 11 A_MERCURY_SIM CHEM_MERCURY 13 A_H2HD_SIM CHEM_H2_HD DRYFLXH2HD

15 AEROSOL_SIM AEROSOL_RURALBOX FIRST READER READCHEM INPHOT AEROSOL_CONC RDAER!LCRYST DO_RPMARESS LSSALT CHEMSEASALT LSULF or LCRYST CHEMSULFATE LCARB CHEMCARBOM (organic) LDUST CHEMDUST RDUST_ONLINE (SOILDUST)

16 FULL_CHEM_SIM CHEMDR LSULF CHEMSULFATE LAERO_THERM DO_RPMARES LCARB CHEMCARBON DRYFLX DIAGOH

17 MAKE_AVGW chemdr.f READER READCHEM FIRSTCHEM CH4>0 INPHOT INPHOT(LLTROP, NPHOT) SETTRACE (LLRTOP, NPHOT) SETEMDEP(N_TRACERS) (N_TRACERS) GET_GLOBAL_CH4 LSVCSPEC READ_CSPEC_FILE GASCONC LSULF LCARB LDUST LSSALT AEROSOL_CONC SETEMIS(EMISRR, EMISRRN) RDAER FAST_J PHYSPROC(SUNCOS, SUNCOSB) GCKPP_ADJ_DRIVER(forward) LUMP DO_DIAG_OH LDUST Y N RDUST_ONLINE(SOILDUST) RDUST_OFFLINE(SOILDUST) LVARTROP LSVCSPEC SAVE_FULL_TROP

18 GEOS_CHEM_ADJ

19 SET_DIRECTION(-1) INIT_WEIGHT SET_CURRENT_TIME RESCALE_ADJOINT GEOS_Chem_adj.f Inverse Dynamic Loop MN_ADJ = FINAL ELAPSED TIME N LOG_OPT LOG_RESCALE_ADJOINT MIN_ADJ > o N LAPSRC N SET_ELAPSED_MIN_ADJ SET_CURRENT_TIME CALC_APRIORI EXIT LOAD_CHECKPT_DATA ITS_Time_OBS N READ MET FILES CALC_ADJ_FORCE_FOR_OBS AIRQNT COSSZA DO_PBL_MIX ADJOINT PROCESS MN_ADJ = GET_TS_DYN()

20 READ MET FILES Step1 ITS_Time_FOR_I6 COPY_I6_FIELDS_ADJ OPEN_I6_FIELDS_ADJ GET_I6_FIELDS_1_ADJ AVGPOLE Step2 ITS_Time_FOR_A6 GET_A6_TIME_ADJ OPEN_A6_FIELDS_ADJ READ_ A6_FIELDS_ADJ Step3 ITS_Time_FOR_A3 GET_A3_TIME_ADJ OPEN_A3_FIELDS_ADJ GET_A3_FIELDS Step4 LCHEM && New Month? READ_UV_ALBEDO Step5 FULLCHEMN_SIM TAGCO_SIM LADJ_EMS && New SEASON? ANTHROEMS Step6 New Day? RDISOLAI RDSOIL

21 ADJOINT PROCESS Step1 ITS_Time_EMIS SET_CT_EMIS DO_DRYDEP DO_EMISSION Step2 ITS_Time_CHEM DO_CHEMISTRY_ADJ Step3 ITS_Time_EMIS DO_EMISSION_ADJ Step5 ITS_Time_CONV LCONV CHECK_STT_ADJ DO_CONVECTION_ADJ CHECK_STT_ADJ DO_PBL_MIX_ADJ Step6 ITS_Time_DYN LCONV LWET LCHEM LSULF ADJ_INIT_WETSCAV LTRAN DO_TRANSPORT_ADJ

22 chemistry_adj_mod.f! A_CH4_SIM Y OPTDEPTH 3 A_FULLCHEM_SIM FULL_CHEM_SIM_ADJ (next page) LADJ_CHEM 10 AN_AEROSOL_SIM Not supported 1 A_RnPbBe_SIM Not supported 2 A_CH3I_SIM Not supported 4 A_HCN_SIM Not supported 6 A_TAGOX_SIM Not supported 7 A_TAGCO_SIM CHEM_TAGGED_CO_ADJ 8 A_C2H6_SIM Not supported 9 A_CH4_SIM Not supported 11 A_MERCURY_SIM Not supported 13 A_H2HD_SIM Not supported

23 FULL_CHEM_SIM_ADJ LCARB CHEMCARBON_ADJ LSULF LAERO_THERM RECOMP_RPMARES DO_RPMARES_ADJ CHEMSULFATE_ADJ CHEMDR_ADJ LSSEALT Not supported LDUST Not supported LIDTACET/=0 Not supported

24 chemdr_adj.f MAKE_AVGW FIRSTCHEM Same as CHEMDR LSULF LCARB LDUST LSSALT Same as CHEMDR SETEMIS(EMISRR, EMISRRN) RDAER FAST_J PHYSPROC(SUNCOS, SUNCOSB) GC_KPP_ADJ_DRIVER(inverse) CHECK_STT_ADJ STT = CHK_STT_BEFCHEM CSEP = CHK_CSPEC PARTITION_ADJ CHECK_STT_ADJ

25 CALC_ADJ_FORCE_FOR_OBS TES NH3 case

26 CALC_ADJ_FORCE_FOR_OBS- 1/4! Calculate the interpolation weight matrix MAP(1:LLPAR,1:LLNT) = GET_INTMAP( LLPAR, GC_PRES(:), GC_PSURF, LLNT, TES(NT)%PRES(1:LLNT), GC_PSURF )! Get NH3 values at native model resolution GC_NH3_NATIVE(:) = CHK_STT(I,J,:,IDTNH3)! Convert from kg/box to ppm GC_NH3_NATIVE(:) = GC_NH3_NATIVE(:) * TCVV(IDTNH3) / AD(I,J,:) * 1d6 NH3_SAVE(:,NT) = GC_NH3_NATIVE(:)! Get NH3 values from doubled emissions run [ppmv] GC_NH3_NATIVE_DBL(:) = GET_DOUBLED_NH3( GET_NYMD(), GET_NHMS(), REAL(TES(NT)%LON,4), REAL(TES(NT)%LAT,4))! Interpolate GC NH3 column to TES grid DO LL = 1, LLNT GC_NH3(LL) = 0d0 DO L = 1, LLPAR GC_NH3(LL) = GC_NH3(LL) + MAP(L,LL) * GC_NH3_NATIVE(L)! Interpolate doubled GC NH3 column to TES grid DO LL = 1, LLNT GC_NH3_DBL(LL) = 0d0 DO L = 1, LLPAR GC_NH3_DBL(LL) = GC_NH3_DBL(LL) + MAP(L,LL) * GC_NH3_NATIVE_DBL(L)

27 CALC_ADJ_FORCE_FOR_OBS- 2/4! x_m - x_a DO L = 1, LLNT GC_NH3(L) = MAX(GC_NH3(L), 1d-10) NH3_PERT(L) = LOG(GC_NH3(L)) - LOG(TES(NT)%PRIOR(L))! x_a + A_k * ( x_m - x_a ) DO L = 1, LLNT NH3_HAT(L) = 0d0 DO LL = 1, LLNT NH3_HAT(L) = NH3_HAT(L) + TES(NT)%AVG_KERNEL(L,LL) * NH3_PERT(LL) NH3_HAT(L) = NH3_HAT(L) + LOG(TES(NT)%PRIOR(L))! x_m - x_a for doubled DO L = 1, LLNT GC_NH3_DBL(L) = MAX(GC_NH3_DBL(L), 1d-10) NH3_PERT_DBL(L) = LOG(GC_NH3_DBL(L)) - LOG(TES(NT)%PRIOR(L))! x_a + A_k * ( x_m - x_a ) DO L = 1, LLNT NH3_HAT_DBL(L) = 0d0 DO LL = 1, LLNT NH3_HAT_DBL(L) = NH3_HAT_DBL(L) + TES(NT)%AVG_KERNEL(L,LL) * NH3_PERT_DBL(LL) NH3_HAT_DBL(L) = NH3_HAT_DBL(L) + LOG(TES(NT)%PRIOR(L))

28 CALC_ADJ_FORCE_FOR_OBS- 3/4! Calculate difference between modeled and observed profile DO L = 1, LLNT IF ( TES(NT)%NH3(L) > 0d0 ) THEN DIFF(L) = NH3_HAT(L) - LOG( TES(NT)%NH3(L) ) ELSE DIFF(L) = 0d0 ENDIF! Calculate 1/2 * DIFF^T * S_{obs}^{-1} * DIFF DO L = 1, LLNT FORCE(L) = 0d0 DO LL = 1, LLNT FORCE(L) = FORCE(L) + TES(NT)%OER_INV(L,LL) * DIFF(LL) NEW_COST(NT) = NEW_COST(NT) + 0.5d0 * DIFF(L) * FORCE(L) ADJ_DIFF = FORCE! Adjoint of difference DO L = 1, LLNT IF ( TES(NT)%NH3(L) > 0d0 ) THEN ADJ_NH3_HAT(L) = ADJ_DIFF(L) ENDIF DO L = 1, LLNT ADJ_NH3_PERT(L) = 0d0 DO LL = 1, LLNT ADJ_NH3_PERT(L) = ADJ_NH3_PERT(L) + TES(NT)%AVG_KERNEL(LL,L) * ADJ_NH3_HAT(LL)

29 CALC_ADJ_FORCE_FOR_OBS- 4/4! Adjoint of x_m - x_a DO L = 1, LLNT IF ( GC_NH3(L) > 1d-10 ) THEN ADJ_GC_NH3(L) = 1d0 / GC_NH3(L) * ADJ_NH3_PERT(L) ELSE ADJ_GC_NH3(L) = 0d0 ENDIF! Adjoint of interpolation DO L = 1, LLPAR ADJ_GC_NH3_NATIVE(L) = 0d0 DO LL = 1, LLNT ADJ_GC_NH3_NATIVE(L) = ADJ_GC_NH3_NATIVE(L) + MAP(L,LL) * ADJ_GC_NH3(LL)! Adjoint of unit conversion ADJ_GC_NH3_NATIVE(:) = ADJ_GC_NH3_NATIVE(:) * TCVV(IDTNH3) / AD(I,J,:) * 1d6! Pass adjoint back to adjoint tracer array STT_ADJ(I,J,:,IDTNH3) = STT_ADJ(I,J,:,IDTNH3) + ADJ_GC_NH3_NATIVE(:)!AD = (dry) mass of air in grid box (I,J,L) in kg,!tcvv = Array containing [Air MW / Tracer MW] for tracers! Update cost function COST_FUNC = COST_FUNC + SUM(NEW_COST(NTSTOP:NTSTART))

Adjoint clinic Introduction for new users

Adjoint clinic Introduction for new users Adjoint clinic Introduction for new users Daven Henze (U. Colorado) Monika Kopacz (Harvard) Kumaresh Singh (Virginia Tech.) April 9, 2009 Agenda What is an adjoint good for? and what it is not good for

More information

GEOS-Chem Adjoint Users Guide (Draft)

GEOS-Chem Adjoint Users Guide (Draft) GEOS-Chem Adjoint Users Guide (Draft) Daven K. Henze May 12, 2009 Contents 1 Getting started 3 1.1 Obtaining run packages............................. 3 1.2 Obtaining source code..............................

More information

Getting Started with GCHP v11-02c

Getting Started with GCHP v11-02c Getting Started with GCHP v11-02c Lizzie Lundgren GEOS-Chem Support Team geos-chem-support@as.harvard.edu September 2017 Overview 1) What is GCHP and why use it? 2) Common Misconceptions 3) Useful Tips

More information

Important new structural developments in GEOS-Chem v11

Important new structural developments in GEOS-Chem v11 Important new structural developments in GEOS-Chem v11 Bob Yantosca Senior Software Engineer GEOS-Chem Support Team Jacob Group Meeting 10 Aug 2016 with: Melissa, Matt, Lizzie, Mike Table of Contents Motivation

More information

Getting Started with High Performance GEOS-Chem

Getting Started with High Performance GEOS-Chem Getting Started with High Performance GEOS-Chem Lizzie Lundgren GEOS-Chem Support Team geos-chem-support@as.harvard.edu June 2017 Overview 1) What is GCHP and why use it? 2) Common Misconceptions 3) Useful

More information

GEOS-Chem Adjoint User s Guide (gcadj v32)

GEOS-Chem Adjoint User s Guide (gcadj v32) GEOS-Chem Adjoint User s Guide (gcadj v32) Questions: Monika Kopacz (mkopacz@princeton.edu), Daven Henze (daven.henze@colorado.edu), Hyungmin Lee (hyuunmin.lee@colorado.edu) March 4, 2012 Contents 1 Getting

More information

Debugging with the new GEOS-Chem Unit Tester

Debugging with the new GEOS-Chem Unit Tester Debugging with the new GEOS-Chem Unit Tester Bob Yantosca Senior Software Engineer GEOS-Chem Support Team Jacob Group Meeting 27 Nov 2013 with Melissa Payer Sulprizio Contents Overview G-C software development

More information

Impact of New GMAO Forward Processing Fields on Short-Lived Tropospheric Tracers

Impact of New GMAO Forward Processing Fields on Short-Lived Tropospheric Tracers Impact of New GMAO Forward Processing Fields on Short-Lived Tropospheric Tracers Clara Orbe and Andrea M. Molod Global Modeling and Assimilation Office NASA Goddard Space Flight Center IGC8 Workshop: May,

More information

An introduction to netcdf diagnostics in GEOS-Chem. Bob Yantosca Senior Software Engineer 05 Oct 2017

An introduction to netcdf diagnostics in GEOS-Chem. Bob Yantosca Senior Software Engineer 05 Oct 2017 An introduction to netcdf diagnostics in GEOS-Chem Bob Yantosca Senior Software Engineer 05 Oct 2017 Overview What are diagnostics? Why do we need new diagnostics? Design considerations Building blocks:

More information

3-D Tomographic Reconstruction

3-D Tomographic Reconstruction Mitglied der Helmholtz-Gemeinschaft 3-D Tomographic Reconstruction of Atmospheric Trace Gas Concentrations for Infrared Limb-Imagers February 21, 2011, Nanocenter, USC Jörn Ungermann Tomographic trace

More information

Vehicle thermal safety with THESEUS-FE. Author: Dr. Daniel Koester

Vehicle thermal safety with THESEUS-FE. Author: Dr. Daniel Koester Author: Dr. Daniel Koester Date: September 4, 2014 Workflow for Underhood Simulations ANSA or other CAD/meshing software CAD cleanup and meshing: either CAD geometry description or NASTRAN-style FE meshes

More information

Engineering Innovation Center LabVIEW Basics

Engineering Innovation Center LabVIEW Basics Engineering Innovation Center LabVIEW Basics LabVIEW LabVIEW (Laboratory Virtual Instrument Engineering Workbench) is a graphical programming language that uses icons instead of lines of text to create

More information

EcoGEnIE: A practical course in global ocean ecosystem modelling

EcoGEnIE: A practical course in global ocean ecosystem modelling EcoGEnIE: A practical course in global ocean ecosystem modelling Lesson zero.c: Ocean circulation and Atlantic overturning stability Stuff to keep in mind: Nothing at all keep your mind completely empty

More information

Chapter 5: Control Structures

Chapter 5: Control Structures Chapter 5: Control Structures What we will learn: Selection structures Loops What you need to know before: Data types Functions For loop While loop If selection If else structures Control structures are

More information

An Overview of ROMS Code. Kate Hedstrom, ARSC January 2011

An Overview of ROMS Code. Kate Hedstrom, ARSC January 2011 An Overview of ROMS Code Kate Hedstrom, ARSC January 2011 Outline Outline of the code cpp cppdefs.h Modules ocean.in Compiling ROMS ls Trunk Atmosphere/ Lib/ ROMS/ Compilers/ makefile User/ Data/ Master/

More information

Gaussian Plume Air Dispersion Model - AERMOD. Release Notes. Versions 9.3, 9.4, and 9.5

Gaussian Plume Air Dispersion Model - AERMOD. Release Notes. Versions 9.3, 9.4, and 9.5 Gaussian Plume Air Dispersion Model - AERMOD Versions 9.3, 9.4, and 9.5 Tel: (519) 746-5995 Fax: (519) 746-0793 Web Site: www.weblakes.com 1996-2017 AERMOD View Version 9.5 September 18, 2017 New Features

More information

Explicit\Implicit time Integration in MPM\GIMP. Abilash Nair and Samit Roy University of Alabama, Tuscaloosa

Explicit\Implicit time Integration in MPM\GIMP. Abilash Nair and Samit Roy University of Alabama, Tuscaloosa Explicit\Implicit time Integration in MPM\GIMP Abilash Nair and Samit Roy University of Alabama, Tuscaloosa Objectives Develop a Implicit algorithm for GIMP based on Implicit MPM* Benchmark the algorithm

More information

Name :. Roll No. :... Invigilator s Signature : INTRODUCTION TO PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70

Name :. Roll No. :... Invigilator s Signature : INTRODUCTION TO PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70 Name :. Roll No. :..... Invigilator s Signature :.. 2011 INTRODUCTION TO PROGRAMMING Time Allotted : 3 Hours Full Marks : 70 The figures in the margin indicate full marks. Candidates are required to give

More information

PROBLEM SOLVING AND PYTHON PROGRAMMING

PROBLEM SOLVING AND PYTHON PROGRAMMING ALGORITHM UNIT-1 It is defined as a sequence of instructions that describe a method for solving a problem. In other words it is a step by step procedure for solving a problem. Properties of Algorithms

More information

A. Front Panel Design Lesson 4 Implementing a VI

A. Front Panel Design Lesson 4 Implementing a VI A. Front Panel Design Lesson 4 Implementing a VI Inputs and outputs lead to front panel design Retrieve the inputs by the following methods: TOPICS A. B. C. D. E. F. Front Panel Design LabVIEW Data Types

More information

Spark verification features

Spark verification features Spark verification features Paul Jackson School of Informatics University of Edinburgh Formal Verification Spring 2018 Adding specification information to programs Verification concerns checking whether

More information

Chapter 4: Programming with MATLAB

Chapter 4: Programming with MATLAB Chapter 4: Programming with MATLAB Topics Covered: Programming Overview Relational Operators and Logical Variables Logical Operators and Functions Conditional Statements For Loops While Loops Debugging

More information

Vector Visualisation 1. global view

Vector Visualisation 1. global view Vector Field Visualisation : global view Visualisation Lecture 12 Institute for Perception, Action & Behaviour School of Informatics Vector Visualisation 1 Vector Field Visualisation : local & global Vector

More information

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha Computer Fundamentals Pradeep K. Sinha Priti Sinha Chapter 11 Planning the Chapter 11: Planning Computer the Program Program Slide 1/50 Learning Objectives In this chapter you will learn about: Programs

More information

Products & Services Understanding Digital Modem Network Modules on Cisco 3600 and 3700 Series Routers

Products & Services Understanding Digital Modem Network Modules on Cisco 3600 and 3700 Series Routers Products & Services Understing Digital Modem Network Modules on 3600 3700 Series Routers Document ID: 7234 Contents Introduction Prerequisites Requirements Components Used Conventions Product Numbers Features

More information

Institut for Matematik og Datalogi 22. januar 2017 Syddansk Universitet, Odense. The Prefix Table

Institut for Matematik og Datalogi 22. januar 2017 Syddansk Universitet, Odense. The Prefix Table Institut for Matematik og Datalogi 22. januar 2017 Syddansk Universitet, Odense RF The Prefix Table As a building block in the algorithm for finding the BMShift table, the following values will prove useful.

More information

Chapter 2: Understanding Structure. Programming Logic and Design, 4 th Edition Introductory

Chapter 2: Understanding Structure. Programming Logic and Design, 4 th Edition Introductory Chapter 2: Understanding Structure Programming Logic and Design, 4 th Edition Introductory Objectives After studying Chapter 2, you should be able to: Describe the features of unstructured spaghetti code

More information

HP DECwindows Motif for OpenVMS Documentation Overview

HP DECwindows Motif for OpenVMS Documentation Overview HP for OpenVMS Documentation Overview Order Number: BA402-90002 July 2006 This overview provides information about for OpenVMS Version 1.6 documentation. Revision/Update Information: This manual supersedes

More information

Application Guide. BACnet Scheduling Tips. Overview. General Principles. For KMC BACnet Controllers

Application Guide. BACnet Scheduling Tips. Overview. General Principles. For KMC BACnet Controllers BACnet Scheduling Tips For KMC BACnet Controllers Application Guide Overview...1 General Principles...1 Sample Flowchart...2 FlexStat...2 BAC-A1616BC Building Controller...3 More Information...6 Overview

More information

MATVEC: MATRIX-VECTOR COMPUTATION LANGUAGE REFERENCE MANUAL. John C. Murphy jcm2105 Programming Languages and Translators Professor Stephen Edwards

MATVEC: MATRIX-VECTOR COMPUTATION LANGUAGE REFERENCE MANUAL. John C. Murphy jcm2105 Programming Languages and Translators Professor Stephen Edwards MATVEC: MATRIX-VECTOR COMPUTATION LANGUAGE REFERENCE MANUAL John C. Murphy jcm2105 Programming Languages and Translators Professor Stephen Edwards Language Reference Manual Introduction The purpose of

More information

Progress on TIGGE Archive Center in CMA

Progress on TIGGE Archive Center in CMA THORPEX Interactive Grand Global Ensemble (TIGGE) Progress on TIGGE Archive Center in CMA China Meteorological Administration TIGGE-WG meeting, Boulder, 25-27 June Provider Summary Progress Overview Archive

More information

Inverse Modelling of Atmospheric Trace Substances on the Regional Scale with Lagrangian Models

Inverse Modelling of Atmospheric Trace Substances on the Regional Scale with Lagrangian Models Inverse Modelling of Atmospheric Trace Substances on the Regional Scale with Lagrangian Models Introduction A contribution to subprojects GLOREAM and GENEMIS-2 P. Seibert, A. Frank and H. Kromp-Kolb Institute

More information

S/W Programming & Languages

S/W Programming & Languages S/W Programming & Languages Overview Programming five steps Five generations High-level programming Object-oriented programming Internet programming 2 Programming What are the five steps of the programdevelopment

More information

GOME NO 2 data product HDF data file user manual

GOME NO 2 data product HDF data file user manual GOME NO 2 data product HDF data file user manual Folkert Boersma and Henk Eskes 23 April 2002 Contents Content of the no2trackyyyymmdd.hdf files 3 The use of the averaging kernel 6 IDL sample code to read

More information

Lab # 2. Sequential Statements

Lab # 2. Sequential Statements The Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4111: Digital System Lab Lab # 2 Sequential Statements Eng. Alaa O Shama September, 2015 Introduction In this

More information

arxiv:cs/ v1 [cs.ma] 27 Jan 2004

arxiv:cs/ v1 [cs.ma] 27 Jan 2004 arxiv:cs/0401026v1 [cs.ma] 27 Jan 2004 EcoLab: Agent Based Modeling for C++ programmers Russell K. Standish and Richard Leow High Performance Computing Support Unit University of New South Wales, Sydney

More information

1. Open a MODFLOW simulation and run MODFLOW. 2. Initialize MT3D and enter the data for several MT3D packages. 3. Run MT3D and read the solution.

1. Open a MODFLOW simulation and run MODFLOW. 2. Initialize MT3D and enter the data for several MT3D packages. 3. Run MT3D and read the solution. GMS TUTORIALS This tutorial describes how to perform an MT3DMS simulation within GMS. An MT3DMS model can be constructed in GMS using one of two approaches: the conceptual model approach or the grid approach.

More information

Assimilated SCIAMACHY NO 2 fields HDF data file user manual

Assimilated SCIAMACHY NO 2 fields HDF data file user manual Assimilated SCIAMACHY NO 2 fields HDF data file user manual Folkert Boersma and Henk Eskes 6 February 2004 1 Contents Content of the no2trackyyyymmdd.hdf files 3 The use of the averaging kernel 6 IDL sample

More information

DETAILED SYLLABUS INTRODUCTION TO C LANGUAGE

DETAILED SYLLABUS INTRODUCTION TO C LANGUAGE COURSE TITLE C LANGUAGE DETAILED SYLLABUS SR.NO NAME OF CHAPTERS & DETAILS HOURS ALLOTTED 1 INTRODUCTION TO C LANGUAGE About C Language Advantages of C Language Disadvantages of C Language A Sample Program

More information

CMAQ v4.5 Adjoint User s Manual

CMAQ v4.5 Adjoint User s Manual CMAQ v4.5 Adjoint User s Manual An adjoint model for CMAQ to perform 4D-Var Data Assimilation and Sensitivity Analysis Kumaresh Singh & Adrian Sandu Department of Computer Science Virginia Polytechnic

More information

Programming Logic and Design Ninth Edition

Programming Logic and Design Ninth Edition Programming Logic and Design Ninth Edition Chapter 3 Understanding Structure The Disadvantages of Unstructured Spaghetti Code Spaghetti code Logically snarled program statements Often a complicated mess

More information

Vehicle Sketch Pad Applied To Propulsion-Airframe Integration

Vehicle Sketch Pad Applied To Propulsion-Airframe Integration Vehicle Sketch Pad Applied To Propulsion-Airframe Integration Presented by Steven H. Berguin stevenberguin@gatech.edu 1. Introduction 2. Modeling & Simulation 3. Example: Isolated Nacelle (Powered) 4.

More information

Week 2. Relational Operators. Block or compound statement. if/else. Branching & Looping. Gaddis: Chapters 4 & 5. CS 5301 Spring 2018.

Week 2. Relational Operators. Block or compound statement. if/else. Branching & Looping. Gaddis: Chapters 4 & 5. CS 5301 Spring 2018. Week 2 Branching & Looping Gaddis: Chapters 4 & 5 CS 5301 Spring 2018 Jill Seaman 1 Relational Operators l relational operators (result is bool): == Equal to (do not use =)!= Not equal to > Greater than

More information

MT3DMS Grid Approach GMS 7.0 TUTORIALS. 1 Introduction. 1.1 Contents

MT3DMS Grid Approach GMS 7.0 TUTORIALS. 1 Introduction. 1.1 Contents GMS 7.0 TUTORIALS 1 Introduction This tutorial describes how to perform an MT3DMS simulation within GMS. An MT3DMS model can be constructed in GMS using one of two approaches: the conceptual model approach

More information

Programming Logic and Design Seventh Edition

Programming Logic and Design Seventh Edition Programming Logic and Design Seventh Edition Chapter 3 Understanding Structure Objectives In this chapter, you will learn about: The disadvantages of unstructured spaghetti code The three basic structures

More information

PetShop (BYU Students, SIGGRAPH 2006)

PetShop (BYU Students, SIGGRAPH 2006) Now Playing: PetShop (BYU Students, SIGGRAPH 2006) My Mathematical Mind Spoon From Gimme Fiction Released May 10, 2005 Geometric Objects in Computer Graphics Rick Skarbez, Instructor COMP 575 August 30,

More information

Chip/Package/Board Design Flow

Chip/Package/Board Design Flow Chip/Package/Board Design Flow EM Simulation Advances in ADS 2011.10 1 EM Simulation Advances in ADS2011.10 Agilent EEsof Chip/Package/Board Design Flow 2 RF Chip/Package/Board Design Industry Trends Increasing

More information

Large Scale Structural Optimization using GENESIS, ANSYS and the Equivalent Static Load Method

Large Scale Structural Optimization using GENESIS, ANSYS and the Equivalent Static Load Method Large Scale Structural Optimization using GENESIS, ANSYS and the Equivalent Static Load Method Hong Dong Vanderplaats Research & Development, Inc. 47100 Gardenbrook, Suite 115 Novi, MI 48375, USA Juan

More information

Visual Basic. Chapter 3

Visual Basic. Chapter 3 Visual Basic Chapter 3 Structured Visual Basic In this chapter, we will begin to learn how to write structured Visual Basic programs Creating a flowchart and/or creating pseudocode before you create the

More information

Such parameters as user s name, , phone numbers to send tracking information, password can be changed in the user settings.

Such parameters as user s name,  , phone numbers to send tracking information, password can be changed in the user settings. 1. Entering the system The system is accessed on the website pandora-on.com On the home page you should enter login (email) and password that was given to you by the developer after signing the contract.

More information

Linear Equation Systems Iterative Methods

Linear Equation Systems Iterative Methods Linear Equation Systems Iterative Methods Content Iterative Methods Jacobi Iterative Method Gauss Seidel Iterative Method Iterative Methods Iterative methods are those that produce a sequence of successive

More information

BEPI FOR PROGRAMMERS

BEPI FOR PROGRAMMERS BEPI FOR PROGRAMMERS General This manual is intended for those with some experience of programming. Less experienced programmers may prefer to refer to a longer document BEPI User Manual. As with any programming

More information

Getting State-Space Models from FEM Simulations

Getting State-Space Models from FEM Simulations Getting State-Space Models from FEM Simulations A.W.M. (Jos) van Schijndel Eindhoven University of Technology P.O. Box 513; 5600 MB Eindhoven; Netherlands, A.W.M.v.Schijndel@tue.nl Abstract:. Finite element

More information

An automated approach to derive combustionand NOx-models for GT-POWER simulations

An automated approach to derive combustionand NOx-models for GT-POWER simulations An automated approach to derive combustionand NOx-models for GT-POWER simulations Dr.-Ing. Jan Boyde, Dr.-Ing. Claus-Oliver Schmalzing Outline Motivation Automated cylinder pressure analysis Generation

More information

FE Review Computer Terms

FE Review Computer Terms FE Review Computer Terms 2/2/2011 1 Computers sizes Supercomputers Mainframe centralized, large memory, large peripherals Mini-computers Less memory, smaller Microcomputers smaller still few peripherals,

More information

Using the Example Project in Restoration Manager

Using the Example Project in Restoration Manager Installation Using the Example Project in Restoration Manager 1. Download the example project file and save on your computer 2. Start Restoration Manager, setting your date format and creating a project

More information

Performance Evaluation of radionuclide imaging systems

Performance Evaluation of radionuclide imaging systems Performance Evaluation of radionuclide imaging systems Nicolas A. Karakatsanis STIR Users meeting IEEE Nuclear Science Symposium and Medical Imaging Conference 2009 Orlando, FL, USA Geant4 Application

More information

0_PreCNotes17 18.notebook May 16, Chapter 12

0_PreCNotes17 18.notebook May 16, Chapter 12 Chapter 12 Notes BASIC MATRIX OPERATIONS Matrix (plural: Matrices) an n x m array of elements element a ij Example 1 a 21 = a 13 = Multiply Matrix by a Scalar Distribute scalar to all elements Addition

More information

Cisco Aironet Client Adapter Installation Tips for Windows NT v4.0

Cisco Aironet Client Adapter Installation Tips for Windows NT v4.0 Cisco Aironet Client Adapter Installation Tips for Windows NT v4.0 Document ID: 19057 To get Cisco Aironet drivers, firmware and utility software, use this link to the Cisco Wireless Software Center. Contents

More information

Computer Programming

Computer Programming Computer Programming Dr. Deepak B Phatak Dr. Supratik Chakraborty Department of Computer Science and Engineering Session: while and do while statements in C++ Dr. Deepak B. Phatak & Dr. Supratik Chakraborty,

More information

The inverse of a matrix

The inverse of a matrix The inverse of a matrix A matrix that has an inverse is called invertible. A matrix that does not have an inverse is called singular. Most matrices don't have an inverse. The only kind of matrix that has

More information

3.2 Pseudocode. Introduction. Definition. 1 Common pseudo code terms

3.2 Pseudocode. Introduction. Definition. 1 Common pseudo code terms 3.2 Introduction This section covers the use of pseudo code in the production of algorithms. Candidates should use standard computing text books to find out information on the features of programming languages

More information

Vector Field Visualisation

Vector Field Visualisation Vector Field Visualisation Computer Animation and Visualization Lecture 14 Institute for Perception, Action & Behaviour School of Informatics Visualising Vectors Examples of vector data: meteorological

More information

C Review. MaxMSP Developers Workshop Summer 2009 CNMAT

C Review. MaxMSP Developers Workshop Summer 2009 CNMAT C Review MaxMSP Developers Workshop Summer 2009 CNMAT C Syntax Program control (loops, branches): Function calls Math: +, -, *, /, ++, -- Variables, types, structures, assignment Pointers and memory (***

More information

Flow Structures Extracted from Visualization Images: Vector Fields and Topology

Flow Structures Extracted from Visualization Images: Vector Fields and Topology Flow Structures Extracted from Visualization Images: Vector Fields and Topology Tianshu Liu Department of Mechanical & Aerospace Engineering Western Michigan University, Kalamazoo, MI 49008, USA We live

More information

RASTERIZING POLYGONS IN IMAGE SPACE

RASTERIZING POLYGONS IN IMAGE SPACE On-Line Computer Graphics Notes RASTERIZING POLYGONS IN IMAGE SPACE Kenneth I. Joy Visualization and Graphics Research Group Department of Computer Science University of California, Davis A fundamental

More information

A New Control Volume-based 2D Method for Calculating the Temperature Distribution of Rod during Multi-pass Hot Rolling

A New Control Volume-based 2D Method for Calculating the Temperature Distribution of Rod during Multi-pass Hot Rolling , pp. 1836 1840 A New Control Volume-based 2D Method for Calculating the Temperature Distribution of Rod during Multi-pass Hot Rolling Jianguo XUE and Min LIU* Department of Automation, Tsinghua University,

More information

Lab 11. Basic Image Processing Algorithms Fall 2017

Lab 11. Basic Image Processing Algorithms Fall 2017 Lab 11 Basic Image Processing Algorithms Fall 2017 Lab 11: video segmentation with temporal histogram script: function: loads in a video file --- it will be a 4D array in the MATLAB Workspace (stacked

More information

Flow Control: Branches and loops

Flow Control: Branches and loops Flow Control: Branches and loops In this context flow control refers to controlling the flow of the execution of your program that is, which instructions will get carried out and in what order. In the

More information

Adarsh Krishnamurthy (cs184-bb) Bela Stepanova (cs184-bs)

Adarsh Krishnamurthy (cs184-bb) Bela Stepanova (cs184-bs) OBJECTIVE FLUID SIMULATIONS Adarsh Krishnamurthy (cs184-bb) Bela Stepanova (cs184-bs) The basic objective of the project is the implementation of the paper Stable Fluids (Jos Stam, SIGGRAPH 99). The final

More information

Repetition Structures Chapter 9

Repetition Structures Chapter 9 Sum of the terms Repetition Structures Chapter 9 1 Value of the Alternating Harmonic Series 0.9 0.8 0.7 0.6 0.5 10 0 10 1 10 2 10 3 Number of terms Objectives After studying this chapter you should be

More information

Partitioning and Divide-and-Conquer Strategies

Partitioning and Divide-and-Conquer Strategies Chapter 4 Slide 125 Partitioning and Divide-and-Conquer Strategies Slide 126 Partitioning Partitioning simply divides the problem into parts. Divide and Conquer Characterized by dividing problem into subproblems

More information

Quick Reference. 5973N and 5973 inert Mass Selective Detector Local Control Panel (LCP)

Quick Reference. 5973N and 5973 inert Mass Selective Detector Local Control Panel (LCP) Quick Reference 5973N and 5973 inert Mass Selective Detector Local Control Panel (LCP) Using the Local Control Panel The Local Control Panel (LCP) lets you determine the readiness and performance of the

More information

Static and Normal Mode Analysis of a Space Satellite

Static and Normal Mode Analysis of a Space Satellite LESSON 6 Static and Normal Mode of a Space Satellite Z Y X Objectives: Setup and analyze the satellite model for a normal modes and static analysis.. Learn to modify the default subcase parameters, solution

More information

Lecture 1: MATLAB - advanced use cases

Lecture 1: MATLAB - advanced use cases Lecture 1: MATLAB - advanced use cases Data handling and analysis Juha Kuortti and Heikki Apiola February 10, 2018 Aalto University juha.kuortti@aalto.fi Importing and exporting data: basics Creating and

More information

4.2 Machine-Independent Macro Processor Features

4.2 Machine-Independent Macro Processor Features 4.2 Machine-Independent Macro Processor Features Extensions to the basic macro processor functions Concatenation of Macro Parameters Generation of Unique Labels Conditional Macro Expansion Keyword Macro

More information

Loops and Conditionals. HORT Lecture 11 Instructor: Kranthi Varala

Loops and Conditionals. HORT Lecture 11 Instructor: Kranthi Varala Loops and Conditionals HORT 59000 Lecture 11 Instructor: Kranthi Varala Relational Operators These operators compare the value of two expressions and returns a Boolean value. Beware of comparing across

More information

Parallel High-Order Geometric Multigrid Methods on Adaptive Meshes for Highly Heterogeneous Nonlinear Stokes Flow Simulations of Earth s Mantle

Parallel High-Order Geometric Multigrid Methods on Adaptive Meshes for Highly Heterogeneous Nonlinear Stokes Flow Simulations of Earth s Mantle ICES Student Forum The University of Texas at Austin, USA November 4, 204 Parallel High-Order Geometric Multigrid Methods on Adaptive Meshes for Highly Heterogeneous Nonlinear Stokes Flow Simulations of

More information

Tools & Applications 1. Introduction 2. Design of Matrix Turbines

Tools & Applications 1. Introduction 2. Design of Matrix Turbines NATIONAL TECHNICAL UNIVERSITY of ATHENS Lab. Thermal Turbomachines Parallel CFD & Optimization Unit Design Optimization Tools & Applications 1. Introduction 2. Design of Matrix Turbines Kyriakos C. Giannakoglou

More information

PROBLEM SOLVING AND PROGRAM. Looping statements Executing steps many times

PROBLEM SOLVING AND PROGRAM. Looping statements Executing steps many times PROBLEM SOLVING AND PROGRAM Looping statements Executing steps many times LOOPING What if there are a number of steps that must be done several times, would you re-write those steps for each time you needed

More information

Lecture Notes for Chapter 2: Getting Started

Lecture Notes for Chapter 2: Getting Started Instant download and all chapters Instructor's Manual Introduction To Algorithms 2nd Edition Thomas H. Cormen, Clara Lee, Erica Lin https://testbankdata.com/download/instructors-manual-introduction-algorithms-2ndedition-thomas-h-cormen-clara-lee-erica-lin/

More information

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

CHAPTER 2 PROBLEM SOLVING TECHNIQUES. Mr Mohd Hatta Bin Hj Mohamed Ali Computer Programming BFC2042 CHAPTER 2 PROBLEM SOLVING TECHNIQUES Mr Mohd Hatta Bin Hj Mohamed Ali Computer Programming BFC2042 Software Engineering vs Problem Solving Software Engineering - A branch of Computer Science & provides

More information

ISC-AERMOD View Complete Air Dispersion Modeling System for AERMOD

ISC-AERMOD View Complete Air Dispersion Modeling System for AERMOD ISC-AERMOD View Complete Air Dispersion Modeling System for AERMOD Version 5.8.0 Version 5.7.0 Tel: (519) 746-5995 - Fax: (519) 746-0793 e-mail: support@weblakes.com web site: www.weblakes.com 2007 Lakes

More information

There are algorithms, however, that need to execute statements in some other kind of ordering depending on certain conditions.

There are algorithms, however, that need to execute statements in some other kind of ordering depending on certain conditions. Introduction In the programs that we have dealt with so far, all statements inside the main function were executed in sequence as they appeared, one after the other. This type of sequencing is adequate

More information

CHAPTER 2.1 CONTROL STRUCTURES (SELECTION) Dr. Shady Yehia Elmashad

CHAPTER 2.1 CONTROL STRUCTURES (SELECTION) Dr. Shady Yehia Elmashad CHAPTER 2.1 CONTROL STRUCTURES (SELECTION) Dr. Shady Yehia Elmashad Outline 1. The if Selection Structure 2. The if/else Selection Structure 3. The switch Multiple-Selection Structure 1. The if Selection

More information

SECTION 2: PROGRAMMING WITH MATLAB. MAE 4020/5020 Numerical Methods with MATLAB

SECTION 2: PROGRAMMING WITH MATLAB. MAE 4020/5020 Numerical Methods with MATLAB SECTION 2: PROGRAMMING WITH MATLAB MAE 4020/5020 Numerical Methods with MATLAB 2 Functions and M Files M Files 3 Script file so called due to.m filename extension Contains a series of MATLAB commands The

More information

CS111: PROGRAMMING LANGUAGE II

CS111: PROGRAMMING LANGUAGE II CS111: PROGRAMMING LANGUAGE II Computer Science Department Lecture 1(c): Java Basics (II) Lecture Contents Java basics (part II) Conditions Loops Methods Conditions & Branching Conditional Statements A

More information

Installing the TX/PX fonts for SWP5/pdfTeX

Installing the TX/PX fonts for SWP5/pdfTeX Installing the TX/PX fonts for SWP5/pdfTeX Philip A. Viton October 21, 2004 1 Introduction This note explains how you can use Type1 fonts in an SWP5+ document but only when producing pdf. I do this by

More information

SECTION 5: STRUCTURED PROGRAMMING IN MATLAB. ENGR 112 Introduction to Engineering Computing

SECTION 5: STRUCTURED PROGRAMMING IN MATLAB. ENGR 112 Introduction to Engineering Computing SECTION 5: STRUCTURED PROGRAMMING IN MATLAB ENGR 112 Introduction to Engineering Computing 2 Conditional Statements if statements if else statements Logical and relational operators switch case statements

More information

Computational Photonics, Summer Term 2012, Abbe School of Photonics, FSU Jena, Prof. Thomas Pertsch

Computational Photonics, Summer Term 2012, Abbe School of Photonics, FSU Jena, Prof. Thomas Pertsch Computational Photonics Seminar 02, 30 April 2012 Programming in MATLAB controlling of a program s flow of execution branching loops loop control several programming tasks 1 Programming task 1 Plot the

More information

Lesson 4 Implementing a VI

Lesson 4 Implementing a VI Lesson 4 Implementing a VI A. Front Panel Design B. LabVIEW Data Types C. Documenting Code D. While Loops E. For Loops F. Timing a VI G. Iterative Data Transfer H. Plotting Data I. Case Structures A. Front

More information

G009 Scale and Direction-guided Interpolation of Aliased Seismic Data in the Curvelet Domain

G009 Scale and Direction-guided Interpolation of Aliased Seismic Data in the Curvelet Domain G009 Scale and Direction-guided Interpolation of Aliased Seismic Data in the Curvelet Domain M. Naghizadeh* (University of Alberta) & M. Sacchi (University of Alberta) SUMMARY We propose a robust interpolation

More information

UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING

UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING SIDDARTHA INSTITUTE OF SCIENCE AND TECHNOLOGY:: PUTTUR Siddharth Nagar, Narayanavanam Road 517583 QUESTION BANK (DESCRIPTIVE) Subject with Code : PROGRAMMING FOR PROBLEM SOLVING (18CS0501) Course & Branch

More information

Partitioning and Divide-and-Conquer Strategies

Partitioning and Divide-and-Conquer Strategies Partitioning and Divide-and-Conquer Strategies Chapter 4 slides4-1 Partitioning Partitioning simply divides the problem into parts. Divide and Conquer Characterized by dividing problem into subproblems

More information

Programming Fundamentals - A Modular Structured Approach using C++ By: Kenneth Leroy Busbee

Programming Fundamentals - A Modular Structured Approach using C++ By: Kenneth Leroy Busbee 1 0 1 0 Foundation Topics 1 0 Chapter 1 - Introduction to Programming 1 1 Systems Development Life Cycle N/A N/A N/A N/A N/A N/A 1-8 12-13 1 2 Bloodshed Dev-C++ 5 Compiler/IDE N/A N/A N/A N/A N/A N/A N/A

More information

BIL101E: Introduction to Computers and Information systems Lecture 8

BIL101E: Introduction to Computers and Information systems Lecture 8 BIL101E: Introduction to Computers and Information systems Lecture 8 8.1 Algorithms 8.2 Pseudocode 8.3 Control Structures 8.4 Decision Making: Equality and Relational Operators 8.5 The if Selection Structure

More information

CTC Fails to Start on Windows XP with Cisco Security Agent

CTC Fails to Start on Windows XP with Cisco Security Agent CTC Fails to Start on Windows XP with Cisco Security Agent Document ID: 64669 Contents Introduction Prerequisites Requirements Components Used Conventions Problem Solution Related Information Introduction

More information

P.G.TRB - COMPUTER SCIENCE. c) data processing language d) none of the above

P.G.TRB - COMPUTER SCIENCE. c) data processing language d) none of the above P.G.TRB - COMPUTER SCIENCE Total Marks : 50 Time : 30 Minutes 1. C was primarily developed as a a)systems programming language b) general purpose language c) data processing language d) none of the above

More information

Lecture Transcript While and Do While Statements in C++

Lecture Transcript While and Do While Statements in C++ Lecture Transcript While and Do While Statements in C++ Hello and welcome back. In this lecture we are going to look at the while and do...while iteration statements in C++. Here is a quick recap of some

More information

PLD Semester Exam Study Guide Dec. 2018

PLD Semester Exam Study Guide Dec. 2018 Covers material from Chapters 1-8. Semester Exam will be built from these questions and answers, though they will be re-ordered and re-numbered and possibly worded slightly differently than on this study

More information