UIL Computer Science Contest Session 10:55 AM - 11:40 AM
Intro Slide
Session 205: 10:55 AM - 11:40 AM: UTC 3.104
Basic Syntax of Java
Even though the topics list covers everything that will be on the
UIL CS Contest it is not in the order that you study. Here is an
outline of topics that makes better sense.
- Arithmetic in binary, octal and hexadecimal
- Write the Hello World program
- Characterset - ASCII and Unicode
- Formation of variables
- Types - primitive types and reference types
- Statements and expressions
- Simple assignment statements
- Operators
- Arithmetic: +, -, *, /, %, ++, --
- Comparison: <, ≤, >, ≥, ==, !=
- Boolean: !, &&, ||
- Bitwise: &, |, ~, ^
- Shift: <<, >>, >>>
- Conditionals: if-else, switch
- Loops: while, for, do-while, foreach
- Methods: built-in, library, user-defined
- Libraries: math, string, random
- Arrays: 1-D and 2-D
- Input / Output: console, files
Once you have studied and assimilated the basic syntax of Java you
sould start coding.
Here are some great sites to get started on programming:
Object Oriented Programming
There are four main principles in Object Oriented programming that you
have to master:
- Abstraction
- Encapsulation
- Inheritance
- Polymorphism
Here are some tutorials to get you started:
Now that you are aware of the basic syntax of Java download the current
Topics List and study it
very carefully. On the second page of the Topics list are the first 15
questions. These are questions that you must not miss. Note that the last
two questions are free response questions.
Let us now work through some of the questions on the written portion
of the UIL Contest.