Practice AP Computer Science Sem. Exam 2021

Quiz
•
Computers
•
10th Grade
•
Hard
Awesome Pence
Used 35+ times
FREE Resource
Student preview

35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given: var myNumbers = [32, 64, 33, 0, 15, 26, 31]
What will the value be for index:
myNumbers[4]
15
32
0
16
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be displayed after this code segment is run?
"opal"
"saphirre"
"garnet"
"emerald"
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be displayed in the console when this program runs?
_________________________________________
var numList = [10,20,30];
console.log(numList[numList.length-1]);
2
3
20
30
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given: var myNumbers = [32, 64, 33, 0, 15, 26, 31]
What will the value be for index:
myNumbers[0]
15
32
0
64
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be displayed after this code segment is run?
Perfect Game!
You Win!
You Lose!
Nothing will be displayed
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given: var myNumbers = [32, 64, 33, 0, 15, 26, 31]
What will the value be for index:
myNumbers[3]
15
32
0
64
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is stored in studentScores after running the program code?
[82, 0, 0, 97, 91]
[5, 0, 0, 5, 5]
[0, 37, 50, 0, 0]
[77, 37, 50, 92, 86]
Create a free account and access millions of resources
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Chaffey

Quiz
•
9th - 12th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
18 questions
Characteristics of Living Things

Quiz
•
9th - 10th Grade
12 questions
Macromolecules

Lesson
•
9th - 12th Grade