Pretest PO-1 A

Pretest PO-1 A

University

8 Qs

quiz-placeholder

Similar activities

Pemrograman Berorientasi Objek

Pemrograman Berorientasi Objek

10th Grade - University

10 Qs

java - intro

java - intro

University

11 Qs

Structure of Java Program

Structure of Java Program

University

10 Qs

Programming Standard Input

Programming Standard Input

University

10 Qs

DEBUG THE CODE

DEBUG THE CODE

University

10 Qs

Python_OOP_Intro_Quiz

Python_OOP_Intro_Quiz

University

13 Qs

Introduction to Java

Introduction to Java

University

10 Qs

Methods

Methods

University

11 Qs

Pretest PO-1 A

Pretest PO-1 A

Assessment

Quiz

Computers

University

Hard

Created by

Rezki Yuniarti

Used 2+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In this framework, all real-world entities are represented by Classes.

Functional Programming

Logical Programming

Object-Oriented Programming

Procedural Programming

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following creates an object of Main class?

Main obj = new Main;

Main obj = new Main();

Main obj = new Mian();

Main obj == new Main();

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the complete syntax of creating a class?

public class Main { }

public class Main() { }

public class Main

public class Main()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Methods are declared within a class.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

static void myMethod(){ }

What is the name of the method?

static void myMethod

void myMethod

static myMethod

myMethod

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements calls a method greetings and pass a value to that method?

greetings();

greeting("Hello, world!");

greetings("Hello, world!");

greetings(Hello, world!);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is not a Java primitive data type?

float

byte

Boolean

char

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It keeps the data and the code safe from external interference.

Polymorphism

ArrayList

Autoboxing

Encapsulation