
4.7.3.2-4 The FDE Cycle & Instruction Set & Addressing Modes
Authored by Mrs Danaher
Other
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
66 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which generation of computing languages is represented by machine code?
First
Second
Third
Fourth
Answer explanation
Machine code is the lowest level of programming language, directly executed by the computer's CPU. It represents the first generation of computing languages, making 'First' the correct answer.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main characteristic of imperative languages?
Code is executed line by line in a programmer-defined sequence
Code is executed in parallel
Code is executed randomly
Code is executed based on user input
Answer explanation
The main characteristic of imperative languages is that code is executed line by line in a programmer-defined sequence, allowing for clear control over the flow of execution.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a high-level programming language?
Machine Code
Assembly Code
Visual Basic
Binary Code
Answer explanation
Visual Basic is a high-level programming language designed for ease of use and readability, unlike Machine Code, Assembly Code, and Binary Code, which are low-level languages that are closer to machine language.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the assembly code instruction "ADD #42" do?
Adds the number 42 to the contents of the accumulator
Loads the number 42 into the accumulator
Saves the accumulator result to memory address 42
Subtracts 42 from the contents of the accumulator
Answer explanation
The instruction 'ADD #42' adds the immediate value 42 to the current contents of the accumulator, updating it with the new sum. This is why the correct choice is 'Adds the number 42 to the contents of the accumulator'.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of syntax highlighting in source code editors?
To color the code depending on what it does
To execute the code faster
To compile the code
To debug the code
Answer explanation
Syntax highlighting helps improve code readability by coloring different elements based on their function, such as keywords, variables, and strings. This visual differentiation aids developers in understanding and navigating the code more efficiently.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which generation of computing languages includes SQL and CSS?
First
Second
Third
Fourth
Answer explanation
The fourth generation of computing languages includes high-level languages designed for database management and web design, such as SQL (Structured Query Language) and CSS (Cascading Style Sheets), making 'Fourth' the correct answer.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the equivalent of the given assembly code in VB.NET?
x = 23 + 42
x = 23 - 42
x = 23 * 42
x = 23 / 42
Answer explanation
The assembly code likely performs an addition operation, as indicated by the correct answer choice. Therefore, the equivalent VB.NET code is 'x = 23 + 42', which matches the operation of adding the two numbers.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?