
Php basic
Presentation
•
Computers
•
University
•
Practice Problem
•
Hard
Dr. Rahman
Used 19+ times
FREE Resource
1 Slide • 15 Questions
1
PHP
2
Multiple Select
what is php?
a front end development language
a back end development language
a server side language
a language to style the front end
3
Multiple Choice
A php file can contain-
only php code
both php and html
php, html and css
php, html, css and javascript
4
Multiple Choice
How a php code start and end?
<?
php?>
<?
<?
<?php
?php>
<?php
?>
5
Multiple Choice
In the code, a php statement ends with-
;
:
newline
//
6
Multiple Choice
How a php variable starts with-
&
*
$
#
7
Multiple Select
Which php variables are correct?
$9x
$x9
$99
$_x9
8
Multiple Select
How to get output in php?
echo
print()
printf
9
Multiple Choice
What will be the output?
$x = "class of php";
echo substr($x, 3);
ss of php
s of php
php
class of
10
Multiple Choice
What will be the output?
$x = "wonderful world";
echo substr($x, -8, 5);
l worl
derul wor
ul world
ul wo
11
Multiple Choice
What will be the output?
$x = "Hello, Excuse me?";
echo substr($x, 4, -4);
, Excuse m
lo, Excus
o, Excuse
o, Excuse m
12
Multiple Choice
What will be the output?
$x = "!!!what is your name???";
echo substr($x, 1, -10);
!!what is
!!what is yo
!!!what is
is your n
13
Multiple Choice
Why 'break' statement is used?
to enter a new loop
to jump out from a loop
to change a function
to restart a loop
14
Multiple Choice
why 'continue' statement is used?
to stop current iteration of a loop
to stop the whole loop
to restart a loop
to end a loop
15
Multiple Choice
A user defined function starts with-
'myfunction' keyword
'function'
keyword
'newfunction' keyword
'thefunction '
keyword
16
Multiple Choice
select the right statements?
we can use php to connect front end with database
we can connect database but cant modify database using php
database table names cant be changed using php
we can modify and change the database with php
PHP
Show answer
Auto Play
Slide 1 / 16
SLIDE
Similar Resources on Wayground
8 questions
SILABUS INFORMATIKA SMP
Presentation
•
Professional Development
10 questions
BT IA3 Prep #1
Presentation
•
12th Grade
11 questions
PYTHON KEYWORDS
Presentation
•
University
12 questions
CHM603-05092564
Presentation
•
University
10 questions
Ophtalmology anatomy and clinical correlation
Presentation
•
University
12 questions
Present & Past Tenses
Presentation
•
University
13 questions
edidik: Google Keeps
Presentation
•
University
12 questions
(Pekerti)-Pengantar dan Konsep BI
Presentation
•
KG - Professional Dev...
Popular Resources on Wayground
20 questions
STAAR Review Quiz #3
Quiz
•
8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
6 questions
Marshmallow Farm Quiz
Quiz
•
2nd - 5th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade
12 questions
What makes Nebraska's government unique?
Quiz
•
4th - 5th Grade