Big Ideas 3: Algorithms and Programming

0.0(0)
studied byStudied by 0 people
0.0(0)
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/20

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:32 AM on 2/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

21 Terms

1
New cards

What is an abstraction?

An abstraction is a way to represent essential features without including the background details and explanation, reducing the complexity and allowing for efficient design.

2
New cards

What is a variable?

A variable is an abstraction that holds a value.

3
New cards

Why is it important to name variables a certain name?

Meaningful variable names help with the readability of a program’s code and reduces the level of complexity of a program.

4
New cards

What are the five mathematical operators in coding?

The five mathematical operators include: addition, subtraction, multiplication, division, and modulus.

5
New cards

What is modulus?

Modulus is a mathematical operation that returns the remainder after an initial number (the dividend) is divided by another number (the division).

6
New cards

What are some notes about modulus?

If the dividend is less than the divisor, it returns the dividend. Also, a dividend that is zero returns 0.

7
New cards

What are the order of operations for the mathematical operations.

First: Parentheses

Second: MOD, *, /

Third: +, -

8
New cards

What is an element?

An element is an individual value in a list that is assigned a unique index.

9
New cards

What is a list?

A list is a data abstraction that reduces the level of complexity of a program by sequencing elements.

10
New cards

What is a index?

An index is a common method for referencing the elements in a list or string using natural numbers.

11
New cards

What happens if a lost index is less than one or greater than the length of the list?

An error message will be produced and the program will terminate.

12
New cards

What are display operators?

Display operators are those that display numbers or expressions.

13
New cards

What are input operators?

Input operators are values accepted from a user.

14
New cards

What are relational operators?

Relational operators are utlized to compare two values ; they can either evaluate to true or false.

15
New cards

What are all the relational operators?

The exam reference sheet provides the following relational operators: =, ≠ (!=), >, <, ≥, and ≤.

16
New cards

What does random(a, b) do?

It evaluates to a random integer from a to b.

17
New cards

What are booleans?

A Boolean value is a value that evaluates to true or false.

18
New cards

How many types of booleans operators are there?

There are three types of boolean values: not(boolean), booleana and booleanb, and booleana or booleanb

19
New cards

What is the explanation for not(boolean)?

not(boolean) evaluates to true if boolean is false; otherwise it is true.

20
New cards

What is the explanation for booleana and booleanb?

booleana and booleanb evaluates to true if both booleana and booleanb are true; otherwise evaluates to false.

21
New cards

What is the explanation for booleana or booleanb?

booleana or booleanb evaluates to true if both booleana or booleanb are true or both are true; otherwise evaluates to false if both are false.