
Understanding Logical and Arithmetic Shifts

Quiz
•
Information Technology (IT)
•
9th Grade
•
Medium

Julie Yarwood
Used 1+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a logical shift in computer science?
A shift operation that preserves the sign bit
A shift operation that moves bits to the left or right, filling the vacated bit positions with zeros
A shift operation that multiplies or divides a number by two
A shift operation that rotates bits around
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an arithmetic shift in computer science?
A shift operation that moves bits to the left or right, preserving the sign bit
A shift operation that fills vacated bit positions with zeros
A shift operation that rotates bits around
A shift operation that adds two numbers
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an application of logical shifts?
Preserving the sign of a number during division
Multiplying or dividing unsigned integers by powers of two
Rotating bits in a circular fashion
Adding two binary numbers
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an application of arithmetic shifts?
Multiplying or dividing signed integers by powers of two
Filling vacated bit positions with zeros
Rotating bits in a circular fashion
Adding two binary numbers
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key difference between logical and arithmetic shifts?
Logical shifts preserve the sign bit, while arithmetic shifts do not
Arithmetic shifts fill vacated bit positions with zeros, while logical shifts preserve the sign bit
Logical shifts fill vacated bit positions with zeros, while arithmetic shifts preserve the sign bit
Both logical and arithmetic shifts fill vacated bit positions with ones
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which scenario would you use a logical shift instead of an arithmetic shift?
When you need to preserve the sign of a number
When working with unsigned integers
When you need to rotate bits
When adding two numbers
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which scenario would you use an arithmetic shift instead of a logical shift?
When you need to preserve the sign of a number
When working with unsigned integers
When you need to rotate bits
When adding two numbers
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Minecraft Education Edition Basics Quiz

Quiz
•
7th Grade - University
15 questions
Sistem Komputer 4 (9)

Quiz
•
9th Grade
10 questions
Penilaian Tengah Semester Informatika

Quiz
•
9th Grade
10 questions
Центральный процессор и его работа

Quiz
•
9th Grade
14 questions
Keyboard Shortcuts Quiz

Quiz
•
9th - 12th Grade
14 questions
Practice Quizzes on Spreadsheet

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
20 questions
Biomolecules

Quiz
•
9th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
20 questions
Cell Organelles

Quiz
•
9th Grade
20 questions
Oceans and Continents Quiz

Quiz
•
9th Grade