
AP CSA Unit 1

Flashcard
•
Computers
•
12th Grade
•
Hard
Quizizz 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
10 questions
Arrays

Flashcard
•
10th - 12th Grade
7 questions
Working Memory Model

Flashcard
•
11th - 12th Grade
10 questions
AP CSP Vocabulary Flashcard

Flashcard
•
12th Grade
10 questions
Flashcard 1

Flashcard
•
University
10 questions
Code.org Unit 3 Review: Intro to App Design

Flashcard
•
12th Grade
11 questions
Sphero Block Coding

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

Flashcard
•
10th - 12th Grade
12 questions
Code.org - Unit 6 Lists, Loops, and Traversals

Flashcard
•
10th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade