
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
QUIS B.INGGRIS KELAS 9,SMESTER 1

Quiz
•
9th Grade - University
44 questions
Basics of Python Programming

Quiz
•
University
37 questions
Data Structures Quiz

Quiz
•
University
36 questions
TARIFF LAWS/ 5 AND 7

Quiz
•
University
40 questions
PS 5 SEMI FINAL EXAM

Quiz
•
University
45 questions
What Starbucks drink is this

Quiz
•
KG - Professional Dev...
41 questions
Final Day Quiz for ICT Skill Share

Quiz
•
4th Grade - Professio...
40 questions
c-debugging

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

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

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

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Other
36 questions
USCB Policies and Procedures

Quiz
•
University
4 questions
Benefits of Saving

Quiz
•
5th Grade - University
20 questions
Disney Trivia

Quiz
•
University
2 questions
Pronouncing Names Correctly

Quiz
•
University
15 questions
Parts of Speech

Quiz
•
1st Grade - University
1 questions
Savings Questionnaire

Quiz
•
6th Grade - Professio...
26 questions
Parent Functions

Quiz
•
9th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University