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
Knowt Play
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 Modes
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
Social Anxiety and Separation Anxiety Disorder
Updated 960d ago
Note
Preview
Chapter 12: Jeffersonian Revolution (1800–1820)
Updated 897d ago
Note
Preview
Cell Bio- Exam 1
Updated 1087d ago
Note
Preview
LAW W.8
Updated 277d ago
Note
Preview
Chapter 3: The Norman Church and monasticism
Updated 846d ago
Note
Preview
Chapter 7 // Pt1: Intro to Cellular Respiration
Updated 1011d ago
Note
Preview
Contabilidad financiera - 2. Marco conceptual de la información financiera
Updated 245d ago
Note
Preview
Unit 1: Renaissance and Exploration
Updated 236d ago
Note
Preview
Explore top flashcards
Chapter 9 Risk section ABC
Updated 325d ago
Flashcards (62)
Preview
FD VOCAB
Updated 984d ago
Flashcards (25)
Preview
Geometry Vocabulary
Updated 916d ago
Flashcards (39)
Preview
Biology Final (Test #4)
Updated 652d ago
Flashcards (116)
Preview
Genetics DQs, updated to dq 13
Updated 664d ago
Flashcards (115)
Preview
easymediumhard
Updated 229d ago
Flashcards (49)
Preview
children and the law
Updated 309d ago
Flashcards (30)
Preview
cellular energetics vocab
Updated 645d ago
Flashcards (53)
Preview