W4: Quiz Practice Flashcards

1
Q

High level, domain-specific languages:

A
  • execute inside a host app or OS
  • dynamically typed
  • scripting interpreted at run-time, not compiled

Ex. Command line interpreter: MS Powershell
Browser: JavaScript
Web server: PHP

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

High level, general purpose languages:

A
  • execute on the os
  • dynamically or strongly typed
  • interpreted and hybrid need run-time enviro

Ex. Python, JavaScript, Groovy, PHP

Compiled in: C, C++, COBOL

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

Low level, general purpose languages:

A
  • run on the bare metal
  • strongly typed
  • used to create OS, device drivers, compilers, virtual machines

Compiled on C, C++, Rust

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

1970s:

A

Structured programming with subroutines, code blocks, and control patterns. GOTO was outlawed but took til 1980s to go away

Ex. C

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

1980s:

A

Standards, consolidation, modules, performance, RDBMS (Relational Database Management Systems)
From monolithic to modular and object-oriented programming

Ex. C++

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

Platform:

A

OS + Hardware

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

Low-Level:

A

Runs directly on the hardware

Ex. OS for specific hardware
Assembly, C, C++ running directly on x86 architecture

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

High-level:

A

Runs on the OS using services of low-level code allowing programming to be independent of the ‘bare metal’s

Ex. Apps using os services, c and c++ for high performance games

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

Interpreted/scripting languages:

A

Line-by-line execution of source code. Not compiled. Little pre run-time translation. Slower but flexible and reactive

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

Domain specific languages:

A

Exist inside an application
Ex. Command Language Interpreter (CLI)
Ms Powershell

Data oriented languages
SQL

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

Compiled languages:

A

Translators generate machine specific instructions from source code

Ex. C++

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

Hybrid languages:

A

First compiled into platform-neutral bytecode and then interpreted by a virtual machine for the local platform

Ex. Java, C#, Python

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

Who wrote ‘the art of computer programming’?

A

Donald E. Knuth, winner of 1974 Turing Award

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

“Languages” which are not programming languages:

A

HTML: Hypertext markup language for the web
CSS: Cascading style sheets
XML: Extensible markup language

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

Computer hardware:

A

What you can physically touch. Physical parts of a computer system

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

Internal hardware services:

A

Reside inside computer case like a motherboard.

17
Q

External or peripheral devices:

A

Plug into a computer system to add functionality

Ex. Mouse, keyboard, screen, usb and optical drives

18
Q

Processing hardware devices:

A

Cpu, ALU, fpu, gpu

19
Q

Input devices:

A

Keyboard, microphone, mouse, touch screen, stylus, camera, scanner

20
Q

Output devices:

A

Monitor, printer, speaker, plotter

21
Q

Input/output devices:

A

Ram, hdd, sdd, other storage devices

22
Q

Computer programming:

A

A process that leads from an original formulation of a problem to executable computer programs

23
Q

Algorithm:

A

A self contained step by step set of operations that solve a problem

24
Q

Code:

A

A set of instructions programmed into a computer to perform an algorithm

25
Q

Computer program:

A

Sets of code that tell a computer what to do, written in one or more programming languages, contained as a source code in a text file, compiled into machine code, and executed by CPU