Programming Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Interpretation and compilation are properties of the implementation of a language

A

It’s not accurate to say that a language is interpreted or compiled because interpretation and compilation are both properties of the implementation of that particular language, and not a property of the language itself. So, in theory, any language can be compiled or interpreted – it just depends on what the particular implementation that you are using does.

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

Compiled Language

A

In a compiled implementation of a language, a compiler will translate the program directly into code that is specific to the target machine, which is also known as machine code – basically code that is specific to a given processor and operating system. Then the computer will run the machine code on its own.

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

Interpreted Language

A

In an interpreted implementation of a language, the source code is not directly run by the target machine. What happens instead is that another program reads and then executes the original source code. This other program is also known as the interpreter. The interpreter is usually written specifically for the native machine. As an example, you could consider the multiplier operation – the “*”. If the interpreter sees this in your code, then at run time it would call its own definition of the multiplier function – maybe something called “multiply(x,y)”. And then that “multiply(x,y)” would execute the machine code’s equivalent of the multiply instruction.

In interpretation, the original source code is also typically converted into some intermediate code which is then processed by an interpreter that converts the intermediate code into machine specific code.

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

Sprite

A

In computer graphics, a sprite (also known by other names; see Synonyms below) is a two-dimensional image or animation (2D computer graphics) that is integrated into a larger scene. Initially including just graphical objects handled separately from the memory bitmap of a video display, this now includes various manners of graphical overlays.

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

Multi-core Processor

A

A multi-core processor is a single computing component with two or more independent actual central processing units (called “cores”), which are the units that read and execute program instructions. The instructions are ordinary CPU instructions such as add, move data, and branch, but the multiple cores can run multiple instructions at the same time, increasing overall speed for programs amenable to parallel computing. Manufacturers typically integrate the cores onto a single integrated circuit die (known as a chip multiprocessor or CMP), or onto multiple dies in a single chip package.

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

DHCP

A

The Dynamic Host Configuration Protocol (DHCP) is a standardized network protocol used on Internet Protocol (IP) networks for dynamically distributing network configuration parameters, such as IP addresses for interfaces and services. With DHCP, computers request IP addresses and networking parameters automatically from a DHCP server, reducing the need for a network administrator or a user to configure these settings manually.

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

Cloud Computing

A

Cloud computing is computing in which large groups of remote servers are networked to allow centralized data storage and online access to computer services or resources. Clouds can be classified as public, private or hybrid.

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