NEW 1.4.1 Data Types
Quiz
•
Computers
•
1st Grade
•
Practice Problem
•
Medium
Matt Hunt
Used 9+ times
FREE Resource
Enhance your content in a minute
67 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
In floating point representation what is the purpose of the mantissa?
Stores the actual value
Tells you if the number is using two's complement or sign and magnitude
Stores the position of the binary point
Tells you know if the number is negative or positive
Answer explanation
In floating point binary representation the mantissa is the bits representing the number. The larger the number of bits used for the mantissa the greater the precision of the number that can be stored.
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How would you store the base-10 denary number -55 using two's complement in 8-bits?
0101 0111
0011 0111
1100 1001
1010 0100
Answer explanation
Two's complement is a method in computing of being able to store positive and negative numbers. The most significant bit (left-most bit) represents the negative value of the place. E.g. If there are 4 bits, each bit place is: -8 4 2 1. If there are 5 bits, each bit place is: -16 8 4 2 1.
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the hexadecimal number 20 in binary?
0000 0010
0010 0000
0001 0000
0001 0100
Answer explanation
To convert a two digit hexadecimal number into binary, take each digit in turn and convert it into a 4 bit nibble. E.g. 20 = 0010 (2) 0000 (0). The number is 0010 0000. Remember in hexadecimal, 10 = A, 11 = B, 12 = C, 13 = D, 14 = E, 15 = F.
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the number 6 in binary?
0000 0110
0000 1010
0011 1111
0000 0111
Answer explanation
The number 6 in binary is represented as 0*8 + 1*4 + 1*2 + 0*1, or 0110.
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
In this line of code: FOR counter = 1 to 10, what data type should counter be declared as?
Integer
String
Boolean
Real
Answer explanation
Integers are whole numbers. E.g. 6 is an integer. Integers use less memory than storing numbers with decimal places so a programmer should use an integer if a variable or constant will always be a whole number.
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the binary number 0011 0100 in hexadecimal?
34
24
38
52
Answer explanation
To convert a binary number into hexadecimal, split the number into two nibbles, starting from the right. Change each nibble into the denary equivalent, e.g. 0011 = 3. 0100 = 4. Change each digit into hexadecimal. Remember in hexadecimal, 10 = A, 11 = B, 12 = C, 13 = D, 14 = E, 15 = F.
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the result of binary left shifting 0100 0010 one digit?
0010 0010
1000 0100
0010 0001
0100 0001
Answer explanation
Binary shift operations are used in system programming when doing manipulations to either access registers, or write a particular bit which has a specific use. Using a left shift also has the effect of multiplying a number by multiples of 2.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
10 questions
Christmas/Winter
Quiz
•
KG - 2nd Grade
16 questions
Christmas 1st grade
Quiz
•
1st Grade
10 questions
Exploring the Water Cycle
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
20 questions
Modules 4 - 6 CBA Review
Quiz
•
1st Grade
10 questions
Exploring the American Revolution
Interactive video
•
1st - 5th Grade
