Unit 1 - Programming Basics Flashcards
(63 cards)
&& (and)
The boolean && operator takes two arguments and returns false unless both inputs are true.
|| (or)
The boolean || operator outputs true if either inputs are true (or both).
= operator
The = operator (equal sign) is an assignment operator that is used to assign values to variables.
Algorithm
A logical step-by-step plan that we need to build for solving a problem.
Argument
An argument is the actual value(s) that is being passed into the method when it is being called.
Boolean Expression
A boolean expression is an expression whose value, when evaluated, is either true or false.
Boolean Operators
Boolean operators (also known as logical operators) allow us to build and combine more complex boolean expressions from more basic expressions.
Bytecode
An intermediary step for code conversion between the programming language that you write and the machine code that a computer uses.
Chained Conditional
A chained conditional is a conditional statement with a series of alternative branches.
Comments
The // (double forward slash) is used in Java code to identify a comment. Commented lines of code are ignored by the compiler during run time. A programmer adds comments throughout the code to explain how the program or function works.
Comparison Operator
A comparison operator is one of a group of operators that compares two values. These include ==, !=, >, <, >=, and <=.
Compiler
A compiler scans an entire program and attempts to convert the whole program at once to machine code.
Concatenate
Joining two strings together using the addition (+) operator.
Condition
A condition is a boolean expression in a conditional statement that determines which branch is executed.
Corner case
Value you are testing is in between two edge cases.
Data Type (or Type)
The type of data that a variable can store.
Debugging
The process of testing and fixing errors in the code.
Development Life Cycle
A high-level process for planning, creating, testing, and deploying an application.
Distributed Language
A programming language, like Java, that is designed to run on computer networks.
Edge case
Values that are at the end of a testing range.
Escape Sequences
Special characters that are specified using a backslash () followed by a letter. These help Java indicate the character that controls the display of information on the screen.
Exceptions
Errors detected during execution (running of the code) are called exceptions.
Identifier
An identifier is a name for the variable.
Initialization
The providing of an initial value of a variable when it is declared.