0% found this document useful (0 votes)
30 views9 pages

Boot Camp

Java aspires
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views9 pages

Boot Camp

Java aspires
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Coding

Book Camp

By

Jspiders/Pyspiders
JN TE
3
Days Friday sat Mor
-

Time 4: 00 to
2 : 00

Goal : -

C
Basic's
Number

stringa
·

-
-
>
Table
Odata ->
-

Pgm -
-

-
>
Operation >
-

perform >
-
Method/function
- -
--

Pyr 600 Adding & , 4

data >
-
2 . 4
Op >
-
+

Area of Circle (#2) 2 =


ver

Data : 3 14.

,
8

*
Op ·
variabl
- lock
Memory

f Bat

S -
ingle integer-

3 5tye
m -
Decimal
Alphabet -character
w -
-
-
-
- -
>

Symbol string
e

.
-
so

Digit

Tiecop
Chati
of

Finteger]
Decimal
-

1 - -

what
type of data
-
---
=
I ]soc

will bestored

Froerod
e
- - -

·B M .

Saving
>Goat
-
able


w
Type of Data
.

-
Onion >
-
solid -
Measure
O
ke
---
>
-

-
-
Beans .
2
m -
variable
water >
-
Liquid >
-
Measure >
-
MU- > liters 3 :
W
-
petrol

Measore
4 :

-
Memory
Memory
> M >
Byte
- >
- -

&
N

Pat
double

Char

boolean
double
percentage 79 7 ;
Stag
= .

-
°
Char

·
. Is & It &
Percentage
e

String season
= "Summer" ;

8 .
Conditional and
tooping statement

Making
Decision statement
Decision

Statement
Conditional
tooping statement

-Simple Pf -



-

for loop E

G

>
-
a L
-
it while loop
-

else
-

-
else
if a do while loop
-
-

w
Switch i for each
-

loop
-

Raja Rani Raja Rani

P-
· o *
it (Condition] it (Condition)

-*
⑭FastLoce
E E
codeorese
E E

To
3
= ame Cos e

I
3
so
Drink
i

stOur ee
H

sirconditione
condition]
· false

lock Be e
it

I
else

Eelse Block
E
else Block

I
q q

!
Execution Flow-1 Execution Flow-2

-
tooping
>
-

-
---

B 5

Print >
-

Topidevemen
*
Tracing

for /It sent D ;


=
#
count <= ; count +t) outsi
E

print ("Jspiders") ;

E
increase

It increment operator
->
will incement

by 1

1 . Check Your
Age is
digible for Voting .

Hos
int
age ; age ITFI
--

if (age > =
18)
R
print /"Eligible for Voting") :

else

print ("Not Eligible for voting") ;


E

Input

D import java . Util. Scanner ;

2) Scanner scan =
new Scanner
(System .
in))

3) scan . Next In+ / >; >


-
int

scan : next Double)) ; >


-
Decimal

scan
· next Boolean() ; >
-
Boolean

Next () Chartt (o) ; >


single character
-

scan ·
·

Nextl) >

string
-

scan
.
Basic Requirement Coding
-

Store Data into Variable

Operator
=

-
Arithmetic Operator's
-

Relational Operator's
Logical Operator's
-

Decision statement
Making
-

simple if
-

if else

else if
-

switch

e Looping statement
-

-
for loop
-

E
8 -

for each loop

·!
While
-

loop
do while loop
-

Give User input

Scanner
import java
. util .
;

Scanner scan = new Scanner


(System .
in)
- -

scan . Next Int()


Next Double)
-

scan ·

scon. next Boolean()


~

scan
. Next 1)
. charAt(o)
~

scan. . Nextl)

You might also like