BSAIT 1-2 QUIZ

BSAIT 1-2 QUIZ

Professional Development

20 Qs

quiz-placeholder

Similar activities

Model 10

Model 10

Professional Development

17 Qs

day5

day5

Professional Development

21 Qs

classes & static keyword

classes & static keyword

Professional Development

22 Qs

Day 4 - Advanced Topics

Day 4 - Advanced Topics

Professional Development

20 Qs

Non Sporting Group Lesson 11

Non Sporting Group Lesson 11

Professional Development

20 Qs

Phone numbers

Phone numbers

Professional Development

15 Qs

Anymind April_Indonesian Heritage

Anymind April_Indonesian Heritage

Professional Development

15 Qs

Juego #07

Juego #07

Professional Development

15 Qs

BSAIT 1-2 QUIZ

BSAIT 1-2 QUIZ

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Erickson Antonio

Used 5+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in Java?

A constant value

A named memory location that can store a value

A method to execute code

A type of data structure

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to declare a named constant in Java?

static

final

const

immutable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the main() method signify in a Java program?

The end of the program

The starting point for execution

A method for input

A method for output

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a primitive data type in Java?

String

Array

int

List

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used to start a single-line comment in Java?

/* */

//

#

//* *//

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid way to declare a variable in Java?

int a = 5;

float b = 2.5f;

char c = 'A';

string d = "Hello";

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data types can hold decimal values?

int

char

float

boolean

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?

Discover more resources for Professional Development