7 - Programming Languages

studied byStudied by 0 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 / 33

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

34 Terms

1

4 ways to group languages?

  1. Method of Execution

  2. Core flow of data

  3. Level of abstraction

  4. Generation

New cards
2

Which language group is the “programming paradigm”?

Core flow of data

New cards
3

Subsection of Method of Execution?

Compiled and Interpreted

New cards
4

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

Compiled

New cards
5

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

Compiled

New cards
6

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

Interpreted

New cards
7

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

Compiled

New cards
8

What types of Interpreted languages are there?

Just-in-time compilation and Scripting languages

New cards
9

What does a scripting language do?

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

New cards
10

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

  1. Imperative

  2. Declarative

  3. Procedural

  4. Functional

  5. Object Oriented

New cards
11

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

Imperative

New cards
12

T/F, Imperative statements have side-effects?

True

New cards
13

T/F, Declarative statements have side effects?

False

New cards
14

Difference between Imperative and Declarative in terms of machine states?

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

New cards
15

Examples of Imperative languages?

C, Fortran, JavaScript, Python

New cards
16

Examples of Declarative?

HTML, Lisp, Haskell, Prolog, SQL

New cards
17

Approach of all modern CPUs?

Procedural

New cards
18

What does procedural describe about data?

how data changes and what to do next

New cards
19

How is Functional different than procedural?

Functions don’t change values passed to them

New cards
20

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

False. Functional languages are declarative.. Excel

New cards
21

What is an “object” in object oriented languages?

data with code

New cards
22

How does OO differ from procedural?

Procedural - Data independent of procedures

OO - data and procedure tied together

New cards
23

Examples of OO languages?

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

New cards
24

What kind of code has zero abstraction?

Machine code. lowest level.

New cards
25

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

True. must be converted to byte code prior to execution

New cards
26

What is a Heap?

virtual memory space of process/program

New cards
27

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.

New cards
28

Where is the Heap allocated?

Mapped to real memory as requested

New cards
29

What does the data of a process get stored?

Heap

New cards
30

What is FIFO?

First In First Out. Area of memory

New cards
31

How to fill and empty FIFO?

Calling functions fills it. Return functions empties it

New cards
32

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

FIFO

New cards
33

What language is final stage of higher level languages?

Assembly

New cards
34

Closest language to machine code in human readable form?

Assembly

New cards

Explore top notes

note Note
studied byStudied by 16 people
838 days ago
5.0(1)
note Note
studied byStudied by 31 people
866 days ago
5.0(3)
note Note
studied byStudied by 7 people
854 days ago
5.0(1)
note Note
studied byStudied by 7 people
881 days ago
5.0(1)
note Note
studied byStudied by 313 people
321 days ago
5.0(2)
note Note
studied byStudied by 7 people
109 days ago
5.0(4)
note Note
studied byStudied by 172 people
533 days ago
5.0(1)
note Note
studied byStudied by 14 people
61 days ago
5.0(1)

Explore top flashcards

flashcards Flashcard (116)
studied byStudied by 2 people
97 days ago
5.0(1)
flashcards Flashcard (25)
studied byStudied by 7 people
822 days ago
4.5(2)
flashcards Flashcard (71)
studied byStudied by 1 person
697 days ago
5.0(1)
flashcards Flashcard (48)
studied byStudied by 7 people
105 days ago
5.0(1)
flashcards Flashcard (103)
studied byStudied by 40 people
485 days ago
5.0(1)
flashcards Flashcard (83)
studied byStudied by 2 people
649 days ago
5.0(2)
flashcards Flashcard (269)
studied byStudied by 8 people
590 days ago
5.0(3)
flashcards Flashcard (69)
studied byStudied by 36 people
21 days ago
5.0(1)
robot