wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Coding 4 All 2023 - Quiz 1

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

All information is stored in the computer using binary numbers.

a)

True

b)

False

2.

Which one of the following is an INVALID identifier in Java?

a)

$Monkey

b)

MaG1cK

c)

%Gorilla%

d)

_BoBo_

3.

What is the purpose of a Java compiler translating Java source code into bytecode?

a)

Faster

b)

Allow program execution on any machine via the Java Virtual Machine

c)

Stronger

d)

To make compilation less taxing on machine

4.

What type of pokemon is Pikachu?

a)

Fire

b)

Ice

c)

Ultra-Instinct

d)

Electric

5.

What is NOT one of the three types of Java errors?

a)

Magic Number

b)

Runtime

c)

Syntax

d)

Logical

6.

It is important to dissect a problem into manageable pieces before trying to solve the problem because...

a)

most problems are too complex to be solved as a single, large activity

b)

most problems are solved by multiple people and it is easy to assign each piece to a separate person

c)

it is easier to integrate small pieces of a program into one program than it is to integrate one big chunk of code into one program

d)

our first solution may not solve the problem correctly

e)

all of the above

7.

Java Reserved Words can be redefined

a)

True

b)

False

8.

Do you like dogs?

a)

Yes

b)

No

9.

When executing a program, the processor reads each program instruction from...

a)

secondary memory

b)

the Internet

c)

registers stored in the processor

d)

main memory

10.

What type of dog is Scooby-Doo?

a)

Corgi

b)

Great Dane

c)

Saint Bernard

d)

Great Pyrenees

11.

Following Java naming convention, which of the following would be the best name for a class about store customers?

a)

StoreCustomer

b)

StoreCustomers

c)

storeCustomers

d)

STORE_CUSTOMERS

e)

Store-Customer

12.

♪ You are... ♪

a)

my fire

b)

breathtaking

c)

the best

d)

a monkey

13.

♪ The one... ♪

a)

and only

b)

desire

c)

monkey

d)

Bruce doesn't like

14.

♪ It's me, hi... ♪

a)

You can't even see

b)

I'm the problem, it's me

c)

I'm a monster on the hill

d)

One day, I'll watch as you're leaving

15.

What is a Java Variable?

a)

Reserved Word

b)

Method

c)

Data Type

d)

Container for storing data