CORLANG Week6-7

CORLANG Week6-7

10th Grade - University

20 Qs

quiz-placeholder

Similar activities

METE280 Quiz#2

METE280 Quiz#2

University

15 Qs

WJEC 2.3.3 Assembly Language

WJEC 2.3.3 Assembly Language

9th - 10th Grade

15 Qs

Basic C++ Programming Questions

Basic C++ Programming Questions

University

20 Qs

Photoshop Selections and More

Photoshop Selections and More

9th - 12th Grade

18 Qs

Binary

Binary

10th Grade

15 Qs

PHOTOPEA W2

PHOTOPEA W2

11th Grade

16 Qs

Advanced Excel

Advanced Excel

KG - University

20 Qs

Data Codehs

Data Codehs

8th - 12th Grade

21 Qs

CORLANG Week6-7

CORLANG Week6-7

Assessment

Quiz

Computers

10th Grade - University

Hard

Created by

Edwin Garcia

Used 8+ times

FREE Resource

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

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?