
PHP class and object
Authored by Suyog Dhoot
Computers
10th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Object is instance of
Methods
Members
Class
Construcor
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
class tyif
{
public $a;
}
in the above code $a is
Member
Property
Method
Destructor
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A class can have minimum ___ property and ___ methods
1,1
1,0
0,1
0,0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify correct syntax to create object of class tyif
t1=new tyif()
$t1=new tyif
$1t=new tyif()
$t1=new tyif()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Constructor name starts with
_
__
construct
destruct
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify incorrect statement
__construct($p)
__construct()
__destruct($p)
__destruct()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Destructor get executed when ___ get exited
class
object
method
constructor
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?
Similar Resources on Wayground
11 questions
Super Hard Exam
Quiz
•
9th - 11th Grade
10 questions
Java Quiz#6(Overloading and Overriding))
Quiz
•
10th Grade
10 questions
Technology Ethics
Quiz
•
5th - 10th Grade
10 questions
AP CSP Breakout 2024
Quiz
•
9th - 12th Grade
10 questions
IP Addressing
Quiz
•
10th Grade
10 questions
แบบทดสอบก่อนเรียน เรื่อง การตกแต่งเว็บไซต์ด้วย CSS
Quiz
•
10th - 12th Grade
10 questions
Artificial Foundations Program Quiz
Quiz
•
9th - 12th Grade
10 questions
KS3 GCSE Computer Science (Programming / Python)
Quiz
•
7th - 11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade