#15 Representing numbers and characters

#15 Representing numbers and characters

20 Qs

quiz-placeholder

Similar activities

Waves Unit 3 Test

Waves Unit 3 Test

9th - 12th Grade

20 Qs

Unit 4: Waves

Unit 4: Waves

4th Grade

18 Qs

Cells

Cells

KG - University

16 Qs

WOW! - RASTER GRAPHICS

WOW! - RASTER GRAPHICS

KG - University

24 Qs

Computer Storage Worksheet

Computer Storage Worksheet

KG - University

20 Qs

Binary Conversion Quiz

Binary Conversion Quiz

9th Grade

15 Qs

Spring 2025 COSC 2425 Chapter 4 Checkpoints Part 1

Spring 2025 COSC 2425 Chapter 4 Checkpoints Part 1

KG - University

20 Qs

CPU Performance and Architecture Quiz

CPU Performance and Architecture Quiz

11th Grade

18 Qs

#15 Representing numbers and characters

#15 Representing numbers and characters

Assessment

Quiz

others

Hard

Created by

Claire Buckler

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Which of these data types could never be used to somehow represent the mathematical concept of pi () in one primitive variable? You may assume its value must be given to at least 2 decimal places.
A. Character
B. Integer
C. Real
D. String

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. What is the effect of typecasting a character to an integer?
A. Numbers become numeric, e.g. '7' becomes 7, whereas non-numbers get set to 0
B. All characters have to be represented as real numbers when converted as there would not be enough bits if they were stored as integers
C. It will reveal the underlying numeric code assigned to it in the chosen character set
Option 4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. What is stored in a character variable?
A. Precisely 1 character
B. 0 or 1 characters
C. At least 1 character
D. A minimum of 0 characters

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. Convert the unsigned binary number 1101 to denary
A. 1101
B. 12
C. 13
D. 11

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. Convert the number 54 to 8-bit unsigned binary
A. 00111011
B. 00011011
C. 00111000
D. 00110110

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. What are the place values of unsigned binary numbers?
A. Ascending powers of 2 working left to right
B. Ascending powers of 2 working right to left
C. Descending powers of 2 working right to left
D. Multiples of 2 working right to left

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. Add the following two unsigned binary numbers: 1001+ 0111
A. 1111 (overflow has occurred)
11111 (underflow has occurred)
10000 (underflow has occurred)
10000 (overflow has occurred)

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?