#15 Representing numbers and characters

#15 Representing numbers and characters

20 Qs

quiz-placeholder

Similar activities

Y13s Big Media Language Theories Quiz

Y13s Big Media Language Theories Quiz

KG - University

20 Qs

NCCE Student Knowledge Questions - data & information

NCCE Student Knowledge Questions - data & information

KG - University

22 Qs

4.6 Fundamentals of computer systems

4.6 Fundamentals of computer systems

KG - University

22 Qs

Garden State Cybersecurity - Unit 4.1 - Bits and bytes

Garden State Cybersecurity - Unit 4.1 - Bits and bytes

KG - University

22 Qs

Graph and Tree Traversal

Graph and Tree Traversal

KG - University

15 Qs

Ch. 11 Quiz: Bits and bytes

Ch. 11 Quiz: Bits and bytes

11th Grade

16 Qs

Ulangan Harian 1 Computer

Ulangan Harian 1 Computer

KG - University

17 Qs

Waves Unit 3 Test

Waves Unit 3 Test

9th - 12th Grade

20 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?