Topic 3.1

Topic 3.1

1st - 10th Grade

15 Qs

quiz-placeholder

Similar activities

Java Math Review

Java Math Review

9th - 12th Grade

18 Qs

Programming in Java

Programming in Java

8th Grade

10 Qs

LEGO pieces

LEGO pieces

6th Grade

10 Qs

Java Print Statements Warm-Up

Java Print Statements Warm-Up

9th - 12th Grade

10 Qs

Computer Application Practice Quiz Class 10

Computer Application Practice Quiz Class 10

10th Grade

20 Qs

Quarter 3 Final Exam: Functions and Parameters

Quarter 3 Final Exam: Functions and Parameters

9th - 12th Grade

20 Qs

APCSA Quiz 1

APCSA Quiz 1

9th Grade - University

13 Qs

AP Computer Science A

AP Computer Science A

10th - 12th Grade

10 Qs

Topic 3.1

Topic 3.1

Assessment

Quiz

Computers

1st - 10th Grade

Medium

Created by

Norhasliza Nor

Used 2+ times

FREE Resource

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

-

+

#

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?