CSP Unit 5 Pre-Assessment: Lists, Loops, Traversals
Flashcard
•
Mathematics, Computers
•
11th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is a list in programming?
Back
A list is a data structure that holds an ordered collection of items, which can be of different types.
2.
FLASHCARD QUESTION
Front
What does the appendItem function do?
Back
The appendItem function adds an item to the end of a list.
3.
FLASHCARD QUESTION
Front
What does the removeItem function do?
Back
The removeItem function removes an item from a list at a specified index.
4.
FLASHCARD QUESTION
Front
What is the purpose of the insertItem function?
Back
The insertItem function adds an item to a list at a specified index, shifting subsequent items.
5.
FLASHCARD QUESTION
Front
How do you access the last item in a list?
Back
You can access the last item in a list using the index 'length - 1'.
6.
FLASHCARD QUESTION
Front
What is the output of console.log(numbersList.length) if numbersList = [20, 10, 5, 50, 100, 30]?
Back
The output will be 6.
7.
FLASHCARD QUESTION
Front
What is the difference between a list and an array?
Back
In many programming languages, a list is a more general term for a collection of items, while an array is a specific type of list with a fixed size.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Relación e Importancia de la Epistemología con la Educación
Flashcard
•
University
10 questions
Disney descendants flashcard
Flashcard
•
KG
10 questions
TARJETAS DIDÁCTICAS DOCTRINA POLICIAL
Flashcard
•
12th Grade
15 questions
Unit 4 Test Review
Flashcard
•
10th Grade - University
11 questions
Deklaracja dwuwymiarowej tablicy C++
Flashcard
•
10th Grade
10 questions
Mathematics Glossary
Flashcard
•
KG
11 questions
Unit 1 | Topic 2 | Key Terms - Flashcards
Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Mathematics
5 questions
Triangle Congruence Theorems
Interactive video
•
9th - 12th Grade
14 questions
Model and Solve Linear Equations
Quiz
•
9th - 12th Grade
17 questions
Identify Linear and Nonlinear Functions
Quiz
•
8th - 12th Grade
27 questions
Parallelograms, Rectangles, Rhombi, and Squares!
Quiz
•
10th - 12th Grade
19 questions
Function Vs Relation
Quiz
•
8th - 12th Grade
12 questions
Combine Like Terms
Quiz
•
6th - 12th Grade
30 questions
Simplify and Factor Algebraic Expressions
Quiz
•
7th - 12th Grade
20 questions
Properties of Logs
Quiz
•
11th Grade