AP CSP Unit 6 -#2

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Brian Ranallo
Used 317+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The value that is assigned in any list is considered...
Element
Index
String
Integer
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Lists reference their values by using which of the following?
Index
Element
Variables
Loops
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If I want to place a new element anywhere in a list, I would use which of the following methods?
appendItem
insertItem
addItem
joinItem
4.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
What is the output of word1?
var word="APComputerScience";
var word1=word.substring(2,word.length-7);
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
When creating lists, sometimes you will need to create a “scrolling pattern”.
Which of the following will not scroll beyond the end of a list?
if (index < myList.length-1) {
Index++
}
if (index > myList.length-1) {
Index++
}
if (index < myList.length) {
Index++
}
if (index > myList.length) {
Index++
}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following programming constructs is an example of an iteration?
Lists
Loops
Functions
Conditionals
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following is a benefit of using a simulation instead of an experiment to make a prediction?
A simulation produces results that are more accurate than experimental results.
A simulation always produces the same output, so its results can be verified.
A simulation can be used to model real-world events that are impractical for experiments.
A simulation allows investigation of a phenomenon without the real-world limitations on time, safety, or budget.
Create a free account and access millions of resources
Similar Resources on Wayground
21 questions
CS10 HTML

Quiz
•
10th Grade
18 questions
MYP Command Terms For Design

Quiz
•
6th - 12th Grade
18 questions
Algorithms

Quiz
•
11th Grade
20 questions
2.1 Elements of Computational Thinking (KO)

Quiz
•
12th Grade
19 questions
Lists and Tuples

Quiz
•
11th Grade
20 questions
Data and simulations

Quiz
•
12th Grade
19 questions
AQA GCSE Computer Science - 3.1.3 Binary Search

Quiz
•
8th - 10th Grade
15 questions
Cambridge Technicals L3 U2 Information Types

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade