BSAIT 1-2 QUIZ

Quiz
•
Professional Development
•
Professional Development
•
Medium
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
Similar Resources on Wayground
20 questions
C Quiz 1

Quiz
•
Professional Development
18 questions
Flutter Online Quiz

Quiz
•
Professional Development
25 questions
class ,objects,variables & methods

Quiz
•
Professional Development
20 questions
Pre-Assessment- C,C++, Data Structure & SQL_10th June 24

Quiz
•
Professional Development
15 questions
Nodejs: Packages and Package.json

Quiz
•
Professional Development
17 questions
C/C++ Fluxogram - Introdução

Quiz
•
Professional Development
15 questions
C Programming Tutorial 2 (Chapter 2)

Quiz
•
Professional Development
20 questions
HACKATHON HUSTLE(ROUND 2)

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade