Practice Test

Practice Test

University

40 Qs

quiz-placeholder

Similar activities

KIỂM TRA NGHỀ TIN HỌC MODULE 3

KIỂM TRA NGHỀ TIN HỌC MODULE 3

University

40 Qs

oS15 资讯社会伦理

oS15 资讯社会伦理

9th Grade - University

44 Qs

COMPUTER NETWORKS [LEC] - UAC PREPARATION

COMPUTER NETWORKS [LEC] - UAC PREPARATION

University

42 Qs

Internet Safety Quiz

Internet Safety Quiz

7th Grade - University

35 Qs

Loop Control Statement in C

Loop Control Statement in C

University

41 Qs

TRUY VẤN DỮ LIỆU

TRUY VẤN DỮ LIỆU

12th Grade - University

40 Qs

SCRATCH

SCRATCH

4th Grade - University

35 Qs

ASLMB 1 Kelas 5 2025

ASLMB 1 Kelas 5 2025

5th Grade - University

40 Qs

Practice Test

Practice Test

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Chansreypich undefined

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which of the following is the first step in problem-solving?

a) writing code

b) testing and debugging

c) identifying the problem

d) creating an algorithm

2.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which data type is used to store a single character in Java?

a) double

b) char

c) int

d) String

3.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which operator is used to compare the equality of two values?

a) ==

b) =

c) !=

d) ===

4.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which loop construct is guaranteed to execute at least once, regardless of T/F?

a) for

b) while

c) if-else

d) nested-if

e) do-while

5.

MULTIPLE SELECT QUESTION

2 mins • 2 pts

Which of the following is NOT a valid variable name in Java?

a) _profit

b) #profit

c) profitCurrent

d) intProfit

6.

MULTIPLE SELECT QUESTION

2 mins • 2 pts

What is the output of the following code?

int x = 5;

System.out.println(x++);

a) 6

b) 5

c) 0

d) compilation error

7.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which access specifier has the widest scope?

a) public

b) private

c) default

d) protected

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Computers