Lectures (Video)
- 1. Introduction
- 2. Karel Program
- 3. Karel and Java
- 4. First Java Program
- 5. Variables
- 6. Data Types and Statement Blocks
- 7. Loops
- 8. Using Classes
- 9. More on classes
- 10. Methods
- 11. Events
- 12. Characters
- 13. Encryption
- 14. Memory
- 15. File IO
- 16. Arrays
- 17. More on Arrays
- 18. Debugging
- 19. Interface and HashMap
- 20. GUI and Interactors
- 21. Example Programs
- 22. Components and Containers
- 23. Searching and Sorting
- 24. Software Engineering and Design
- 25. Thread
- 26. Java Libraries
Programming Methodology - Lecture 6
|
Get the Flash Player to view video.
Lecture 6 - Data Types and Statement Blocks
readInt() and readDouble(), The Division Operator w.r.t ints and Doubles, Order of Precedence for Operators, Type Casting, Shorthands, Constants, The Boolean Data Type, Value Comparisons, Boolean Expressions, Short Circuit Evaluation, Statement Blocks, Scope of Variables, Cascading if, The Switch Statement, The For Loop, The While Loop
Mehran Sahami
Introduction to Computer Science/Programming Methodology (Stanford University: Stanford Engineering Everywhere) http://see.stanford.edu Date accessed: 2008-11-25 License: Creative Commons Attribution 3.0 |
Lecture Material
To view the lecture material accompanying this lecture in a new window, please click the button below. If necessary, use the vertical or horizontal scrollbar in the new window to view more of the material or you can resize the window.
To download the above lecture material use this link. (Right-click and select Save Target As or Save Link As.)
Supplementary lecture material is listed below.1. Program patterns
2. Control Statements
3. Programming Assignment 2 - Simple Java
4. Start code for Programming Assignment 2


