
Programming Functions Flashcard

Flashcard
•
Other
•
10th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

37 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is a function in programming?
Back
A reusable block of code that performs a task
2.
FLASHCARD QUESTION
Front
In Karel, what does the command move() do?
Back
Moves Karel one space forward
3.
FLASHCARD QUESTION
Front
What command would you use to turn Karel 90 degrees to the left?
Back
turnLeft();
4.
FLASHCARD QUESTION
Front
What is the purpose of defining a function in Karel?
Back
To simplify the program and avoid repeated code
5.
FLASHCARD QUESTION
Front
Which of the following is an example of a function call? Options: turnLeft();, function turnAround() { ... }, int x = 5;, if (x == 0)
Back
turnLeft();
6.
FLASHCARD QUESTION
Front
What happens if Karel tries to move into a wall?
Back
Karel stops and the program continues
7.
FLASHCARD QUESTION
Front
What does takeBall() ; do in Karel?
Back
Karel picks up a ball from the current position
Create a free account and access millions of resources
Similar Resources on Wayground
28 questions
AP CSP Unit 3 Review - Intro to App Lab

Flashcard
•
10th - 12th Grade
38 questions
AP Computer Science Principles Practice

Flashcard
•
10th Grade
36 questions
AP CSP Unit 6

Flashcard
•
11th Grade
38 questions
TEAMS Q4 Final Review

Flashcard
•
10th Grade
29 questions
Unit 3: Intro to App Design Review

Flashcard
•
9th - 12th Grade
33 questions
Java Programming Fundamentals Flashcard

Flashcard
•
9th - 12th Grade
20 questions
Codeing with Karel Review

Flashcard
•
9th - 10th Grade
37 questions
AP CS A Unit 1 Review

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

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Exploring Newton's Laws of Motion

Interactive video
•
6th - 10th Grade
20 questions
Cell organelles and functions

Quiz
•
10th Grade
10 questions
Colonial Grievances Against the King Quiz

Quiz
•
10th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade