1/20
A set of vocabulary flashcards covering Java fundamentals, JGrasp interface, data types, and variable naming rules based on the Grade 9 Coding and Robotics test.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
.java
The file extension of a Java source code file.
Red Man icon
The button in JGrasp used to run a program.
double
A data type used to store decimal numbers with high precision.
playerScore
An example of a valid variable name in Java, following the camelCase convention without spaces, hyphens, or starting digits.
for loop
A loop best suited for repeating an action a specific number of times.
Compiler
A tool that translates source code into bytecode.
JVM
Stands for Java Virtual Machine; it runs Java programs on different platforms.
Boolean
A data type that stores true or false values.
String
A data type used to store text, such as "John".
Comment
Text in a program that is ignored by the computer.
int
A data type used for whole numbers (integers), such as declarations like intmarks=85.
char
A data type used to store a single character, such as ′A′.
Variable Parts
The three parts of a variable: data type, name (identifier), and value.
Main Method
The essential method used as the starting point for a Java program's execution.
Case Sensitivity
An attribute of Java where the language distinguishes between uppercase and lowercase letters.
Class
A blueprint used to create an object.
Object
The actual instance created from a class.
counter++
An expression used in a loop to increment the value of the counter variable by 1.
Invalid Variable: 1marks
A variable name that is invalid because it starts with a number.
Invalid Variable: learner name
A variable name that is invalid because it contains a space.
Invalid Variable: score-total
A variable name that is invalid because it contains a hyphen.