Ideas & Topics!
HTML & CSS
Test Your Programming Skills with Safcode!
Here is all important interview / exams questions.
Student doing practice apptitude test on safcode platform.
Instruction: "Total Number of Questions: 10
Each question carry 10 mark , no negative marking"
1. The Update operation is similar to the ______ operation.
None of Them
2. Which of the following is used to declare a constant?
3. What is the strpos() function used for?
None of these
Search for character within a string
Find the last character of a string
Locate position of a string’s first character
4. ____________ function in PHP Returns a list of response headers sent (or ready to send)
5. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
All of them
6. What is the purpose of $_SESSION?
Used to store variables of the current session
Used to initialize a session.
none of the above
Used to register a global variable
7. What is the difference between echo and print?
Print can take multiple parameters where as echo cannot
They both behave the same.
Print is a function where as echo is not.
Echo can take multiple parameters where as print cannot
8. Which function is used to Strip whitespace (or other characters) from the beginning and end of a string?
9. _________ help in organizing codes by grouping requests that handle the codes in a single route and class.
10. What gets printed?