AP Computer Science Principles - Unit 4

studied byStudied by 2 people
0.0(0)
Get a hint
Hint

Expressions

1 / 17

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

18 Terms

1

Expressions

A combination of operators and values that evaluates to a single value.

New cards
2

Assignment Operator

Allows a program to change the value represented by a variable

New cards
3

Variable

A named reference to a value that can be used repeatedly throughout a program

New cards
4

Concatenate

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

New cards
5

String

Any sequence of characters between quotation marks

New cards
6

Boolean Value

A data type that is either true or false

New cards
7

Boolean Expression

in programming, an expression that evaluates to true or false

New cards
8

Comparison (relational) Operators

used to compare two values

New cards
9

Logical Operators

allows you to compare the results of more than one Boolean operation at a time.

New cards
10

Abstraction

a simplified representation of something more complex. allows you to hide details to help manage complexity, focus on relevant concepts, and reason about problems at a higher level.

New cards
11

Function

A named group of programming instructions, reusable abstractions that reduce the complexity of writing and maintaining programs.

New cards
12

Procedure

A named group of programming instructions that may have parameters and return values.

New cards
13

Function Call (to invoke a function)

a command that executes the code within a function

New cards
14

High Level Programming Language

a programming language with many commands and features designed to make common tasks easier to program.

New cards
15

Low Level Programming Language

a programming language that captures only the most primitive operations available to a machine. anything that a computer can do can be represented with combinations.

New cards
16

If-Statement

the common programming structure that implements “conditional statements”

New cards
17

Selection

a generic term for a type of programming statement that uses boolean condition to determine or select whether or not to run a certain block of statements

New cards
18

String

an ordered sequence of characters.

New cards

Explore top notes

note Note
studied byStudied by 24 people
... ago
5.0(1)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 69 people
... ago
5.0(1)
note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 6 people
... ago
5.0(1)
note Note
studied byStudied by 6 people
... ago
5.0(1)
note Note
studied byStudied by 32 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (234)
studied byStudied by 21 people
... ago
5.0(1)
flashcards Flashcard (31)
studied byStudied by 102 people
... ago
4.3(3)
flashcards Flashcard (79)
studied byStudied by 22 people
... ago
5.0(1)
flashcards Flashcard (137)
studied byStudied by 15 people
... ago
5.0(1)
flashcards Flashcard (58)
studied byStudied by 9 people
... ago
4.0(1)
flashcards Flashcard (119)
studied byStudied by 10 people
... ago
5.0(1)
flashcards Flashcard (54)
studied byStudied by 16 people
... ago
5.0(1)
flashcards Flashcard (22)
studied byStudied by 20 people
... ago
5.0(1)
robot