Safcode Institute by Sir Safder
+923132835245
safcodeinstitute@gmail.com
Online Quiz
10000+ Questions!
Students Works
Ideas & Topics!
Live Coding
HTML & CSS
Home
(current)
About
Courses
CIT
Web Designing
Graphic Designing
Web Development
Digital Marketing
WordPress Development
Amazon Virtual Assistant
Shopify + WordPress Development
Tutorials
Feedback
Programming Notes
Softwares
Contact
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: 20
Each question carry 10 mark , no negative marking"
Quiz Start
1. What does PHP stand for?
Personal Home Page
Private Home Page
Php pre processor
Hypeetext pre-processor
View Answer
2. What is the strpos() function used for?
Locate position of a string’s first character
Find the last character of a string
None of these
Search for character within a string
View Answer
3. Which function is used to Strip whitespace (or other characters) from the beginning and end of a string?
trim_str
strip
trim
strip_str
View Answer
4. What will be the value of $var?
1
0.5
0
0.2
View Answer
5. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
Hosta
Public
Local
All of them
View Answer
6. The Update operation is similar to the ______ operation.
Update
Create
Edit
None of Them
View Answer
7. What is the purpose of $_SESSION[]?
Used to initialize a session.
none of the above
Used to store variables of the current session
Used to register a global variable
View Answer
8. How do I create PHP arrays in a HTML
?
" required /> < input ="MyArray[]" />
< input MyArray[] />
< input name= MyArray[]/>
" required /> < input name="MyArray[]" />
View Answer
9. Which of the following is used to declare a constant?
const
#pragma
constant
define
View Answer
10. The main reason to use the query builder over writing SQL code manually is because _________.
It uses configuration mode for migration
It is rich in features
It uses configuration mode for migration
It has few SQLite directives
View Answer