AP CSA 5.3 (Comments)

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Herman Galioulline
Used 13+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
I only
III only
I and II only
II and III only
I, II, and III
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
num1 > 0, num2 > 0
num1 >= 0, num2 >= 0
num1 >= num2
num2 >= num1
No precondition is required.
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
/* Precondition: m <= n */
/* Precondition: n <= m */
/* Precondition: m >= 0 and n >= 0 */
/* Precondition: m <= 0 and n <= 0 */
/* Precondition: m <= 0 and n >= 0 */
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
/* Precondition: 0 <= oldString.length() */
/* Precondition: 0 < j and 0 < k */
/* Precondition: 0 <= j and 0 <= k */
/* Precondition: j <= k */
/* Precondition: 0 <= j <= k <= oldString.length() */
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
/* Precondition: 0 < n < str.length() - 1 */
/* Precondition: 0 <= n <= str.length() - 1 */
/* Precondition: 0 <= n <= str.length() */
/* Precondition: n > str.length() */
/* Precondition: n >= str.length() */
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
0 <= index < phrase.length()
0 <= index < key.length()
0 <= index < phrase.length() + key.length()
0 <= index < phrase.length() - key.length()
0 <= index < phrase.length() - index
Similar Resources on Wayground
10 questions
Array

Quiz
•
10th Grade
10 questions
Bài 23-Một số lệnh làm việc với dữ liệu danh sách

Quiz
•
10th Grade
10 questions
Cấu trúc lặp

Quiz
•
10th Grade
10 questions
Struktur Perulangan C++

Quiz
•
10th Grade
10 questions
Ciclos en pseint 10°01

Quiz
•
11th Grade
10 questions
Informatik - Kontrollstrukturen

Quiz
•
10th - 11th Grade
10 questions
Advanced Java Study Guide

Quiz
•
11th - 12th Grade
10 questions
Programming - Data Types

Quiz
•
1st - 10th 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