#9 Assembly Language

#9 Assembly Language

20 Qs

quiz-placeholder

Similar activities

C1 Roadmap Unit 6

C1 Roadmap Unit 6

KG - University

20 Qs

Unit 15: Hardware and Virtual Machines Quiz

Unit 15: Hardware and Virtual Machines Quiz

KG - University

20 Qs

IIT- Revision Chapter 4

IIT- Revision Chapter 4

University

20 Qs

S.P lecture 3 p.1 (Social perception)

S.P lecture 3 p.1 (Social perception)

KG - University

15 Qs

Vocabulary Quiz Chapters 7-12

Vocabulary Quiz Chapters 7-12

7th Grade

21 Qs

Ohio Government Review

Ohio Government Review

KG - University

15 Qs

FINAL  BODY SYSTEMS, STIMULUS & RESPONSE

FINAL BODY SYSTEMS, STIMULUS & RESPONSE

KG - University

15 Qs

FINAL  BODY SYSTEMS, STIMULUS & RESPONSE

FINAL BODY SYSTEMS, STIMULUS & RESPONSE

KG - University

15 Qs

#9 Assembly Language

#9 Assembly Language

Assessment

Quiz

others

Hard

Created by

Claire Buckler

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Which of these describes the structure of an assembly language statement?
A. An opcode then any operands
B. A binary instruction followed by a binary number
C. An instruction set
D. A list of operands

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. What is the connection between code in high-level language and its corresponding assembly language representation?
A. There is a direct one-to-one correspondence between the number of lines of assembly code and high-level code
B. Assembly language statements are merely high-level statements rewritten using mnemonics so they will always contain the same number of lines of code
C. One line of code in assembly language usually corresponds to several lines of high-level code
D. One line of high-level code usually translates into several lines of code in assembly language

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. What is meant by the instruction set of a CPU?
A. It is the syntax rules of the high-level language used to program on that CPU
B. The instruction set is the set of all instructions that form the language and it is unique to a particular type of processor
C. It is a list of all of the operands that can be used when writing an assembly language program
D. It is the set of special-purpose and general-purpose registers used during program execution

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. What is the accumulator?
A. A register
B. An input device
C. A variable that holds memory addresses and data values
D. A special command in LMC

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. When programming using a Little Man Computer (LMC), which of the following is not part of an LMC instruction?
A. Label
B. Semicolon
C. Mnemonic
D. Data

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. What is meant by BRZ in Little Man Computer programming?
A. Perform a branch once the accumulator gets to zero
B. Perform a branch once the user enters zero
C. Perform a branch if the accumulator is currently zero
D. Perform a branch if the accumulator is currently zero or below

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. When programming using a Little Man Computer (LMC), where do inputs go once they have been read in?
A. They go to general-purpose register r1
B. They go directly to the accumulator
C. They go directly to memory
D. They get held in a buffer zone

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?