Intro To Comp Sci I
Intro To Comp Sci I CS 160
Popular in Course
Popular in ComputerScienence
This 0 page Class Notes was uploaded by Tad Vandervort on Sunday November 1, 2015. The Class Notes belongs to CS 160 at Indiana University Purdue University - Fort Wayne taught by Staff in Fall. Since its upload, it has received 40 views. For similar materials see /class/233546/cs-160-indiana-university-purdue-university-fort-wayne in ComputerScienence at Indiana University Purdue University - Fort Wayne.
Reviews for Intro To Comp Sci I
Report this Material
What is Karma?
Karma is the currency of StudySoup.
You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!
Date Created: 11/01/15
CS 160 Class Notes January 18 2007 1 Quiz 10 minutes 2 Go over creating a Java Project 3 Work through the example program in the class 4 Review 43 75 255 74 75 377625460 5 type casting int 79 67 int C 6 Class String Position of a Character in the String length of a string Mastodon 7 Input allocate memory and put the data in the allocated memory 8 Named constant A memory location whose content is not allowed to change during program execution 9 name constants are often in uppercase letters words in a runtogetherword are separated by an underscore the default type of oatingpoint number is double Final oat PAYiRAT 1575f the advantage using named constant versus the data value itself variable A memory location whose content may change during program execution usually in lowercase letters the first letter of each word in a run togetherword can be in uppercase Assignment statement declare and initialize variables int first second first 2 second 5 O ND I D ID I bu or int first 2 second 5 Input Read Statement Input stream objects and associate it with the standard device Static Scanner console new ScannerSystem in consolenextInt consolenextDouble consolenext consolenextLine skip any whitespace characters blanks newline tab Workout Example2il6 16 Read a Single Character Reminder students should workthrough a program 17 Input using Scanner textbook example 217 UI January 23 2007 1 Reading a Single character char ch ch consolenextcharAt0 Class Scanner is in page 1049 Class String is in page 1053 Appendix E Java Classes 9 HHpW QM e Consolenext returns a String object Please read Example 2 18 at home increment and decrement operators Preincrement Variable Postincrement variable39 Predecrement Variable Postdecrement variable Good practise do not use increment or decrement in an expression packages classes methods see Appendix for methods for String and Scanner import packageName all contents of the package Example import javautil import javautilScanner Scanner class only System automatically import javalang Create a Java application program Programming style and form programming example a problem analysis and algorithm design variables named constant main algorithm putting it together 9amp0
Are you sure you want to buy this material for
You're already Subscribed!
Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'