CS1301 Unit 2

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

1/39

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:38 PM on 10/6/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

40 Terms

1
New cards

variable

used to store data like letters and numbers

2
New cards

value

number, letter, or other data item in a variable

3
New cards

variable declaration

declaring the variable’s data type (int, string, etc)

4
New cards

int

integer

5
New cards

double

numbers with decimals

6
New cards

char

any one character on the keyboard

7
New cards

class type

data type for objects of a class (Strings)

8
New cards

primitive type

simpler than objects, a single number or letter (int, double, char)

9
New cards

float (floating-point number)

number with fractions (decimals, ex: 5.0, 5.1120831)

10
New cards

boolean

true/false

11
New cards

identifier

technical term for name in programming language (letters, digits 0-9, underscore)

12
New cards

keywords (reserved words)

words with special meanings that cannot be used as variables/classes/mehtods (primitive words + if)

13
New cards

constant (literal)

terms that have unchanging values

14
New cards

final double

a double value that cannot be changed because of “final”

15
New cards

type cast

changes data type of a value from normal type to another type (ex: double to int)

16
New cards

operands

variables and numbers

17
New cards

unary operator

operators with only one operand (one thing it applies to, ex: balance = -cost)

18
New cards

binary operator

2 operands (ex: total = cost + tax)

19
New cards

I/O

Input/Output

20
New cards

nextInt

reads an int value

21
New cards

nextDouble

reads a double

22
New cards

next

reads a word

23
New cards

delimiter

separators by whitespace characters and/or line breaks

24
New cards

nextLine

reads the entire line

25
New cards

printf

print + special instructions

26
New cards

empty string

string with 0 characters (““)

27
New cards

concatenation

joining 2 strings with a + operator

28
New cards

index

a position in a string

29
New cards

substring

portion of a string

30
New cards

escape sequences/characters

special characters that escape the usual meaning of a character

31
New cards

character set

list of characters

32
New cards

unicode

ASCII character set + many characters used in other languages than english

33
New cards

=

assignment operator

34
New cards

+ , -

arithmetic operators, combine variables and numbers

35
New cards

*

multiplication

36
New cards

/

division

37
New cards

%

remainder operator

38
New cards

++

increment operator

39
New cards

- -

decrement operator

40
New cards

(-+/%*)=

specialized assignment operators (variable (-+/%*) something)