返回卡包市场

Section 4 - Hardware and Software - Programming Language Classification

暂无描述。系统推荐的高质量记忆内容,适合每天坚持背诵学习。

卡片总数: 23内容版本: v4公开卡包更新时间: 8/1/2026

卡片预览 (23 张)

#1
正面 (问题)

What is the accumulator?

背面 (解答)

A special memory location where all calculations are carried out

#2
正面 (问题)

What is the control unit?

背面 (解答)

The location in the processor that decoded instructions

#3
正面 (问题)

How is an instruction typically formatted in machine code?

背面 (解答)

They have an opcode and an operand

#4
正面 (问题)

What is machine code?

背面 (解答)

Binary code that the computer can directly execute

#5
正面 (问题)

What is a low-level programming language?

背面 (解答)

A programming language where the code reflects how the computer carries out the instruction

#6
正面 (问题)

What is assembly code?

背面 (解答)

A low-level programming language. The opcode was replaced by a short mnemonic and the operand was replaced by a decimal or hexadecimal number

#7
正面 (问题)

What was the first high-level language?

背面 (解答)

FORTRAN

#8
正面 (问题)

What are imperative high-level languages?

背面 (解答)

Each instruction is a command to perform some step in the program, with each step being a step-by-step instruction

#9
正面 (问题)

What are the advantages of high-level languages?

背面 (解答)

• They are relatively easy to learn • It is easier and faster to write a program in a high-level language • They are easier to understand, debug and maintain • They are not dependent on the architecture of a particular machine • There are many built-in library functions • Different high-level languages are written for particular types of problems

#10
正面 (问题)

Why is assembly code still used?

背面 (解答)

When a program need to: - Execute as fast as possible - Occupy as little space as possible - Manipulate individual bits and bytes

#11
正面 (问题)

What is assembly code still used in?

背面 (解答)

• Embedded systems • Interrupt handlers • Mobile phones

#12
正面 (问题)

What are the different types of translators?

背面 (解答)

• Assemblers • Compilers • Interpreters

#13
正面 (问题)

What is an assembler?

背面 (解答)

A program that will take each assembly language instruction and convert it to the corresponding machine code

#14
正面 (问题)

What is the source code of an assembler?

背面 (解答)

The assembly code input

#15
正面 (问题)

What is the object code of an assembler?

背面 (解答)

The machine code output

#16
正面 (问题)

What is a complier?

背面 (解答)

A program that translates a high-level language into machine code. It does this by scanning through the entire source code and then reconstructing it in machine code

#17
正面 (问题)

What is the source code of a compiler?

背面 (解答)

The code written by the programmer that is used as input data

#18
正面 (问题)

Why is object code from a compiler hardware-specific?

背面 (解答)

Different hardware platforms require different compilers

#19
正面 (问题)

What is an interpreter?

背面 (解答)

A translator that contains subroutines to carry out each high-level instruction.

#20
正面 (问题)

How does an interpreter work?

背面 (解答)

It looks at each line of the source program, analyses it, and if there are no syntax errors it will call the appropriate subroutine within its own program code to execute the command

#21
正面 (问题)

What is the bytecode?

背面 (解答)

The result of some high-level languages translation process

#22
正面 (问题)

What is the bytecode interpreter?

背面 (解答)

The interpreter for bytecode

#23
正面 (问题)

背面 (解答)