HL IB Computer Science

studied byStudied by 5 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 43

flashcard set

Earn XP

Description and Tags

44 Terms

1

Primitive Type

basic data types inherent to java:

  • int for integers

  • boolean for true/false values

  • double for decimal numbers

  • char for single characters

  • string for text

New cards
2

Initializing vs Declaring a variable

Declaring a variable means defining its name and type without assigning a value,

while initializing a variable involves assigning a value to it at the time of declaration.

New cards
3

Modulus Operator

written as % or mod and returns the remainder of division between two integers.

New cards
4

Division operator

written as / or div and returns an integer (decimal values are chopped off)

New cards
5

Overflow

When a calculation relies on a number outside the acceptable number range

New cards
6

variable.nextLine/Int/Double()

allows users to input string/int/double values

New cards
7

Class

the template through which objects are creates. formal blueprint for creating objects

New cards
8

Object

variable of a data type that is user defined. every object has a state and behaviour

New cards
9

Instance

A created object with defined attributes

New cards
10

State

the data that is associated with an object or class at a given time

New cards
11
New cards
12

object oriented programming (OOP)

the use of object and class types in programming

New cards
13

concatenation

the process of joining two or more strings together to form a single string. Primitives can be concatenated with string types

New cards
14

Truth Tables

used in logic for comparing boolean expressions

New cards
15

Linear search

an algorithm that searches data sets in a sequential order, checking each value from the 0th index to the end of the data to see what index a specific element can be found at

New cards
16

Selection Sort

a sorting algorithm that swaps the smaller value left in an array with the current index value.

New cards
17

Insertion Sort

A sorting algorithm that shifts the already sorted section of an array to place the current array value in the correct index

New cards
18

Network Protocols

Protocols for sharing data on the internet that define rules and conventions for communication between network devices

New cards
19

Data privacy

the appropriate use of data based on circumstances

New cards
20

data security

the integrity, confidentiality, and availability of data

New cards
21

recursion

an iterative process where a method calls itself

New cards
22

base case

the simplest version of

New cards
23

Binary search

a search that starts at the middle of a sorted array or and eliminates half of the array in teach iteration until the desired value is found or all elements have been eliminated

New cards
24

precondition

assumptions we make about what must be true before a method is called

New cards
25

postcondition

what should be true after a method is called

New cards
26

sequential programming

programs that are executed once through from start to finish without others executing

New cards
27

parallel and distributed programming

completes multiple tasks simultaneously

New cards
28
New cards
29
New cards
30
New cards
31
New cards
32
New cards
33
New cards
34
New cards
35
New cards
36
New cards
37
New cards
38
New cards
39
New cards
40
New cards
41
New cards
42
New cards
43
New cards
44
New cards

Explore top notes

note Note
studied byStudied by 1210 people
688 days ago
5.0(3)
note Note
studied byStudied by 77 people
856 days ago
4.5(2)
note Note
studied byStudied by 51 people
789 days ago
5.0(1)
note Note
studied byStudied by 44 people
821 days ago
5.0(1)
note Note
studied byStudied by 12 people
760 days ago
5.0(1)
note Note
studied byStudied by 7 people
809 days ago
5.0(1)
note Note
studied byStudied by 13 people
787 days ago
5.0(1)
note Note
studied byStudied by 2899 people
686 days ago
4.8(12)

Explore top flashcards

flashcards Flashcard (42)
studied byStudied by 9 people
690 days ago
5.0(1)
flashcards Flashcard (109)
studied byStudied by 75 people
251 days ago
5.0(1)
flashcards Flashcard (58)
studied byStudied by 29 people
114 days ago
4.0(1)
flashcards Flashcard (39)
studied byStudied by 1 person
439 days ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 1 person
10 days ago
5.0(1)
flashcards Flashcard (84)
studied byStudied by 16 people
511 days ago
5.0(1)
flashcards Flashcard (43)
studied byStudied by 5 people
719 days ago
5.0(1)
flashcards Flashcard (49)
studied byStudied by 4 people
824 days ago
5.0(1)
robot