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 41 people
... ago
5.0(1)
note Note
studied byStudied by 56 people
... ago
5.0(1)
note Note
studied byStudied by 1 person
... ago
5.0(1)
note Note
studied byStudied by 18 people
... ago
5.0(1)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 19 people
... ago
5.0(1)
note Note
studied byStudied by 37 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (42)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (113)
studied byStudied by 27 people
... ago
5.0(1)
flashcards Flashcard (40)
studied byStudied by 14 people
... ago
5.0(1)
flashcards Flashcard (32)
studied byStudied by 47 people
... ago
5.0(1)
flashcards Flashcard (66)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (206)
studied byStudied by 27 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (27)
studied byStudied by 116 people
... ago
5.0(1)
robot