CS principles vocab flashcards

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

1/153

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.

154 Terms

1
New cards

Decomposition

Breaking a program into smaller parts.

2
New cards

Abstraction

Managing complexity by focusing on relevant concepts.

3
New cards

Algorithm

A set of steps to solve a problem.

4
New cards

Control Structure

Changes the flow of the code.

5
New cards

Sequencing

Step-by-step execution of instructions.

6
New cards

Procedural Abstraction

Using methods we may not fully understand.

7
New cards

Pseudocode

Brief code explanation in plain language.

8
New cards

Top Down Design

Breaking a program into smaller parts.

9
New cards

SuperKarel

Similar to Karel but with additional commands.

10
New cards

Moore's Law

Computers double in processing speed annually.

11
New cards

APIs

Simplify complex tasks with defined communication methods.

12
New cards

Documentation

Instructions on functions, methods, and variables.

13
New cards

Cybercrime

Includes identity theft and stealing private information.

14
New cards

Iteration

Repetition of instructions a specified number of times, or until a condition is met.

15
New cards

Selection

Using a condition to determine which part of an algorithm is executed.

16
New cards

Indentation

Visual structure of code layout using tabs for hierarchy.

17
New cards

Parameter

Variable passed into a function from outside.

18
New cards

Pair Programming

Collaborative practice where two programmers work together on code.

19
New cards

Driver

Controls mouse and keyboard, focuses on coding tasks.

20
New cards

Navigator

Reads problem, plans actions, checks for errors.

21
New cards

Code

Instructions written for a computer in a program.

22
New cards

Programming Language

Set of rules converting code to machine output.

23
New cards

Hello World

Traditional first program printing 'Hello world'.

24
New cards

Boolean

True or false value.

25
New cards

Declare a Variable

Defining a variable for the first time.

26
New cards

Variable

Symbol or container holding a value.

27
New cards

Initialize a Variable

Giving a variable an initial value.

28
New cards

Assigning to a Variable

Updating a variable's value.

29
New cards

Arithmetic Operators

Include +, -, *, /, % for basic math tasks.

30
New cards

Canvas

Screen where graphics programs are drawn.

31
New cards

Coordinate System

Uses numbers to place objects in space.

32
New cards

Properties of an Object

Variables attached to an object.

33
New cards

Event

Action detected by a program like mouse clicks.

34
New cards

Callback Function

Function passed as a parameter for later use.

35
New cards

Computer

Device executing instructions according to a program.

36
New cards

Input Output (I/O)

Flow of information into and out of a program.

37
New cards

Logical Operator

Used to make logical associations between boolean values.

38
New cards

Or Operator

Logical operator '||' for ORing two boolean values.

39
New cards

And Operator

Logical operator '&&' for ANDing two boolean values.

40
New cards

Not Operator

Logical operator '!' to negate a boolean value.

41
New cards

!a

Will be true if a is false, and false if a is true

42
New cards

Comparison operator

Used to make comparisons between values

43
New cards

For Loop

Repeats code a fixed number of times

44
New cards

Randomize

Generating or selecting a random object

45
New cards

Pseudorandom

Not truly random, but appears random

46
New cards

Infinite Loop

A loop that continues endlessly

47
New cards

Sentinel

Value that breaks out of a loop

48
New cards

break statement

Exits the current loop without further execution

49
New cards

Loop-and-a-half

Loop with a break statement in the body

50
New cards

String

A sequence of characters

51
New cards

Return

Exits a function and provides a value

52
New cards

Return Value

Value returned from a function call

53
New cards

Local variable

Restricted to a specific scope

54
New cards

Standard Library

Baseline version of a programming language with built-in functions

55
New cards

Global variable

Accessible throughout a program

56
New cards

Array

Data structure holding values in order

57
New cards

Array Index

Position of an element in an array

58
New cards

Indexing into an array

Accessing a value at a specific index in an array

59
New cards

Push

Adding an item to a list or array

60
New cards

Pop

Removing the last item from an array

61
New cards

Array length

Number of elements an array can hold

62
New cards

Traversing an Array

Looping through an array to access each element

63
New cards

Iterate

Single run through the instructions in a loop

64
New cards

Iterating over an array

Looping through all elements of an array

65
New cards

Index

Position where array values are stored

66
New cards

splice()

Method to change array contents by adding, removing, or replacing elements

67
New cards

remove(index)

Function to remove an element at a specific index

68
New cards

ASCII

Standard protocol for encoding text as bits

69
New cards

Pixel Image

Image represented as a grid of color values

70
New cards

Hexadecimal

Base 16 number system using 16 digits

71
New cards

RGB Color Encoding

Scheme encoding colors with Red, Green, Blue

72
New cards

Data Compression

Encoding information using fewer bits

73
New cards

Lossless Compression

Compression without loss of information

74
New cards

Lossy Compression

Discarding data to save space

75
New cards

Steganography

Concealing secret messages within files

76
New cards

Copyright

Grants exclusive rights to creators

77
New cards

Public domain

Works not subject to copyright laws

78
New cards

URL

Uniform Resource Locator for internet resources

79
New cards

Protocol

Set of rules standardizing machine communication

80
New cards

Bitrate

Amount of data sent in a fixed time

81
New cards

Bandwidth

Capacity of data transfer measured by bitrate

82
New cards

Latency

Time for a bit to travel from sender to receiver

83
New cards

Network Device

Electronic device for communication between devices

84
New cards

Computing Devices

Physical artifacts running programs

85
New cards

Input Devices

Computing devices taking in information

86
New cards

Output Devices

Computing devices sending data to the user

87
New cards

Storage Devices

Computing devices remembering information

88
New cards

Computing Systems

Group of devices and programs working together

89
New cards

Computer Network

Interconnected devices sending or receiving data

90
New cards

Internet Protocol (IP)

Defines Internet address structure and assigns unique addresses to devices.

91
New cards

IPv6

New 128-bit version of the Internet Protocol.

92
New cards

Domain Name System (DNS)

Translates domain names into IP addresses.

93
New cards

Routing

Process of sending data between computers via routers.

94
New cards

Redundancy

Multiple paths between points for reliability and scalability.

95
New cards

Packets

Units of data sent over a network.

96
New cards

HTTP

Protocol for standardizing web server communication.

97
New cards

Transmission Control Protocol (TCP)

Enables sending multiple ordered packets between computers.

98
New cards

DDoS Attack

Overloads a web server with requests to crash it.

99
New cards

Cybersecurity

Protocols for encrypting/decrypting information to prevent breaches.

100
New cards

Phishing

Deceptive emails/websites to gather personal information.