Topic 1.1 Video 1 Output

Topic 1.1 Video 1 Output

11th Grade

5 Qs

quiz-placeholder

Similar activities

Pentaksiran T4(menulis kod arahan Java)

Pentaksiran T4(menulis kod arahan Java)

11th Grade

7 Qs

Java Basics

Java Basics

9th - 12th Grade

6 Qs

AP CSA Unit 4 Review

AP CSA Unit 4 Review

11th Grade

10 Qs

Two-Dimensional Array

Two-Dimensional Array

11th Grade - University

6 Qs

Printing in Java

Printing in Java

9th - 12th Grade

8 Qs

Python Basics Quiz

Python Basics Quiz

7th Grade - University

10 Qs

Study Guide - More Advanced Java

Study Guide - More Advanced Java

11th - 12th Grade

10 Qs

Loop

Loop

9th - 12th Grade

10 Qs

Topic 1.1 Video 1 Output

Topic 1.1 Video 1 Output

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Myra Deister

Used 5+ times

FREE Resource

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.