NEW 1.4.1 Data Types
Quiz
•
Computers
•
1st Grade
•
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
71 questions
Revision
Quiz
•
1st - 12th Grade
65 questions
AWS Certified Solutions Architect - Associate (SAA-C03) - 1
Quiz
•
1st Grade
67 questions
Business Analytics chapter 2
Quiz
•
1st Grade
65 questions
mạng máy tính
Quiz
•
1st Grade
69 questions
6001 Test 1
Quiz
•
1st Grade
63 questions
DigitalBanking
Quiz
•
1st - 5th Grade
70 questions
ZOOM MEETING/GOOGLE DRIVE
Quiz
•
1st - 5th Grade
70 questions
nicePlatTechprelim
Quiz
•
1st Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
