Unit 1 APCSA
Flashcard
•
Computers
•
9th Grade - University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

29 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is not a primitive type? int, double, String, boolean, char
Back
String
2.
FLASHCARD QUESTION
Front
Which of the following statements is true about variables? The memory associated with a variable of a primitive type holds an actual primitive value. When a variable is declared final, its value can only be changed through a direct reassignment. A variable originally created as an int can be changed to store a double through casting. All of these choices are true.
Back
The memory associated with a variable of a primitive type holds an actual primitive value.
3.
FLASHCARD QUESTION
Front
What is the value of x after this code runs: int x = 5; x = 10; x*=2; x+=3;
Back
23
4.
FLASHCARD QUESTION
Front
What is the value of x after this code runs
int x = 5;
x = 10;
x = 4;
Back
4
5.
FLASHCARD QUESTION
Front
What is the proper syntax to declare and initialize a variable called temperature to have the value 70.4?
Back
double temperature = 70.4;
6.
FLASHCARD QUESTION
Front
What is the result of this expression? (int) (5 + 2 / 3 + 1)
Back
6
7.
FLASHCARD QUESTION
Front
Which expression returns the 1’s place of an integer x? Options: x % 10, x / 10, x % 100, x + 1, x / 100
Back
x % 10
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Practice 3 FFA Basics
Flashcard
•
9th - 12th Grade
17 questions
Pluralism and Theology
Flashcard
•
11th - 12th Grade
15 questions
Proceso Interno de una Computadora
Flashcard
•
11th Grade - University
29 questions
AR Verb Conjugation
Flashcard
•
9th - 12th Grade
23 questions
Macroeconomia Clássica e PIB Flashcards
Flashcard
•
KG - University
20 questions
Manual de Envíos Internacionales
Flashcard
•
KG
20 questions
Tema 5: El incendio forestal. Recursos de extinción.
Flashcard
•
KG - University
24 questions
English to Spanish Flashcards
Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade