Introduction to Programming Languages

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

1/26

flashcard set

Earn XP

Description and Tags

Flashcards covering the definitions, generations, paradigms, examples, and common uses of programming languages based on the lecture notes.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

27 Terms

1
New cards

What is a programming language?

A special language used to write instructions that computers can understand and execute; acts as a translator between you and the computer.

2
New cards

What is the difference between low-level and high-level programming languages?

Low-level languages are close to the computer’s native machine code, fast and powerful but hard for humans to read; high-level languages are easier to read/write and closer to everyday language.

3
New cards

Give examples of low-level programming languages.

Machine Language (binary) and Assembly Language.

4
New cards

Give examples of high-level programming languages.

Python, Java, C++, JavaScript.

5
New cards

What are the typical uses of low-level languages?

Writing firmware, operating systems, or code that interacts directly with hardware.

6
New cards

What are the typical uses of high-level languages?

Building apps, websites, games, AI tools, and other software.

7
New cards

What is a 1st generation (1GL) language?

Machine codes written in 0s and 1s (binary).

8
New cards

What is a 2nd generation (2GL) language?

Assembly language (e.g., MOV, ADD).

9
New cards

What is a 3rd generation (3GL) language?

Procedural languages like C, Java, Python.

10
New cards

What is a 4th generation (4GL) language?

Focused on specific tasks, like SQL for databases.

11
New cards

What is a 5th generation (5GL) language?

Logic-based languages used in AI, like Prolog.

12
New cards

What is the Procedural programming paradigm?

A paradigm focused on sequences of instructions; examples include C and Pascal.

13
New cards

What is the Object-Oriented programming paradigm?

A paradigm organized around objects; examples include Java, Python, and C++.

14
New cards

What is the Functional programming paradigm?

A paradigm based on evaluating mathematical functions; examples include Haskell and Lisp.

15
New cards

What is the Scripting programming paradigm?

A paradigm focused on quick, script-like tasks; examples include JavaScript and Python.

16
New cards

What is the Logic-Based programming paradigm?

A paradigm using formal logic; example: Prolog.

17
New cards

What is Python best for?

Data science, web development, and AI; it is easy to learn.

18
New cards

What is Java best for?

Mobile apps (especially Android) and business software.

19
New cards

What is C++ best for?

Games, simulations, and system-level applications.

20
New cards

What is JavaScript best for?

Powers interactivity in websites.

21
New cards

What is SQL best for?

Managing and querying databases.

22
New cards

What is Prolog best for?

Logic-based AI and expert systems.

23
New cards

From the activity, what is Python’s mapped use case and paradigm?

Web Apps, Object-Oriented.

24
New cards

From the activity, what is C’s mapped use case and paradigm?

Build operating systems, Procedural.

25
New cards

From the activity, what is SQL’s mapped use case and paradigm?

Manage databases, Declarative.

26
New cards

From the activity, what is JavaScript’s mapped use case and paradigm?

Add animation to websites, Scripting.

27
New cards

From the activity, what is Prolog’s mapped use case and paradigm?

Build rule-based AI systems, Logic-Based.