The result of a logical expression using && or || can be determined by evaluating only the first Boolean operand,
What is short-circuit evaluation?
What is an algorithm?
A step-by-step process for solving a problem
What is a variable?
A named storage location for data
What is a boolean value?
A value that is either true or false
What is an operating system?
Software that manages hardware and provides services of applications
What does the static keyword mean when used in front of a method
It means the method belongs to the class, not an instance
What is the digital divide
The gap between groups with and without access to technology
Abstraction
The process of reducing complexity by hiding irrelevant details and focusing on the essential characteristics, making one solution usable for multiple, similar problems.
What is a conditional statement
A statement that only executes if a condition is true
What is a compiler?
A program that translates source code into machine code
Given int[] arr = {1, 2, 3, 4}; What is arr[4]
this code will throw an ArrayIndexOutOfBoundsException.
What is metadata?
Data that describes other data
Debugging
The process of finding and fixing errors (bugs) in a computer program that prevent it from running as expected.
What is De Morgan's Law?
Rules that relate AND/OR negation
-(A or B) = -A or -B
What is cloud computing?
Delivering computing resources over the internet instead of locally
Why is inheritance useful in object-oriented programming
It allows code reuse and enables hierarchical relationships between classes
What is the purpose of Data compression?
To reduce file size while preserving information as much as possible
Phishing
A technique that tricks users into providing personal information.
What is a truth table used for?
To show all possible input combinations and the resulting value.
Multi-factor Authentication (MFA)
A security system that requires at least two steps to unlock data.
What is the difference between == and .equals() when comparing objects in java?
.equals() checks value/content equality
What is a packet?
A small unit of data sent across a network, containing both payload and routing information
Recursion
When a method(or function) calls itself in its own definition.
What does it mean for two statements to be logically equivalent?
They always have the same truth value in every possible scenario
Convert to decimal:
001100
12