CSP Unit 6 Review

CSP Unit 6 Review

12th Grade

25 Qs

quiz-placeholder

Similar activities

Python Programming Quiz

Python Programming Quiz

9th Grade - University

20 Qs

AP CSP Unit 5

AP CSP Unit 5

9th - 12th Grade

20 Qs

Code.org APCSP Unit 5 Assessment

Code.org APCSP Unit 5 Assessment

9th - 12th Grade

20 Qs

AP CSP Lists

AP CSP Lists

9th - 12th Grade

20 Qs

Code.org List Questions

Code.org List Questions

10th - 12th Grade

20 Qs

Unit 5 Quiz - Loops & Lists (code.org)

Unit 5 Quiz - Loops & Lists (code.org)

10th - 12th Grade

20 Qs

AP CSP Unit 6

AP CSP Unit 6

10th - 12th Grade

20 Qs

C# 101 Assessment

C# 101 Assessment

9th - 12th Grade

20 Qs

CSP Unit 6 Review

CSP Unit 6 Review

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Hannah Chu

Used 15+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable whose scope is covers the whole program, it can be used and updated by any part of the code. Its scope is typically derived from the variable being declared (created) outside of any function, object, or method.
Variable Scope
Global Variable
Expression
Local Variable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 A variable that can only be seen, used and updated by code within the same scope. Typically this means it was declared (created) inside a function -- includes function parameter variables.
Variable Scope
Global Variable
Expression
Local Variable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Lists fruits and prices contain information about fruits and their prices. The code is written on the left.

Which of the following programs will result in filteredFruits only containing the fruits that cost more than $1?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Typically used when joining together text in programming (e.g. "Hello, "+name)
String
Expression
Variable
Concatenate

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

//Consider the following code

var animal = "monkey";

console.log(animal.substring(0,3) + "ey");

//What will be printed out in the console?

"monk ey"

"monkey"

"mon ey"

"money"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

array = [1,2,3,4,5]
What is the length of this array?
5
4
0
125.4

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

a repetitive portion of an algorithm which repeats a specified number of times or until a given condition is met.

Tessellation

Iteration

Anagram

Palindrome

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?