Introduction to Programming (CS 201)

Slides:



Advertisements
Similar presentations
Introduction to programming in java. Input and output to screen with Java program Structure of Java programs Statements Conditional statements.
Advertisements

An Introduction to Programming By :- Vishal Hirani B.Tech II year (CSE)
In Review JAVA C++ GUIs - Windows Webopedia.com.
Write a program step by step. Step 1: Problem definition. Given the coordinate of two points in 2-D space, compute and print their straight distance.
Object Oriented Programming in Java George Mason University Fall 2011
Introduction to Computer Programming in C
Lecture 2: Do you speak Java?. From Problem to Program Last Lecture we looked at modeling with objects! Steps to solving a business problem –Investigate.
Lecture 14 Go over midterm results Algorithms Efficiency More on prime numbers.
CENG 161 Introduction to Computer Science Instructor: Dr. Nurdan SARAN Lab Assistant: Arzu Burçak Sönmez.
OBJECT ORIENTED PROGRAMMING I LECTURE 1 GEORGE KOUTSOGIANNAKIS
CSC 171 – FALL 2004 COMPUTER PROGRAMMING LECTURE 0 ADMINISTRATION.
Lecture 2: Do you speak Java?. From Problem to Program Last Lecture we looked at modeling with objects! Steps to solving a business problem –Investigate.
Honors 101, Fall 2006 Please do not sit in back of room! Lots of info on web page Join the mailing list Download Eclipse and start using it Read the text.
Computer Science A 1: 3/2. Course plan Introduction to programming Basic concepts of typical programming languages. Tools: compiler, editor, integrated.
CS0007: Introduction to Computer Programming Setting Up Java.
“Introduction to Programming With Java”
Introducing Java.
Parts of a Computer Why Use Binary Numbers? Source Code - Assembly - Machine Code.
Introduction COMP104: Fundamentals and Methodology.
Chapter 2 How to Compile and Execute a Simple Program.
Foundation Programming Introduction. Aims This course aims to give students a basic understanding of computer programming. On completing this course students.
CMSC 202 Computer Science II for Majors Object-Oriented Programming.
Welcome to the Lecture Series on “Introduction to Programming With Java”
Session One Introduction. Personal Introduction Role of programmers Robot Examination HUD & HID Uploading Code.
Computer Science 119 Intro to Java 9/24 and 9/25.
© 2012 Pearson Education, Inc. All rights reserved. 1-1 Why Java? Needed program portability – Program written in a language that would run on various.
Chapter 1: Introducing JAVA. 2 Introduction Why JAVA Applets and web applications Very rich GUI libraries Portability (machine independence) A real Object.
JAVA Programming “When you are willing to make sacrifices for a great cause, you will never be alone.” Instructor: รัฐภูมิ เถื่อนถนอม
Overview Object oriented programming How to run a simple program.
Introduction Mehdi Einali Advanced Programming in Java 1.
© 2012 Pearson Education, Inc. All rights reserved types of Java programs Application – Stand-alone program (run without a web browser) – Relaxed.
Programming in C++ History of Programming 1st Generation –Machine Language 2nd Generation –Assembly Language 3rd Generation.
Lecture1 Instructor: Amal Hussain ALshardy. Introduce students to the basics of writing software programs including variables, types, arrays, control.
CS 161 Introduction to Computer Science I Winter, 2014: 112 Spring, 2014: 131 Summer, 2014: 132.
ICS312 Introduction to Compilers Set 23. What is a Compiler? A compiler is software (a program) that translates a high-level programming language to machine.
Computer Programming Week 1: The Basics of CP 1 st semester 2012 School of Information Technology Website:
Introduction to Programming (CS 201) Lecture 01 - Introduction.
Fundamental of Java Programming (630002) Unit – 1 Introduction to Java.
Introduction to Algorithm. What is Algorithm? an algorithm is any well-defined computational procedure that takes some value, or set of values, as input.
CS140 – Computer Programming 1 Course Overview First Semester – Fall /1438 – 2016/2017 CS140 - Computer Programming 11.
Introduction to programming in java
Lecture 1b- Introduction
Computer Engineering Department Islamic University of Gaza
Programming what is C++
Chapter 5- Assembling , Linking, and Executing Programs
Writing, Compiling and Running a C program
C Programming Language
Java programming lecture one
CMPE419 Mobile Application Development
Programming COMP104: Fundamentals and Methodology Introduction.
PRG 420 NERD Experience Tradition / prg420nerd.com.
PRG 420 Perfect Education/ prg420.com.
PRG 420 NERD Perfect Education/ prg420nerd.com.
Mohammad H. Mofrad University of Pittsburgh
Introduction to Java Dept. Business Computing University of Winnipeg
and Executing Programs
CS190/295 Programming in Python for Life Sciences: Lecture 1
Advanced Programming Fall 2017.
Unit 1: Introduction Lesson 1: PArts of a java program
Introduction to Algorithm Design
CSE 113 A January 19 – 23, 2009.
January 19 – 23, 2009 CSE 113 B.
Programming Fundamentals Lecture #3 Overview of Computer Programming
Accelerated Introduction to Computer Science
Introduction to Compiler Construction
Introduction to Computer Science
Programming Fundamentals Lecture #1 Overview of Computer Programming
CS313T Advanced Programming language
Introduction to Computer Science
Presentation transcript:

Introduction to Programming (CS 201) Lecture 01 - Introduction

Recommended Text Books Introduction to Java and Object Oriented Programming (Volume 1) Sebastian Danicic, University of London. Online: http://www.doc.gold.ac.uk/~mas01lo/course/2012- 2013/foundation/lecture-slides/java-study-guide-volume1.pdf Introduction to Programming in Java: An Interdisciplinary Approach Robert Sedgewick, Princeton University Online: http://introcs.cs.princeton.edu/java/home/

Syllabus Input and output to screen with Java program Structure of Java programs Statements Data types Standard Input Conditional statements Loop constructs Arrays, character and string handling Random Number generation Filing (Reading and Writing ) Functions

2 Programming Assignments Marks Distribution 1st Midterm Exam 20% 2nd Midterm Exam Final Exam 40% 2 Quizzes 10 % 2 Programming Assignments 10%

Ref: http://introcs.cs.princeton.edu/java/lectures/11hello.pdf

Ref: http://introcs.cs.princeton.edu/java/lectures/11hello.pdf

Ref: http://introcs.cs.princeton.edu/java/lectures/11hello.pdf

Ref: http://introcs.cs.princeton.edu/java/lectures/11hello.pdf

Before Writing First Java Program Step 1: Download Java Development Kit (JDK SE v7 ) from http://www.oracle.com/technetwork/java/javase/download s/index.html Step 2: Download ‘DrJava Windows App’ from http://www.drjava.org/ Instead of DrJava you can also use any other editor such as Simple Notepad, NetBeans etc.

Snap Shot of DrJava App Ref: http://introcs.cs.princeton.edu/java/lectures/11hello.pdf

Write Java Program Save Program Compile Program Run Program General Steps Write Java Program Save Program Compile Program Run Program Compiling is the process of translating source code written in a particular programming language into computer-readable machine code that can be executed.