Mid Term Test in Computer Programming

Mid Term Test in Computer Programming

University

•

40 Qs

quiz-placeholder

Similar activities

7-20

7-20

7th Grade - University

•

38 Qs

LU3: Project Proposal Development Quiz

LU3: Project Proposal Development Quiz

University

•

40 Qs

Quiztronic

Quiztronic

University

•

40 Qs

Lecture Activity 2: IOT

Lecture Activity 2: IOT

University

•

40 Qs

Berpikir komputasi dan pemograman

Berpikir komputasi dan pemograman

11th Grade - University

•

40 Qs

Latihan soal Informatika kelas 9 2025

Latihan soal Informatika kelas 9 2025

9th Grade - University

•

40 Qs

Preliminary Examination - OOP

Preliminary Examination - OOP

University

•

40 Qs

Quiz: L.9-12.UX Design and Interaction Quiz

Quiz: L.9-12.UX Design and Interaction Quiz

University

•

40 Qs

Mid Term Test in Computer Programming

Mid Term Test in Computer Programming

Assessment

Quiz

•

Information Technology (IT)

•

University

•

Practice Problem

•

Medium

Created by

Mohd Noor Hafizee Bin Yahaya

Used 1+ times

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

30 sec • 1 pt

What is the correct syntax to print "Hello, World" in Java?

echo("Hello, World");

Console.WriteLine("Hello, World");

System.out.println("Hello, World");

print("Hello, World");

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is the entry point of a Java program?

run()

main()

start()

execute()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid Java identifier for a variable?

1total

total_amount

@price

double

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of System.out.println("Java" + 101);?

Java101

Java

101

Syntax error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of data does the boolean type store?

Whole numbers

Decimal values

True or false

Text

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for modulus in Java?

*

/

%

#

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which built-in data type is used to store floating-point numbers in Java?

int

char

boolean

double

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?