Basic Java Concepts

Flashcard
•
Computers
•
11th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

44 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Why do we use methods in Java programming?
Back
Break down our program into smaller parts, Avoid repeating code, Make our program more readable.
2.
FLASHCARD QUESTION
Front
What are parameters?
Back
The formal names given to the data/variables that are passed into a method.
3.
FLASHCARD QUESTION
Front
When the type of a method is defined as void, this indicates...
Back
the method returns nothing
4.
FLASHCARD QUESTION
Front
In the following code, what is the name of the method?
public void squared(int num1)
Back
squared
5.
FLASHCARD QUESTION
Front
What goes in the parentheses after a method name?
Back
parameters
6.
FLASHCARD QUESTION
Front
Which is a properly written method with four parameters? Options: public void math(int a, int b), public void math(double a, double b, double c, double d), public void math(a, b, c, d), public void math(4, 3, 2, 1)
Back
public void math(double a, double b, double c, double d)
7.
FLASHCARD QUESTION
Front
Name the data type: 1.0
Back
double
Create a free account and access millions of resources
Similar Resources on Wayground
39 questions
Computer Programming Flashcard

Flashcard
•
12th Grade
34 questions
AP Psychology Unit 1

Flashcard
•
11th - 12th Grade
43 questions
AP Psych - Unit 1

Flashcard
•
12th Grade
35 questions
Project-Stem Python Final Exam

Flashcard
•
9th - 12th Grade
43 questions
Research Methods in Psychology

Flashcard
•
KG - University
40 questions
AP Computer Science A Final Review

Flashcard
•
10th Grade - University
44 questions
DBI202-Fa24

Flashcard
•
KG - University
45 questions
APCSA Practice test mine

Flashcard
•
11th 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