CSCI 1301 Mid Term

0.0(0)
studied byStudied by 4 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/101

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:40 PM on 10/6/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

102 Terms

1
New cards

program

A set of instructions written in a programming language that a computer can execute to perform specific tasks.

2
New cards

software

all the different kinds of programs and applications that run on a computer.

3
New cards

CPU (Central Processing Unit) (Processor)

The primary component of a computer that performs calculations, executes instructions, and manages the flow of information within the system.

4
New cards

main memory

a form of computer memory that temporarily stores data and program instructions currently in use by the CPU, allowing for quick access and processing. (VOLATILE)

5
New cards

auxiliary memory

a type of computer memory used for long-term data storage, typically including hard drives, SSDs, and other external storage devices. (NOT VOLATILE)

6
New cards

RAM

random access memory - main memory (main memory consists of a long list of numbered bytes)

7
New cards

Address

number of a byte

8
New cards

byte

smallest addressable unit of memory
contains 8 digits (0 or 1)

9
New cards

binary digit (bit)

two values (usually 0 or 1)

10
New cards

files

bytes grouped into much larger units (contains any sort of data) (auxiliary memory)

11
New cards

folder (directory)

organized groups of files

12
New cards

operating system

supervisory program that oversees the entire operation of the computer (ex: Windows, MacOS, Linux, UNIX)

13
New cards

high-level languages

modern programming levels designed to be easy for people to understand/use (ex: Java, C++ C#, Python) (not understandable by computer hardware)

14
New cards

machine language

The language that the computer can directly understand

15
New cards

assembly language

symbolic form of machine language that is easier for people to read (similar to machine language, but has additional translations before it runs on computers)

16
New cards

low-level lanugage

includes both machine and assembly language, it is language that computers can execute

17
New cards

compiler

a program that translates a program from high-level to low-level language (runs only once, faster)

18
New cards

source program (source code)

input program for compiler

19
New cards

object program (object code)

machine-language program that the compiler produces

20
New cards

interpreter

a type of program that also translates high-level languages. Interpreters execute a portion of code right after translating rather than translating the entire program at once (runs each time) (slower than compiler)

21
New cards

bytecode

a language that the java compiler translates java programs into

22
New cards

virtual machine

a hypothetical computer that bytecode is the machine language for (similar to all typical computers)

23
New cards

Java Virtual Machine (JVM)

the program that translates bytecode into a machine-language program for a computer (in this case, Java)

24
New cards

run command

tells bytecode interpreter to execute the bytecode

25
New cards

classes

A different “piece” of a java program, each class is a different piece of bytecode

26
New cards

class loader

“a program that automatically connects the classes

27
New cards
28
New cards

application

regular program but applications are run straight thru computers

29
New cards

applet

little application (almost identical to application), but applets are sent to another location on the internet and run there from a browser

30
New cards

methods

parts inside braces, for example “main”

31
New cards

body

statements/instructions within a method

32
New cards

objects

actions defined by methods (ex: System.out = object used to send output to screen")

33
New cards

argument

items inside parentheses that provide the info the method needs to carry out (ex: println(____") )

34
New cards

variable

something that can store a piece of data (ex: int = integer, String = letters)

35
New cards

expression

output made of variables

36
New cards

syntax

grammatical rules for any programming/natural language

37
New cards

Object Oriented Programming (OOP)

a programing methodology that views a program consisting of objects that can act alone/interact

38
New cards

attributes

characteristics each object has

39
New cards

state

the values of an objects attributes

40
New cards

behaviors

the actions an object can take, defined by code called a method

41
New cards

class

defines a kind of object (blueprint for objects)

42
New cards

encapsulation

packages and hides detail (information hiding)

43
New cards

polymorphism

enables objects to behave appropriately

44
New cards

inheritance

organizes related classes

45
New cards

algorithm

a set of directions for solving a problem

46
New cards

pseudocode

combo of english + programming language, which algorithms are usually made of

47
New cards

bug

mistake in program

48
New cards

debugging

eliminating bugs from program

49
New cards

syntax error

grammatical mistake (will be detected by compiler)

50
New cards

run-time error

errors occurring during executing (produces error message)

51
New cards

logic error

conceptual mistakes in algorithm (ex: using a - instead of a +, program runs but not as wanted)

52
New cards

variable

used to store data like letters and numbers

53
New cards

value

number, letter, or other data item in a variable

54
New cards

variable declaration

declaring the variable’s data type (int, string, etc)

55
New cards

int

integer

56
New cards

double

numbers with decimals

57
New cards

char

any one character on the keyboard

58
New cards

class type

data type for objects of a class (Strings)

59
New cards

primitive type

simpler than objects, a single number or letter (int, double, char)

60
New cards

float (floating-point number)

number with fractions (decimals, ex: 5.0, 5.1120831)

61
New cards

boolean

true/false

62
New cards

identifier

technical term for name in programming language (letters, digits 0-9, underscore)

63
New cards

keywords (reserved words)

words with special meanings that cannot be used as variables/classes/mehtods (primitive words + if)

64
New cards

constant (literal)

terms that have unchanging values

65
New cards

final double

a double value that cannot be changed because of “final”

66
New cards

type cast

changes data type of a value from normal type to another type (ex: double to int)

67
New cards

operands

variables and numbers

68
New cards

unary operator

operators with only one operand (one thing it applies to, ex: balance = -cost)

69
New cards

binary operator

2 operands (ex: total = cost + tax)

70
New cards

I/O

Input/Output

71
New cards

nextInt

reads an int value

72
New cards

nextDouble

reads a double

73
New cards

next

reads a word

74
New cards

delimiter

separators by whitespace characters and/or line breaks

75
New cards

nextLine

reads the entire line

76
New cards

printf

print + special instructions

77
New cards

empty string

string with 0 characters (““)

78
New cards

concatenation

joining 2 strings with a + operator

79
New cards

index

a position in a string

80
New cards

substring

portion of a string

81
New cards

escape sequences/characters

special characters that escape the usual meaning of a character

82
New cards

character set

list of characters

83
New cards

unicode

ASCII character set + many characters used in other languages than english

84
New cards

=

assignment operator

85
New cards

+ , -

arithmetic operators, combine variables and numbers

86
New cards

*

multiplication

87
New cards

/

division

88
New cards

%

remainder operator

89
New cards

++

increment operator

90
New cards

- -

decrement operator

91
New cards

(-+/%*)=

specialized assignment operators (variable (-+/%*) something)

92
New cards

compound statement

statements formed by enclosing a list of statements in braces

93
New cards

&&

“and” for boolean expressions

94
New cards

||

“or” for boolean expressions

95
New cards

!

“not” for boolean expressions

96
New cards

equals

“equals” for Strings

97
New cards

equalsIgnoreCase

ignores differences between uppper/lowercase

98
New cards

compareTo

compares Strings

99
New cards

lexicographic order

ordering based on unicode sequence

100
New cards

toUpperCase

changes to upper case