CC103 - Final Exam

CC103 - Final Exam

University

25 Qs

quiz-placeholder

Similar activities

JAVA QUIZ 2

JAVA QUIZ 2

University

25 Qs

round 2

round 2

University

25 Qs

Techwiz - ICL2.0 Quiz

Techwiz - ICL2.0 Quiz

University

20 Qs

Java Simple - 1

Java Simple - 1

University

20 Qs

Virtual Instrumentation

Virtual Instrumentation

University

20 Qs

Electroblitz---Software

Electroblitz---Software

University

25 Qs

AppWiz round 1

AppWiz round 1

University

20 Qs

Round 1 - OTH

Round 1 - OTH

University

20 Qs

CC103 - Final Exam

CC103 - Final Exam

Assessment

Quiz

Other

University

Medium

Created by

Jerome Escultura

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

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

int

float

string

char

2.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Media Image

What is the output of the following code snippet?

J

o

h

Invalid Code

3.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

In Java, which statement is used to implement decision-making?

for

while

if

do-while

4.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

What loop construct in Java is used when the number of iterations is not known beforehand?

for

while

do-while

if-else

5.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which data structure in Java is used to store a fixed-size sequential collection of elements of the same type?

ArrayList

LinkedList

Arrays

HashSet

6.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which data structure allows you to represent a group of constants in Java?

Enum type

Bit Set

Vector

Stacks

7.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which data structure in Java follows the Last In First Out (LIFO) principle?

Dictionary

Hash Tables

Stacks

Enum Type

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?