CSCI 201: Intro to Programming (Java)
Programs designed in class
- Traversing a string:
- Computing the sum and the average of integers in the loop:
- Redirection of input/output
- Nested loops and multiplication table
- Drawing the graph of f(x) = |x·sin(x)/(x2 + 2)| in interval [-3π .. 3π] and the source file
- Grading a class of students:
- Computing the Greatest Common Divisor (GCD):
- application with a while-loop
- application with a do..while-loop
- applet run it
- rewriting the algorithm as a function
- NetBeans GCD project
- Computing the root of function f(x) = x2 - 2
- Number conversion: