2 data types vars and control strucs

0.0(0)
studied byStudied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:07 PM on 1/25/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

17 Terms

1
New cards

data type

size and type of values a variable can hold

2
New cards

byte

short

int

long

primitive data types 1

3
New cards

float

double

char

boolean

primitive data types 2

4
New cards

string

arrays

classes and interfaces

non primitive data types

5
New cards

string

used to store a sequence of characters (text) enclosed in double quotes

6
New cards

arrays

used to store multiple values of the same type in a single variable. fixed size

7
New cards

classes and interfaces

user defined types that allow you to create custom objects with properties and methods

8
New cards

if statement

if else statement

if-else if-else

switch statement

conditional control structures

9
New cards

if statement

executes a block of code only if a specified condition is true

10
New cards

if-else statement

executes one block if the condition is true and a different block if false

11
New cards

if-else if-else

checks condition sequentially, executing the first condition

12
New cards

switch statement

selects one of many code blocks to execute, alternative to long if chains

13
New cards

while loop

do-while loop

for loop

for-each loop

types of loops

14
New cards

while loop

execute as long as condition is true

15
New cards

do-while loop

execute once at least. loop continues as long as condition is true

16
New cards

for loop

repeat a code a specific number of times

17
New cards

for-each loop

iterate through every item