AP Computer Science EOT 1 (option 1)

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Samran Wiriyaphong
Used 15+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the above code segment that is designed to print all numbers from a list of integer values, called grades, that are between 90 and 100, inclusive.
Which of the following modifications can be made to the code to allow it to also print numbers from a variety of different ranges of values (e.g., 70 to 80, 85 to 95, 1 to 50, etc.)?
userPassword = "swordfish"
"swordfish"
userPassword != "swordfish"
userPassword ← INPUT
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the above code segments designed to find the area of a triangle (A = 1/2 bh).
Which of the following statements about the above programs is true?
Both programs will work as intended, but Program B is more readable.
Program A will work as intended, but Program B will not work as intended.
Program B will work as intended, but Program A will not work as intended.
Neither program will work as intended.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the above code.
Assuming that before this code is run, x = 1. What would be displayed at the end?
210
16
8
1
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the above code segment.
Which of the following best describes the result of running the code segment?
The number 0 is displayed.
The number 4 is displayed.
The number 10 is displayed.
Nothing is displayed; the program results in an infinite loop.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the formal name in computing for looping?
Iteration
Selection
Repetition
For While Do
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which paradigm is known for encapsulating the data structure with the functions
Procedural
Functional
Object Oriented
Event driven
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an Algorithm?
A set of Awesome dance moves, by Algo
a cure for Insomnia
A set of instructions for overcoming a problem
A systemic path to awesomeness
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
AP CS Principles ALGORITHMS AND PROGRAMMING

Quiz
•
11th Grade
20 questions
AP Computer Science Principles Practice

Quiz
•
10th Grade
20 questions
OCR GCSE CS MCQs 2.3 Defensive Design

Quiz
•
10th - 11th Grade
20 questions
AP CSP Unit 6

Quiz
•
10th - 12th Grade
22 questions
CodeHS AP CSP Unit 3 Review

Quiz
•
11th - 12th Grade
20 questions
Python - Iteration (For Loops)

Quiz
•
10th Grade
20 questions
Iteration

Quiz
•
11th Grade
15 questions
AP CSP Exam Review: Big Idea 3

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade