CS101
COMPLETEComputer Programming 1
CS101 introduces the foundations of programming through Java. The course focuses on writing, testing, and debugging programs using variables, data types, selection, repetition, methods, arrays, and file input/output. It is a hands-on programming course, so the theory is learned through regular lab work and Java practice.
CS101 introduces the foundations of programming through Java. The course focuses on writing, testing, and debugging programs using variables, data types, selection, repetition, methods, arrays, and file input/output. It is a hands-on programming course, so the theory is learned through regular lab work and Java practice.
- Use basic programming language features such as variables, data types, operators, type casting, arithmetic expressions, and the Math library.
- Use selection statements, including `if`, nested `if`, `if-else`, `switch`, logical operations, and logical expressions.
- Use repetition statements, including `while`, `do-while`, `for`, nested loops, `break`, and `continue`.
- Write modular Java programs using methods, parameters, return values, method overloading, and variable scope.
- Write programs that use one-dimensional arrays, array copying, passing and returning arrays, searching, and sorting.
- Read from and write to the console and text files.
- Use a Java IDE to write, run, test, and debug programs.