Hardware
Memory
Software
Programming Basics
Java and OOP
100

What part of the computer fetches instructions and carries out operations?

CPU

100

How many bits are in a byte?

8

100

What are the two main types of software?

Operating system and application software

100

What is a program?

A set of instructions

100

What file extension does a Java source file use?

.java

200

What does ALU stand for?

Arithmetic and Logic Unit

200

What makes each byte unique in memory?

It's address

200

What is the role of an operating system?

Manages hardware and runs programs

200

What is an algorithm?

Ordered steps to solve a problem

200

What does the Java compiler produce?

Byte code

300

What are the two main parts of the CPU?

Control Unit and ALU

300

Which type of memory is volatile?

Ram

300

What does multitasking mean?

Running multiple programs at once

300

Machine language uses which two digits?

0 and 1

300

What does JVM stand for?

Java Virtual Machine

400

Hardware refers to the __________ components of a computer.

Physical

400

What type of memory stores data without power?

Secondary Storage

400

What technique shares CPU time among programs?

Time-sharing

400

Why must high-level programs be translated before running?

Computers only understand machine language

400

Is encapsulation part of procedural or object-oriented programming?

Object-oriented

500

Why are computers considered programmable tools?

They perform different tasks based on the software they run

500

Describe the difference between RAM and secondary storage.

RAM is temporary; secondary storage is permanent

500

Give two examples of application software

Lots of options.

500

Why is high-level language easier to write than machine language?

Uses readable words instead of binary

500

Draw a class diagram that represents a Pen object.
Your diagram must include:

  • At least 3 attributes

  • At least 3 methods

Lots of options