CORLANG Week6-7

CORLANG Week6-7

10th Grade - University

20 Qs

quiz-placeholder

Similar activities

CORLANG Week 3 Quiz

CORLANG Week 3 Quiz

11th Grade - University

15 Qs

Number Systems & Binary Maths

Number Systems & Binary Maths

10th - 12th Grade

22 Qs

Binary Logical and Arithmetic Shifts

Binary Logical and Arithmetic Shifts

8th - 10th Grade

15 Qs

1.2 Lesson 9 Binary Addition & Binary Shifts

1.2 Lesson 9 Binary Addition & Binary Shifts

8th - 11th Grade

20 Qs

Binary

Binary

10th Grade

15 Qs

Arkom 9-11

Arkom 9-11

University

20 Qs

Bitwise Masks

Bitwise Masks

12th Grade

15 Qs

Data Representation

Data Representation

10th Grade

25 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?