Comp Sci Unit 4

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

1/26

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.

27 Terms

1
New cards

User Interface

The inputs and outputs that allow a user to interact with a piece of software. User interfaces can include a variety of forms such as buttons, menus, images, texts, and graphics

2
New cards

Input

Data that are sent to a computer for processing by a program. Can come in a variety of forms, such as tactile interaction, audio, visuals, or text

3
New cards

Output

Any data that are sent from a program to a device. Can come in a variety of forms, such as tactile interaction, audio, visuals, or text

4
New cards

Statement 

A single line code that instructs the program to do something. Almost every line of code is a statement

5
New cards

Sequence/Sequential programming

The quality executing statements by line in a predetermined order from top to bottom. Code runs the same way every time

6
New cards

Event Driven Programming

Some program statements run when triggered by an event, like a mouse click or a key press. Programs run differently based on user interactions

7
New cards

Program statement 

A command or instruction. Sometimes also referred to as code statement

8
New cards

Program

A collection of program statements. Programs run (or “execute”) one command at a time

9
New cards

Event

A moment of input between the program and something else (generally the user)

10
New cards

Event listener

A small program that “listens” for a specific event to happen. When this event happens, a specific sequence of statements (function) are executed

11
New cards

Debugging 

The process of finding and fixing problems in code 

12
New cards

Documentation

A written description of how a command or piece of code works or was developed

13
New cards

Comment

Form of program documentation written into the program to be read by people and which do not affect how a program runs

14
New cards

String

A sequence of symbols

15
New cards

Integer

A whole number

16
New cards

Variable

A slot of computer memory that holds (at most) one value at a time

17
New cards

Data types

The categories of data a computer can save, along with the rules that apply to those categories. Numbers and strings are 2 types of data.

18
New cards

Assignment

The act of associating a variable with a piece of data

19
New cards

Operator

A symbol that represents some kind of mathematical or logical operation. Essentially just a fancy name for + - * /

20
New cards

Expression

Combination of operators and values that evaluates to single value

21
New cards

Assignment operator

A special symbol for a coding language that associates a variable with a piece of data

22
New cards

Declaration

The act of creating a variable, not the same as assigning it

23
New cards

Syntax

The strict structure and set of rules a coding language requires

24
New cards

Concatenation

Joining a number or string together with another string using the “+” operator

25
New cards

Scope

The boundaries in which some element of code—such as a variable—is usable. Different scopes are usually (not always) separated by curly braces

26
New cards

Global variable

A permanent variable that is declared in the global scope (outside of any specific boundary). It can be used anywhere in your code

27
New cards

Local variable

A temporary variable that can be used only in the scope in which it was declared like inside an onEvent listener (deleted once the onEvent is done running)