Introducing 

Prezi AI.

Your new presentation assistant.

Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.

Loading…
Transcript

JAVA

ANGIE

ANGELICA MARQUEZ

Let's get to know each other

Ice breacker

SKETCH YOUR NEIGHBOR

1. Open the link from your Zoom messeges.

2.Notice that you being assinged an animal and a color.

3. Go to the box with you assigned color.

4. Draw your Zoom neighbor!!! You got 60 sec.

Week expectations

- Introduction to Java and algorithms

- Input and Output

- Variables

• Declaration and Initialization

- Data types

- If/else if/else

- Loops

• While, for

• Nested loops

- Intro to arrays

- 2D arrays

Expectations

I expect from you...

- To not interrupt your classmates when they are participating.

- Respect everyone

- Pay attention

LET'S HAVE FUN

Monkey

problem

We have two monkeys, a and b, and the parameters aSmile and bSmile indicate if each is smiling. We are in trouble if they are both smiling or if neither of them is smiling. Return true if we are in trouble.

We have two monkeys

Let's go slower!

a

b

The parameters aSmile and bSmile indicate if each is smiling.

a

b

Topic

True

False

aSmile =

bSmile =

We are in trouble if they are both smiling or if neither of them is smiling.

False

trouble =

True

if ( aSmile && bSmile )

False

if ( && )

if ( )

True

trouble?

What do we return if we are into trouble?

return True

if ( aSmile && bSmile )

if ( && )

True

False

if ( )

False

trouble?

What do we return if we are NOT into trouble?

return False

CODE

Learn more about creating dynamic, engaging presentations with Prezi