Home
Explore
Exams
Search for anything
Login
Get started
Home
COMP SCI MIDTERM
COMP SCI MIDTERM
0.0
(0)
Rate it
Studied by 0 people
View linked note
Learn
Practice Test
Spaced Repetition
Match
Flashcards
Card Sorting
1/41
There's no tags or description
Looks like no tags are added yet.
Study Analytics
All
Learn
Practice Test
Matching
Spaced Repetition
Name
Mastery
Learn
Test
Matching
Spaced
No study sessions yet.
42 Terms
View all (42)
Star these 42
1
New cards
Hardware
The physical components of a computer, such as the CPU, memory, and storage.
2
New cards
Software
The collection of programs that control hardware and execute tasks.
3
New cards
Programming Language
A formal set of instructions that a computer can execute.
4
New cards
JAVA Programming Language
A high-level, object-oriented language that is platform-independent due to the Java Virtual Machine (JVM).
5
New cards
Identifiers
Names used for variables, methods, classes, etc.
6
New cards
Legal Identifiers
Must start with a letter, underscore, or dollar sign and cannot be a Java keyword.
7
New cards
White Space
Spaces, tabs, and newlines that improve readability but do not affect execution.
8
New cards
Program Development
The process of designing, writing, testing, and maintaining a program.
9
New cards
Compilation
Converting Java source code into bytecode using the Java compiler.
10
New cards
Java Translation
The process where Java source code is compiled into bytecode and then interpreted by the JVM.
11
New cards
Development Environments
Tools used for Java programming (e.g., Eclipse, IntelliJ, NetBeans).
12
New cards
Syntax
The rules governing the structure of valid Java code.
13
New cards
Semantics
The meaning of Java statements.
14
New cards
Syntax Errors
Violations of Java's rules (e.g., missing semicolons).
15
New cards
Runtime Errors
Errors occurring during execution (e.g., division by zero).
16
New cards
Logical Errors
Incorrect logic leading to undesired output.
17
New cards
Object-Oriented Programming (OOP)
A programming paradigm based on objects and classes.
18
New cards
Classes
Blueprints for creating objects.
19
New cards
Objects
Instances of a class containing attributes (fields) and behaviors (methods).
20
New cards
Character Strings
Sequences of characters handled by the String class.
21
New cards
String Concatenation
Combining strings using +: 'Hello' + ' World' results in 'Hello World'.
22
New cards
Escape Sequences
Special characters such as \n, \t, \\, etc.
23
New cards
Variables
Named storage locations in memory.
24
New cards
Assignment
Assigning values using =.
25
New cards
Constants
Immutable values declared with final.
26
New cards
Primitive Data Types
byte, short, int, long, float, double, char, boolean.
27
New cards
Increment and Decrement Operators
++ and -- increase or decrease a variable by 1.
28
New cards
Scanner Class
Used for input reading (Scanner sc = new Scanner(System.in);).
29
New cards
Reading Input
Methods like nextInt(), nextDouble(), nextLine().
30
New cards
Binding
The association of a method call with its definition.
31
New cards
Polymorphism
The ability of a method to take different forms.
32
New cards
Visibility Revisited
public, private, protected.
33
New cards
Abstract Classes
Cannot be instantiated; contains abstract methods.
34
New cards
Array
A collection of elements of the same type.
35
New cards
Two-Dimensional Arrays
Arrays that store data in a grid format (e.g., int[][] matrix = new int[3][3];).
36
New cards
Inheritance
A subclass inherits attributes and methods from a superclass.
37
New cards
The super Reference
Used to call superclass constructor/methods.
38
New cards
Java API/Packages
Predefined Java libraries.
39
New cards
Random Class
Generates random numbers (Random rand = new Random();).
40
New cards
Wrapper Classes
Convert primitives to objects (e.g., Integer, Double, etc.).
41
New cards
Method Overloading
Same method name, different parameters.
42
New cards
Method Overriding
Redefining superclass methods in a subclass.
Explore top notes
Chapter 4: Covering the Bases (And the Acids)
Updated 1053d ago
Note
Preview
5: States of Consciousness
Updated 963d ago
Note
Preview
Biology Chapters 7 - 9 (test revision)
Updated 218d ago
Note
Preview
AP Biology Unit 7
Updated 505d ago
Note
Preview
Synthesizing Sources: Entering the Conversation
Updated 930d ago
Note
Preview
AP World History unit 1: The Global Tapestry 1200-1450 study guide in depth
Updated 456d ago
Note
Preview
Unit 3 Chapters 1-3
Updated 116d ago
Note
Preview
Chapter 3 Listening Comprehension and Improving Listening Comprehension Strategies
Updated 823d ago
Note
Preview
Explore top flashcards
biology test 1
Updated 650d ago
Flashcards (77)
Preview
anatomy midterm₊̣̇.ෆ˟̑*̑ ʚ♡⃛ɞ*̑˟̑ෆ.₊̣̇. 
Updated 265d ago
Flashcards (115)
Preview
Micro
Updated 422d ago
Flashcards (133)
Preview
Lesson 12 vocab
Updated 183d ago
Flashcards (48)
Preview
Ap Euro Unit 2
Updated 931d ago
Flashcards (120)
Preview
Quiz Topic 3, Constitution, & Spirit of 87'
Updated 497d ago
Flashcards (58)
Preview
WIP 119
Updated 904d ago
Flashcards (20)
Preview
Weihnachten
Updated 932d ago
Flashcards (22)
Preview