Podcast
Questions and Answers
What is Assembly Language?
What is Assembly Language?
What is Machine Language?
What is Machine Language?
Programming languages which relied on manually flipping electrical currents on and off
What is scope in programming?
What is scope in programming?
A variable can only be accessed in certain areas of your code, based on how and where you declare it.
What are Wrapper Classes?
What are Wrapper Classes?
Signup and view all the answers
What are Instance Variables?
What are Instance Variables?
Signup and view all the answers
What are Primitive Variables?
What are Primitive Variables?
Signup and view all the answers
A reference variable has a value of ___ when not referring to an object.
A reference variable has a value of ___ when not referring to an object.
Signup and view all the answers
What is a mutator?
What is a mutator?
Signup and view all the answers
A ______ checks for errors when you run your code.
A ______ checks for errors when you run your code.
Signup and view all the answers
A _____ is a blueprint for an object.
A _____ is a blueprint for an object.
Signup and view all the answers
All objects live on the ____.
All objects live on the ____.
Signup and view all the answers
A(n) ______ KNOWS things and DOES things.
A(n) ______ KNOWS things and DOES things.
Signup and view all the answers
What are methods?
What are methods?
Signup and view all the answers
What is prepcode?
What is prepcode?
Signup and view all the answers
Use this loop when it will run an indefinite amount of times: ____.
Use this loop when it will run an indefinite amount of times: ____.
Signup and view all the answers
Examples of && and || are ____ _______ operators.
Examples of && and || are ____ _______ operators.
Signup and view all the answers
Classes in the Java API are grouped into _____.
Classes in the Java API are grouped into _____.
Signup and view all the answers
A subclass _______ a superclass.
A subclass _______ a superclass.
Signup and view all the answers
What is a parameter?
What is a parameter?
Signup and view all the answers
What does the keyword 'abstract' do?
What does the keyword 'abstract' do?
Signup and view all the answers
What does the term 'concrete' refer to?
What does the term 'concrete' refer to?
Signup and view all the answers
Where do method calls live?
Where do method calls live?
Signup and view all the answers
A piece of code that creates the object is called a _____ .
A piece of code that creates the object is called a _____ .
Signup and view all the answers
What does the method charAt() do?
What does the method charAt() do?
Signup and view all the answers
What does the keyword 'static' allow?
What does the keyword 'static' allow?
Signup and view all the answers
In which class are methods such as abs and pow located?
In which class are methods such as abs and pow located?
Signup and view all the answers
What type of loop is used when you know how many times it will run?
What type of loop is used when you know how many times it will run?
Signup and view all the answers
What are escape characters?
What are escape characters?
Signup and view all the answers
What does the keyword 'final' do?
What does the keyword 'final' do?
Signup and view all the answers
Who is David Kelsey?
Who is David Kelsey?
Signup and view all the answers
Study Notes
Programming Languages
- Assembly Language: Uses simple keywords (e.g., ADD) to interact directly with memory addresses.
- Machine Language: Relies on physical manipulation of electrical currents to execute instructions.
Variable Concepts
- Scope: Refers to the accessibility of a variable based on its declaration location within the code.
- Instance Variables: Specific to a class, these variables inform an object about its own state.
- Primitive Variables: Basic data types including Boolean, byte, and int; foundational building blocks of data storage.
Object Orientation
- Wrapper Classes: Enable primitive types (e.g., Integer, Character) to be utilized in data structures like Array Lists.
- Object: Represents an entity that holds data (state) and can perform actions (behavior).
- Methods: Define the actions an object can perform, serving as the object's functionality.
Control Structures
- While Loop: Designed for scenarios where the number of iterations is uncertain.
- For Loop: Best suited for situations where the number of iterations is predetermined.
Object Creation and Management
- Prepcode: The initial code written when designing a new class, setting up its structure.
- Stack: The memory region that keeps track of method calls and their state.
- Heap: The area in memory where all object instances are stored.
Keywords and Programming Terminology
- Null: Indicates that a reference variable does not currently point to any object.
- Static: Allows methods or variables to be accessed without creating an instance of the class.
- Final: A keyword that locks a variable or method, preventing any modification after its initial setup.
- Abstract: Prevents instantiation of a class or overriding of methods, establishing a template without a concrete implementation.
- Concrete: Describes a class that can be instantiated and utilized in a program.
Methodology and Operators
- Mutator: A method responsible for modifying the data of an object without returning any value.
-
Short Circuit Operators: Examples include
&&
(AND) and||
(OR), which evaluate conditions in a way that can skip unnecessary evaluations.
Data Passing and API Organization
- Parameter: Data elements sent to a method when called for execution.
- Packages: Collections of related classes, facilitating organization within the Java API.
Miscellaneous Concepts
-
Escape Characters: Special characters such as
/n
(new line) and/t
(tab), used within strings to format output. -
Math Class: Houses methods like
.abs
and.pow
, employed for mathematical operations. - David Kelsey: Noted for his distinct style and presence (swag).
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Test your knowledge of programming languages and key concepts with these flashcards. This quiz covers important terms such as Assembly Language, Machine Language, and the concept of scope in coding. Perfect for students preparing for exams in computer science.