All the things from code.org

All the things from code.org

43 Qs

quiz-placeholder

Similar activities

Chapter 14 Study Guide Civics

Chapter 14 Study Guide Civics

12th Grade

44 Qs

Practice

Practice

University

43 Qs

6th Grade Science Final

6th Grade Science Final

KG - University

38 Qs

2. LATIHAN PAS I KELAS 6 PPKN

2. LATIHAN PAS I KELAS 6 PPKN

6th Grade

40 Qs

Inglich

Inglich

7th Grade

41 Qs

Review & Reinforcement for Unit 2 Test Semester 2 Biology Summer

Review & Reinforcement for Unit 2 Test Semester 2 Biology Summer

9th - 12th Grade

47 Qs

Đề cương trắc nghiệm địa cki 1

Đề cương trắc nghiệm địa cki 1

9th Grade

41 Qs

All the things from code.org

All the things from code.org

Assessment

Quiz

others

Practice Problem

Medium

Created by

Elizabeth Often

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

43 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true of algorithms?

A. Algorithms may have an infinite set of instructions
B. Algorithms must be expressed using a programming language
C. Every algorithm can be constructed using combinations of sequencing, selection, and iteration
D. Every problem can be solved with an algorithm

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following algorithm is followed by a person every morning when they get up from bed to go to school Wake up Brush teeth Put on shirt Put on pants Put on socks Put on shoes Tie shoes Which concept does this algorithm BEST demonstrate?

A. Sequencing
B. Selection
C. Iteration
D. Execution

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which or these code snippets will move the robot along the same path as the code shown below?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A town government is designing a new bus system and are deciding where to put the different bus stops. They want to pick the collection of locations that minimizes the distance anyone needs to walk in order to get to at least one bus stop. What term best defines the kind of problem?

A. A decision problem
B. An optimization problem
C. An undecidable problem
D. An efficiency problem

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The algorithm below is used to find the largest element in a list of numbers. By modifying one of the lines in the program it is possible to make the algorithm find the SMALLEST element. Which line would need to be modified and how?

A. Line 01 becomes target <- list[2]
B. Line 04 becomes IF (num < target)
C. Line 04 becomes IF (num = target)
D. Line 01 becomes list[0] <- target

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following algorithms is the same as the flowchart shown below?

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This graph shows the efficiencies of two different algorithms that solve the same problem. Which of the following is most efficient?

A. These algorithms are equally efficient
B. Algorithm A is more efficient than algorithm B
C. Algorithm B is more efficient than algorithm A
D. The algorithms have different efficiencies depending on the input size

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?