7 - Programming Languages

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

1/33

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:11 PM on 3/13/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

34 Terms

1
New cards

4 ways to group languages?

  1. Method of Execution

  2. Core flow of data

  3. Level of abstraction

  4. Generation

2
New cards

Which language group is the “programming paradigm”?

Core flow of data

3
New cards

Subsection of Method of Execution?

Compiled and Interpreted

4
New cards

Which Method of Execution converts human readable text into machine code?

Compiled

5
New cards

Which method of execution language type may convert your code into lower level language?

Compiled

6
New cards

Just-In-Time compilation is a type of what method of execution?

Interpreted

7
New cards

What type of language is used if the computer converts gfortran → gcc

Compiled

8
New cards

What types of Interpreted languages are there?

Just-in-time compilation and Scripting languages

9
New cards

What does a scripting language do?

cause compiled functions to run… basically run machine code that already existed

10
New cards

What are the 5 types of language in the programming paradigm?

  1. Imperative

  2. Declarative

  3. Procedural

  4. Functional

  5. Object Oriented

11
New cards

Which language type (in the programming paradigm) is most closely related to the CPU operations?

Imperative

12
New cards

T/F, Imperative statements have side-effects?

True

13
New cards

T/F, Declarative statements have side effects?

False

14
New cards

Difference between Imperative and Declarative in terms of machine states?

Imperative statements change state of machine. Declarative describes the state, doesn’t change it

15
New cards

Examples of Imperative languages?

C, Fortran, JavaScript, Python

16
New cards

Examples of Declarative?

HTML, Lisp, Haskell, Prolog, SQL

17
New cards

Approach of all modern CPUs?

Procedural

18
New cards

What does procedural describe about data?

how data changes and what to do next

19
New cards

How is Functional different than procedural?

Functions don’t change values passed to them

20
New cards

T/F. Functional languages (example?) are imperative.

False. Functional languages are declarative.. Excel

21
New cards

What is an “object” in object oriented languages?

data with code

22
New cards

How does OO differ from procedural?

Procedural - Data independent of procedures

OO - data and procedure tied together

23
New cards

Examples of OO languages?

Python, C++, C#, VB, Java

24
New cards

What kind of code has zero abstraction?

Machine code. lowest level.

25
New cards

T/F. ANy language above machine code is High level abstraction.

True. must be converted to byte code prior to execution

26
New cards

What is a Heap?

virtual memory space of process/program

27
New cards

How does a function handle machine code? What does it do with memory control?

Executes chunks of machine code. Returns control to previous area of memory/function.

28
New cards

Where is the Heap allocated?

Mapped to real memory as requested

29
New cards

What does the data of a process get stored?

Heap

30
New cards

What is FIFO?

First In First Out. Area of memory

31
New cards

How to fill and empty FIFO?

Calling functions fills it. Return functions empties it

32
New cards

Stack Pointers and Memory Protection use what kind of storage/register fill?

FIFO

33
New cards

What language is final stage of higher level languages?

Assembly

34
New cards

Closest language to machine code in human readable form?

Assembly

Explore top flashcards

Finska
Updated 1060d ago
flashcards Flashcards (127)
unit 6: long island
Updated 770d ago
flashcards Flashcards (25)
Derm E1: Intro
Updated 432d ago
flashcards Flashcards (75)
Finska
Updated 1060d ago
flashcards Flashcards (127)
unit 6: long island
Updated 770d ago
flashcards Flashcards (25)
Derm E1: Intro
Updated 432d ago
flashcards Flashcards (75)