Programming Languages Flashcards

1
Q

“The only way to learn a new programming language is by writing programs in it.”

A

Dennis Ritchie

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why can’t computers understand Plain English?

A

PROGRAMMING LANGUAGES are a tool that allow the computer to do specific operation and programmers use programming languages so that they can specify exactly what they want the computer to do

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Types of Programming Languages

A

Machine Language
Assembly Language
Structured Programming Languages
Nonprocedural languages (Declarative Languages)
Artificial Intelligence (AI) Languages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Is the binary system that computers understand natively. Instructions are encoded as binary numbers,

A

Machine Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

0000

A

Halt (Stop the program)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

0001

A

Load (Load data from memory into a CPU register)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

0010

A

Store (Store data from a CPU register into memory)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

0011

A

Add (Add two numbers in registers and store the result in another register)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

0100

A

Subtract (Subtract two numbers in registers and store the result in another register)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

0101

A

Jump if Equal (Jump to a different part of the
program if two values in registers are equal)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Uses a basic set of symbols to represent the 0s and 1s of machine code. Programming language that is specific to a particular computer architecture or microprocessor. It consists of mnemonic codes and symbols that represent the individual machine instructions of the target CPU. used when a programmer needs precise control over the computer’s hardware, such as in embedded systems or operating system development.

A

Assembly language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Dual - 1001 1000
Output - load
Hex code - 5cx102
Mnemonic - mov, add, sub, pop

A

Assembly Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Use a logical structure and syntax similar to human language to reduce the amount of code needed to program computer operations. Emphasizes organizing code into logical structures, making it easier to read, write, and maintain. (STEP BY STEP)

A

Structured programming languages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Tells the computer what to do rather than how to do it. Emphasizes expressing the desired result or goal, and the language’s interpreter or compiler figures out how to achieve that goal.

A

Nonprocedural languages (Declarative Languages)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Programmers describe a series of steps or procedures to achieve a desired outcome.

A

Procedural languages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Key Characteristics and examples of NPL

A

Declarative Nature
Emphasis on What, Not How
Higher-Level Abstractions

17
Q

A widely used nonprocedural language for managing and querying relational databases

A

Structured Query Language (SQL)

18
Q

Are programming languages and frameworks specifically designed for building AI and machine learning applications. These languages provide the tools, libraries, and capabilities necessary for developing intelligent systems that can analyze data, make decisions, and learn from experience.

A

Artificial Intelligence (AI) Languages

19
Q

Artificial Intelligence & Machine Learning
Developed by Guido van Rossum in the 1990s
Popular for its Beginner-Friendliness

20
Q

Rich Interactive Web Development
Created by Netscape in 1995 (Mocha)

Eliminates the crudeness of static web pages and add a pinch of dynamic behavior to them. World’s top frontend programming language

A

JavaScript

21
Q

Enterprise Application Development
Created by Sun Microsystems’ James Gosling in 1995 (Oak)
Object-oriented programming language

Garbage collection capabilities, backward compatibility, platform independence via JVM, portability, and high performance.

22
Q

Data Analysis
Created by Ross Ihaka and Robert Gentleman in 1993

Special focus on statistical computing and graphical modeling. Can be used for behavior analysis, data science, and machine learning projects that involve classification, clustering, and more.

23
Q

Operating Systems and System Tools
Created by Dennis Ritchie 70s
Created by Bjarne Stroustrup 80s

Both offer full access to the underlying hardware, they have been used to create a wide variety of applications and platforms.

A

C by Dennis Ritchie
C++ by Bjarne Stroustrup

24
Q

Server-Side Programming

A compiled programming language developed by the search giant Google. Created in 2009, (blank) is an effort by the designers at Google to eliminate all the faults in the languages used throughout the organization and by keeping all the best features intact.

A

Golang or Go

25
Application & Web Development Using .NET Unveiled by Anders Hejlsberg in 2000 Microsoft's approach to developing a programming language similar to the object-oriented C as part of its .NET initiative.
C#
26
Web Development Created by Rasmus Lerdorf in 1994 Scripting language that’s being used around the globe, primarily for server-side web development.
PHP
27
Data Management Designed by Donald D. Chamberlin and Raymond F. Boyce in 1994 The special-purpose programming language has played a key role in enabling developers to create and manage tables and databases for storing relational data over hundreds of thousands of data fields.
SQL
28
Mobile App Development on IOS Apple’s own programming language that was released in 2014 as a replacement for its Objective- C programming language. A modern programming language (newest on this list), fast, powerful, and offers full interoperability with Objective-C.
Swift