Viva Questions
25 sets · 195 questions — organized by topic.
- Q1.
Define What is PHP? in your own words.
Hint: Start with a one-sentence plain-English definition.
2 pts - Q2.
What problem does History of PHP solve in PHP?
Hint: Focus on the pain-point it addresses in day-to-day code.
2 pts - Q3.
Show the syntax / minimum code required to use Features of PHP.
Hint: A 2-3 line code example is enough.
3 pts - Q4.
List two real-world situations where you would use Client-Side vs Server-Side Scripting.
Hint: Think about production apps — e-commerce, payments, UIs.
2 pts - Q5.
Name one common mistake beginners make with Installing PHP.
Hint: Off-by-one, null checks, wrong scope, forgetting to close something…
1 pt - Q6.
Define XAMPP, WAMP, MAMP Setup in your own words.
Hint: Start with a one-sentence plain-English definition.
2 pts - Q7.
What problem does First PHP Program solve in PHP?
Hint: Focus on the pain-point it addresses in day-to-day code.
2 pts - Q8.
Show the syntax / minimum code required to use PHP Syntax.
Hint: A 2-3 line code example is enough.
3 pts
