Match the index with the value: myNumbers[4] from myNumbers ⬅ [32, 64, 33, 0, 15, 26, 3]
AP CSP Unit 5 List Pseudocode Flashcard 2

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

16 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
0
2.
FLASHCARD QUESTION
Front
What is the output of DISPLAY (myNumbers[LENGTH(myNumbers)]) given myNumbers ⬅ [32, 64, 33, 0, 15, 26, 3]?
Back
3
3.
FLASHCARD QUESTION
Front
What is the value of y after executing the following operations? list ⬅ [2, 4, 6, 8, 10] appendItem(list, 12) removeItem(list, 1); y ⬅ list[2] DISPLAY(y)
Back
6
4.
FLASHCARD QUESTION
Front
listOne ⬅ [2, 1, 0] listTwo ⬅ [1, 2, 0] a ⬅ listTwo[listOne[1]] b ⬅ 3 - a DISPLAY(b) //What is displayed?
Back
1
5.
FLASHCARD QUESTION
Front
What is displayed when executing DISPLAY( listOne[1] + listTwo[1] ) with listOne ⬅ [2, 1, 0] and listTwo ⬅ [1, 2, 0]?
Back
3
6.
FLASHCARD QUESTION
Front
What is displayed at the end of this code segment?
myStuff ⬅ [20, "hat", "pow", 5]
myStuff[1] ⬅"cat"
myStuff[2] ⬅ myStuff[1]
myStuff[3] ⬅ myStuff[4] + 6
DISPLAY( myStuff)
Back
cat, cat, 10, 5
7.
FLASHCARD QUESTION
Front
What will be displayed in the console when this program runs?
numList ⬅ [10, 20, 30]
x ⬅ LENGTH (numList)
DISPLAY ( numList[ x - 1] )
Back
20
Create a free account and access millions of resources
Similar Resources on Quizizz
13 questions
Python If Else Statements

Flashcard
•
9th - 12th Grade
12 questions
HTML Intro

Flashcard
•
9th - 12th Grade
14 questions
HTML - Flashcard 2

Flashcard
•
9th Grade - University
15 questions
ACT English Prep Passage 4

Flashcard
•
9th - 12th Grade
14 questions
Unit 4 Assessment Day

Flashcard
•
9th - 12th Grade
15 questions
Christmas Trivia

Flashcard
•
KG - 12th Grade
17 questions
PowerPoint Vocab 1

Flashcard
•
9th - 12th Grade
14 questions
micro:bit Pushbuttons_Writing Functions

Flashcard
•
8th - 10th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade