Computer Science - Exam 1

Computer Science - Exam 1

University

15 Qs

quiz-placeholder

Similar activities

Month Languages

Month Languages

7th Grade - University

15 Qs

Traditional Indonesian Houses

Traditional Indonesian Houses

8th Grade - University

10 Qs

C Program

C Program

University

20 Qs

Inheritance and Interfaces in Java

Inheritance and Interfaces in Java

University

10 Qs

CC 105 - Quiz 2 FINAL TERM

CC 105 - Quiz 2 FINAL TERM

University

10 Qs

Dilara

Dilara

University

10 Qs

modul1

modul1

University

10 Qs

Computer Science - Exam 1

Computer Science - Exam 1

Assessment

Quiz

World Languages

University

Easy

Created by

Lesly Figueroa

Used 3+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?