
Computer Programming (Mid-term Exam)

Quiz
•
Other
•
University
•
Easy
NAZMIRUL IZZAD BIN NASIR
Used 4+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these is used to start a single-line comment in Java?
#
//
/*
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these is not a valid data type in Java?
byte
int
string
float
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct way to declare a variable that stores a whole number?
int num;
whole num;
double num;
number num;
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following will correctly output 10Java?
System.out.println(10 + Java);
System.out.println(10 + "Java");
System.out.println(Java + 10);
System.out.print(10 Java);
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the result of System.out.println(2 + 3 * 4);?
20
14
24
10
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is used to store a single character?
char
String
boolean
int
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Java programs are compiled to an intermediate form called:
Source code
Assembly
Bytecode
Machine code
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
Database Systems Final Exam

Quiz
•
University
45 questions
UNIT - 1

Quiz
•
University
45 questions
PAS ADMINISTRASI SISTEM JARINGAN KELAS 11 SMSTR GENAP

Quiz
•
11th Grade - University
45 questions
Basics of Programming in Java (CH.9)

Quiz
•
University
35 questions
2.2mo

Quiz
•
University
40 questions
Codestorm - Kriya 2025

Quiz
•
University
40 questions
Python Programming Quiz

Quiz
•
University
44 questions
COLLECTION DISTRICTS

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

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

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade