Coding Tools for Research

Size: px
Start display at page:

Download "Coding Tools for Research"

Transcription

1 Coding Tools for Research Jack Baker Jack Baker Coding Tools for Research 1 / 11

2 Good Coding Practice in One Slide Modular: write code in small functions which do one thing. Indent!! Self documenting: variable/function names should describe themselves as much as possible! Names tell the story, comments say why. Think before you C & P: write functions as abstract as possible. Use a decent editor. Don t write too much per line. Style guides! Books: Code Complete, Clean Code Jack Baker Coding Tools for Research 2 / 11

3 Managing Simulations Main aims: allow mistakes to be made without having to rerun 600 expts! Separate out procedures: I normally have 4 directories: models, methods, assess & plot Store everything: Create a pipeline, store output of each procedure, including tuning parameters. So only need to run what s needed. Good way of doing this is storing lists or objects to file using e.g. R save or python pickle. Version control useful! Makefiles can be a good way of running things only when needed (see Jamie Fbrot presentation on Sharepoint) Jack Baker Coding Tools for Research 3 / 11

4 Presentations/Reports Animations: animate package in Latex allows you to make animations from a list of numbered pictures (e.g. plots you ve created from R). Can also do this using any gif creator and powerpoint. Figures: can convert your R plots to latex code then edit using TiKz. Inkscape is a better paint for creating diagrams, can also work with LaTex Jack Baker Coding Tools for Research 4 / 11

5 Programming Languages Interpreted: Uses code as is, quicker to code, slower to run: Python, R,... Compiled: Translates code to instructions your machine can read. Slower to code, quicker to run: C++, C,... Blurring Lines: There are things such as just in time compilers; there are compilers for interpreted languages: Julia, Cython,... Readable before speed: only speed up the bottleneck! Jack Baker Coding Tools for Research 5 / 11

6 Programming Languages R: excellent for stats, lots of packages, slow (especially for linear algebra), not general purpose. Python: plenty of packages, general purpose (e.g. scraping), slow, but sophisticated options for speed-ups (Cython). Decent linear algebra. Julia: fast especially for loops, new so less packages + web info, excellent for optimization, better than R for general purpose stuff language changes a lot. C/++: very fast but hard to write well, slow to develop in, would only recommend for speed-ups. Jack Baker Coding Tools for Research 6 / 11

7 Easier Speed Ups Vectorize in Python/R! Parallelize: easy packages for R, Python & Julia that can run code on multiple cores. STORM: run large amount of code in batches. More memory. CPUs the same(ish) specs but lots of them. Session on this to follow. Cython: minimally change python code and compile. PyTorch/TensorFlow: excellent linear algebra and autodiff (exact) packages for Python/R. Fast. Jack Baker Coding Tools for Research 7 / 11

8 Text editors Why: good text editors make your life a lot easier! Can use one for everything: latex, C, Julia, R. Can be more productive. Emacs: excellent option, provides full environment for R/Latex/Python, etc. Bulky. Vim: more streamlined than Emacs and allows you to chain commands, closer to the terminal, but steeper learning curve. Other Options: sublime. Jack Baker Coding Tools for Research 8 / 11

9 Linux Terminal Why use/learn: powerful for coding, searching, manipulating files; fast; increases productivity. Needed for STORM! Example: have 100 data frames in a directory. You want to stack ones that have similar names after adding a column. 1 liner in terminal and much faster than R. My Slides from STORC: bakerj1/pdfs/tutorials/linux.pdf Cheat sheet: Jack Baker Coding Tools for Research 9 / 11

10 Object Oriented Programming Collects data and associated functions together. No longer need 600 argument functions! Very useful for big projects. Can easily store complex structures of data. Support in R, Python, Julia. Jack Baker Coding Tools for Research 10 / 11

11 Misc Mendeley: organiser for your papers. Version control: invaluable organiser, backup and collaboration for code. Look at Jamie s slides I sent around. Algorithms: Might need knowledge for jobs. Hadoop: Scalable database structure accessed using SQL, might be useful for jobs. Functional Programming: Programming paradigm gaining some traction easier to scale/parallelize. Jack Baker Coding Tools for Research 11 / 11

CS 177 Recitation. Week 1 Intro to Java

CS 177 Recitation. Week 1 Intro to Java CS 177 Recitation Week 1 Intro to Java Questions? Computers Computers can do really complex stuff. How? By manipulating data according to lists of instructions. Fundamentally, this is all that a computer

More information

Welcome to Python! If you re the type of person who wants to know

Welcome to Python! If you re the type of person who wants to know In This Chapter The history of Python What people use Python for Chapter 1 Introducing Python Useful concepts for Python programming Welcome to Python! If you re the type of person who wants to know what

More information

Week - 01 Lecture - 04 Downloading and installing Python

Week - 01 Lecture - 04 Downloading and installing Python Programming, Data Structures and Algorithms in Python Prof. Madhavan Mukund Department of Computer Science and Engineering Indian Institute of Technology, Madras Week - 01 Lecture - 04 Downloading and

More information

Software Development. Integrated Software Environment

Software Development. Integrated Software Environment Software Development Integrated Software Environment Source Code vs. Machine Code What is source code? Source code and object code refer to the "before" and "after" versions of a computer program that

More information

Reviewing gcc, make, gdb, and Linux Editors 1

Reviewing gcc, make, gdb, and Linux Editors 1 Reviewing gcc, make, gdb, and Linux Editors 1 Colin Gordon csgordon@cs.washington.edu University of Washington CSE333 Section 1, 3/31/11 1 Lots of material borrowed from 351/303 slides Colin Gordon (University

More information

Chris Simpkins (Georgia Tech) CS 2316 Data Manipulation for Engineers Python Overview 1 / 9

Chris Simpkins (Georgia Tech) CS 2316 Data Manipulation for Engineers Python Overview 1 / 9 http://xkcd.com/353/ Chris Simpkins (Georgia Tech) CS 2316 Data Manipulation for Engineers Python Overview 1 / 9 Python Python is a general-purpose programming language, meaning you can write any kind

More information

Computing and compilers

Computing and compilers Computing and compilers Comp Sci 1570 to Outline 1 2 3 4 5 Evaluate the difference between hardware and software Find out about the various types of software Get a high level understanding of how program

More information

Online Interactive IT Training Programmes for Staff Course Outline

Online Interactive IT Training Programmes for Staff Course Outline 1. Access 2002: Level 1 Online Interactive IT Training Programmes for Staff Course Outline Access 2002: Level 1 familiarizes students with the basics of Access 2002. Students will learn how to create and

More information

Alternate Format for STEM

Alternate Format for STEM Alternate Format for STEM O FFICE OF A CCESSIBLE E DUCATION S TANFORD U NIVERSITY Alice Wong, Deborah Ting, Kyle Logsdon Outline Workflow process for STEM SCRIBE / Sensus Access Illustrator / Inkscape

More information

Using IDLE for

Using IDLE for Using IDLE for 15-110 Step 1: Installing Python Download and install Python using the Resources page of the 15-110 website. Be sure to install version 3.3.2 and the correct version depending on whether

More information

Power BI 1 - Create a dashboard on powerbi.com... 1 Power BI 2 - Model Data with the Power BI Desktop... 1

Power BI 1 - Create a dashboard on powerbi.com... 1 Power BI 2 - Model Data with the Power BI Desktop... 1 Our course outlines are 1 and 2 hour sessions (all courses 1 hour unless stated) that are designed to be delivered presentation style with an instructor guiding attendees through scenario based examples

More information

C Programming. A quick introduction for embedded systems. Dr. Alun Moon UNN/CEIS. September 2008

C Programming. A quick introduction for embedded systems. Dr. Alun Moon UNN/CEIS. September 2008 C Programming A quick introduction for embedded systems Dr. Alun Moon UNN/CEIS September 2008 Dr. Alun Moon (UNN/CEIS) C Programming September 2008 1 / 13 Programming is both an art and a science. It is

More information

The Cantor Handbook. Alexander Rieder

The Cantor Handbook. Alexander Rieder Alexander Rieder 2 Contents 1 Introduction 5 2 Using Cantor 6 2.1 Cantor features....................................... 6 2.2 The Cantor backends.................................... 7 2.3 The Cantor Workspace...................................

More information

Introduction to Data management

Introduction to Data management Introduction to Data management Tina Griffin, MLIS Vst. Asst. Prof. Information Services & Research University of Illinois at Chicago tmcg@uic.edu Sound familiar? Losing samples, data, or documentation

More information

Reproducible Research with R and RStudio

Reproducible Research with R and RStudio The R Series Reproducible Research with R and RStudio Christopher Gandrud C\ CRC Press cj* Taylor & Francis Croup Boca Raton London New York CRC Press is an imprint of the Taylor & Francis Group an informa

More information

CS 390 Chapter 2 Homework Solutions

CS 390 Chapter 2 Homework Solutions CS 390 Chapter 2 Homework Solutions 2.1 What is the purpose of... System calls are used by user-level programs to request a service from the operating system. 2.5 What is the purpose of... The purpose

More information

SQL Server 2017: Data Science with Python or R?

SQL Server 2017: Data Science with Python or R? SQL Server 2017: Data Science with Python or R? Dejan Sarka Sponsor Introduction Dejan Sarka (dsarka@solidq.com, dsarka@siol.net, @DejanSarka) 30 years of experience SQL Server MVP, MCT, 16 books 20+ courses,

More information

Zend Studio has the reputation of being one of the most mature and powerful

Zend Studio has the reputation of being one of the most mature and powerful Exploring the developer environment RAPID DEVELOPMENT PHP experts consider Zend Studio the most mature and feature-rich IDE for PHP. The latest version offers enhanced database manipulation and other improvements.

More information

Coding in C at Home. Part 2 Computational Physics. April 21, 2016

Coding in C at Home. Part 2 Computational Physics. April 21, 2016 Coding in C at Home Part 2 Computational Physics April 21, 2016 1 1 Introduction This document gives a quick overview of how to go about compiling and running C code at home. You are not expected to do

More information

Operating System Services. User Services. System Operation Services. User Operating System Interface - CLI. A View of Operating System Services

Operating System Services. User Services. System Operation Services. User Operating System Interface - CLI. A View of Operating System Services Operating System Services One set of services for users The other set of services for system operations Operating Systems Structures Notice: This set of slides is based on the notes by Professor Perrone

More information

Software Concepts. It is a translator that converts high level language to machine level language.

Software Concepts. It is a translator that converts high level language to machine level language. Software Concepts One mark questions: 1. What is a program? It is a set of instructions given to perform a task using a programming language. 2. What is hardware? It is defined as physical parts of the

More information

DKM COLLEGE FOR WOMEN (AUTONOMOUS),VELLORE-1.

DKM COLLEGE FOR WOMEN (AUTONOMOUS),VELLORE-1. DKM COLLEGE FOR WOMEN (AUTONOMOUS),VELLORE-1. DEPARTMENT OF COMPUTER SCIENCE & APPLICATIONS QUESTION BANK: BASICS OF INFORMATION TECHNOLOGY UNIT I: INTRODUCTION SECTION-A 2 MARKS 1. What is a computer?

More information

The Evolution of Big Data Platforms and Data Science

The Evolution of Big Data Platforms and Data Science IBM Analytics The Evolution of Big Data Platforms and Data Science ECC Conference 2016 Brandon MacKenzie June 13, 2016 2016 IBM Corporation Hello, I m Brandon MacKenzie. I work at IBM. Data Science - Offering

More information

CS 370 The Pseudocode Programming Process D R. M I C H A E L J. R E A L E F A L L

CS 370 The Pseudocode Programming Process D R. M I C H A E L J. R E A L E F A L L CS 370 The Pseudocode Programming Process D R. M I C H A E L J. R E A L E F A L L 2 0 1 5 Introduction At this point, you are ready to beginning programming at a lower level How do you actually write your

More information

Motion Graph Practice

Motion Graph Practice Motion Graph Practice Materials needed: Photocopied sheets, 1 per group as explained, a computer or 2 located in the classroom for student reference. Teacher Instructions: 1. The key to getting the students

More information

Explore commands on the ribbon Each ribbon tab has groups, and each group has a set of related commands.

Explore commands on the ribbon Each ribbon tab has groups, and each group has a set of related commands. Quick Start Guide Microsoft Excel 2013 looks different from previous versions, so we created this guide to help you minimize the learning curve. Add commands to the Quick Access Toolbar Keep favorite commands

More information

Geographic Information Systems (GIS) - Hardware and software in GIS

Geographic Information Systems (GIS) - Hardware and software in GIS PDHonline Course L153 (5 PDH) Geographic Information Systems (GIS) - Hardware and software in GIS Instructor: Steve Ramroop, Ph.D. 2012 PDH Online PDH Center 5272 Meadow Estates Drive Fairfax, VA 22030-6658

More information

L A TEX for psychological researchers

L A TEX for psychological researchers Kahoot! L A TEX for psychological researchers Lecture 1: Introducton Sacha Epskamp University of Amsterdam Department of Psychological Methods 27-01-2015 Contact Details Workshop website: http://sachaepskamp.com/latex-workshop

More information

Software Development I

Software Development I 6.148 Software Development I Two things How to write code for web apps. How to collaborate and keep track of your work. A text editor A text editor A text editor Anything that you re used to using Even

More information

Programming the DMCC in C

Programming the DMCC in C Programming the DMCC in C Task This tutorial will teach you how to write your first program on a dual motor control cape (DMCC) through the BeagleBone microcontroller. The DMCC is a stackable board that

More information

Short Introduction to ESS

Short Introduction to ESS Why? Emacs ESS Demo Summary edd@debian.org, Dirk.Eddelbuettel@R-Project.org With thanks to ESS Core for their presentations in SVN Short presentation Chicago R User Group 16 December 2010 Outline Why?

More information

Simplicity and minimalism in software development

Simplicity and minimalism in software development Simplicity and minimalism in software development Introduction My name is Mattias Sundblad, I have been working as a software developer since 2006. I have worked for large corporations, small startups

More information

Visual Basic Primer A. A. Cousins

Visual Basic Primer A. A. Cousins Hard Wiring The first research computers of the late 1940s were programmed by hard wiring. Cables were plugged and unplugged into huge patch boards to physically alter the electrical circuitry. To program

More information

Semester 2, 2018: Lab 1

Semester 2, 2018: Lab 1 Semester 2, 2018: Lab 1 S2 2018 Lab 1 This lab has two parts. Part A is intended to help you familiarise yourself with the computing environment found on the CSIT lab computers which you will be using

More information

These are notes for the third lecture; if statements and loops.

These are notes for the third lecture; if statements and loops. These are notes for the third lecture; if statements and loops. 1 Yeah, this is going to be the second slide in a lot of lectures. 2 - Dominant language for desktop application development - Most modern

More information

TUTORIAL FOR IMPORTING OTTAWA FIRE HYDRANT PARKING VIOLATION DATA INTO MYSQL

TUTORIAL FOR IMPORTING OTTAWA FIRE HYDRANT PARKING VIOLATION DATA INTO MYSQL TUTORIAL FOR IMPORTING OTTAWA FIRE HYDRANT PARKING VIOLATION DATA INTO MYSQL We have spent the first part of the course learning Excel: importing files, cleaning, sorting, filtering, pivot tables and exporting

More information

Deep Learning for Visual Computing Prof. Debdoot Sheet Department of Electrical Engineering Indian Institute of Technology, Kharagpur

Deep Learning for Visual Computing Prof. Debdoot Sheet Department of Electrical Engineering Indian Institute of Technology, Kharagpur Deep Learning for Visual Computing Prof. Debdoot Sheet Department of Electrical Engineering Indian Institute of Technology, Kharagpur Lecture - 05 Classification with Perceptron Model So, welcome to today

More information

CSE 303: Concepts and Tools for Software Development

CSE 303: Concepts and Tools for Software Development CSE 303: Concepts and Tools for Software Development Dan Grossman Spring 2007 Lecture 19 Profiling (gprof); Linking and Libraries Dan Grossman CSE303 Spring 2007, Lecture 19 1 Where are we Already started

More information

Professor Hugh C. Lauer CS-1004 Introduction to Programming for Non-Majors

Professor Hugh C. Lauer CS-1004 Introduction to Programming for Non-Majors First Python Program Professor Hugh C. Lauer CS-1004 Introduction to Programming for Non-Majors (Slides include materials from Python Programming: An Introduction to Computer Science, 2 nd edition, by

More information

M1-R4: IT TOOLS AND BUSINESS SYSTEMS

M1-R4: IT TOOLS AND BUSINESS SYSTEMS M1-R4: IT TOOLS AND BUSINESS SYSTEMS NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions. 2. PART ONE is to be answered in the TEAR-OFF

More information

ODF for Blender in an elearning Context

ODF for Blender in an elearning Context ODF for Blender in an elearning Context Blender Conference 2008 Amsterdam, 25 th October 2008 Oliver Schneider Hochschule Darmstadt, Germany Zentrum für Advanced Learning, Medien und Simulation O.Schneider@fbi.h-da.de

More information

Plan. Language engineering and Domain Specific Languages. Language designer defines syntax. How to define language

Plan. Language engineering and Domain Specific Languages. Language designer defines syntax. How to define language Plan Language engineering and Domain Specific Languages Perdita Stevens School of Informatics University of Edinburgh 1. Defining languages 2. General purpose languages vs domain specific languages 3.

More information

Python for Analytics. Python Fundamentals RSI Chapters 1 and 2

Python for Analytics. Python Fundamentals RSI Chapters 1 and 2 Python for Analytics Python Fundamentals RSI Chapters 1 and 2 Learning Objectives Theory: You should be able to explain... General programming terms like source code, interpreter, compiler, object code,

More information

Welcome Back! Without further delay, let s get started! First Things First. If you haven t done it already, download Turbo Lister from ebay.

Welcome Back! Without further delay, let s get started! First Things First. If you haven t done it already, download Turbo Lister from ebay. Welcome Back! Now that we ve covered the basics on how to use templates and how to customise them, it s time to learn some more advanced techniques that will help you create outstanding ebay listings!

More information

CptS 360 (System Programming) Unit 3: Development Tools

CptS 360 (System Programming) Unit 3: Development Tools CptS 360 (System Programming) Unit 3: Development Tools Bob Lewis School of Engineering and Applied Sciences Washington State University Spring, 2018 Motivation Using UNIX-style development tools lets

More information

Using Images in FF&EZ within a Citrix Environment

Using Images in FF&EZ within a Citrix Environment 1 Using Images in FF&EZ within a Citrix Environment This document explains how to add images to specifications, and covers the situation where the FF&E database is on a remote server instead of your local

More information

Functional Programming and the Web

Functional Programming and the Web June 13, 2011 About Me Undergraduate: University of Illinois at Champaign-Urbana PhD: Penn State University Retrofitting Programs for Complete Security Mediation Static analysis, type-based compiler Racker:

More information

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below.

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below. Graphing in Excel featuring Excel 2007 1 A spreadsheet can be a powerful tool for analyzing and graphing data, but it works completely differently from the graphing calculator that you re used to. If you

More information

Cheiron Web Site: To Do and Done

Cheiron Web Site: To Do and Done Cheiron Web Site: To Do and Done Last update: July 3, 2018 To Do: Done: Need to add captions to remaining photo pages of past meetings (1995, 1993, 1992, 1990, 1989, 1988) o Make height of any portrait

More information

CS 246 Winter Tutorial 1

CS 246 Winter Tutorial 1 CS 246 Winter 2015 - Tutorial 1 January 11, 2016 1 Summary General Administration Stuff CS Undergraduate Environment Useful Software Basic Commands.profile Text Editors 2 General Administration Stuff Course

More information

How to Make Your Content ADA Compliant

How to Make Your Content ADA Compliant How to Make Your Content ADA Compliant Apptegy provides school districts with a fully ADA compliant website that meets WCAG 2.0 AA compliance. The big concern is how to keep a website compliant as users

More information

DETAILED SYLLABUS 1. INTRODUCTION TO COMPUTER

DETAILED SYLLABUS 1. INTRODUCTION TO COMPUTER DETAILED SYLLABUS 1. INTRODUCTION TO COMPUTER 1.0 Introduction 1.1 Objectives 1.2 What is Computer? 1.2.1 History of Computers 1.2.2 Characteristics Of Computer System 1.2.3 Basic Applications of Computer

More information

Chapter 2. Operating-System Structures

Chapter 2. Operating-System Structures Chapter 2 Operating-System Structures 2.1 Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System Calls System Programs Operating System

More information

Graduate Topics in Biophysical Chemistry CH Assignment 0 (Programming Assignment) Due Monday, March 19

Graduate Topics in Biophysical Chemistry CH Assignment 0 (Programming Assignment) Due Monday, March 19 Introduction and Goals Graduate Topics in Biophysical Chemistry CH 8990 03 Assignment 0 (Programming Assignment) Due Monday, March 19 It is virtually impossible to be a successful scientist today without

More information

Staff Microsoft Office Training Workshops

Staff Microsoft Office Training Workshops Staff Microsoft Office Training Workshops To see Course Information Hold down the CTRL key on the keyboard & click on the page number Contents Introduction to Office 365... 1 Introduction to Access Database

More information

Computing Long Term Plan

Computing Long Term Plan Beebot Virtual 2Go or Daisy Dino on ipad Give and follow instructions, which include straight and turning commands, one at a time. Explore outcomes when instructions are given in a sequence Give a simple

More information

Unix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011

Unix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011 Unix/Linux Operating System Introduction to Computational Statistics STAT 598G, Fall 2011 Sergey Kirshner Department of Statistics, Purdue University September 7, 2011 Sergey Kirshner (Purdue University)

More information

Introduction to Python Part 2

Introduction to Python Part 2 Introduction to Python Part 2 v0.2 Brian Gregor Research Computing Services Information Services & Technology Tutorial Outline Part 2 Functions Tuples and dictionaries Modules numpy and matplotlib modules

More information

Chapter 2. Tutorial: Extracting tables from PDF files

Chapter 2. Tutorial: Extracting tables from PDF files Chapter 2 Tutorial: Extracting tables from PDF files Summary: Ideally, we want to work with tables in machine-readable formats that can be opened in a spreadsheet or database file. While the open data

More information

Lab::Measurement Instrumentation control with Perl The Next Generation

Lab::Measurement Instrumentation control with Perl The Next Generation Lab::Measurement Instrumentation control with Perl The Next Generation Lab::Measurement is written in Perl Written in Perl (and some low-level stuff in C) To be used from programs written in Perl Perl:

More information

Software Revision Control for MASS. Git Basics, Best Practices

Software Revision Control for MASS. Git Basics, Best Practices Software Revision Control for MASS Git Basics, Best Practices Matthew Sell, CSSE Student MASS Research Participant, February 2014 What is revision control? The obligatory Wikipedia definition: revision

More information

Qualities of software and its development

Qualities of software and its development 1 / 17 Qualities of software and its development Miaoqing Huang University of Arkansas Spring 2010 Representative qualities 2 / 17 Correctness Robustness Performance Usability Maintainability Portability

More information

INF4820: Algorithms for Artificial Intelligence and Natural Language Processing. Common Lisp Fundamentals

INF4820: Algorithms for Artificial Intelligence and Natural Language Processing. Common Lisp Fundamentals INF4820: Algorithms for Artificial Intelligence and Natural Language Processing Common Lisp Fundamentals Stephan Oepen & Murhaf Fares Language Technology Group (LTG) August 30, 2017 Last Week: What is

More information

Transformer Looping Functions for Pivoting the data :

Transformer Looping Functions for Pivoting the data : Transformer Looping Functions for Pivoting the data : Convert a single row into multiple rows using Transformer Looping Function? (Pivoting of data using parallel transformer in Datastage 8.5,8.7 and 9.1)

More information

Read & Download (PDF Kindle) Microsoft SQL Server 2008 Administrator's Pocket Consultant

Read & Download (PDF Kindle) Microsoft SQL Server 2008 Administrator's Pocket Consultant Read & Download (PDF Kindle) Microsoft SQL Server 2008 Administrator's Pocket Consultant From the author and series editor of the immensely popular ADMINISTRATOR'S POCKET CONSULTANT series from Microsoft

More information

COMP26120 Academic Session: Lab Exercise 2: Input/Output; Strings and Program Parameters; Error Handling

COMP26120 Academic Session: Lab Exercise 2: Input/Output; Strings and Program Parameters; Error Handling COMP26120 Academic Session: 2018-19 Lab Exercise 2: Input/Output; Strings and Program Parameters; Error Handling Duration: 1 lab session For this lab exercise you should do all your work in your COMP26120/ex2

More information

DIRECTV Message Board

DIRECTV Message Board DIRECTV Message Board DIRECTV Message Board is an exciting new product for commercial customers. It is being shown at DIRECTV Revolution 2012 for the first time, but the Solid Signal team were lucky enough

More information

Python Programming: An Introduction to Computer Science

Python Programming: An Introduction to Computer Science Python Programming: An Introduction to Computer Science Introduction Python Programming, 2/e 1 Website https://cs.gsu.edu/~xyu3/csc1310 Python Programming, 2/e 2 What s a modern computer? Used almost everywhere

More information

Identifiers. Identifiers are the words a programmer uses in a program Some identifiers are already defined. Some are made up by the programmer:

Identifiers. Identifiers are the words a programmer uses in a program Some identifiers are already defined. Some are made up by the programmer: C1 D6 Obj: cont. 1.3 and 1.4, to become familiar with identifiers and to understand how programming languages work HW: p.51 #1.8 1.9 (Short Answers) Chapter 1 Test in two class days!! Do Now: How is the

More information

Quick Web Development using JDeveloper 10g

Quick Web Development using JDeveloper 10g Have you ever experienced doing something the long way and then learned about a new shortcut that saved you a lot of time and energy? I can remember this happening in chemistry, calculus and computer science

More information

Lecture 2 Operating System Structures (chapter 2)

Lecture 2 Operating System Structures (chapter 2) Bilkent University Department of Computer Engineering CS342 Operating Systems Lecture 2 Operating System Structures (chapter 2) Dr. İbrahim Körpeoğlu http://www.cs.bilkent.edu.tr/~korpe 1 References The

More information

Basic Computer Course

Basic Computer Course Basic Computer Course KNOWING COMPUTER: - 3. What is Computer? Basic Applications of Computer 4. Components of Computer System Central Processing Unit Keyboard, mouse and VDU Other Input devices Other

More information

Chapter 2: System Structures. Operating System Concepts 9 th Edition

Chapter 2: System Structures. Operating System Concepts 9 th Edition Chapter 2: System Structures Silberschatz, Galvin and Gagne 2013 Chapter 2: System Structures Operating System Services User Operating System Interface System Calls Types of System Calls System Programs

More information

CS240: Programming in C

CS240: Programming in C CS240: Programming in C Lecture 1: Class overview. Cristina Nita-Rotaru Lecture 1/ Fall 2013 1 WELCOME to CS240 Cristina Nita-Rotaru Lecture 1/ Fall 2013 2 240 Team Instructor: Cristina Nita-Rotaru Special

More information

The diverse software in Adobe Creative Suite 2 enables you to create

The diverse software in Adobe Creative Suite 2 enables you to create Chapter 1: Introducing Adobe Creative Suite 2 In This Chapter Looking over InDesign Drawing with Illustrator Introducing Photoshop Getting started with Acrobat Going over GoLive Integrating the programs

More information

Part 3. Operating Systems

Part 3. Operating Systems Part 3 Operating Systems Key Words The following words will crop up as part of the following presentation. You should use your notes sheet to log information about them when it is covered. You will be

More information

Using Microsoft PowerPoint for Our Evolved Brand

Using Microsoft PowerPoint for Our Evolved Brand Using Microsoft PowerPoint for Our Evolved Brand Introduction Microsoft PowerPoint is the most-used software after Microsoft Outlook at SAP What you use to get your job done What you need are easy and

More information

MATLAB is a multi-paradigm numerical computing environment fourth-generation programming language. A proprietary programming language developed by

MATLAB is a multi-paradigm numerical computing environment fourth-generation programming language. A proprietary programming language developed by 1 MATLAB is a multi-paradigm numerical computing environment fourth-generation programming language. A proprietary programming language developed by MathWorks In 2004, MATLAB had around one million users

More information

Chapter 3: Operating-System Structures

Chapter 3: Operating-System Structures Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System Design and Implementation System Generation 3.1

More information

C++ For Science and Engineering Lecture 2

C++ For Science and Engineering Lecture 2 C++ For Science and Engineering Lecture 2 John Chrispell Tulane University Wednesday August 25, 2010 Basic Linux Commands Command ls pwd cd What it does. lists the files in the current directory prints

More information

How to version control like a pro: a roadmap to your reproducible & collaborative research

How to version control like a pro: a roadmap to your reproducible & collaborative research How to version control like a pro: a roadmap to your reproducible & collaborative research The material in this tutorial is inspired by & adapted from the Software Carpentry lesson on version control &

More information

About Intellipaat. About the Course. Why Take This Course?

About Intellipaat. About the Course. Why Take This Course? About Intellipaat Intellipaat is a fast growing professional training provider that is offering training in over 150 most sought-after tools and technologies. We have a learner base of 700,000 in over

More information

Genome Assembly. 2 Sept. Groups. Wiki. Job files Read cleaning Other cleaning Genome Assembly

Genome Assembly. 2 Sept. Groups. Wiki. Job files Read cleaning Other cleaning Genome Assembly 2 Sept Groups Group 5 was down to 3 people so I merged it into the other groups Group 1 is now 6 people anyone want to change? The initial drafter is not the official leader use any management structure

More information

Exercises: Instructions and Advice

Exercises: Instructions and Advice Instructions Exercises: Instructions and Advice The exercises in this course are primarily practical programming tasks that are designed to help the student master the intellectual content of the subjects

More information

It is written in plain language: no jargon, nor formality. Information gets across faster when it s written in words that our users actually use.

It is written in plain language: no jargon, nor formality. Information gets across faster when it s written in words that our users actually use. Web Style Guide A style guide for use for writing on Tufts Library Websites and LibGuides. Contents: 1. Web style guides for online content 2. LibGuides 2-specific style guide 3. Tisch s website-specific

More information

Matlab for FMRI Module 1: the basics Instructor: Luis Hernandez-Garcia

Matlab for FMRI Module 1: the basics Instructor: Luis Hernandez-Garcia Matlab for FMRI Module 1: the basics Instructor: Luis Hernandez-Garcia The goal for this tutorial is to make sure that you understand a few key concepts related to programming, and that you know the basics

More information

EG 4.1. PC-SAS users. for. I C T EG 4.1 for PC-SAS Users. Thursday - May 7 th, 2009

EG 4.1. PC-SAS users. for. I C T EG 4.1 for PC-SAS Users. Thursday - May 7 th, 2009 EG 4.1 for PC-SAS users Agenda What EG 4.1 is? EG 4.1 vs. PC-SAS. Why not to use EG 4.1? Why to use EG 4.1? What s next for EG? Conclusion. Questions. 2 What EG 4.1 is? SAS Enterprise SAS ships Guide Enterprise

More information

Getting started with Hugs on Linux

Getting started with Hugs on Linux Getting started with Hugs on Linux CS190 Functional Programming Techniques Dr Hans Georg Schaathun University of Surrey Autumn 2008 Week 1 Dr Hans Georg Schaathun Getting started with Hugs on Linux Autumn

More information

2 A little on Spreadsheets

2 A little on Spreadsheets 2 A little on Spreadsheets Spreadsheets are computer versions of an accounts ledger. They are used frequently in business, but have wider uses. In particular they are often used to manipulate experimental

More information

Benchmarking of Different Programming Languages

Benchmarking of Different Programming Languages Benchmarking of Different Programming Languages Avinash Joshi Labs -Innovation and Development Mu Sigma Business Solutions Pvt Ltd Abstract This paper details the procedure followed in choosing the programming

More information

Paper ###-YYYY. SAS Enterprise Guide: A Revolutionary Tool! Jennifer First, Systems Seminar Consultants, Madison, WI

Paper ###-YYYY. SAS Enterprise Guide: A Revolutionary Tool! Jennifer First, Systems Seminar Consultants, Madison, WI Paper ###-YYYY SAS Enterprise Guide: A Revolutionary Tool! Jennifer First, Systems Seminar Consultants, Madison, WI ABSTRACT Whether you are a novice or a pro with SAS, Enterprise Guide has something for

More information

CSC 443: Web Programming

CSC 443: Web Programming 1 CSC 443: Web Programming Haidar Harmanani Department of Computer Science and Mathematics Lebanese American University Byblos, 1401 2010 Lebanon Today 2 Course information Course Objectives A Tiny assignment

More information

Misc. Third Generation Batch Multiprogramming. Fourth Generation Time Sharing. Last Time Evolution of OSs

Misc. Third Generation Batch Multiprogramming. Fourth Generation Time Sharing. Last Time Evolution of OSs Third Generation Batch Multiprogramming Misc. Problem: but I/O still expensive; can happen in middle of job Idea: have a pool of ready jobs in memory, switch to one when another needs I/O When one job

More information

Assignment 6: The Power of Caches

Assignment 6: The Power of Caches Assignment 6: The Power of Caches Due by: April 20, 2018 before 10:00 pm Collaboration: Individuals or Registered Pairs (see Piazza). It is mandatory for every student to register on Piazza. Grading: Packaging

More information

CSE 4/521 Introduction to Operating Systems

CSE 4/521 Introduction to Operating Systems CSE 4/521 Introduction to Operating Systems Lecture 3 Operating Systems Structures (Operating-System Services, User and Operating-System Interface, System Calls, Types of System Calls, System Programs,

More information

LOGGING IN TO EASYBIB 1. Using Google Chrome, go to and click on Login: 2. Click on the option Sign in with Google:

LOGGING IN TO EASYBIB 1. Using Google Chrome, go to   and click on Login: 2. Click on the option Sign in with Google: LOGGING IN TO EASYBIB 1. Using Google Chrome, go to http://easybib.com and click on Login: 2. Click on the option Sign in with Google: 1 CREATING A NEW PROJECT OR ADDING TO AN EXISTING PROJECT 1. If you

More information

Scientific Python. 1 of 10 23/11/ :00

Scientific Python.   1 of 10 23/11/ :00 Scientific Python Neelofer Banglawala Kevin Stratford nbanglaw@epcc.ed.ac.uk kevin@epcc.ed.ac.uk Original course authors: Andy Turner Arno Proeme 1 of 10 23/11/2015 00:00 www.archer.ac.uk support@archer.ac.uk

More information

Python is available at: https://www.python.org/ Why Python is awesome: https://www.python.org/about/success/

Python is available at: https://www.python.org/ Why Python is awesome: https://www.python.org/about/success/ The Python IDLE: Introduction This tutorial assumes you have a PYTHON 3 version of the programming language installed. (Current version at of this writing is Python 3.6) Python is available at: https://www.python.org/

More information

Last class: OS and Architecture. OS and Computer Architecture

Last class: OS and Architecture. OS and Computer Architecture Last class: OS and Architecture OS and Computer Architecture OS Service Protection Interrupts System Calls IO Scheduling Synchronization Virtual Memory Hardware Support Kernel/User Mode Protected Instructions

More information

The Root Cause of Unstructured Data Problems is Not What You Think

The Root Cause of Unstructured Data Problems is Not What You Think The Root Cause of Unstructured Data Problems is Not What You Think PRESENTATION TITLE GOES HERE Bruce Thompson, CEO Action Information Systems www.expeditefile.com What is this presentation all about?

More information