Search Header Logo

Viaan's Computer Quiz

Authored by Prateek Sureka

Computers

5th Grade

Used 2+ times

Viaan's Computer Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

On a 32 bit computer, how many bytes are there in a long?

4

8

16

32

Answer explanation

A Long is twice the length of an integer. On a 32 bit computer, an integer has 32 bits or 4 bytes. Therefore, a long has 8 bytes.

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What is the data type used for a number with decimal places?

scale

array

integer

float

Answer explanation

A number with decimals can be stored using a "float" or a "double"

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What data type is used to store a series of letters or a word or a paragraph

sentence

thread

string

line

Answer explanation

A string contains a series of letters

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Name an encoding which is used to represent letters numerically in memory

SKII

ASCII

PETSCII

MUSKY

Answer explanation

ASCII or the American Standard for Computer Information Interchange is a way to store strings as numbers in memory. "A" is 65 and "a" is 97

5.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

What are the possible values for a boolean? Select all that apply

true

infinity

false

null

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Bonus Question:
What is the name for the data type which stores a list of items?

string
integer
boolean
array

Answer explanation

An array contains a list of integers, floats or a list of strings

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?