Search Header Logo

Topic 3.1

Authored by Norhasliza Nor

Computers

1st - 10th Grade

Used 2+ times

Topic 3.1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Choose the correct statement about class

A group of objects which have common properties

Template or blueprint from which objects are created.

Logical entity(real world object within the system)

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Select the answer for x


public class Stud_Section ----->x

{

String stud_name; --------->y

String reg_num;

String section;

void displaySection() ------->z

{

System.out.println("Student Name:"+stud_name);

System.out.println("Reg. Number: "+reg_num);

System.out.println("Section: "+section);

}

}

class declaration

member variable

member function

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Select the answer for y


public class Stud_Section ----->x

{

String stud_name; --------->y

String reg_num;

String section;


void displaySection() ------->z

{

System.out.println("Student Name:"+stud_name);

System.out.println("Reg. Number: "+reg_num);

System.out.println("Section: "+section);

}

}

class declaration

member variable

member function

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Select the answer for z


public class Stud_Section ----->x

{

String stud_name; --------->y

String reg_num;

String section;


void displaySection() ------->z

{

System.out.println("Student Name:"+stud_name);

System.out.println("Reg. Number: "+reg_num);

System.out.println("Section: "+section);

}

}

class declaration

member variable

member function

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which keyword use to declare a variables that belong to a class rather to any object of the class

static

default

public

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Choose the second row in the class diagram

className

Attributes

Operations

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Choose the correct notation for public

-

+

#

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?