Search Header Logo

Topic 1.1 Video 1 Output

Authored by Myra Deister

Computers

11th Grade

Used 5+ times

Topic 1.1 Video 1 Output
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Go to https://apclassroom.collegeboard.org/d/qyu6avch2l?sui=8,1 to view the video

Select all of the symbols that can be used for comments in a Java/P5.js program.

/

//

*

/* */

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are comments used for?

Document the code.

Java requires it.

To help the computer understand the code.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Java the file name must be the same as

method name

program name

the first comment

the programmer's name

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Java method from System.out displays the text and waits on the same line?

print

println

display

displayln

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The difference between System.out.print and System.out.println in Java is

print prints 1 character per line and println prints 2 characters per line

print prints the parameter and moves to the next line where as println prints the parameter and stays on the same line

print prints 2 characters per line and println prints 1 character per line.

print prints the parameter and stays on the same line where as println prints the parameter and moves to the next line.

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?