
Computer Programming (Mid-term Exam)
Quiz
•
Other
•
University
•
Practice Problem
•
Easy
NAZMIRUL IZZAD BIN NASIR
Used 17+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
38 questions
Pop Music
Quiz
•
University
36 questions
TikTok Trivia
Quiz
•
5th Grade - Professio...
35 questions
Business Combination - Theories
Quiz
•
University
37 questions
Economic Choice
Quiz
•
KG - University
35 questions
Intro to Business: Chapter 7 Test Review
Quiz
•
KG - University
39 questions
Beyblade Metal Series
Quiz
•
1st Grade - Professio...
35 questions
World Cup Quiz
Quiz
•
3rd Grade - Professio...
35 questions
OSE Week 3
Quiz
•
8th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Other
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University
