Java CodeHS 1.1-1.3

Java CodeHS 1.1-1.3

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Computational thinking - EQ

Computational thinking - EQ

10th Grade

20 Qs

E-Day 2 - Trivia Questions

E-Day 2 - Trivia Questions

6th Grade - Professional Development

20 Qs

Assessment #2

Assessment #2

5th Grade - Professional Development

20 Qs

OCR GCSE CS MCQs 2.3 Defensive Design

OCR GCSE CS MCQs 2.3 Defensive Design

10th - 11th Grade

20 Qs

Programming - Python (year 12)

Programming - Python (year 12)

9th - 12th Grade

21 Qs

OCR GCSE Subroutines

OCR GCSE Subroutines

10th Grade

20 Qs

Python Quiz

Python Quiz

6th - 10th Grade

20 Qs

Programming Basics

Programming Basics

9th - 12th Grade

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