AP Computer Science A Flashcard

Flashcard
•
Computers
•
12th Grade
•
Medium
+20
Standards-aligned
Wayground Content
Used 2+ times
FREE Resource
Student preview

14 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What are the primitive data types in Java?
Back
boolean, byte, short, int, long, float, double, char
Tags
VAR.1.C.1
2.
FLASHCARD QUESTION
Front
What is the difference between int and double data types in Java?
Back
The main difference between int and double data types in Java is their precision.
Tags
VAR.1.C.1
3.
FLASHCARD QUESTION
Front
How do you declare a variable of type boolean in Java?
Back
boolean variableName
Tags
VAR.1.C
4.
FLASHCARD QUESTION
Front
What are the three control structures in Java?
Back
Sequential, Selection, Iteration
Tags
CON.2.C.1
CON.2.A.2
IOC.1
5.
FLASHCARD QUESTION
Front
What is the purpose of the if statement in Java?
Back
The purpose of the if statement in Java is to perform a conditional execution of a block of code.
Tags
CON.2.A.2
CON.2.A.3
6.
FLASHCARD QUESTION
Front
What is an array in Java?
Back
An array in Java is a data structure that allows you to store multiple values of the same type in a single variable.
Tags
VAR.2.A
VAR.2.A.1
VAR.2.A.3
VAR.2.A.2
VAR.2.A.4
7.
FLASHCARD QUESTION
Front
How do you declare and initialize an array in Java? Options: int numbers = new int[5];, int[] numbers = {1, 2, 3, 4, 5};, int[] numbers = new int[] {1, 2, 3, 4, 5};, int[] numbers = new int[5];
Back
int[] numbers = new int[5];
Tags
VAR.2.A
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
CSA Semester 2 Final

Flashcard
•
11th - 12th Grade
13 questions
Java Classes and Objects

Flashcard
•
12th Grade
5 questions
Arrays

Flashcard
•
11th Grade
10 questions
AutoCAD Introduction

Flashcard
•
12th Grade
10 questions
Java Flashcard 1

Flashcard
•
University
7 questions
Java Data Types Practice

Flashcard
•
12th Grade
11 questions
2832 and 6861 Programming Flashcard

Flashcard
•
9th - 12th Grade
15 questions
Java Operators and User Input

Flashcard
•
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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade