
Mid Term Test in Computer Programming

Quiz
•
Information Technology (IT)
•
University
•
Medium
Mohd Noor Hafizee Bin Yahaya
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
43 questions
MGMT 2080 - Exam 2

Quiz
•
University
38 questions
7-20

Quiz
•
7th Grade - University
38 questions
Quiz sur Apollo GraphQL

Quiz
•
University
39 questions
8-кл-19

Quiz
•
8th Grade - University
37 questions
8 класс цикл

Quiz
•
8th Grade - University
41 questions
JABA!

Quiz
•
University
40 questions
Quiztronic

Quiz
•
University
35 questions
2nd Year Data Structures Quiz Qn

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade