
Web Programming
Authored by Julius Codilan
Instructional Technology
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of this PHP code: echo strtr("abc", "abc", "123");
abc
123
132
a1b2c3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Function to split string using regex?
preg_split()
preg_regex()
preg()
split()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will str_repeat("PHP", 3); return?
PHP
PHP PHP PHP
PHP3
PHPPHPPHP
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function finds the last occurrence of a substring in a string?
substr()
strpos()
strrpos()
strlastpos()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of:
$str = "hello world"; echo substr($str, -5, 3);
wor
rld
llo
orl
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the use of heredoc syntax in PHP?
Error handling
Embedding variables in strings easily
Faster looping
Importing files
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop is guaranteed to run at least once?
For
Foreach
While
do...While
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
30 questions
AD-Q004
Quiz
•
University
35 questions
A.S.E. MLR created by jb
Quiz
•
10th Grade - University
25 questions
QUIZ ADVCOMT 2ND 2025
Quiz
•
University
25 questions
FUN 101 Quiz
Quiz
•
University
35 questions
Ms Excel
Quiz
•
University
30 questions
Multiple Choice Test: General Concepts (Items 1-10)
Quiz
•
University
28 questions
jig fixture_2
Quiz
•
University
35 questions
Electrical Fire Safety Quiz
Quiz
•
University
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
Discover more resources for Instructional Technology
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University