Strings in Java

Strings in Java

9th - 12th Grade

24 Qs

quiz-placeholder

Similar activities

Year 8 IT - Network Communication

Year 8 IT - Network Communication

7th - 9th Grade

20 Qs

Teknik Pengolahan Audio dan Video

Teknik Pengolahan Audio dan Video

12th Grade

20 Qs

Ujian Test

Ujian Test

10th Grade

20 Qs

Soal MID TKJ

Soal MID TKJ

12th Grade

20 Qs

Data Representation Quiz

Data Representation Quiz

9th Grade

20 Qs

G9 Mod2 Summative Test - Computer Hardware

G9 Mod2 Summative Test - Computer Hardware

9th Grade

20 Qs

Grade 7 Comp - Unit 4 Review

Grade 7 Comp - Unit 4 Review

7th Grade - University

20 Qs

XI RPL - PHP

XI RPL - PHP

12th Grade

20 Qs

Strings in Java

Strings in Java

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Ann Linz

Used 35+ times

FREE Resource

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of data is used to enter the value ("Welcome")?
Text
Characters
String
Boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of data is used to enter the value (1234.5)?
Integer
Double 
Char
Void

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of data is used to enter the value (True)?
Float
Boolean
Check box
ٍString

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we use the Scanner Library in java for?

Give permissions to the user

Correcting software errors

Allows user to read data

Allows the user to enter data

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When we want to print in Java, we use the code ......
system.out.print();
System.out.println();
System.Out.Printf();
System.out.show();

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Variable names must begin with a lowercase letter and cannot have any spaces.
True
False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

To concatenate the programmer must: 
have quotations (" ")
use the plus symbol + 
escape sequences (\t\n)
use System.out.print( );

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?