Chapter 1 Review
- What is a computer program?
( any device that stores data)
- Give an example of hardware...
( CPU or RAM)
- Two most important hardware components?
( Perform calculations and stores information)
- Five basic things that appear in most programming languages?
( Output, math, input, repetition, decision )
- What is programming?
( breaking down large task )
- How to set up a Java program? First few lines...
(// Brittany Quansah
(// This is for…..
(Public class (file name){
( public static void main (Strings[] args) {
- Give an example of a statement...
( System.out.println( “ It rained today”);
- Give an example of a print statement in Java
- What is a method in Java?
( sequence of statements)
- What is a class in Java?
( collection of methods)
- What are comments?
(// comment)
- What is a high-level language?
(python, C, Javascript)