Skip to main content

← Computer Science syllabus

United StatesComputer Science

Unit 1: Primitive Types

5 dot points across 5 inquiry questions. Click any dot point for a focused answer with worked past exam questions where available.

How does casting convert between int and double, and what is the range of an int?

How do the compound assignment operators and the increment and decrement operators provide a shorthand for updating a variable?

How are arithmetic expressions evaluated in Java, and what does integer division and the modulo operator do?

What are the primitive types in Java, and how do you declare and initialise variables of each?

What is a program, how does Java run it, and why does the order of statements matter?