programming language important

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

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:02 PM on 12/11/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

subprogram

descirbes an interface and actions to be performed

2
New cards

horn clause

a rule with at most one conclusion.

3
New cards

headed horn clause

has a head and things are facts ex if statement x :- a,b

4
New cards

headless horn clause

does not have a head and is just proving the body ex query ?-fun( ,)

5
New cards

tail recursion

recursive call is the last call in a recursive function and is the very last thing

6
New cards

referential transparency

when you can replace a function call with its results and it doesn’t cause errors ex. add(2,3) replaced with 5

7
New cards

dynamic linking

points to called activation revord in the runtime stack

8
New cards

dynamic binding

at runtime it binds the instance method call to the correct object allowing polymorphism

chooses method at runtime and is for calling an overridden method to execute the appropriate implementation at runtime

9
New cards

deadlock

processing waits indefinitely because of circular wait or resource holding

10
New cards

4 conditions of deadlock

mutual exclusion, circular wait, hold and wait, no preemption

11
New cards

von neumann

uses inttructions and has CPU, memory, and bus, and data is passed back and forth on bus

12
New cards

von neumann bottleneck

computer is limited on program execution speed caused by slow rate instructions get moved on the bus

13
New cards

imperative languages

based on von neumann

14
New cards

functional languages

based on math

15
New cards

Abstract data type

user defined type that includes:

representation is hidden so users cannot directly access the internal data structure

encapsulation: data and its operations are defined in a single unit

16
New cards

Activation record

A stack frame containing information needed to manage a subprogram call: return address, parameters, local variables, dynamic link, static link, etc.

17
New cards

concurrency

computer ability to handle multiple tasks at a time

18
New cards

physical concurrency

multiple cores used to execute things at same time

19
New cards

logical concurrency

single core and tasks are spliced and done at the same time

20
New cards

java better at exception handling

Java built into language, C++ needs library, C does not have

Java enforces checking exceptions and has a unified organized exception hierarchy

java exceptions are always objects

Java has a finally block, which ensures that cleanup code always runs

Explore top flashcards