CORLANG Week6-7

CORLANG Week6-7

10th Grade - University

20 Qs

quiz-placeholder

Similar activities

GAD Review - Game Industry

GAD Review - Game Industry

9th - 12th Grade

22 Qs

1.1.1 The structure and function of the processor

1.1.1 The structure and function of the processor

11th Grade - University

15 Qs

CIS2303 Week 4_5 Ch_3

CIS2303 Week 4_5 Ch_3

University

18 Qs

Chapter 7: System life cycle

Chapter 7: System life cycle

9th - 11th Grade

15 Qs

Programming: Which Loop?

Programming: Which Loop?

9th - 12th Grade

20 Qs

Application Development Midterm Quiz

Application Development Midterm Quiz

University

15 Qs

Module 11 - Essential Peripherals 4

Module 11 - Essential Peripherals 4

9th - 12th Grade

18 Qs

Software Engineering Quiz 1

Software Engineering Quiz 1

University

20 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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?