Lists and Loops in Computer Science

Quiz
•
Computers
•
10th - 12th Grade
•
Hard
Thomas Martinez
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does this code do?
Moves forward 1 time
Moves forward forever
Moves forward 5 times
Moves left
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
For this scenario related to turtle/robot drawing, indicate whether it is better to write a loop or a function (or a set of functions) to handle the task:
Drawing out the letters of a word "HELLO"
Loop
Function
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
For this scenario related to turtle/robot drawing, indicate whether it is better to write a loop or a function (or a set of functions) to handle the task:
Drawing 100 tiny dots in a line.
Loop
Function
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is a possible output when the following code segment executes? The ending position of the turtle is shown in each diagram. The starting position is shown as a white triangle in cases where the turtle starts and ends in different locations.
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A Boolean expression is an expression that evaluates to which of the of the following?
Yes/Maybe/No
True/False
Any Integer
Integers between 1 and 10
Any single character
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is true about while loops ?
While loops terminate after a fixed number of loops that is pre-determined
While loops terminate after a fixed number of loops that is determined after the loop executes once.
While loops run as long as a given boolean condition is true.
While loops run as long as a given boolean condition is false.
While loops are known as "forever loops" and never stop until the program is halted by the user.
Answer
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
HTML Quiz

Quiz
•
7th - 12th Grade
16 questions
If-Else Loops: Python Programming

Quiz
•
11th Grade
19 questions
JavaScript Variables Quiz

Quiz
•
10th Grade
20 questions
Mastering Python Loops and Functions

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

Quiz
•
11th Grade
15 questions
Unit 8 Javascript Quiz

Quiz
•
9th - 12th Grade
10 questions
C#

Quiz
•
11th Grade
19 questions
JavaScript Data Structures

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

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

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
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
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade