APCSP UNIT 3 REVIEW

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/49

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.

50 Terms

1
New cards

Fill parent

A property used to make width and height take up the whole width/height of the container.

2
New cards

PaintPot events

Utilized several events including button clicks (to change pen colors), user touch (to make dots) and user drag (to make lines).

3
New cards

Camera component

Located in the Media drawer.

4
New cards

ListPicker

Located in the User Interface drawer.

5
New cards

Accelerometer

Located in the Sensors drawer.

6
New cards

Activity Starter

Located in the Connectivity drawer.

7
New cards

Setter blocks

Used to assign or change the values stored in variables.

8
New cards

Getter blocks

Used to retrieve the values stored in variables.

9
New cards

x and y coordinates

Represent where the user touches in the When Touched event and x1, y1, x2, y2 in the When Dragged event.

10
New cards

Enhancements in Paint Pot

Included changing the background image using the camera, increasing or decreasing the dot size, adding another pen color and adding optional creative features.

11
New cards

Refactoring

Means restructuring a program without changing its behavior, often by moving redundant code into a procedure.

12
New cards

Procedure

Does not return a value.

13
New cards

Function

Does return a value.

14
New cards

Parameters

Abstract variables that procedures can take.

15
New cards

Arguments

Concrete values passed to the procedure from some other block of code.

16
New cards

Comments

Useful for explaining complex code or procedures and can be accessed by right clicking on the block of code.

17
New cards

Global variables

Used to share values between different blocks of code and must be initialized to some default value.

18
New cards

Variable

More abstract than a value because it can represent many different values.

19
New cards

Bug

An error or defect that prevents the app from working the way it is supposed to.

20
New cards

Control logic

Tests to see whether the dot size is 0 or less.

21
New cards

Persistent data

Data that is stored on the device itself which allows the data to be reused (persist) between different uses of an app.

22
New cards

TinyDB

An example of a database that stores persistent data in tag-value pairs.

23
New cards

Tag-value pairs

Only one value may be stored per tag, and if another value is stored, it will replace the original value.

24
New cards

Case sensitivity in tags

Tag names are case sensitive, so 'tag' and 'Tag' would be two separate tag-value pairs.

25
New cards

RLE

Stands for Run Length Encoding and is a method of compression that stores the number of consecutive pixels that are the same color.

26
New cards

Lossless compression

RLE is considered a lossless compression technique because there is no data loss in the process.

27
New cards

Lossy compression

An example is JPEG because pixels are lost in the process, but the human eye can still see the image well enough.

28
New cards

B/W images in RLE

Always starts with the number of pixels that are white, followed by the number of pixels that are black.

29
New cards

Compression for color images

Will decrease the file size, often significantly.

30
New cards

Compression Techniques

Methods used for storing and transmitting data that involve trade-offs.

31
New cards

Compression

A process that reduces the size of files for Internet sharing and storage.

32
New cards

Decompression

The process of restoring compressed files to their original state.

33
New cards

Encryption

A method that limits file readability by unauthorized users, unlike compression.

34
New cards

ASCII

American Standard Code for Information Interchange, a mapping scheme for characters and binary codes.

35
New cards

Binary Strings

Sets of 0s and 1s that can represent numbers, letters, and colors depending on context.

36
New cards

Error Detection

The process of identifying errors in data, which is critical since all data are bits.

37
New cards

Parity

A method of error detection that refers to the evenness or oddness of a number.

38
New cards

Even Parity

A condition where all the 1's in a binary string add up to an even number.

39
New cards

Odd Parity

A condition where all the 1's in a binary string add up to an odd number.

40
New cards

Parity Checking

Involves adding redundancy bits called parity bits or check bits to detect errors.

41
New cards

Parity Bits

Bits added to a binary string for error detection, not part of the actual content.

42
New cards

Magic 8 Ball

An app that responds to the shaking of a device using an accelerometer.

43
New cards

List

A collection of elements of any data type, which can have 0 to n items.

44
New cards

Empty List

A list that contains 0 items.

45
New cards

Index

The position of an item in a list, where the first item is index 1.

46
New cards

Random Selection

The process of selecting random items from a list, which can be assigned to variables.

47
New cards

ActivityStarter

A component used to start any application installed on the device.

48
New cards

Connectivity Drawer

The section in an app development environment where Activity Starters are located.

49
New cards

Redaction

The process of editing a document to remove or obscure sensitive information.

50
New cards

What happens to deleted data?

The data itself remains on the storage device until new data overwrites it. This is why data recovery is often possible using special software, though the success rate decreases the longer it has been since the deletion and the more the device has been used.