Answer:
C. control unit.
Explanation:
A processor is a miniaturized central processing unit a in digital system that interconnects and controls the activities of other components in the device.
The components of a microprocessor are the bus, registers, cache memory, arithmetic and logical unit and the central or control unit.
The bus is the transportation medium for all activities in the processor. The registers like the accumulator and the B register are memory locations used to hold the operand of an operation.The cache memory holds data meant for immediate use by the processor. Arithmetic and logical unit carries out the various arithmetic and logical operation in the processor, while the control unit is responsible for handling or managing all activities in the processor.
Answer:
1GL: Machine language. Represented by a series of 1s and 0s.
2GL: Assembly language. An assembler converts 2GL into machine language.
3GL: High-level programming language. Uses a compiler to convert into machine language.
4GL: Specifically designed for creating database management programs.
5GL: Extremely advanced. Uses statements (scripts) rather than algorithms.
Explanation:
Programming languages started as a series of binary digits (i.e. 0's and 1'). This generation of language is referred to as the first generation.
However, the machine language were difficult to read by human, so mnemonics were created (i.e. assembly language). This language uses symbolic codes such as ADD for addition, etc. This is the second generation
The third generation are the high level languages that uses languages that can be easily understood by human, e.g. + means plus. However, the language must be translated; hence the need for a compiler or interpreter, as the case may be.
The fourth and fifth generations are extensions of the third generation languages. The fourth were created to connect to DBMS while the fifth are more advanced.
Answer:
def feet_to_inches( feet ):
inches = feet * 12
print(inches, "inches")
feet_to_inches(10)
Explanation:
The code is written in python. The unit for conversion base on your question is that 1 ft = 12 inches. Therefore,
def feet_to_inches( feet ):
This code we define a function and pass the argument as feet which is the length in ft that is required when we call the function.
inches = feet * 12
Here the length in ft is been converted to inches by multiplying by 12.
print(inches, "inches")
Here we print the value in inches .
feet_to_inches(10)
Here we call the function and pass the argument in feet to be converted
Which language? In Java it would simply be:
int count;