1/21
Vocabulary flashcards covering problem-solving tools (algorithms, pseudocode, flowcharts and flowchart symbols) and Java user input using the Scanner class.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Program Design Tools
Techniques that programmers use to plan, design, and explain the logic of a program before writing actual code.
Algorithm
A step-by-step procedure used to solve a problem or perform a task, written in simple, clear instructions similar to a recipe.
Pseudocode
A simplified, code-like way of writing program steps in plain English that resembles programming structure but is not bound by strict syntax; also known as false code.
Flowchart
A visual representation of an algorithm or process that uses shapes (symbols) and arrows to show the sequence of steps in a program.

Terminal Symbol
A flowchart symbol that marks the starting or ending point of a process, usually containing the word Start or End.

Process Symbol
A flowchart symbol (box) representing a single action step or an entire sub-process within a larger system.

Connector Symbol
A flowchart symbol (circle) indicating that the flow continues where a matching symbol with the same letter is placed.

Input/Output Symbol
A flowchart symbol (parallelogram) representing data entering or leaving the system, such as user inputs or displayed results.

Decision Symbol
A flowchart symbol (diamond) representing a decision or branching point where lines emerge based on different conditions.

Flow Lines
Flowchart symbols (arrows) used to indicate the direction of execution from one step to another.
Meters to Centimeters Conversion Formula
The formula used to convert a measurement in meters to centimeters: centimeters=meters×100
Java User Input
Data provided by the user while a Java program is running to create an interactive program rather than hardcoding static values.
Scanner Class
A class in Java located in the java.util package that provides methods for reading various input types from standard input.
import java.util.Scanner;
The import statement required in Java to make the Scanner class from the java.util package available in your code.
Scanner input = new Scanner(System.in);
The statement used to create a Scanner object named input configured to read user input typed from the keyboard.
nextInt()
A method of the Scanner class that reads an integer value from user input.
nextDouble()
A method of the Scanner class that reads a floating-point (decimal) number from user input.
nextLine()
A method of the Scanner class that reads an entire line of text as a String, including spaces.
next()
A method of the Scanner class that reads a single word from user input.
nextBoolean()
A method of the Scanner class that reads a boolean value (true or false) from user input.
Scanner nextLine() Pitfall
An issue that occurs when nextLine() is called after numeric input methods or next(), causing the string input to be skipped because nextLine() consumes the leftover newline (Enter key) character.
Scanner nextLine() Pitfall Solution
Inserting an additional dummy call to nextLine() right after numeric or next() methods to consume the abandoned Enter key character prior to reading string input.