Search Header Logo

IAL Further Programming

Authored by Wayground Content

Computers

12th Grade

IAL Further Programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In low-level assembly, which instruction loads the contents of a memory address into the accumulator?

ADD

adds to address

LDA

loads from address

STO

stores to address

STA

stores ACC value

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In sequential file reading with a loop counter from 1 to N, which step is essential before reading the next item?

Rename the file handle

Read a record into a variable

Close the file immediately

Seek to a random address

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which addressing mode adds a constant offset to a base address to compute the effective address at runtime?

Relative addressing with an offset

Indexed addressing with an index

Indirect addressing via a pointer

Immediate addressing with a value

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which comparison instruction checks if the accumulator is equal to a value?

CPZ compare with zero

CMP compare memory address

CEQ compare equal value

JEQ jump if equal

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A runtime error occurs when opening a file that does not exist. Which is the most appropriate handling strategy?

Crash and display stack trace

Throw and catch, then create file

Ignore and continue silently

Loop indefinitely retrying open

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In declarative logic, what does an anonymous variable allow in a rule?

Type-check explicit fields only

Ignore arguments not needed

Store intermediate state data

Guarantee deterministic output

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement about relative addressing is correct?

Stores pointer to pointer

Uses literal value in opcode

Adds offset to set address

Adds index to base register

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?