AP Computer Science A Flashcard

Flashcard
•
Computers
•
12th Grade
•
Hard
+20
Standards-aligned
Wayground Content
Used 1+ 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
10 questions
Java Basics 1

Flashcard
•
University
15 questions
Flashcard on Object Oriented Programming and Java

Flashcard
•
University
13 questions
Java Classes and Objects

Flashcard
•
12th Grade
10 questions
Flashcard1-Intro-to-Java

Flashcard
•
University
10 questions
Arrays

Flashcard
•
10th - 12th Grade
12 questions
VdL Java Inheritance Flashcard

Flashcard
•
11th Grade
10 questions
Programming Paradigms Flashcard

Flashcard
•
12th Grade
5 questions
Arrays

Flashcard
•
11th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University