ap comp sci principles 2nd six weeks

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

1/28

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

29 Terms

1
New cards

expression

a group of symbols that can contain values, variables, and operators

2
New cards

assignment

when a value is put into a variable

3
New cards

strongly types variables

variables that can only contain a specific format of data, like numbers or text

4
New cards

weakly typed variables

variables that can hold different formats of data, like text or numbers

5
New cards

variable contents

some variables can hold any kind of data, others can only hold specific types of data, depending on the language

6
New cards

variable naming

the name should describe the data

7
New cards

variable 

it has a name and holds a value that can be changed

8
New cards

list

an ordered group of items

9
New cards

index

a unique number that identifies each element of a list

10
New cards

element

an item in a list

11
New cards

data abstraction 

makes programming simpler 

12
New cards

string

an ordered group of characters

13
New cards

what happens if you try to use an index number that does not exist in a particular list

it causes an error

14
New cards

MOD

the remainder of the dived

15
New cards

selection

when an algorithm makes a decision 

16
New cards

pseudocode

algorithms that can be read by people but not run by a computer

17
New cards

iterating

repeating

18
New cards

evaluate an expression

determine what the value is

19
New cards

sequencing 

steps arranged in a particular order

20
New cards

how many characters can a string contain

depending on the language, possibly very many

21
New cards

data stored in a string variable

text or characters

22
New cards

what happens if you attempt to access string index numbers that are higher than the number of characters in the string

it causes an error

23
New cards

what happens if "yyy" is concatenated with "zzz"

yyyzzz

24
New cards

concatenate

link in a chain or series, when 2 or more strings are placed together to make a larger string

25
New cards

index number

identifies characters inside a string

26
New cards

substring

part of an existing string

27
New cards

character

a single symbol that may or may not be visible

28
New cards

how individual characters inside of a string are identified

using index numbers that start at 1

29
New cards