AP CSP Unit 6 -#2

AP CSP Unit 6 -#2

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Computer Hardware - CPU & GPU

Computer Hardware - CPU & GPU

7th Grade - University

16 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

Dasar Kompetensi Keahlian IPv6

Dasar Kompetensi Keahlian IPv6

10th Grade

15 Qs

Common Protocols

Common Protocols

10th - 12th Grade

15 Qs

Topic 4.1 Introduction to Java

Topic 4.1 Introduction to Java

12th Grade

20 Qs

CSS - Operating System

CSS - Operating System

11th Grade

20 Qs

N+ Chapter 5

N+ Chapter 5

12th Grade

20 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

AP CSP Unit 6 -#2

AP CSP Unit 6 -#2

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Medium

Created by

Brian Ranallo

Used 340+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?