
AP CSA Unit 1

Flashcard
•
Computers
•
12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is a variable in programming?
Back
A named storage location that holds a value.
2.
FLASHCARD QUESTION
Front
What is the purpose of functions in programming?
Back
The purpose of functions in programming is to group a set of instructions together and give them a name.
3.
FLASHCARD QUESTION
Front
What are the different types of loops in programming?
Back
for loop, while loop, do-while loop
4.
FLASHCARD QUESTION
Front
How do you declare a variable in Java? Options: int number;, int num;, variable num;, declare num;
Back
int num;
5.
FLASHCARD QUESTION
Front
What is the syntax for defining a function in Python?
Back
def function_name(parameters):
6.
FLASHCARD QUESTION
Front
What is the difference between a while loop and a for loop?
Back
A while loop repeatedly executes a block of code as long as a specified condition is true, while a for loop executes a block of code a specified number of times.
7.
FLASHCARD QUESTION
Front
What is the scope of a variable?
Back
The scope of a variable refers to the part of a program where the variable is accessible.
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Unit 5 -- Lists, Loops, Traversals

Flashcard
•
9th - 12th Grade
11 questions
AP Computer Science Principles Unit 3

Flashcard
•
10th - 12th Grade
11 questions
Solupac

Flashcard
•
11th Grade - University
10 questions
Fundamentals of Coding

Flashcard
•
KG - University
10 questions
AP CSP Vocabulary Flashcard

Flashcard
•
12th Grade
10 questions
Module 07 - While Loops

Flashcard
•
10th Grade
15 questions
Visual C# Flashcard - Chapter 5: Loops, Files, and Random Numbers

Flashcard
•
12th Grade
5 questions
Enhanced For Loops

Flashcard
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade