Search Header Logo

CORLANG Week6-7

Authored by Edwin Garcia

Computers

10th Grade - University

Used 8+ times

CORLANG Week6-7
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Shift Instructions can be classified as either Logical Shift or Arithmetic Rotate.

TRUE
FALSE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Shift instructions can not be classified by the direction of the shift (i.e., shift to the left or shift to the right).

TRUE
FALSE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Thus there are four types of shift instructions: shift logical left (SHL), shift logical right (SHR), shift arithmetic left (SAL), and ?

shift arithmetic right (SAR)
shift arithmetic left (SAL)
shift arithmetic right (SHR)
shift asymmetric right (SAR).

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

SHL (Shift Logical Left) and SAL (Shift Arithmetic Left) are the same mnemonics but does not perform the same operation. Both instructions shift to the left the destination operand by the number of bits specified in the count operand.

TRUE
FALSE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The SHR (Shift Logical Right) instruction shifts to the right the destination operand by the number of bits specified in the count operand. Which of the following is TRUE?

As the bits are being shifted, zeros are shifted in on the left.
As the bits are being shifted, zeros are shifted in on the right.
As the bytes are being shifted, zeros are shifted in on the left.
As the bytes are being shifted, zeros are shifted in on the right.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The SAR (Shift Arithmetic Right) instruction shifts to the right the destination operand by the number of bits specified in the count operand. Which of the following is TRUE?

As the bits are being shifted, the most significant bit is shifted in to the left, preserving the sign bit.
As the bits are being shifted, the most significant bit is shifted in to the right, preserving the sign bit.
As the bits are being shifted, the most significant bit is shifted in to the left, preserving the carry bit.
As the bits are being shifted, the most significant bit is shifted in to the left, preserving the parity bit.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Rotate Instructions rotate bits out into the other end of the operand can be classified by the direction of the rotation (rotate to the left or shift to the right)

TRUE
FALSE

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?