CS 114 Introduction to Programming

Introduction to programming with Java. Data and Expressions: character strings, variables and assignments, primitive data types, expressions, data conversion. Using classes and objects: creating objects, the String class, the Random class, the Math class, formatting output, enumerated types. Writing classes: classes and objects, anatomy of a class, encapsulation, anatomy of a method. Conditionals and loops: Boolean expressions, the if statement, comparing data, the switch statement, the while statement, iterators, the do statement, the for statement. Arrays: array elements, declaring and using arrays, arrays of objects, command-line arguments, variable length parameter lists, two-dimensional arrays, the ArrayList class, Recursion: recursive thinking, recursive programming, using recursion. Credit units: 4 ECTS Credit units: 6.5, Prerequisite: CS 111 or CS 113.

  | Bilkent University Main Page |

  Last regenerated automatically on September 17, 2018 by OAC - Online Academic Catalog Software.