Adv. CS II- Intro to Programming with Java

Adv. CS II- Intro to Programming with Java

12th Grade

10 Qs

quiz-placeholder

Similar activities

CodeHS Test

CodeHS Test

9th - 12th Grade

12 Qs

Codehs Practice Test

Codehs Practice Test

9th - 12th Grade

12 Qs

Software - Common Utility Programs

Software - Common Utility Programs

3rd - 12th Grade

10 Qs

Karel Quiz Week 10/16

Karel Quiz Week 10/16

10th - 12th Grade

10 Qs

CS: Quiz/Test 2.1-2.10

CS: Quiz/Test 2.1-2.10

9th - 12th Grade

15 Qs

CodeHS Unit 1

CodeHS Unit 1

9th - 12th Grade

12 Qs

CodeHS Unit 1-6

CodeHS Unit 1-6

9th - 12th Grade

12 Qs

Adv. CS II- Intro to Programming with Java

Adv. CS II- Intro to Programming with Java

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Simone CTA]

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a valid Karel command in Java?

move()

move;

MOVE

move();

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the method that gets called to start a Java Karel program?

move()

run()

start()

go()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct class signature for a Karel program named CleanupKarel?

CleanupKarel extends Karel

public CleanupKarel

public class CleanupKarel < Karel

public class CleanupKarel extends Karel

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a method in Karel?

A method is the way that you leave a note for someone else who reads the code.

A method is a command that Karel can do. It has a name and a set of instructions.

A method is something that lets you repeat a command a fixed number of times

A method is the name for an entire Java program

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is top down design?

Top down design is a way of designing your program by starting with the biggest problem and breaking it down into smaller and smaller pieces that are easier to solve.

Top down design is a way that you can create designs on a computer to put on a web page

Top down design is a way of designing your programs starting with the individual commands first

Top down design is a way to use loops and classes to decompose the problem

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a valid way to write a single line comment in Java?

// This is a comment

++ This is a comment

This is a comment //

/* This is a comment

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct class signature in Java for a SuperKarel program?

public class FunKarel << SuperKarel

public class FunKarel extends Karel

public class FunKarel extends SuperKarel

public FunKarel extends SuperKarel

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?