Java CodeHS 1.1-1.3

Java CodeHS 1.1-1.3

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Post-Break Python Refresher

Post-Break Python Refresher

9th - 12th Grade

20 Qs

Python 1.0

Python 1.0

10th Grade - University

20 Qs

Programming in Python

Programming in Python

9th Grade

25 Qs

JavaScript Level 1

JavaScript Level 1

5th - 9th Grade

20 Qs

CM Adventure Part 1 - For Loop

CM Adventure Part 1 - For Loop

6th - 10th Grade

20 Qs

Programming 8.1

Programming 8.1

9th Grade

20 Qs

Python Basics & Syntax

Python Basics & Syntax

10th - 12th Grade

20 Qs

Python year 9

Python year 9

8th - 11th Grade

20 Qs

Java CodeHS 1.1-1.3

Java CodeHS 1.1-1.3

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Rebecca Sims

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Data in a class are called _______________.

classes

attributes

actions

methods

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Methods in a class are called _______________.

classes

attributes

actions

data

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

______________ name must match the file name or the program will not run.

Class

Main

Method

Data

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct order when a Java program?

compile code, run code, write code

write code, run code, compile code

write code, compile code, run code

run code, write code, compile code

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_____________ is the set of rules that define the correct way to write code so the computer can understand it.

Order

Syntax

Algorithm

Run-time

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the run code step, you could have which errors?

syntax

compilation

syntax or logic

logic or run-time

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_____________ are mistakes in the program that causes it to behavior incorrectly or unexpectedly. The expected output doesn't match the actual output.

Logic errors

Run-time errors

Syntax errors

Compile 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?