PHP - Prelim Exam Part 1

PHP - Prelim Exam Part 1

University

12 Qs

quiz-placeholder

Similar activities

QUIZ PEMOGRAMAN WEB

QUIZ PEMOGRAMAN WEB

11th Grade - University

10 Qs

Operator dan Kontrol Struktur PHP

Operator dan Kontrol Struktur PHP

2nd Grade - University

15 Qs

Module 5 & Module 6

Module 5 & Module 6

University - Professional Development

10 Qs

Quiz_php

Quiz_php

3rd Grade - University

10 Qs

KUIS DAY 4 STACK

KUIS DAY 4 STACK

University

10 Qs

期末社員大會

期末社員大會

University

16 Qs

PHP Module 1 Unit Test

PHP Module 1 Unit Test

University

15 Qs

Soal Web Development

Soal Web Development

University

10 Qs

PHP - Prelim Exam Part 1

PHP - Prelim Exam Part 1

Assessment

Quiz

Computers

University

Hard

Created by

Wendell Cabalhin

FREE Resource

12 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 3 pts

Identify the access modifier. Select all that applies

Static

Public

Protected

Private

Class

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

we need to use what keyword in order to approach the class's own properties and methods from within the class

$this

$var

object

self

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is automatically called when an object is created from a class?

__construct

__build

__create

__init

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which visibility keyword allows access to class members from anywhere?

public

private

protected

internal

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following?

<?php echo; "My first PHP script!"; ?>

warning

error

My first PHP script!

(blank)

6.

MULTIPLE SELECT QUESTION

45 sec • 2 pts

A _________ parse and execute PHP code, and return the results to the Web server. Select all that applies.

PHP server

PHP compiler

PHP Interpreter

PHP Component

PHP script

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chaining methods and properties possible?

TRUE

FALSE

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?