CS 0008 Introduction to Computer Programming Jan Wiebe:

Slides:



Advertisements
Similar presentations
Continuation of chapter 6…. Nested while loop A while loop used within another while loop is called nested while loop. Q. An illustration to generate.
Advertisements

Foundations of Programming and Problem Solving Introduction.
Introduction to Computer Science Robert Sedgewick and Kevin Wayne Copyright © Recursive GCD Demo public class.
Introduction to Computer Science Robert Sedgewick and Kevin Wayne Recursive Factorial Demo pubic class Factorial {
Loops –Do while Do While Reading for this Lecture, L&L, 5.7.
Picture It Very Basic Game Picture Pepper. Original Game import java.util.Scanner; public class Game { public static void main() { Scanner scan=new Scanner(System.in);
SORTING AND ASYMPTOTIC COMPLEXITY Lecture 12 CS2110 – Spring 2014 File searchSortAlgorithms.zip on course website (lecture notes for lectures 12, 13) contains.
½ hour Chapter 2 Java in 30 minutes 1. 2 Rationale ½ hour Teaching a computer language like a logical system is possible. But not necessarily helpful.
Your First Java Program: HelloWorld.java
1-1 ICS102: Introduction To Computing King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science.
Slide 1 of 40. Lecture A The Java Programming Language Invented 1995 by James Gosling at Sun Microsystems. Based on previous languages: C, C++, Objective-C,
CHAPTER 1 GC 101 Introduction to computers and programs.
CS 0007 Introduction to Computer Programming Jan Wiebe: Office Hours: T: 3-4pm; Th 2-3pm; and by appt.
Welcome to CompSci 100! As You Arrive… Make sure you grab a syllabus packet. Read through it. I will be covering the most essential points in my talk,
Android Club Joe Richard. Welcome Rakhimov Gayrat – JOE Global Solutions (BI, CBU, MedApp) WIUT Sunet Technology (QMS, WM) Ice breaking.
Introduction to Python Dr. Bernard Chen Ph.D. University of Central Arkansas July 9 th 2012
Basics Programming Concepts. Basics A computer program is a set of instructions to tell a computer what to do Machine language = circuit level language.
CS 160 Introduction to Computer Science Andrew Scholer
CS 106 Introduction to Computer Science I 01 / 25 / 2010 Instructor: Michael Eckmann.
Media Computing Instructor Byung Kim Olsen 231 Office hours – MWF 9:00-10:00 AM or by appointment.
Python at Cypress Woods. About Cy-Woods Northwest of Houston Roughly 3,500 students Part of Cy-Fair ISD with 100,000+ students Cypress Woods High School.
Introduction to Computers and Java Chapter 1.3. A Sip of Java: Outline History of the Java Language Applets A First Java Program Compiling a Java Program.
CS Final Project 2010 Rohan Paramesh. The Programs  Implementing 3 programs each in C# and Python  Student Scheduler  Assigns courses and students,
Lecture 2: Classes and Objects, using Scanner and String.
Input & Output In Java. Input & Output It is very complicated for a computer to show how information is processed. Although a computer is very good at.
Introduction to programming in the Java programming language.
Jens Dalsgaard Nielsen Jan Dimon Bendtsen Dept. of Electronic Systems Basic Programming INS-basis GF, PDP and HST.
Can we talk?. In Hello World we already saw how to do Standard Output. You simply use the command line System.out.println(“text”); There are different.
CS 100Lecture 11 Welcome to CS 100 n Goal: Learn to write intelligible, correct computer programs n Language: Java (but the language should not be the.
Introduction to Computer Programming CS 126 Lecture 2 Zeke Maier.
Pre-Sessional Java Programming Lecture 1a Reyer Zwiggelaar
 Instructor: Dr. Jason Nichols –  Office Hours: – 9:30-10:30 M/W/F or by appointment – Business Building.
1 CSC111H Introduction Dennis Burford
Warm Up As you enter get out a half sheet of loose paper. Write the HelloWorld program on it. Be prepared to correct your code.
CS7 Recitation Cem Akkaya. Outline  Homework-0 in detail  Useful links and tools  Setting up your java environment.
Hitchhiker’s Guide to CS Lee Sieger, Tim Cook, Jason Day, Zuozhi Yang.
Java and C++ Transitioning. A simple example public class HelloWorldApp { public static void main(String[] args) { //Display the string. System.out.println("Hello.
CSc 201 Introduction to Java George Wells Room 007, Hamilton Building
CS 106 Introduction to Computer Science I 01 / 22 / 2007 Instructor: Michael Eckmann.
CHAPTER 1 INTRODUCTION. CHAPTER GOALS To understand the activity of programming To learn about the architecture of computers To learn about machine code.
WHY ARE WE HERE? Nick Derrickson BA371, Winter 2016.
Computer Science Reaching Wider Summer School 2012.
1 WELCOME TO COMPUTER SCIENCE 1027b COMPUTER SCIENCE FUNDAMENTALS II Lecturers: John Barron (001) James Hughes(002)
CS001 Introduction to Programming Day 6 Sujana Jyothi
Computer Science A 1. Course plan Introduction to programming Basic concepts of typical programming languages. Tools: compiler, editor, integrated editor,
COP-3330: Object Oriented Programming Course Introduction May 14, 2012 Eng. Hector M Lugo-Cordero, MS.
UFCFY5-30-1Multimedia Studio Coding for Interactive Media Fundamental Concepts.
Concepts to Curriculum Building a course to build skills.
CS 201 Lecture 1 (b) Using an IDE Tarik Booker CS 201: Introduction to Programming California State University, Los Angeles.
Introduction to java (class and object). Programming languages: –Easier to understand than CPU instructions –Needs to be translated for the CPU to understand.
COMP9024: Data Structures and Algorithms Course Outline Hui Wu Session 1, 2016
Introduction to Computer Science What is Computer Science? Getting Started Programming.
CSC 241: Introduction to Computer Science I
Introduction of Java Fikri Fadlillah, S.T.
CS210 Intermediate Computing with Data Structures (Java)
The eclipse IDE IDE = “Integrated Development Environment”
Introduction to Computer Programming
Exercise Java programming
using System; namespace Demo01 { class Program
C Programming Language
Chapter 2 Java in 30 minutes
Introduction to Computers and Python
Using the Java Library API
Computer Programming 1 introduction to JAVA Lecture 1 Instructor: Ruba A. Salamah Islamic University of Gaza.
class PrintOnetoTen { public static void main(String args[]) {
Introduction: Why Study Algorithms?
Introduction to Computer Science I.
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
CSC 241: Introduction to Computer Science I
Algorithm and Programming
Presentation transcript:

CS 0008 Introduction to Computer Programming Jan Wiebe:

Today Learn what the course is about Go over the syllabus Get our feet wet with a first program

This Course Teaches the basics of programming Uses Python – Industrial strength programming language used at 1000s of companies. One of four official Google languages (the others are Java, C++, and Go) – Clean syntax – Free, well documented, well supported

This Course Programming ideas are the same from one language to another Once you learn one language, it is straightforward to learn others Python programs are shorter and simpler than Java programs. So, you can concentrate on the ideas, and learn programming concepts quicker.

Examples Java: Public class HelloWorld { public static void main (String[] args) { System.out.println(“Hello, world!”); } Python: print(“Hello, world!”)

Examples Java: Int myCounter = 0; String myString = String.valueOf(myCounter); If (myString.equals(“0”)) … Python: myCounter = 0 myString = str(myCounter) If myString == “O”: … Later in the course, we will discuss appropriate uses of the two languages

What sorts of problems are solved with programming? Remove red-eye from a picture Find the complement of a DNA strand Display maps with airplane flight paths Multiply matrices Assess the reading level of a text book Programming is used in all areas

Syllabus and Course Website /Sp2015 The link is reachable from courseweb, under “syllabus”