AP Comp Sci P Semester 2 Vocab

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/44

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.

45 Terms

1
New cards

Moore's Law

a predication made by Gordon Moore in 1965 that computing power will double every 1.5-2 years, it has remained more or less true ever since

2
New cards

Caesar Cipher

a technique for encryption that shifts the alphabet by some number of characters

3
New cards

Cipher

the generic term for a technique (or algorithm) that performs encryption

4
New cards

Cracking Encryption

when you attempt to decode a secret message without knowing all the specifics of the cipher

5
New cards

Decryption

a process that reverses encryption, taking a secret message and reproducing the original plain text

6
New cards

Encryption

a process of encoding messages to keep them secret, so only "authorized" parties can read it

7
New cards

Random Substitution Cipher

an encryption technique that maps each letter of the alphabet to a randomly chosen other letters of the alphabet

8
New cards

Vigenère Cipher

a method of encrypting text by applying a series of Caesar ciphers based on the letters of a keyword

9
New cards

Computationally Hard

a "hard" problem for a computer is one in which it cannot arrive at a solution in a reasonable amount of time

10
New cards

Symmetric Encryption

a type of encryption where the same key is used to encrypt and decrypt the message

11
New cards

Asymmetric Encryption

used in public key encryption, it is scheme in which the key to encrypt data is different from the key to decrypt

12
New cards

Modulo (or mod)

a mathematical operation that returns the remainder after integer division

13
New cards

Private Key

the complementary key to a public key that is used to decrypt a message

14
New cards

Public Key

a value that can be used to encrypt a message; however, only when combined with a mathematically-related private key, can the message be decrypted

15
New cards

Phishing Scam

typically a thief trying to trick you into sending them sensitive information; including: emails about system updates asking you send your username and password, social security number or other things

16
New cards

DDoS (Distributed Denial of Service) Attack

typically a virus installed on many computers (thousands) activated at the same time and flood a target with traffic to the point the server becomes overwhelmed

17
New cards

Virus

a program that runs on a computer to do something the owner of the computer does not intend

18
New cards

Antivirus Software

usually keeps big lists of known viruses and scans your computer looking for the virus programs in order to get rid of them

19
New cards

Firewall

software that runs on servers (often routers) that only allows traffic through according to some set of security rules

20
New cards

SSL (Secure Sockets Layer) and TLS (Transport Layer Security)

an encryption layer of HTTP that uses public key cryptography to establish a secure connection

21
New cards

Callback function

a function specified as part of an event listener; it is written by the programmer but called by the system as the result of an event trigger

22
New cards

Event

an action that causes something to happen

23
New cards

Event-driven program

a program designed to run blocks of code or functions in response to specified events (e.g. a mouse click)

24
New cards

Event handling

an overarching term for the coding tasks involved in making a program respond to events by triggering functions

25
New cards

Event listener

a command that can be set up to trigger a function when a particular type of event occurs on a particular UI element

26
New cards

UI Elements

on-screen objects, like buttons, images, text boxes, pull down menus, screens and so on

27
New cards

User Interface (UI)

the visual elements of a program through which a user controls or communicates with the application

28
New cards

Debugging

finding and fixing problems in an algorithm or program

29
New cards

Data Type

all values in a programming language have a "type" - such as a Number, Boolean, or String - that dictates how the computer will interpret it

30
New cards

Expression

any valid unit of code that resolves to a value

31
New cards

Variable

a placeholder for a piece of information that can change

32
New cards

==

the equality operator (sometimes read: "equal equal"); used to compare two values, and returns a Boolean (true/false)

33
New cards

If-Statement

the common programming structure that implements "conditional statements"

34
New cards

Variable Scope

dictates what portions of the code can "see" or use a variable, typically derived from where the variable was first created

35
New cards

Global Variable

a variable that can be used and updated by any part of the code; typically derived from the variable being declared (created) outside of any function, object, or method

36
New cards

Local Variable

a variable that can only be seen, used and updated by code within the same scope; typically, this means the variable was declared (created) inside a function -- includes function parameter variables

37
New cards

Syntax errors

things you misspelled or wrote in such a way the computer doesn't understand what you're trying to say; usually the computer spits out an error message of some kind that is a clue about what it can't understand

38
New cards

Logic errors

the program runs but doesn't do what you think it should; can be tricky to fix because there might not be an error message

39
New cards

Concatenate

to link together or join. Typically used when joining together text Strings in programming (e.g. "Hello, "+name)

40
New cards

String

any sequence of characters between quotation marks (ex: "hello", "42", "this is a string!")

41
New cards

Conditionals

statements that only run under certain conditions

42
New cards

Selection

a generic term for a type of programming statement (usually an if-statement) that uses a Boolean condition to determine, or select, whether or not to run a certain block of statements

43
New cards

Boolean

a single value of either TRUE or FALSE

44
New cards

Boolean Expression

in programming, an expression that evaluates to True or False

45
New cards

Iterate

to repeat in order to achieve, or get closer to, a desired goal