JS & PHP QUIZ

 

Results

#1. How to write an IF statement in JavaScript?

#2. How does a WHILE loop start?

#3. How does a FOR loop start?

#4. How do you round the number 7.25, to the nearest integer?

#5. How can you detect the client’s browser name?

#6. Which operator is used to assign a value to a variable?

#7. Is JavaScript case-sensitive?

#8. Include files must have the file extension “.inc”

#9. What is the correct way to include the file “time.inc” ?

#10. What is the correct way to open the file “time.txt” as readable?

#11. How do you create an array in PHP?

#12. Which operator is used to check if two values are equal and of same data type?

#13. What is the correct jQuery code to set the background color of all p elements to red?

#14. Which statement is true?

#15. Which jQuery function is used to prevent code from running, before the document is finished loading?

Previous
FInish