#15 Representing numbers and characters

#15 Representing numbers and characters

20 Qs

quiz-placeholder

Similar activities

1.3 Networks

1.3 Networks

KG - University

20 Qs

Unit 8: Political Revolutions 1750-1914

Unit 8: Political Revolutions 1750-1914

KG - University

20 Qs

Can you guess which adult chose each book?

Can you guess which adult chose each book?

1st - 5th Grade

19 Qs

TW-09 Vol 1 Quiz

TW-09 Vol 1 Quiz

Professional Development

19 Qs

Beginner Grammar 4 Entrance Test

Beginner Grammar 4 Entrance Test

KG - University

17 Qs

Baseline for Beginners

Baseline for Beginners

KG - University

19 Qs

Extemporary Test: Unit 1-Grammar and Vocabulary

Extemporary Test: Unit 1-Grammar and Vocabulary

KG - University

20 Qs

#15 Representing numbers and characters

#15 Representing numbers and characters

Assessment

Quiz

others

Practice Problem

Hard

Created by

Claire Buckler

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?