Introduction to Computer Science What is Computer Science? Getting Started Programming.

Slides:



Advertisements
Similar presentations
Software. What Is Software? software –Also called Computer programs –Are a list of instructions –Instructions are called code –CPU performs the instructions.
Advertisements

Client Side Programming Using Java Applet Outcomes: You will be expected to know: – Java Applets and HTML file; –bytecode and platform independent programs;
ALGORITHMS CSC 171 LECTURE 1. What is “Computer Science”? What is “Science”? What is a “Computer”? What is “Computation”?
Datalogi A 1: 8/9. Book: Cay Horstmann: Big Java or Java Consepts.
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,
CS 153: Concepts of Compiler Design August 25 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
ALGORITHMS CSC 171 LECTURE 1. What is “Computer Science”? What is “Science”? What is a “Computer”? What is “Computation”?
CS107 Introduction to Computer Science Java Basics.
1 Building Java Programs Chapter 1: Introduction to Java Programming These lecture notes are copyright (C) Marty Stepp and Stuart Reges, They may.
Concept of Computer Programming November 2, 2011.
IB Computer Science II Paul Bui
Lecture 1 Introduction to Java MIT- AITI 2004 What is a Computer Program? For a computer to be able to do anything (multiply, play a song, run a word.
Introduction to Python Dr. Bernard Chen Ph.D. University of Central Arkansas July 9 th 2012
Introduction to Programming Prof. Rommel Anthony Palomino Department of Computer Science and Information Technology Spring 2011.
1 TOPIC 1 INTRODUCTION TO COMPUTER SCIENCE AND PROGRAMMING Topic 1 Introduction to Computer Science and Programming Notes adapted from Introduction to.
CS 106 Introduction to Computer Science I 01 / 25 / 2010 Instructor: Michael Eckmann.
CS107 Introduction to Computer Science Java Basics.
Media Computing Instructor Byung Kim Olsen 231 Office hours – MWF 9:00-10:00 AM or by appointment.
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.
Session One Introduction. Personal Introduction Role of programmers Robot Examination HUD & HID Uploading Code.
The string data type String. String (in general) A string is a sequence of characters enclosed between the double quotes "..." Example: Each character.
Lecture 1 Introduction to Java MIT-AITI Ethiopia 2004.
Board Activity Find your seat on the seating chart Login – Remember your login is your first initial your last name and the last three numbers of your.
Week 1 - Friday.  What did we talk about last time?  Our first Java program.
Java means Coffee Java Coffee Beans The name “JAVA” was taken from a cup of coffee.
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.
Chapter 1 Object Orientation: Objects and Classes.
Floating point numerical information. Previously discussed Recall that: A byte is a memory cell consisting of 8 switches and can store a binary number.
Objects, Classes and Syntax Dr. Andrew Wallace PhD BEng(hons) EurIng
Object-Oriented Program Development Using Java: A Class-Centered Approach, Enhanced Edition.
Introduction to programming in the Java programming language.
An Introduction to Java – Part 1 Dylan Boltz. What is Java?  An object-oriented programming language  Developed and released by Sun in 1995  Designed.
4-Nov-15 Air Force Institute of Technology Electrical and Computer Engineering Object-Oriented Programming Design Topic 1: The Java Environment Maj Joel.
College Board A.P. Computer Science A Topics Program Design - Read and understand a problem's description, purpose, and goals. Procedural Constructs -
BEGINNING PROGRAMMING.  Literally – giving instructions to a computer so that it does what you want  Practically – using a programming language (such.
CS101: Introduction to Computer Science Slides adapted from Sedgewick and Wayne Copyright © Your First Java.
1 TOPIC 1 INTRODUCTION TO COMPUTER SCIENCE AND PROGRAMMING Topic 1 Introduction to Computer Science and Programming Notes adapted from Introduction to.
1 WELCOME TO CIS 1068! Instructor: Alexander Yates.
Introduction to Computer and Programing Thanachat Thanomkulabut.
CS 106 Introduction to Computer Science I 01 / 22 / 2007 Instructor: Michael Eckmann.
Java FilesOops - Mistake Java lingoSyntax
Introduction to array: why use arrays ?. Motivational example Problem: Write a program that reads in and stores away 5 double numbers After reading in.
Agenda Comments Identifiers Keywords Syntax and Symentics Indentation Variables Datatype Operator.
Computer Science Reaching Wider Summer School 2012.
Java Programming Daily review / 1 PT. each.
Invent Your Own Computer Games with Python
CS 106 Introduction to Computer Science I 01 / 22 / 2008 Instructor: Michael Eckmann.
Computer Science A 1. Course plan Introduction to programming Basic concepts of typical programming languages. Tools: compiler, editor, integrated editor,
ITP 109 Week 2 Trina Gregory Introduction to Java.
Computer Science I Lab 1 ISMAIL ABUMUHFOUZ | CS 180.
Introduction to 1. What is Java ? Sun Microsystems Java is a programming language and computing platform first released by Sun Microsystems in The.
UFCFY5-30-1Multimedia Studio Coding for Interactive Media Fundamental Concepts.
Introduction to Programming using Java Day 3 and 4 Java Language Basics Review The “For” loop Subroutines The “String” class.
Java Methods and Applications CSIS 3701: Advanced Object Oriented Programming.
Introduction to programming in java
Object-Oriented programming for Beginners LEAPS Computing 2015
John Woodward A Simple Program – Hello world
using System; namespace Demo01 { class Program
C Programming Language
Introduction to Computers and Python
The Boolean (logical) data type boolean
Tonga Institute of Higher Education
Introduction to Java Brief history of Java Sample Java Program
A Java Application public class Hello { public static void main(String [] args) { System.out.println("Hello, World!"); } } public class.
A Java Application public class Hello { public static void main(String [] args) { System.out.println("Hello, World!"); } } public class.
IB Computer Science II Paul Bui
Introduction to Computer Science
Introduction to Computer Science I.
Lecture 22: Number Systems
CSC 241: Introduction to Computer Science I
Presentation transcript:

Introduction to Computer Science What is Computer Science? Getting Started Programming

Computer Science Study of Recipes –Programs –Algorithms What do computer scientists study? –How do recipes work apart from how they are implemented—an algorithm –Can recipes be written for any problem? –How do people interact with a computer? –How do we store large amounts of data? –What kind of recipes can you write to ___________? You fill in the blank!

Programs What is a programming language? –Machine Language –Assembly Language –High Level Language Examples –Java –Scheme

Java public class HelloWorld { public static void main(String[] args) { System.out.println(“Hello World”); }

Scheme (define helloworld (lambda () (display “Hello world”) (newline)))

Program vs Algorithm What is the difference between a program and an algorithm? Your Turn!

Why Binary? Computers are just big collection of switches!!! = 87 Your turn –1001 –

Digital Media Images Sound Why digitize?

Java Object-oriented –Object –Class Syntax Semantics Analogous to a written language!!

DrJava Files Pane Definition Pane Interaction Pane

DrJava Demo Operators –Math –Relational Printing Integers vs Reals Strings Variables Object Variables