Search Header Logo

Computer Science - Exam 1

Authored by Lesly Figueroa

World Languages

University

Used 3+ times

Computer Science - Exam 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The CPU is often referred to as the ________ of the computer because it retrieves instructions from memory and executes them.

Heart

Brain

Engine

Motherboard

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement about Random Access Memory (RAM) is correct

RAM provides permanent storage for programs and data

RAM is volatile and loses data when the computer is turned off

Reading from RAM is slower than reading from storage

RAM operates at 5 gigahertz (GHz)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of storage device is used for permanent data storage?

Motherboard

Central Processing Unit (CPU)

Radom Access Memory (RAM)

Solid State Drive (SSD)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of high-level programming language?

Binary

Assembly

Machine Language

Java

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a statement in Java?

To group blocks of code

To represent an action or command to the computer

To define a class

To describe an error message

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Java, the name of the file must match the name of the:

First statement in the program

Class name after the public class keyword

Package name in the code

Method name in main

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Errors that occur when a programmer forgets a symbol or mistypes something in Java are called:

Logical errors

Runtime errors

Syntax errors

Execution errors

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?