
Computer Programming (Mid-term Exam)
Quiz
•
Other
•
University
•
Easy
NAZMIRUL IZZAD BIN NASIR
Used 17+ 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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
36 questions
LearnTube Digital Marketing Quiz 17/3/23
Quiz
•
University
45 questions
ADEP
Quiz
•
University
36 questions
ALC Book 27 Lesson 3
Quiz
•
University
38 questions
HISTOPATH: DECALCIFICATION
Quiz
•
University
40 questions
TDLR
Quiz
•
University
35 questions
CFAS - Conceptual Framework
Quiz
•
University
40 questions
MultiModa and Freight Forwarding
Quiz
•
University
37 questions
Ulangan harian 1
Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Other
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
7 questions
Review for You: Using Commas
Interactive video
•
4th Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
Safari Scholar: Searching for Subject-Verb Agreement
Interactive video
•
4th Grade - University
