Mid Term Test in Computer Programming

Mid Term Test in Computer Programming

University

40 Qs

quiz-placeholder

Similar activities

Aprendizaje sobre Aplicaciones Web

Aprendizaje sobre Aplicaciones Web

University

40 Qs

Cybersecurity I: Unit 1  - Foundations & Threats Exam Review

Cybersecurity I: Unit 1 - Foundations & Threats Exam Review

9th Grade - University

37 Qs

Functions Quiz

Functions Quiz

10th Grade - University

38 Qs

Kuis Algoritma dan Pemrograman

Kuis Algoritma dan Pemrograman

University

37 Qs

ST#2 (ONSITE)

ST#2 (ONSITE)

12th Grade - University

45 Qs

ITE 292 P3 Exam

ITE 292 P3 Exam

University

37 Qs

Câu hỏi trắc nghiệm về Microsoft Excel_NH

Câu hỏi trắc nghiệm về Microsoft Excel_NH

University

40 Qs

Yearly Exam -Grade 8

Yearly Exam -Grade 8

8th Grade - 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?