
AP Computer Science Principles Algorithms

Quiz
•
Computers
•
12th Grade
•
Hard
Jessica Zangerle
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an algorithm?
A mathematical equation
A step-by-step procedure or a set of rules for solving a specific problem or accomplishing a specific task.
A computer program
A random guess
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why are algorithms important in computer science?
Algorithms are only important in theoretical computer science, not practical applications.
Algorithms are only used in specific programming languages, not in computer science as a whole.
Algorithms are not important in computer science because computers can solve problems without them.
Algorithms provide step-by-step instructions for solving problems efficiently and effectively.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the steps involved in designing an algorithm?
Identify inputs and outputs, choose an approach, design the algorithm, test and refine, implement, test and validate
Understand the problem, break it down, identify inputs and outputs, choose an approach, test and refine, implement, validate
Understand the problem, identify inputs and outputs, choose an approach, test and refine, implement, test and validate
Understand the problem, break it down, identify inputs and outputs, choose an approach, design the algorithm, test and refine, implement, test and validate
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the python turtle module?
To create graphics and animations
To manipulate strings and text.
To interact with databases.
To perform mathematical calculations.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you import the python turtle module?
import turtle
import turtle_module
import turtle as t
from turtle import *
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are some basic turtle commands in python?
move(), turn(), pen(), speed(), color(), shape(), up(), down()
go(), rotate(), draw(), fast(), change_color(), change_shape(), start(), stop()
advance(), rotate(), draw(), fast(), change_color(), change_shape(), up(), down()
forward(), backward(), right(), left(), penup(), pendown(), speed(), color(), and shape()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a turtle object in python?
turtle_object = turtle.new_turtle()
import turtle turtle_object = turtle.Turtle()
turtle_object = turtle.create_turtle()
import turtle my_turtle = turtle.Turtle()
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
PYTHON(LIBRARIES)

Quiz
•
12th Grade
11 questions
IB CS Topic 4.3

Quiz
•
11th - 12th Grade
11 questions
Problem Solving

Quiz
•
9th - 12th Grade
10 questions
Starters 2022 - The Basics

Quiz
•
12th Grade
15 questions
code.org CSP Unit 3 Review 20-21

Quiz
•
9th - 12th Grade
10 questions
Machine Learning Lab 1

Quiz
•
9th - 12th Grade
10 questions
Technical Terms - Internet (A-Z) - Apache

Quiz
•
12th Grade
8 questions
Unit 3 Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

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

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade