Podcast
Questions and Answers
What is Assembly Language?
What is Assembly Language?
- A high-level programming language
- A programming language using simple keywords (correct)
- A scripting language
- A markup 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?
What are Instance Variables?
What are Instance Variables?
What are Primitive Variables?
What are Primitive Variables?
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.
What is a mutator?
What is a mutator?
A ______ checks for errors when you run your code.
A ______ checks for errors when you run your code.
A _____ is a blueprint for an object.
A _____ is a blueprint for an object.
All objects live on the ____.
All objects live on the ____.
A(n) ______ KNOWS things and DOES things.
A(n) ______ KNOWS things and DOES things.
What are methods?
What are methods?
What is prepcode?
What is prepcode?
Use this loop when it will run an indefinite amount of times: ____.
Use this loop when it will run an indefinite amount of times: ____.
Examples of && and || are ____ _______ operators.
Examples of && and || are ____ _______ operators.
Classes in the Java API are grouped into _____.
Classes in the Java API are grouped into _____.
A subclass _______ a superclass.
A subclass _______ a superclass.
What is a parameter?
What is a parameter?
What does the keyword 'abstract' do?
What does the keyword 'abstract' do?
What does the term 'concrete' refer to?
What does the term 'concrete' refer to?
Where do method calls live?
Where do method calls live?
A piece of code that creates the object is called a _____ .
A piece of code that creates the object is called a _____ .
What does the method charAt() do?
What does the method charAt() do?
What does the keyword 'static' allow?
What does the keyword 'static' allow?
In which class are methods such as abs and pow located?
In which class are methods such as abs and pow located?
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?
What are escape characters?
What are escape characters?
What does the keyword 'final' do?
What does the keyword 'final' do?
Who is David Kelsey?
Who is David Kelsey?
Flashcards
Assembly Language
Assembly Language
A low-level programming language using simple keywords to interact with hardware.
Machine Language
Machine Language
The most basic programming language, executing instructions as electrical signals.
Scope
Scope
Refers to where in code a variable can be accessed based on its declaration.
Instance Variables
Instance Variables
Signup and view all the flashcards
Primitive Variables
Primitive Variables
Signup and view all the flashcards
Wrapper Classes
Wrapper Classes
Signup and view all the flashcards
Object
Object
Signup and view all the flashcards
Methods
Methods
Signup and view all the flashcards
While Loop
While Loop
Signup and view all the flashcards
For Loop
For Loop
Signup and view all the flashcards
Prepcode
Prepcode
Signup and view all the flashcards
Stack
Stack
Signup and view all the flashcards
Heap
Heap
Signup and view all the flashcards
Null
Null
Signup and view all the flashcards
Static
Static
Signup and view all the flashcards
Final
Final
Signup and view all the flashcards
Abstract
Abstract
Signup and view all the flashcards
Concrete
Concrete
Signup and view all the flashcards
Mutator
Mutator
Signup and view all the flashcards
Short Circuit Operators
Short Circuit Operators
Signup and view all the flashcards
Parameter
Parameter
Signup and view all the flashcards
Packages
Packages
Signup and view all the flashcards
Escape Characters
Escape Characters
Signup and view all the flashcards
Math Class
Math Class
Signup and view all the flashcards
David Kelsey
David Kelsey
Signup and view all the flashcards
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.