Unit 3
Unit 3
Unit 3
Unit 3
100

An abstraction inside a program that can hold a value 

What is a variable? 

100

What type of variable is a playlist of songs or names of students in a class?

What is a list?

100

What refers to combining two or more strings together to create a new string?

What is String Concatenation?

100

Data must be sorted first to use a ______ ______ method.

Binary Search

200

What would be the best variable name for the number of students in your class?

What is numstudents?

200

List:

| A | B | C | D |

What is the element at index 2 (assume starting at index 1)?

B

200

What type of variables only represent true or false?

what is a boolean?

200

______ ______ algorithms eliminate half the data with each round of splitting

Binary Search

300

What data type would be appropriate to store the number of students in your class?

What is an Integer?

300

What simplifies a set of data by representing it in some general way?

What is Data abstraction?

300

What are conditional statements inside conditional statements?

What is Nested conditional statements?

300

You call __________ with arguments

Procedures

400

A -> 10

B -> A

A -> 7

Display(B)

10


400

Your phone has a list of 50 contacts. What is a valid index for your list?

9

400

"repeat until(condition)" loops happen until a condition is met - these are what?

What is while loops?

400

A ________ _______ is a collection of pre-written code and resources that can be used by developers to add specific functionality to their own programs

software library

500

A -> 10

B -> A

A -> 7

Display(A)

7

500
What lets you create programs that are easier to build, maintain, and read?
What is Data Abstraction
500

What is an algorithm used to find the position/index of an element within an unordered list by checking each element one by one until the desired element is found or all elements have been checked.

Linear/Sequential search 

500

A _________ is a problem-solving approach or algorithm that uses practical rules or guidelines to find a solution, even if it may not be the most optimal or guaranteed to be correct.

Heuristic