FIT9131 PASS Week1 S2 2022

FIT9131 PASS Week1 S2 2022

1st - 3rd Grade

9 Qs

quiz-placeholder

Similar activities

Programming and Algorithms

Programming and Algorithms

3rd Grade

9 Qs

Common Coding Vocabulary

Common Coding Vocabulary

2nd - 8th Grade

13 Qs

Pemrograman berorientasi objek

Pemrograman berorientasi objek

1st - 10th Grade

13 Qs

Programming - Tour of IDE

Programming - Tour of IDE

3rd - 12th Grade

10 Qs

Coding for kids 4: Programming languages

Coding for kids 4: Programming languages

3rd - 7th Grade

13 Qs

Scratch Grade 3

Scratch Grade 3

3rd - 5th Grade

10 Qs

Computer Languages

Computer Languages

KG - University

10 Qs

Information Technology 2 Unit 2

Information Technology 2 Unit 2

3rd - 11th Grade

9 Qs

FIT9131 PASS Week1 S2 2022

FIT9131 PASS Week1 S2 2022

Assessment

Quiz

Computers

1st - 3rd Grade

Hard

Created by

Shu Li

Used 2+ times

FREE Resource

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In object oriented programming, mango is a/an ____ of class Fruits.

attribute

object

behaviour

another class

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the below is not part of the program execution process?

Writing

Checking

Compiling

Debugging

Answer explanation

Writing -> Compiling -> Debugging -> Executing