#15 Representing numbers and characters

#15 Representing numbers and characters

20 Qs

quiz-placeholder

Similar activities

Brainwave Blazers

Brainwave Blazers

KG - University

20 Qs

SOAL MATEMATIKA

SOAL MATEMATIKA

KG - University

16 Qs

SP WB 1

SP WB 1

11th Grade

20 Qs

MID-TERM TEST 1

MID-TERM TEST 1

KG - University

17 Qs

Professional Educator 4E Chapter 13 Quiz Game

Professional Educator 4E Chapter 13 Quiz Game

KG - University

25 Qs

quiz ppt

quiz ppt

KG - University

16 Qs

LEY  EDUCATIVA 070

LEY EDUCATIVA 070

KG - University

20 Qs

Introduction à la trigonométrie (cours #1)

Introduction à la trigonométrie (cours #1)

KG - University

15 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)

Create a free account and access millions of resources

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?