
FIT9131 PASS Week1 S2 2022
Authored by Shu Li
Computers
1st - 3rd Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java's programming paradigm, characterized by the use of objects to solve problems, is called:
Object-based programming
Object-centred programming
Object-focused programming
Object-oriented programming
Answer explanation
Java is an object-oriented programming language. Everything in java is an object, all the program codes and data resides within classes and objects
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is true regarding an object?
An object is a variable
An object is an instance of a class
An object is not an instance of a class
An object is a reference to an attribute
Answer explanation
A class is a template or blueprint from which objects are created. When you create an object, you are creating an 'instance' (result) of a class.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill the Gap: A Java _______translates _______to machine code.
Translator, bytecode
Virtual Machine, Java source code
Compiler, Java source code
Virtual Machine, bytecode
Answer explanation
Java Virtual Machine (JVM) has both compiler and interpreter. Which compiler compiles the code and generates bytecode and interpreter converts bytecode to machine code so the computer can understand.
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which is/are true about Compiler? (multiple answers possible)
Use batch processing.
Use interactive processing.
Translate entire code in one go.
Translate one instruction at a time.
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which is/are true about Interpreter? (multiple answers possible)
Use batch processing.
Use interactive processing.
Translate entire code in one go.
Translate one instruction at a time.
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What could be the attribute of Student?
name
study
run
student id
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What could be the behaviour of a student?
study
age
run
name
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?