CORLANG Week6-7

CORLANG Week6-7

10th Grade - University

20 Qs

quiz-placeholder

Similar activities

MPMC UNIT 1 QUIZ

MPMC UNIT 1 QUIZ

University

20 Qs

1.3 Binary Shifts

1.3 Binary Shifts

9th - 12th Grade

25 Qs

CN - ERROR CORRECTION & DETECTION

CN - ERROR CORRECTION & DETECTION

University

15 Qs

Binary

Binary

10th Grade

15 Qs

Data Representation (Computer science)

Data Representation (Computer science)

9th - 12th Grade

21 Qs

Bitwise

Bitwise

12th Grade

15 Qs

Archtecture Quiz 1 Midterm BSCPE702

Archtecture Quiz 1 Midterm BSCPE702

University

15 Qs

CS Edexcel 2.1b Signed Binary Numbers (Two's Complement)

CS Edexcel 2.1b Signed Binary Numbers (Two's Complement)

9th - 10th Grade

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