AP Computer Science Principles Algorithms

AP Computer Science Principles Algorithms

12th Grade

10 Qs

quiz-placeholder

Similar activities

TECH QUEST QUIZ

TECH QUEST QUIZ

4th Grade - University

15 Qs

Woking with Function

Woking with Function

12th Grade

10 Qs

Artificial Intelligence

Artificial Intelligence

10th - 12th Grade

15 Qs

Code.org Unit 3

Code.org Unit 3

9th - 12th Grade

14 Qs

Dates in python

Dates in python

2nd Grade - Professional Development

12 Qs

Q&A – Compare & Contrast Algorithms (Primary 4 – 4CT.04)

Q&A – Compare & Contrast Algorithms (Primary 4 – 4CT.04)

4th Grade - University

11 Qs

Python Revision 3

Python Revision 3

11th - 12th Grade

13 Qs

Code.org Algorithm

Code.org Algorithm

9th - 12th Grade

15 Qs

AP Computer Science Principles Algorithms

AP Computer Science Principles Algorithms

Assessment

Quiz

Computers

12th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?