Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

PHP TEST 1 QUESTIONS & ANSWERS

Beoordeling
-
Verkocht
-
Pagina's
15
Cijfer
A+
Geüpload op
23-01-2026
Geschreven in
2025/2026

PHP TEST 1 QUESTIONS & ANSWERS

Instelling
PHP
Vak
PHP

Voorbeeld van de inhoud

PHP TEST 1 QUESTIONS & ANSWERS

A web application is a type of - Answers -client/server application

When the web server receives an HTTP request for a PHP page, the web server calls
the - Answers -web browser

Which of the following software components generates the HTML that is returned in an
HTTP response? - Answers -Chrome

The HTTP response for a dynamic web page is passed - Answers -from the web server
to the browser

Which of the following is NOT true about MariaDB? - Answers -it is being maintained by
many of the original developers of MySQL.

To deploy a PHP application on your own computer, you copy the application root
directory to - Answers -the htdocs directory of the Apache server

Which HTML tag or element is used to load an external stylesheet? - Answers -link

To run a PHP application that has been deployed on your own computer, you can enter
a URL in the address bar of your browser that - Answers -uses localhost as the domain
name

In HTML, parameters are called - Answers -attributes

The first part of a URL is called the - Answers -protocol

Which of the following is NOT part of an HTTP URL: - Answers -node

When HTML was first developed, Web pages were typically - Answers -static

If a URL specifies a directory that doesn't contain a default page, Apache displays -
Answers -a list of all of the directories in that directory

Which of the following is not a database server that can be used for dynamic Web
pages? - Answers -Python

To view the source code for a web page in a web browser, you can display the View
Source command by - Answers -right-clicking on the page

To make it easier to enter names into your code, NetBeans provides a feature known as
- Answers -auto-completion

, URL stands for - Answers -Uniform Resource Locator

A request and response for a file are made by - Answers -a client and a server

What type of a request does a Web browser typically send to a server? - Answers -
HTTP

What extension of a filename is typically associated with a static Web page? - Answers
-.htm

Which of the following can be used to style a label in an id named data? - Answers -
#data label

Which of the following is software that is a Web server? - Answers -Apache

Which of the following can be displayed if you omit the filename of a URL? - Answers -
all of these

A PHP variable name - Answers -is case-sensitive

The order of precedence for arithmetic expressions causes - Answers -increment
operations to be done first

To round and format the value of a variable named $number to 3 decimal places and
store it in a variable named $number_formatted, you code - Answers -
$number_formatted = number_format($number, 3);

After the code that follows is executed, what will the value of $units_per_store be?
$units = 30;
$stores = 4;
$units_per_store = intdiv($units, $stores); - Answers -7

After the code that follows is executed, what will the value of $units_per_store be?
$units = 30;
$stores = 4;
$units_per_store = $units % $stores; - Answers -2

After the if statement that follows is executed, what will the value of $discount_amount
be?
$discount_amount;
$order_total = 200;
if ($order_total > 200) {
$discount_amount = $order_total * .3;
} else if ($order_total > 100) {
$discount_amount = $order_total * .2;
} else {

Geschreven voor

Instelling
PHP
Vak
PHP

Documentinformatie

Geüpload op
23 januari 2026
Aantal pagina's
15
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$14.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
GEEKA YALA UNIVERSITY
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
2107
Lid sinds
4 jaar
Aantal volgers
1446
Documenten
54018
Laatst verkocht
3 dagen geleden

3.8

358 beoordelingen

5
177
4
61
3
48
2
17
1
55

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen